Hi,
Many thanks for the many answers.
I went for the SPARQL solution in the end since I only have a short list of
Q-numbers which can be sources. With the new query service it also has the
benefit of being something I can just turn into a url and then give to the
GLAM to look up on the fly =)
Now I also have an excuse to learn some more SPARQL to play around with
this =)
Cheers,
André
André Costa | GLAM-tekniker, Wikimedia Sverige | Andre.Costa(a)wikimedia.se |
+46 (0)733-964574
Stöd fri kunskap, bli medlem i Wikimedia Sverige.
Läs mer på blimedlem.wikimedia.se
On 7 September 2015 at 22:29, Stas Malyshev <smalyshev(a)wikimedia.org> wrote:
Hi!
A small fix though: I think you should better use
count(?statement)
rather than count(?ref), right?
Yes, of course, my mistake - I modified it from different query and
forgot to change it.
I have tried a similar query on the public test
endpoint on labs
earlier, but it timed out for me (I was using a very common reference
though ;-). For rarer references, live queries are definitely the better
approach.
Works for me for Q216047, didn't check others though. For a popular
references, labs one may be too slow, indeed. A faster one is coming
"real soon now" :)
--
Stas Malyshev
smalyshev(a)wikimedia.org
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata