Hi Miriam,
I am not aware of the ability of Wikidata to return the abstract. I
think you have to use Wikipedia.
https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&prop=…
https://stackoverflow.com/questions/8555320/is-there-a-clean-wikipedia-api-…
This gives you:
{
"batchcomplete": "",
"query": {
"pages": {
"2574343": {
"pageid": 2574343,
"ns": 0,
"title": "SPARQL",
"extract": "SPARQL (pronounced \"sparkle\", a
recursive
acronym for SPARQL Protocol and RDF Query Language) is an RDF query
language, that is, a semantic query language for databases, able to
retrieve and manipulate data stored in Resource Description Framework
(RDF) format. It was made a standard by the RDF Data Access Working
Group (DAWG) of the World Wide Web Consortium, and is recognized as one
of the key technologies of the semantic web."
}
}
}
}
best regards
Finn
On 02/04/2016 01:03 PM, Miriam Allalouf wrote:
Hi,
We are accessing Wikidata using embedded SPARQL queries.
We need to have the abstract of an article (namely to retrieve it from
the Wikipedia article).
I can get the site link of an article – though I cannot get a specific
paragraph, particularly the abstract of the article.
It works for me when I use the DBpedia but I want to do it using wikidata.
Please let me know how?
Thanks a lot,
Miriam
=================
/Miriam Allalouf, PhD/
/Software Engineering Department, JCE ///
/Academic Head of Mahar Project///
/ Mobile tel: +972-52-3664129//
email: miriamal(a)jce.ac.il
Azrieli College of Engineering Jerusalem - JCE
/
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata
--
Finn Årup Nielsen
http://people.compute.dtu.dk/faan/