On 23.06.2016 07:13, Stas Malyshev wrote:
Hi!
A quick search only returned those tables so
far:
https://www.wikidata.org/wiki/Wikidata:List_of_properties/all
<mailto:wikidata@lists.wikimedia.org
Any formal representation would work: OWL, etc.
There's basic OWL with Wikibase ontology here:
http://wikiba.se/ontology-1.0.owl
The properties can be found in the general dump (
https://dumps.wikimedia.org/wikidatawiki/entities/ )
described as outlined here:
https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format#Properties
There's no separate file, RDF, OWL or otherwise, with only properties,
AFAIK.
There is one for the initial (prototype) dumps [1], file
wikidata-properties.nt.gz. Adjusting this to the RDF encoding used in
the Wikidata SPARQL Service would be doable (mostly some URIs have
changed, but there is a simple mapping).
With the small number of properties, it should also be easy to get much
of their data with a SPARQL query (depending on what you need). Does
BlazeGraph support CONSTRUCT?
In fact, depending on what you want to do with the data, you may find
other formats that list all properties useful, esp. the property list
used in SQID [2]. You can download the JSON file with the underlying
data (see the link in the README of the github project for SQID).
Both our RDF dumps and the SQID file are generated using Wikidata
Toolkit. You could use this too if you want custom exports that are not
easy to get through the SPARQL endpoint.
Markus
[1] Most recent one is already two montsh old though; there seems to be
a bug with the generator:
http://tools.wmflabs.org/wikidata-exports/rdf/index.php?content=dump_downlo…
[2]
http://tools.wmflabs.org/sqid/#/browse?type=properties
--
Markus Kroetzsch
Faculty of Computer Science
Technische Universität Dresden
+49 351 463 38486
http://korrekt.org/