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 
https://www.wikidata.org/wiki/Special:EntityData/Q42.rdf?flavor=full . 

Changing the default is tracked in 
https://phabricator.wikimedia.org/T101837

Cheers,

Marius


On Wed, 2015-07-08 at 10:48 +0200, csarasua wrote:
> 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";>;
>               <schema:version rdf:datatype="
> http://www.w3.org/2001/XMLSchema#integer";>226415944</schema: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";>;
>               <rdf:type rdf:resource="
> http://wikiba.se/ontology-beta#Item"/>;
>               <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";>;
>               <rdf:type rdf:resource="http://schema.org/Article"/>
> ;
>               <schema:about rdf:resource="
> http://www.wikidata.org/entity/Q10313"/>;
>               <schema:inLanguage>it</schema:inLanguage>
>       </rdf:Description>
>       <rdf:Description rdf:about="
> https://an.wikipedia.org/wiki/Sant%20Sabasti%C3%A1n";>;
>               <rdf:type rdf:resource="http
> ://schema.org/Article"/>
>               <schema:about rdf:resource="
> http://www.wikidata.org/entity/Q10313"/>;
>               <schema:inLanguage>an</schema:inLanguage>
>       </rdf:Description>
> ...
> 
>       <rdf:Description rdf:about="
> https://vi.wikivoyage.org/wiki/San%20Sebastian";>;
>               <rdf:type rdf:resource="http://schema.org/Article"/>
> ;
>               <schema:about rdf: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

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

Reply via email to