close
Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
36 views

For example the following query returns only the value "57" but I need to get the original raw value stored as string ("+57.000"). select ?value (str(?value) as ?strValue) ?amount ...
Patrick's user avatar
  • 3,827
2 votes
1 answer
69 views

I found this version from wikiextractor that contains the option for filtering categories with a .txt file: https://github.com/sandertan/wikiextractor/. This works perfectly for the Dutch wiki, I used ...
Annelotte's user avatar
  • 107
0 votes
0 answers
71 views

I'm trying to find individuals on the Wikidata Query Service, and I'd like to filter results from certain initials (e.g. if a family name starts with "B" and at least one given name with &...
Dissentrix's user avatar
0 votes
0 answers
41 views

I have a SPARQL request that extracts various data for geographic locations from Wikidata: SELECT DISTINCT ?h ?hLabel ?type ?location ?parent ?north ?south ?east ?west ?area WHERE { VALUES (?h) {(wd:...
Dr. Goulu's user avatar
  • 610
0 votes
0 answers
46 views

I'm looking to map either wikidata ids or GeoName ids to geoBoundary shapeIDs for ADM1 and ADM2. I'm not sure if there is a straightforward way to do this. For example, here is the GeoName entry for ...
Slash's user avatar
  • 581
2 votes
0 answers
73 views

I wanted to know for each president, in what state were they born, so I wrote this Wikidata query: SELECT * WHERE { # P31 = instance of # Q5 = human (excludes fictional characters) ?president ...
charmoniumQ's user avatar
  • 5,593
1 vote
1 answer
46 views

I'm having trouble consistently retrieving DOIs for WikiData entries for scientific articles via the query service. As a minimal working example, the following will return the DOI for the entry ...
A. Bollans's user avatar
1 vote
0 answers
69 views

I want to query wikidata entities and their labels in multiple languages. But for some reason querying the labels is very inperformant. My base query looks like this (find 3 life forms that have ...
Kaligule's user avatar
  • 830
0 votes
0 answers
51 views

I am learning how to make SPARQL requests to Wikidata. I am trying to get a list of countries that: speak English are located in UTC from -8 to +2 with latest GDP Per Capita With aggregated lists of ...
tsilvs's user avatar
  • 464
2 votes
1 answer
111 views

Question How do I get from an animal name (tiger) to its WikiData entity id (Q19939) in a static website? Context I am writing a small static website (no backend, just html and vanilla javascript) ...
Kaligule's user avatar
  • 830
1 vote
1 answer
99 views

I'm trying to run the following query (retrieving all humans with a Wikipedia article) on query.wikidata.org: SELECT ?page_title WHERE { ?item wdt:P31 wd:Q5. ?article schema:about ?...
vvye's user avatar
  • 1,332
2 votes
1 answer
65 views

the following SPARQL request in https://query.wikidata.org/ # title: Get metal groups SELECT DISTINCT ?h ?hLabel ?url WHERE { ?h wdt:P31 wd:Q215380. # groups FILTER NOT EXISTS {?h wdt:P2032 ?end} ...
Dr. Goulu's user avatar
  • 610
0 votes
2 answers
89 views

How does one get a SPARQL 1.1 alternative for SERVICE labeling with Wikidata Query Service (or another SPARQL endpoint with data from Wikidata) with fallback? I am thinking about the alternative to ...
Finn Årup Nielsen's user avatar
0 votes
1 answer
70 views

I am trying to make a wikidata query using WikidataR package for R. My query shoud have the following results : for each item of a list of wikidata elements (such as Q124988842, Q125696676, Q130644039)...
dbelveze's user avatar
1 vote
0 answers
37 views

I want to retrieve all the related objects of an entity and their labels, but I'm struggling against how the label service and the distinction between statements and (actual) entities works in ...
Lightsong's user avatar
  • 355

15 30 50 per page
1
2 3 4 5
63