Hello New Freebase :)
I have updated the OpenRefine reconciliation redo task to support reconciling against Wikidata here: https://github.com/OpenRefine/OpenRefine/issues/805
However, in our inspection of your API, would could not find a close approximate for something that the Freebase API had, which was OUTPUT of Properties for an Entity / Item.
Looking at this query syntax:
https://www.wikidata.org/w/api.php?action=wbsearchentities&search=Valve&...
I would ideally like to have a way to output additional metadata or properties and their values "for each item". Is there a way to do so ? Or is a second request always needed to query the ids (a pain point)?
Thanks in advance, Thad +ThadGuidry https://www.google.com/+ThadGuidry
Hey Thad,
You can get the full data of a set of entities as follows: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q64%7CQ65%7C...
I'm not aware of a way to get full entities as part of a search (which does not mean there is none, I'm not that familiar with the MediaWiki API). Given the size of entities, I'm not sure this is what you'd want though. Can you provide more details on how you want to specify for which entities you want info, and what info you want to get from them?
Cheers
-- Jeroen De Dauw - http://www.bn2vs.com Software craftsmanship advocate Evil software architect at Wikimedia Germany ~=[,,_,,]:3
Some MediaWiki APIs have the concept of generators which work a bit like unix pipes and search is one such generator. I'm not sure if wbgetentities accepts generators. On Jan 2, 2015 6:46 PM, "Jeroen De Dauw" jeroendedauw@gmail.com wrote:
Hey Thad,
You can get the full data of a set of entities as follows: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q64%7CQ65%7C...
I'm not aware of a way to get full entities as part of a search (which does not mean there is none, I'm not that familiar with the MediaWiki API). Given the size of entities, I'm not sure this is what you'd want though. Can you provide more details on how you want to specify for which entities you want info, and what info you want to get from them?
Cheers
-- Jeroen De Dauw - http://www.bn2vs.com Software craftsmanship advocate Evil software architect at Wikimedia Germany ~=[,,_,,]:3
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
On Fri, Jan 2, 2015 at 8:12 PM, Nikolas Everett neverett@wikimedia.org wrote:
Some MediaWiki APIs have the concept of generators which work a bit like unix pipes and search is one such generator. I'm not sure if wbgetentities accepts generators.
Yeah, so I've seen, however, it does not currently seem that I can pipe (get an output of Claims) for each entity with the wbsearchentities.
Could someone hack on that to make it more flexible for doing reconciling against Wikidata ? or is there a generator that might be more flexible to provide a "Search and Get Claims/Statement information" in one query ?
Thanks, I have re-asked my question on the Wikimedia API mailing list https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Hopefully someone can let me know on there.
Thad +ThadGuidry https://www.google.com/+ThadGuidry
On Fri, Jan 2, 2015 at 10:42 PM, Thad Guidry thadguidry@gmail.com wrote:
On Fri, Jan 2, 2015 at 8:12 PM, Nikolas Everett neverett@wikimedia.org wrote:
Some MediaWiki APIs have the concept of generators which work a bit like unix pipes and search is one such generator. I'm not sure if wbgetentities accepts generators.
Yeah, so I've seen, however, it does not currently seem that I can pipe (get an output of Claims) for each entity with the wbsearchentities.
Could someone hack on that to make it more flexible for doing reconciling against Wikidata ? or is there a generator that might be more flexible to provide a "Search and Get Claims/Statement information" in one query ?
Thad +ThadGuidry https://www.google.com/+ThadGuidry
On Fri, Jan 2, 2015 at 5:46 PM, Jeroen De Dauw jeroendedauw@gmail.com wrote:
Hey Thad,
You can get the full data of a set of entities as follows: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q64%7CQ65%7C...
I'm not aware of a way to get full entities as part of a search (which does not mean there is none, I'm not that familiar with the MediaWiki API). Given the size of entities, I'm not sure this is what you'd want though. Can you provide more details on how you want to specify for which entities you want info, and what info you want to get from them?
I want the Statements (Claims), so that I can tell which Paris is located in France...and which Paris is located in Texas.
Cheers
-- Jeroen De Dauw - http://www.bn2vs.com Software craftsmanship advocate Evil software architect at Wikimedia Germany ~=[,,_,,]:3
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
wikidata-tech@lists.wikimedia.org