A gentle introduction to the Wikidata Query Service
wikidata.org
wikidata.org
I've never actually played with it though, don't know if it already has that data, and I don't know what its terms of service permit doing, so not advice etc. just something I thought of, to likely never get to.
https://qanswer-frontend.univ-st-etienne.fr/
I tried "who was harry potter's aunt?" on it but that didn't seem to work. I tried googling the same question and Google gave me the correct answer. I think that Google, despite result skew, is pretty powerful sometimes.
I asked Alexa the same question and she returned the correct answer as well.
https://www.wikidata.org/wiki/Q3244512
Google can be disappointing, however, when you want to ask a question few people have thought of. It would be hard to get a clear answer to "which family had the most members in Harry Potter?" etc, whereas that's a query you can write pretty naturally with a graph database, RDF or otherwise.
I'd never say that I wish we just had massive triple stores and Google had never been invented, but I still maintain that linked data is exciting and expressive.
1. It's super tricky to get the queries right. SPARQL is so unknown by the data community, so it's hard to get help. Plus there are super sudden quirks that lead to erroneous results (e.g. not all relationships are shown if you filter the data _some way_ but no in a _slightly different way_). 2. Wikidata facts are often _not_ leveraged by Wikipedia itself. This leads to divergence between the two datasets, sadly the more popular one is also the one that's unstructured. Unless we properly tie these two services, we won't get an up-to-date linked database.
I have worked fairly hard on updating Wikidata with local facts (politics, mostly) over the past year or so and the two issues noted above have consistently dampened by motivation to continue.
1. It would be fairly difficult to implement an infobox that would load all the data properly (e.g. party membership, by-elections, complex elections etc.) 2. Some people would be sad to see their thousands of manual edits being replaced by an automated source of information.
I'm always curious though what people use services like this and wolfram alpha for beyond just playing around.
> While researching this article, I managed to lock up my copy of Mathematica several times on balloon-related differential equations, and subsequently got my IP address banned from Wolfram|Alpha for making too many requests.
Regarding triples, note that Wikidata is not purely a triple store: each statement ("triple") can include qualifiers, which are key-value pairs about the core statement. So you can directly express "Company X made profit Y, in year Z, according to source S" etc.
I adapted one of the example queries to show the most recent entities with a budget: https://query.wikidata.org/#%23%20All%20items%20with%20a%20p...
Looks like mostly research grants. My guess is that someone wrote an integration to add new research grants to Wikidata as soon as they're published.