Re: [Wikidata] Query Help - Stock Symbols and Wikipedia Pages

2016-10-13 Thread Denny Vrandečić
As far as I can tell on https://www.wikidata.org/wiki/Q156578 VW indeed has three different stock symbols. On Thu, Oct 13, 2016 at 1:34 PM Hampton Snowball wrote: > Hi Stas - Thank you so much for your response! It seems the difference > between 1 and 2 is that for

Re: [Wikidata] Query Help - Stock Symbols and Wikipedia Pages

2016-10-13 Thread Hampton Snowball
Thank you Andrew. You are pointing out that simply trying to export p249 alone is not working properly or needs a different query, I see. On Thu, Oct 13, 2016 at 3:02 PM, Hampton Snowball wrote: > When I got to the 'what links here' for p249 seems like a lot more >

Re: [Wikidata] Query Help - Stock Symbols and Wikipedia Pages

2016-10-13 Thread Hampton Snowball
When I got to the 'what links here' for p249 seems like a lot more (hundreds) of entries: https://www.wikidata.org/wiki/Special:WhatLinksHere/Property:P249 On Thu, Oct 13, 2016 at 2:20 PM, Andrew Gray wrote: > There are only 73 entries (including some duplicates)

Re: [Wikidata] Query Help

2015-11-09 Thread Remko de Keijzer
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

Re: [Wikidata] Query Help

2015-11-09 Thread James Heald
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

Re: [Wikidata] Query Help

2015-11-09 Thread Remko de Keijzer
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

Re: [Wikidata] Query Help

2015-11-09 Thread Hampton Snowball
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 wrote: > I think this:

Re: [Wikidata] Query Help

2015-11-09 Thread 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 wrote: > Thank you. Is there a way to export it though with the

Re: [Wikidata] Query Help

2015-11-09 Thread Tom Morris
Freebase has another 18,000 Twitter handles which are linked to IMDB, G+, etc which don't have English Wikipedia links (as well as 13K which are linked to English Wikipedia, although those should be in Wikidata too). http://tinyurl.com/omb6bxf I know some Wikipedias actively discourage links to

Re: [Wikidata] Query Help

2015-11-09 Thread Hampton Snowball
I think a lot of the freebase handles can be out of date and incorrect in what I previously saw. On Mon, Nov 9, 2015 at 2:56 PM, Tom Morris wrote: > Freebase has another 18,000 Twitter handles which are linked to IMDB, G+, > etc which don't have English Wikipedia links (as