Notes about RDF and OWL: logical meaning: erinevus redaktsioonide vahel
Mine navigeerimisribale
Mine otsikasti
Resümee puudub |
Resümee puudub |
||
| 1. rida: | 1. rida: | ||
<pre> | <pre> | ||
http://yy:111 rdf:type ex:book | |||
http://yy:111 ex:bookauthor http://xx#121 | |||
http://xx#121 ex:eesnimi "Jaan" | |||
isik -> person | |||
person -> livingthing | |||
rdf:type(http://xx#121,ex:isik) | |||
========= Logical meaning ========== | |||
<owl:ObjectProperty rdf:ID="connectsTo"> | <owl:ObjectProperty rdf:ID="connectsTo"> | ||
| 13. rida: | 27. rida: | ||
---- rdfs implicit rules ---- | ---- rdfs implicit rules ---- | ||
ex:isik rdfs:SubclassOf ex:person | |||
All x [holds(rdf:type,x,ex:isik) => holds(rdf:type,x,ex:person)] | |||
All x [holds(rdf:type,x,ex:person) => holds(rdf:type,x,ex:livingthing)] | |||
All x y [ holds(rdfs:SubclassOf,x,y) => | |||
All z (holds(rdf:type,z,x) => holds(rdf:type,z,y) ] | |||
All x y [ rdfs:SubclassOf(x,y) => | |||
All z (rdf:type(z,x) => rdf:type(z,y) ] | |||
ex:bookauthor rdfs:range ex:person | |||
ex:bookauthor rdfs:domain ex:book | |||
All x,y [ex:bookauthor(x,y) & => rdf:type(y,ex:person)] | |||
All x,y [ex:bookauthor(x,y) & => rdf:type(x,ex:book)] | |||
rdf(connectsTo,piritajogi,tallinnalaht) ... -> ... | rdf(connectsTo,piritajogi,tallinnalaht) ... -> ... | ||
| 18. rida: | 51. rida: | ||
A x y u v (rdf(x,domain,y) & rdf(x,u,v) -> rdf(type,u,y)) | A x y u v (rdf(x,domain,y) & rdf(x,u,v) -> rdf(type,u,y)) | ||
------ Reification rule ---------- | |||
#12 rdf:subject http://yy:111 | |||
#12 rdf:predicate rdf:type | |||
#12 rdf:object ex:book | |||
All x,y,z,u | |||
[holds(rdf:subject, x,y) & | |||
holds(rdf:predicate,x,z) & | |||
holds(rdf:object, x,u) => | |||
holds(z,y,u) ] | |||
---- owl implicit rules --- | ---- owl implicit rules --- | ||
Redaktsioon: 16. mai 2011, kell 13:40
http://yy:111 rdf:type ex:book
http://yy:111 ex:bookauthor http://xx#121
http://xx#121 ex:eesnimi "Jaan"
isik -> person
person -> livingthing
rdf:type(http://xx#121,ex:isik)
========= Logical meaning ==========
<owl:ObjectProperty rdf:ID="connectsTo">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#SymmetricProperty"/>
<rdfs:domain rdf:resource="#NaturallyOccurringWaterSource"/>
<rdfs:range rdf:resource="#NaturallyOccurringWaterSource"/>
</owl:ObjectProperty>
rdf(type,connectsTo,#SymmetricProperty).
rdf(type,domain,#NaturallyOccurringWaterSource).
rdf(type,range,#NaturallyOccurringWaterSource).
---- rdfs implicit rules ----
ex:isik rdfs:SubclassOf ex:person
All x [holds(rdf:type,x,ex:isik) => holds(rdf:type,x,ex:person)]
All x [holds(rdf:type,x,ex:person) => holds(rdf:type,x,ex:livingthing)]
All x y [ holds(rdfs:SubclassOf,x,y) =>
All z (holds(rdf:type,z,x) => holds(rdf:type,z,y) ]
All x y [ rdfs:SubclassOf(x,y) =>
All z (rdf:type(z,x) => rdf:type(z,y) ]
ex:bookauthor rdfs:range ex:person
ex:bookauthor rdfs:domain ex:book
All x,y [ex:bookauthor(x,y) & => rdf:type(y,ex:person)]
All x,y [ex:bookauthor(x,y) & => rdf:type(x,ex:book)]
rdf(connectsTo,piritajogi,tallinnalaht) ... -> ...
rdf(type,piritajogi,#NaturallyOccurringWaterSource)
A x y u v (rdf(x,domain,y) & rdf(x,u,v) -> rdf(type,u,y))
------ Reification rule ----------
#12 rdf:subject http://yy:111
#12 rdf:predicate rdf:type
#12 rdf:object ex:book
All x,y,z,u
[holds(rdf:subject, x,y) &
holds(rdf:predicate,x,z) &
holds(rdf:object, x,u) =>
holds(z,y,u) ]
---- owl implicit rules ---
rdf(connectsTo,piritajogi,tallinnalaht) ... -> ...
rdf(connectsTo,tallinnalaht,piritajogi)
A x u v ( rdf(x,type,#SymmetricProperty) &
rdf(x,u,v) -> rdf(x,v,u)).
flueve = river & all.emptiesinto(sea)
flueve(x) <-> [river(x) & A y (emptiesinto(x,y) -> sea(y))]