I followed the advice on this post: https://lists.wikimedia.org/pipermail/wikidata/2016-March/008444.html
(Thanks Mr. Malyshev!)
I did have one problem with the build: I found myself having to remove the checkstyle plugin from the pom.xml file to get the maven build to go to completion.
Now on my local installation I can get this query to work just fine:
(Current namespace: wdq) Select * Where { Service http://localhost:9999/bigdata/namespace/test/sparql { Bind ("Algeria"@en as ?countryLabel) } }
Also this:
(current namespace: test) prefix rdfs: http://www.w3.org/2000/01/rdf-schema# Select * Where { Service http://localhost:9999/bigdata/namespace/wdq/sparql { Bind ("Algeria"@en as ?countryLabel) ?country rdfs:label ?countryLabel. } }
But this query (and every variation I could think of) unfortunately times out: (current namespace: wdq) prefix rdfs: http://www.w3.org/2000/01/rdf-schema# Select * Where { { Select ?countryLabel { Service http://localhost:9999/bigdata/namespace/test/sparql { Bind ("Algeria"@en as ?countryLabel) } } } ?country rdfs:label ?countryLabel. }
This also holds when addressing a Jena service I have set up on a different port.
I would appreciate any help. Also, is this question better posed to the WD tech list?
Thanks,
Is there a property for WordnetId?
/Joakim
Hi!
Is there a property for WordnetId?
The list of properties is here: https://www.wikidata.org/wiki/Wikidata:List_of_properties
Don't see there anything for Wordnet.
Hoi, It would be good to have it. If only to import translations for labels where they are missing. It will make Wikidata better. Thanks, GerardM
On 12 April 2016 at 08:42, Stas Malyshev smalyshev@wikimedia.org wrote:
Hi!
Is there a property for WordnetId?
The list of properties is here: https://www.wikidata.org/wiki/Wikidata:List_of_properties
Don't see there anything for Wordnet.
-- Stas Malyshev smalyshev@wikimedia.org
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
+1
On 2016-04-12 10:29, Gerard Meijssen wrote:
Hoi, It would be good to have it. If only to import translations for labels where they are missing. It will make Wikidata better. Thanks, GerardM
On 12 April 2016 at 08:42, Stas Malyshev <smalyshev@wikimedia.org mailto:smalyshev@wikimedia.org> wrote:
Hi! > Is there a property for WordnetId? The list of properties is here: https://www.wikidata.org/wiki/Wikidata:List_of_properties Don't see there anything for Wordnet. -- Stas Malyshev smalyshev@wikimedia.org <mailto:smalyshev@wikimedia.org> _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Am 12.04.2016 um 08:42 schrieb Stas Malyshev:
Hi!
Is there a property for WordnetId?
More mappings are always good. The case of WordNet is a bit tricky though, since WordNet is about words, not concepts. Wikidata items can perhaps be mapped to SynSets, but we still have to be careful not to get confused about the semantics.
Freebase has 40,760 https://www.freebase.com/query?autorun=1&q=%5B%7B%22%2Fbase%2Fwordnet%2Fsynset%2Fequivalent_topic%22%3A%5B%7B%22id%22%3Anull%7D%5D%2C%22return%22%3A%22count%22%7D%5D WordNet synsets mapped to equivalent Freebase topics and another 2,300 mapped to broader topics. This could be used to bootstrap any efforts in this space. Of course, it's out of a total of almost 118,000 synsets, so it's only 35-40% coverage, but it probably covers the most popular/common topics. Something to be careful of is semantic drift in Wikipedia/Wikidata, since these alignments were originally done back in 2009.
Here's the schema https://www.freebase.com/base/wordnet/?schema= for the types associated with Wordnet in Freebase. (Yes, I know types are evil and illegal in Wikidata, but just consider them collections of properties grouped together for human organizational convenience.)
BTW, I agree with Daniel that care is needed here. It's easy for casual observers to get confused about what should be connected, particularly since Wikipedia articles aren't necessarily divided along strict semantic lines.
Tom
On Tue, Apr 12, 2016 at 5:17 AM, Daniel Kinzler <daniel.kinzler@wikimedia.de
wrote:
Am 12.04.2016 um 08:42 schrieb Stas Malyshev:
Hi!
Is there a property for WordnetId?
More mappings are always good. The case of WordNet is a bit tricky though, since WordNet is about words, not concepts. Wikidata items can perhaps be mapped to SynSets, but we still have to be careful not to get confused about the semantics.
-- Daniel Kinzler Senior Software Developer
Wikimedia Deutschland Gesellschaft zur Förderung Freien Wissens e.V.
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata