Hi Jackie,
I would not use SPARQL for this since you don't have a question or
something to reason about to form a query.
You have a known identifier and are asking for all it's statements/claims
(we'll that can be done via SPARQL but I wouldn't advise it since it will
be slower and a bit wasteful of resources)
Instead, just use one of the API's and as Fariz suggested you can even use
the simple dereferenceable URI's (per-item access Linked Data URI's
<https://www.wikidata.org/wiki/Wikidata:Data_access>) or the Mediawiki
API's wbgetentites
<https://www.wikidata.org/w/api.php?action=help&modules=wbgetentities> to
get all the info about an entity.
Thad
https://www.linkedin.com/in/thadguidry/
On Thu, Oct 22, 2020 at 10:39 PM Fariz Darari <fadirra(a)gmail.com> wrote:
Hello Jackie,
not necessarily an answer, but you could get description/statements of Q#
via:
https://www.wikidata.org/wiki/Special:EntityData/Q#.ttl
So, for instance, the (turtle syntax) statements of Indonesia would be:
https://www.wikidata.org/wiki/Special:EntityData/Q252.ttl
Regards,
Fariz
On Wed, Oct 21, 2020 at 7:23 PM j s <aa3544bd(a)gmail.com> wrote:
Hi,
I am extremely new to SPARQL and have yet to find how I could feed a file
containing a series of Q item numbers in order to extract statements for
our needs.
I suspect some of you may have succeeded in this. Would you recommend an
API tool (or combination of tools) to use to extract all statements from a
file that contains a series of Q item number? I must preface to say that I
am a metadata person not a software developer.
Thank you very much for any pointers!
With regards,
--Jackie
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata