Simple queries are part of development plan and you can use it soon.

But in the mean time you can use the queries in autolist (autolist has
its own API)

for example: http://wdq.wmflabs.org/api?q=claim[107:215627]%20and%20claim[31:5]
but I don't it can answer your question or not. if you want you can
use P131 or P17 for your search: e.g. just to get cities in US:
http://tools.wmflabs.org/wikidata-todo/autolist.html?q=CLAIM[31:515]_AND_CLAIM[17:30]


P.S. Are you "the" Bersam? ;)

Best

On 7/26/14, Bersam K <[email protected]> wrote:
> Hi everybody,
>
> Does current API support search in specefic area?
>
> I mean I want to run search only in Cities, I can get Cities by query like
> this (P31:Q515) But I can't run a search on these data.
>
> http://tools.wmflabs.org/wikidata-todo/autolist.html?q=CLAIM[31%3A515]
>
> Thanks,
> Bersam
> --
> And Still Nobody Cares
> *contact me:* <https://forms.hush.com/bersam>
> Gmail : Bersam.k [at] gmail
> Weblog : http://www.bersam.org
> GPG Key : 4096R/D5E8FDFA
> <http://pgp.mit.edu/pks/lookup?op=get&search=0x5AFDAEB2D5E8FDFA> (Sign my
> key)
>


-- 
Amir

_______________________________________________
Wikidata-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-l

Reply via email to