Hi Cristina,
our RDF output doesn't yet include statements per default as that
mapping is still in a beta stage (but it should be mostly stable by
now).
You can still get Statements in the RDF output by requesting it with
flavor=full like
.
Changing the default is tracked in
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:Description rdf:about="
https://www.wikidata.org/wiki/Special:EntityData/Q10313">uot;>;
<schema:version rdf:datatype="
http://www.w3.org/2001/XMLSchema#integer">226415944</schema:vers…ma:version>;
<schema:dateModified
rdf:datatype="http://www.w3.org
/2001/XMLSchema#dateTime">2015-07-05T08:34:43Z</schema:dateModified>;
<rdf:type
rdf:resource="http://schema.org/Dataset"/>
;
<schema:about rdf:resource="
http://www.wikidata.org/enti
ty/Q10313"/>
</rdf:Description>
<rdf:Description rdf:about="
http://www.wikidata.org/entity/Q10313">uot;>;
<rdf:type rdf:resource="
http://wikiba.se/ontology-beta#Item"/>ot;/>;
<rdfs:label xml:lang="it">San Sebastián</rdfs:label>
<skos:prefLabel xml:lang="it">San
Sebastián</skos:prefLabel>
<schema:name xml:lang="it">San
Sebastián</schema:name>
...
&
lt;/rdf:Description>
<rdf:Description rdf:about="
https://it.wikipedia.org/wiki/San%20Sebasti%C3%A1n">uot;>;
<rdf:type
rdf:resource="http://schema.org/Article"/>
;
<schema:about rdf:resource="
http://www.wikidata.org/entity/Q10313"/>ot;/>;
<schema:inLanguage>it</schema:inLanguage>
</rdf:Description>
<rdf:Description rdf:about="
https://an.wikipedia.org/wiki/Sant%20Sabasti%C3%A1n">uot;>;
<rdf:type rdf:resource="http
://schema.org/Article"/>
<schema:about rdf:resource="
http://www.wikidata.org/entity/Q10313"/>ot;/>;
<schema:inLanguage>an</schema:inLanguage>
</rdf:Description>
...
<rdf:Description rdf:about="
https://vi.wikivoyage.org/wiki/San%20Sebastian">uot;>;
<rdf:type
rdf:resource="http://schema.org/Article"/>
;
<schema:about rdf:resource="
http://www.wikidata.org/entity/Q10313"/>ot;/>;
<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: csarasua(a)uni-koblenz.de
p: +49 261 287 2772
f: +49 261 287 100 2772
w:
http://west.uni-koblenz.de
_______________________________________________
Wikidata-tech mailing list
Wikidata-tech(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech