Re: [Wikidata] Overload of query.wikidata.org (Guillaume Lederrey)

2019-06-19 Thread Tim Finin
I've been using wdtaxonomy
 happily
for many months on my macbook running 10.14.5. Starting yesterday, every
call I make (e.g., "wdtaxonomy -c Q5") produces an immediate "SPARQL
request failed" message.

Might these requests be blocked now because of the new WDQS policies?

Tim
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Overload of query.wikidata.org (Guillaume Lederrey)

2019-06-18 Thread Tim Finin
I've been using wdtaxonomy
 happily
for many months on my macbook. Starting yesterday, every call I make (e.g.,
"wdtaxonomy -c Q5") produces an immediate "SPARQL request failed" message.

Might these requests be blocked now because of the new WDQS policies?

Tim
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


[Wikidata] searching for Wikidata items

2019-06-04 Thread Tim Finin
What's the best way to search Wikidata for items whose name or alias
matches a string?  The search available via pywikibot seems to only find a
match if the search string is a prefix of an item's name or alias, so
searching for "Bush" does not return any of the the George Bush items.  I
don't want to use a SPARQL query with a regex, since I expect that to be
slow.

The search box on the Wikidata pages is closer to what I want.  Is there a
good way to call this via an API?

Ideally, I'd like to be able to specify a language and also a set of types,
but I can do that once I've identified candidates based on a simple match
with a query string.
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata