Hi Hampton,
The SPARQL syntax needed to extract wiki-sitelinks isn't the best, and
with luck will get updated when the data design is next reviewed.
(Something like the proposed new scheme for identifiers would be
better). But I think the following should be more or less what you were
asking for:
tinyurl.com/nsfwr8k
All best,
James.
On 09/11/2015 17:25, Hampton Snowball wrote:
Thank you for doing what you could! In terms of wikipedia links it does
look like the wikidata records do link to wikpedia, e.g. at the bottom of
this record:
https://www.wikidata.org/wiki/Q25369
Since there is multiple wikpedia entries, I guess I'd be going for the "en"
english one.
Best,
HS
On Mon, Nov 9, 2015 at 12:18 PM, Remko de Keijzer <[email protected]>
wrote:
No. The label is the label in Wikidata. Not a sitelink. You're not
querying Wikipedia, but Wikidata.
If you really need the sitelink, I hope someone else can help you further,
since I'm a mere beginner at SPARQL and was happy I could get this result.
--
Mbch331
When you have eliminated the impossible, whatever remains, however improbable,
must be the truth.
(Sir Arthur Conan Doyle)
Op 9-11-2015 om 18:13 schreef Hampton Snowball:
Maybe I misunderstood. I think the item label is actually what's used in
the wikipedia article url, just convert spaces to underscores?
Thanks!
On Mon, Nov 9, 2015 at 11:47 AM, Hampton Snowball <
<[email protected]>[email protected]> wrote:
Thank you. Is there a way to export it though with the Wikipedia Article
name with underscores or wikipedia url? So like Barack_Obama or
en.wikipedia.org/wiki/Barack_Obama.
On Mon, Nov 9, 2015 at 11:34 AM, Remko de Keijzer <
<[email protected]>[email protected]> wrote:
I think this: http://tinyurl.com/o5lahko is what you wanted. It's got
the item ID, the label and the value of P2002.
--
Mbch331
When you have eliminated the impossible, whatever remains, however improbable,
must be the truth.
(Sir Arthur Conan Doyle)
Op 9-11-2015 om 17:09 schreef Hampton Snowball:
I'm looking to use the <https://query.wikidata.org/>
https://query.wikidata.org/ interface to export to csv all wikidatas
with this property P2002.
<https://www.wikidata.org/w/index.php?title=Special:WhatLinksHere/Property:P2002&limit=500&from=21542767&back=20967485>
https://www.wikidata.org/w/index.php?title=Special:WhatLinksHere/Property:P2002&limit=500&from=21542767&back=20967485
I am looking for the Wikipedia Article_Name + the value associated with
that property.
Thanks in advance!
_______________________________________________
Wikidata mailing
[email protected]https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing
[email protected]https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata