Wikidata/Development/RDF: Difference between revisions

Content deleted Content added
Line 82:
Annotation( '''StatementID''' rdfs:label ValueLabel('''Statement''') )
 
{{Collapse|
<code>s:'''Property'''</code> is an <code>IRI</code> that has the same local name as '''Property''' but replaces the <code>p:</code> namespace with the <code>s:</code> namespace. The same is defined for <code>v:'''Property'''</code> and <code>q:'''Property'''</code> respectively. The function <code>ValueLabel</code> returns an appropriate label describing the value of the statement including the qualifiers (not defined here).
 
In RDF this results in:
 
'''Item''' s:'''Property''' '''StatementID''' .
'''StatementID''' rdf:type o:Statement .
'''StatementID''' v:'''Property''' '''Value''' .
'''StatementID''' rdfs:label ValueLabel('''Statement''') .
|title=Serialization in RDF}}
 
<code>s:'''Property'''</code> is an <code>IRI</code> that has the same local name as '''Property''' but replaces the <code>p:</code> namespace with the <code>s:</code> namespace. The same is defined for <code>v:'''Property'''</code> and <code>q:'''Property'''</code> respectively. The function <code>ValueLabel</code> returns an appropriate label describing the value of the statement including the qualifiers (not defined here).
 
=== MainSnak a PropertySomeValueSnak ===