Wikidata/Development/RDF: Difference between revisions

Content deleted Content added
Line 91:
If the <code>MainSnak</code> is a <code>PropertySomeValueSnak</code>, then it is translated as follows:
 
ObjectPropertyAssertion( S(s:'''Property''') '''Item''' '''StatementID''' )
ClassAssertion( o:Statement '''StatementID''' )
ClassAssertion( ObjectSomeValuesFrom( V(v:'''Property''') owl:Thing ) '''StatementID''' )
Annotation( '''StatementID''' rdfs:label ValueLabel('''Statement''') )
 
In RDF this results in:
 
'''Item''' s:'''Property''' '''StatementID''' .
'''StatementID''' rdf:type o:Statement .
'''StatementID''' rdf:type _:1 .
_:1 rdf:type owl:Restriction .
_:1 owl:onProperty v:'''Property''' .
_:1 owl:someValuesFrom owl:Thing .
'''StatementID''' rdfs:label ValueLabel('''Statement''') .
 
=== MainSnak a PropertyNoValueSnak ===