semantics - Describe a film (entity and attribute) using the first order logic -
good morning, want understand how can describe using first order logic.
for example want describe film (an entity) , attribute (for example actor: clooney) film. how can describe using first order logic?
******* update ********
what need explain in first logic order is:
entity: element, abstraction or object can described set of properties or attributes. think must says entity has got set of attributes respective values. entity describes element, abstraction or object.
attribute: attribute has got value , associated entity. describes specific feature/property of entity.
document: pure text description (pure text not contains html tags). every document describes 1 entity through attribute.
to state object has property use single place predicate. example, state x
film write film(x)
. if want attribute value object can use 2 (or more) place predicate. using example clooney starred in film starred(clooney, x)
.
there conventions people use. example, predicates start capital letters (actor
, film
, fatherof
) , constants start lower case letter (x
, clooney
, batman
). constants denote objects , predicates objects. in case of predicates more 1 argument first argument subject making statement. way can naturally read logical formula sentence in normal language. example, fatherof(x, y)
read "x father of y".
answer update:
i not sure whether can in first order logic. describe entity
has properties formula such
\forall x (entity(x) ==> object(x) | element(x) | abstraction(x))
this bit more difficult attribute
. in first order logic attribute ascribes quality object or relates object. use 3 place predicate in:
\forall attribute (\exists object (\exists value (has(object, attribute, value))))
as document, conjunction of such statements. example, description of george clooney following:
entity(clooney) & has(clooney, starred, gravity) & has(clooney, bornin, lexington) & ...
Comments
Post a Comment