Hi,

I would like to get the RDF description of Wikidata items by using the Linked Data interface.

After executing an HTTP GET of "https://www.wikidata.org/entity/Q10313"; with header "Accept, application/rdf+xml" I get RDF data, but I don't see all the statements that I am able to see via the wiki (at https://www.wikidata.org/wiki/Q10313). For example, I don´t see the statement indicating that "Q10313 is instanceOf city". Should I query the RDF dump for this, or is it possible to query such RDF data via the Linked Data interface?

I included below the kind of statements I do get in the response.

Thanks in advance.
Cristina

---

# 
<rdf:Descriptionrdf:about="https://www.wikidata.org/wiki/Special:EntityData/Q10313";>
# 
<schema:versionrdf:datatype="http://www.w3.org/2001/XMLSchema#integer";>226415944</schema:version>
# 
<schema:dateModifiedrdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime";>2015-07-05T08:34:43Z</schema:dateModified>
# <rdf:typerdf:resource="http://schema.org/Dataset"/>
# <schema:aboutrdf:resource="http://www.wikidata.org/entity/Q10313"/>
# </rdf:Description>
# <rdf:Descriptionrdf:about="http://www.wikidata.org/entity/Q10313";>
# <rdf:typerdf:resource="http://wikiba.se/ontology-beta#Item"/>
# <rdfs:labelxml:lang="it">San Sebastián</rdfs:label>
# <skos:prefLabelxml:lang="it">San Sebastián</skos:prefLabel>
# <schema:namexml:lang="it">San Sebastián</schema:name>
# ...

# </rdf:Description>
# 
<rdf:Descriptionrdf:about="https://it.wikipedia.org/wiki/San%20Sebasti%C3%A1n";>
# <rdf:typerdf:resource="http://schema.org/Article"/>
# <schema:aboutrdf:resource="http://www.wikidata.org/entity/Q10313"/>
# <schema:inLanguage>it</schema:inLanguage>
# </rdf:Description>
# 
<rdf:Descriptionrdf:about="https://an.wikipedia.org/wiki/Sant%20Sabasti%C3%A1n";>
# <rdf:typerdf:resource="http://schema.org/Article"/>
# <schema:aboutrdf:resource="http://www.wikidata.org/entity/Q10313"/>
# <schema:inLanguage>an</schema:inLanguage>
# </rdf:Description>
# ...
#

# <rdf:Descriptionrdf:about="https://vi.wikivoyage.org/wiki/San%20Sebastian";>
# <rdf:typerdf:resource="http://schema.org/Article"/>
# <schema:aboutrdf:resource="http://www.wikidata.org/entity/Q10313"/>
# <schema:inLanguage>vi</schema:inLanguage>
# </rdf:Description>
# </rdf:RDF>


--
Cristina Sarasua

Institute for Web Science and Technologies (WeST)

Universität Koblenz-Landau
Universitätsstraße 1
56070 Koblenz
Germany

e: [email protected]
p: +49 261 287 2772
f: +49 261 287 100 2772
w: http://west.uni-koblenz.de

_______________________________________________
Wikidata-tech mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech

Reply via email to