Indeed. Full API documentation: http://wdq.wmflabs.org/api_documentation.html
On Sun, Oct 26, 2014 at 4:52 PM, Andrew Gray andrew.gray@dunelm.org.uk wrote:
CLAIM seems to expect that the target is an item number, rather than a text string. For string properties, I think the correct query is:
STRING[486:"D008180"]
http://tools.wmflabs.org/autolist/index.php?language=en&project=wikipedi...
Andrew.
On 24 October 2014 18:13, Benjamin Good ben.mcgee.good@gmail.com wrote:
Using the autolist 2 tool (http://tools.wmflabs.org/autolist/index.php),
I
enter the WDQ query: CLAIM[486:"D008180"]
which I think means "Give me the items that have MeSH id = "D008180" ".
It
does indeed return an item with that claim Q1495661
but also returns items that have an no value as the object of that relationship, such as http://www.wikidata.org/wiki/Q3377653 http://www.wikidata.org/wiki/Q7796109 http://www.wikidata.org/wiki/Q1598365
Is this a bug in the query API or a bug in my query ?
--
- Andrew Gray andrew.gray@dunelm.org.uk
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l