27.01.2015 Views

e - GSI

e - GSI

e - GSI

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

De redes semánticas a lógica (1)<br />

sentencia en la red<br />

arco obj es–un<br />

→ clase<br />

arco clase1 tipo–de<br />

→ clase2<br />

arco obj atrib<br />

→ valor<br />

arco clase atrib<br />

→ valor<br />

arco obj atrib<br />

→ excep<br />

arco clase atrib<br />

→ excep<br />

sentencia lógica<br />

es_un(obj,clase) (pertenencia)<br />

tipo_de(clase1, clase2) (inclusión)<br />

(∀X)(es_un(X,clase1)<br />

⇒es_un(X,clase2))<br />

propiedad(obj,atrib,valor)<br />

propiedad(clase,atrib,valor)<br />

excep(obj,atrib,excep)<br />

excep(clase,atrib,excep)<br />

c○ 2011 DIT-ETSIT-UPM Representación del conocimiento transp. 47<br />

De redes semánticas a lógica (2)<br />

Herencia como relación transitiva:<br />

(∀X)(∀Y)((es_un(X,Y)⇒hereda_de(X,Y))∧<br />

(tipo_de(X,Y)⇒hereda_de(X,Y))∧<br />

((∃Z)(es_un(X,Z)∧hereda_de(Z,Y))∧<br />

⇒ hereda_de(X,Y)) )<br />

Si no hubiese excepciones,<br />

(∀O)(∀C)(∀A)(∀V)<br />

(hereda_de(O,C)∧propiedad(C,A,V)<br />

⇒ propiedad(O,A,V))<br />

(∀C1)(∀C2)(∀A)(∀V)<br />

(hereda_de(C2,C1)∧propiedad(C1,A,V)<br />

⇒ propiedad(C2,A,V))<br />

c○ 2011 DIT-ETSIT-UPM Representación del conocimiento transp. 48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!