It seems that the nearest equivalent with Mediawiki would be with this syntax:
https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Texas&languages=en&props=claims|descriptions|labels|aliases however...what is really needed is a &search= with perhaps a default limit of 5 entities returned, like so: https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&search=Texas&languages=en&props=claims|descriptions|labels|aliases Unfortunately, the &search= is not available with action=wbgetentites BUMMER. Thad +ThadGuidry <https://www.google.com/+ThadGuidry> On Tue, Jan 6, 2015 at 11:04 AM, Thad Guidry <[email protected]> wrote: > 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 each Entity / Item that is returned with a search, as shown > in examples here: > > ALL > > http://freebase-search.freebaseapps.com/?filter=(all+type%3A%2Feducation%2Feducational_institution+incompatible%3A%2Feducation%2Feducational_institution)&output=(all)&limit=100&scoring=entity&lang=en > > and > > PART OF > > http://freebase-search.freebaseapps.com/?filter=(all+type%3A%2Feducation%2Feducational_institution+incompatible%3A%2Feducation%2Feducational_institution)&output=(part_of)&limit=100&scoring=entity&lang=en > > Looking at the Wikidata API, this query syntax does not provide additional > property (CLAIM) details: > > > https://www.wikidata.org/w/api.php?action=wbsearchentities&search=Valve&language=en&type=item > > I would ideally like to have a way to output STATEMENTS or CLAIMS and > their values. > An ALL CLAIMS parameter, as well as providing which CLAIMS perhaps > separated by | pipe. > > Is there a way to do so now with the current implementation somehow ? > > Thanks in advance, > Thad > +ThadGuidry <https://www.google.com/+ThadGuidry> >
_______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
