Wikidata and ImageNet both know oxcarts:
An AI library gives me the ImageNet "synset" about oxcarts.
From this "synset", how to get the equivalent Wikidata item?
Open Data Stack Exchange is a question and answer site for developers and researchers interested in open data. It only takes a minute to sign up.
Sign up to join this communityWikidata and ImageNet both know oxcarts:
An AI library gives me the ImageNet "synset" about oxcarts.
From this "synset", how to get the equivalent Wikidata item?
I have used the P2888 property for linking WordNet synset URIs with Wikidata item, and as pointed out by Stanislav Kralin written about it in the article Linking ImageNet WordNet Synsets with Wikidata.
Provided that the URI is available with the P2888 property, you may then query with the Wikidata Query Service at https://query.wikidata.org. For instance, with string "n03868242" (oxcart) embedded in the SPARQL:
SELECT
?item
?uri
WHERE {
BIND(URI(CONCAT("http://wordnet-rdf.princeton.edu/wn30/", SUBSTR("n03868242", 2), "-n")) AS ?uri)
?item wdt:P2888 ?uri .
}
Wikidata Query Service link: http://tinyurl.com/y7eeo78p
Currently, there are 475 linked items (http://tinyurl.com/y9s26qm6), so the mapping is not complete.
Also note that I do not think we have reached consensus on how this mapping should be done, e.g., see the discussion at https://www.wikidata.org/wiki/Talk:Q1190777.
ImageNet more or less consistently uses WordNet synset IDs.
There is the Wordnet synset ID property proposal on Wikidata.
Currently, the only option available is to use BabelNet which has WordNet as one of the sources.
This page mentions Wikidata as another source, but I can find DBpedia entities only with BabelNet SPARQL endpoint. Probably this means:
See @FinnÅrupNielsen's article for interesting details.