Could someone tell me how i can find the synonym property of DBPedia in Wikidata? for example, the property "name" in DBpedia is "label" in Wikidata. How I can find all the synonyms properties?
Querying DBpedia delivers a much larger set of equivalency mappings, obtained with a rather different yet very similar query.
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?DBpediaProp ?itemLabel ?WikidataProp
WHERE
{
?DBpediaProp owl:equivalentProperty ?WikidataProp .
FILTER ( CONTAINS ( str(?WikidataProp) , 'wikidata' ) ) .
?DBpediaProp rdfs:label ?itemLabel .
FILTER (lang(?itemLabel) = 'en')
}
ORDER BY ?DBpediaProp
This query can be run on the Wikidata endpoint, https://query.wikidata.org/. For completeness and increased portability, I include the PREFIX
declarations (even though that endpoint auto-applies them). I also FILTER
to get only the dbpedia
equivalencies; you can strike that line to include equivalencies from schema.org
and possibly other ontologies.
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?WikidataProp ?itemLabel ?DBpediaProp
WHERE
{
?WikidataProp wdt:P1628 ?DBpediaProp .
FILTER ( CONTAINS ( str(?DBpediaProp) , 'dbpedia' ) ) .
SERVICE wikibase:label
{ bd:serviceParam wikibase:language "en" } .
}
and you get (as of this writing) a whopping two such equivalencies.
I do not believe a full cross-mapping is available anywhere, and for various reasons (not least being that these ontologies were not designed to be exactly synonymous), may never be.
That said, you might look at the DBpedia Mapping Wiki.
You can find much discussion....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With