Question: What images are associated with Laura I. Furlong, including those of her research topics, co-authors, or related entities?

SELECT DISTINCT ?image WHERE { { wd:Q30347594 wdt:P18 ?image . } UNION { wd:Q30347594 ?property ?associatedEntity . ?associatedEntity wdt:P18 ?image . FILTER (?associatedEntity != wd:Q5) } UNION { ?work wdt:P50 wd:Q30347594 . ?work wdt:P921 ?topic . ?topic wdt:P18 ?image . } UNION { ?work wdt:P50 wd:Q30347594 . ?coauthor wdt:P50 ?work . ?coauthor wdt:P18 ?image . } }

Can you find all images linked to Laura I. Furlong, such as her own photo, images of the subjects of her work, or images of her co-authors?

Show me all Wikimedia Commons images connected to Laura I. Furlong — whether directly, through her publications' topics, or via co-authors — but not images of other people.

SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q30347594> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q30347594> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30347594> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }


Question: Songs by The Beatles, Adele, Radiohead, and Nirvana with release dates and types.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?artistLabel ?workLabel ?publicationDate ?workTypeLabel WHERE {
  ?artist wdt:P434 ?mbid .
  FILTER ( ?mbid IN ( "b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d" , "cc2c9c3c-b7bc-4b8b-84d8-4fbd8779e493" , "a74b1b7f-71a5-4011-9441-d0b5e4122711" , "5b11f4ce-a62d-471e-81fc-a69a8278c7da" ) ) .
  ?work wdt:P175 ?artist ; wdt:P577 ?publicationDate ; wdt:P31 ?workType .
  ?artist rdfs:label ?artistLabel .
  ?work rdfs:label ?workLabel .
  ?workType rdfs:label ?workTypeLabel .
  FILTER ( LANG( ?artistLabel ) = "en" ) FILTER ( LANG( ?workLabel ) = "en" ) FILTER ( LANG( ?workTypeLabel ) = "en" )
}
LIMIT 10

What songs were released by The Beatles, Adele, Radiohead, and Nirvana, and when and what type of work are they?

List the English-labeled songs performed by The Beatles, Adele, Radiohead, and Nirvana, along with their publication dates and work types.

SELECT ?var1Label ?var2Label ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var5 . FILTER ( ( ?var5 IN ( "string1", "string2", "string3", "string4" ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P175> ?var1 ; <http://www.wikidata.org/prop/direct/P577> ?var3 ; <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10


Question: Who are some baseball players on Wikidata, and what additional details (qualifiers) are associated with their occupation statements?

SELECT ?person ?statement (SAMPLE(?qualifierValue) AS ?sampledQualifierValue)
WHERE {
  ?person p:P106 ?statement .
  ?statement ps:P106 wd:Q10871364 .
  OPTIONAL {
    ?statement ?qualifier ?qualifierValue .
    ?qualifier wikibase:qualifierOf wdt:P106 .
  }
}
GROUP BY ?person ?statement
LIMIT 10

List people whose occupation is baseball player, along with any extra information attached to their occupation entry.

Can you show me baseball players and any qualifiers on their occupation claims?

SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P106> <http://www.wikidata.org/entity/Q10871364> . ?var1 <http://www.wikidata.org/prop/P106> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2


Question: Cities with labels in the same language as their country’s official language, along with the language code.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?city ?cityLabel ?country ?language ?languageLabel ?languageCode WHERE {
  ?city wdt:P31 wd:Q515 .
  ?city wdt:P17 ?country .
  ?country wdt:P37 ?language .
  ?language wdt:P424 ?languageCode .
  ?city rdfs:label ?cityLabel .
  ?language rdfs:label ?languageLabel .
  FILTER ( LANG( ?cityLabel ) = ?languageCode ) .
  FILTER ( LANG( ?languageLabel ) = ?languageCode ) .
}
LIMIT 100

Which cities have their names displayed in the same language as their country’s official language, and what is the Wikimedia language code for that language?

Show me cities, their countries, official languages, and the corresponding Wikimedia language codes, but only where both the city name and the language name are labeled in the language of the code.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.wikidata.org/prop/direct/P37> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P424> ?var4 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( ?var5 > "1000000"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = ?var4 ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = ?var4 ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = ?var4 ) ) ) . } LIMIT 100


Question: Who were the people associated with the Santo Tomas Internment Camp and what were their birth and death dates?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?personLabel ?dob ?dod WHERE {
  {
    ?person wdt:P20 wd:Q7420555 .
  } UNION {
    ?person wdt:P7153 wd:Q7420555 .
  }
  ?person wdt:P31 wd:Q5 .
  ?person rdfs:label ?personLabel .
  OPTIONAL {
    ?person wdt:P569 ?dob .
  }
  OPTIONAL {
    ?person wdt:P570 ?dod .
  }
}

Which humans were connected to the Santo Tomas Internment Camp, and when were they born and when did they die?

Please list the names, birth dates, and death dates of all humans linked to the Santo Tomas Internment Camp.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7420555> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What were the birth and death dates of Marie Smith Jones, the last speaker of the Eyak language?

SELECT ?var1Label ?var3 ?var4 WHERE { BIND( wd:Q266679 AS ?var1 ) . ?var1 wdt:P31 wd:Q5 . ?var1 rdfs:label ?var1Label FILTER(LANG(?var1Label) = "en") . OPTIONAL { ?var1 wdt:P569 ?var3 . } OPTIONAL { ?var1 wdt:P570 ?var4 . } }

Can you tell me when Marie Smith Jones was born and when she died?

Who was Marie Smith Jones, and what are her dates of birth and death?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5422547> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Birth and death dates of Adriaan Loosjes

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?personLabel ?birthDate ?deathDate WHERE {
  BIND( wd:Q4684780 AS ?person ) .
  ?person wdt:P31 wd:Q5 .
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P570 ?deathDate .
  }
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

When was Adriaan Loosjes born and when did he die?

Please provide the birth and death dates of Adriaan Loosjes, a human from Den Hoorn.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q992737> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the birth and death dates of T.G. Wilson?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?itemLabel ?birthDate ?deathDate WHERE {
  wd:Q23022066 wdt:P31 wd:Q5 .
  OPTIONAL {
    wd:Q23022066 wdt:P569 ?birthDate .
  }
  OPTIONAL {
    wd:Q23022066 wdt:P570 ?deathDate .
  }
  wd:Q23022066 rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}

When was T.G. Wilson born and when did he die, according to Wikidata?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q23022066> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Samuel Bowles birth and death dates

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?personLabel ?birthDate ?deathDate WHERE {
  wd:Q7410959 wdt:P31 wd:Q5 .
  OPTIONAL {
    wd:Q7410959 wdt:P569 ?birthDate .
  }
  OPTIONAL {
    wd:Q7410959 wdt:P570 ?deathDate .
  }
  wd:Q7410959 rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

When was Samuel Bowles born and when did he die?

Tell me the birth and death dates of Samuel Bowles.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q7410959> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the birth and death dates of Lee Chan-u?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?personLabel ?birthDate ?deathDate WHERE {
  BIND( wd:Q16091181 AS ?person ) .
  ?person rdfs:label ?personLabel .
  OPTIONAL {
    ?person wdt:P569 ?birthDate
  }
  OPTIONAL {
    ?person wdt:P570 ?deathDate
  }
}

Can you tell me the birth and death dates of the South Korean journalist known as 이찬우?

Who is the person born on April 15, 1918, and died on November 16, 1983, and what is their name?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q16091181> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the birth and death dates of Robert S. Beightler, the commander of the 27th Infantry Division?

SELECT ?personLabel ?dob ?dod WHERE { BIND( wd:Q7349451 AS ?person ) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?person wdt:P569 ?dob . } OPTIONAL { ?person wdt:P570 ?dod . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

When was Robert S. Beightler born and when did he die?

Can you tell me the lifespan of Robert S. Beightler, who led the U.S. 27th Infantry Division during World War II?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2815598> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who are the people named "Paul Costa" in French who are human?

SELECT DISTINCT ?var1 WHERE { ?var1 rdfs:label "Paul Costa"@fr . ?var1 wdt:P31 wd:Q5 . }

List all humans with the French name "Paul Costa".

Which individuals, identified as human in Wikidata, have the French label "Paul Costa"?

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "paul costa"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: Which Wikidata entities have the Twitter usernames "JohnLegere", "TMobile", or "d3js_org"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?username WHERE {
  ?entity wdt:P2002 ?username .
  VALUES ?username {
    "JohnLegere" "TMobile" "d3js_org"
  }
}

Who or what are the entities on Wikidata associated with the Twitter handles JohnLegere, TMobile, and d3js_org?

Show me the Wikidata items for the Twitter accounts @JohnLegere, @TMobile, and @d3js_org (without the @ symbol).

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "JohnLegere" ) ( "TMobile" ) ( "d3js_org" ) } }


Question: What is the Italian protected natural area with EUAP ID EUAP0512?

SELECT ?area ?officialName ?country ?location WHERE { ?area wdt:P4800 "EUAP0512" . ?area wdt:P1448 ?officialName . ?area wdt:P17 ?country . ?area wdt:P625 ?location . FILTER(LANG(?officialName) = "it") }

Can you tell me about the protected area in Italy identified by EUAP0512, including its name and location?

Is there a protected area in Italy with the EUAP identifier EUAP0512, and if so, what is its official name and where is it located?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> "EUAP0512". }


Question: Cameroonian women with no French Wikipedia page but images on Commons, ordered by number of images.

SELECT DISTINCT ?imageCount ?person ?personLabel ?description ?image WHERE { { SELECT ?person (COUNT(DISTINCT ?image) AS ?imageCount) WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 ; wdt:P27 wd:Q1009 ; wdt:P18 ?image . FILTER NOT EXISTS { ?wikipedia schema:about ?person ; schema:inLanguage "fr" . } } GROUP BY ?person } OPTIONAL { ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") } OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = "fr") } ?person wdt:P18 ?image . } ORDER BY DESC(?imageCount)

Who are the Cameroonian women who are female, have images on Wikimedia Commons, but no French-language Wikipedia articles, and how many images do they have?

List Cameroonian female humans who have no French Wikipedia articles, show their English names, French descriptions, and images, sorted by how many images they have.

SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ?var4Label ?var5 WHERE { { SELECT ?var2 ?var4 ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var2 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q1009> . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var5 . OPTIONAL { ?var7 <http://schema.org/about> ?var2 . ?var7 <http://schema.org/inLanguage> "fr". } FILTER ( ( !( BOUND ( ?var7 ) ) ) ) . ?var6 <http://schema.org/about> ?var2 . } GROUP BY ?var2 ?var4 ?var5 } OPTIONAL { ?var2 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "fr" ) ) ) . } OPTIONAL { ?var2 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } } ORDER BY DESC( ?var1 )


Question: Does the Italian protected natural area with EUAP ID EUAP0142 exist in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?area wdt:P4800 "EUAP0142" .
}

Is there a protected natural area in Italy identified by the EUAP code EUAP0142?

Confirm whether the EUAP ID EUAP0142 corresponds to a registered natural reserve in Italy.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> "EUAP0142". }


Question: Is there a protected natural area in Italy with EUAP ID EUAP0255?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?area wdt:P4800 "EUAP0255" .
}

Does the EUAP ID "EUAP0255" correspond to any registered natural reserve in Italy?

Confirm whether the Italian protected area with identifier EUAP0255 exists in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> "EUAP0255". }


Question: Is there a protected natural area in Italy with EUAP ID EUAP0175?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?area wdt:P4800 "EUAP0175" .
}

Does the EUAP ID EUAP0175 correspond to an officially protected natural area in Italy?

Can you confirm that EUAP0175 is a valid identifier for an Italian protected natural area?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4800> "EUAP0175". }


Question: Battles with their Freebase IDs and dates in English.

SELECT ?battle ?label ?freebaseId ?date WHERE { ?battle (wdt:P31/wdt:P279*) wd:Q178561 . ?battle wdt:P646 ?freebaseId . ?battle wdt:P585 ?date . ?battle rdfs:label ?label . FILTER(LANG(?label) = "en") }

What are the English names, Freebase IDs, and dates of all battles and their subclasses?

List all battles (including subtypes like skirmishes and actions) with their English labels, Freebase identifiers, and occurrence dates.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q178561> . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . }


Question: French-labeled people with the surname Talbi

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?item WHERE {
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = 'fr' ) .
  FILTER ( CONTAINS( LCASE( ?label ) , 'talbi' ) ) .
  ?item wdt:P31 wd:Q5 .
}

Who are the French-speaking individuals with the last name Talbi?

List all humans whose French label includes the surname Talbi.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Talbi"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: What is the Swedish label and description of the property related to scientific taxon names?

SELECT ?property ?label ?description WHERE { wd:P225 wdt:P1659 ?property . ?property rdfs:label ?label . ?property schema:description ?description . FILTER (LANG(?label) = "sv") . FILTER (LANG(?description) = "sv") . }

In Swedish, what is the common name property associated with taxonomic names?

Which Swedish-language terms describe the property that provides common names for biological taxa, related to the scientific name?

SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P225> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "sv" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "sv" ) ) ) . }


Question: What are the Swedish labels and descriptions for taxonomic ranks in Wikidata?

SELECT ?rank ?label ?description WHERE { ?rank wdt:P31 wd:Q427626 . ?rank rdfs:label ?label . ?rank schema:description ?description . FILTER(LANG(?label) = "sv") . FILTER(LANG(?description) = "sv") . } LIMIT 100

Show me the Swedish names and definitions of biological taxonomic ranks like species, genus, and family.

Which taxonomic ranks have Swedish-language labels and descriptions in Wikidata?

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P105> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "sv" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "sv" ) ) ) . } LIMIT 100


Question: What is the capital, locator map, and flag image of the Russian region with OKTMO ID 14000000?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?region ?regionLabel ?capital ?capitalLabel ?locatorMap ?flagImage WHERE {
  ?region wdt:P764 "14000000" .
  OPTIONAL {
    ?region wdt:P36 ?capital .
    ?capital rdfs:label ?capitalLabel .
    FILTER(LANG(?capitalLabel) = "en")
  }
  OPTIONAL {
    ?region wdt:P242 ?locatorMap .
  }
  OPTIONAL {
    ?region wdt:P163 ?flagItem .
    ?flagItem wdt:P18 ?flagImage .
  }
  ?region rdfs:label ?regionLabel .
  FILTER(LANG(?regionLabel) = "en")
}
LIMIT 200

Which region in Russia has the OKTMO identifier 14000000, and what are its capital, map, and flag?

Show me the English name, capital, locator map, and flag image of the Russian region identified by OKTMO code 14000000.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru,en". } ?var1 <http://www.wikidata.org/prop/direct/P764> "14000000". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P36> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P242> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P163> ?var5 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P18> ?var4 . } } LIMIT 200


Question: American television sitcoms listed on Wikidata

SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q21188110 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") }

What are some American television sitcoms?

List the English labels of all television shows that are American sitcoms.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5398426> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21188110> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } }


Question: What is the Wikidata item for Albus Dumbledore?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item WHERE {
  ?item rdfs:label ?label .
  FILTER(LANG(?label) = 'en')
  FILTER(CONTAINS(LCASE(?label) , "dumbledore"))
}
LIMIT 1

Which Wikidata entity has 'Dumbledore' in its English label?

Find the Wikidata item for a character whose English label contains 'dumbledore'.

SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#WikibaseItem> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( CONTAINS ( LCASE ( ?var2Label ) , "dumbledore" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 1


Question: Who is Neil Gaiman according to Wikidata, and is he classified as a human?

SELECT DISTINCT ?item WHERE { ?item rdfs:label "Neil Gaiman"@en . ?item wdt:P31 wd:Q5 }

Is Neil Gaiman a human, and what is his Wikidata identifier?

Find the Wikidata entity for Neil Gaiman who is a human.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Neïl Grid"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: What are some examples of programming tools?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?tool ?toolLabel WHERE {
  ?tool wdt:P279 wd:Q1077784 .
  ?tool rdfs:label ?toolLabel .
  FILTER(LANG(?toolLabel) = "en")
}
ORDER BY ASC(?tool)

Can you list all subclasses of programming tools in English?

Show me the names of software tools used by developers, such as compilers and editors.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ( YEAR ( ?var4 ) AS ?var5 )( YEAR ( ?var6 ) AS ?var7 ) ?var8Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1077784> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P25> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P22> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh". } } ORDER BY ASC( ?var1 )


Question: Which Wikidata item has the VIAF ID 100911718?

SELECT ?item ?label WHERE { ?item wdt:P214 "100911718" . ?item rdfs:label ?label . FILTER(LANG(?label) = "en") }

Who is the person identified by the VIAF identifier 100911718?

Show me the English label of the entity with VIAF ID 100911718.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> "100911718". }


Question: What are all the episodes of the TV series Pastewka, along with their episode number and season number, sorted by season?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?episode ?episodeNumber ?seasonNumber ?episodeLabel WHERE {
  wd:Q1540515 wdt:P527 ?season .
  ?season wdt:P527 ?episode .
  ?episode p:P179 ?stmtEpisode .
  ?stmtEpisode pq:P1545 ?episodeNumber .
  ?season p:P179 ?stmtSeason .
  ?stmtSeason pq:P1545 ?seasonNumber .
  ?episode rdfs:label ?episodeLabel .
  FILTER ( LANG( ?episodeLabel ) = "de" || LANG( ?episodeLabel ) = "" )
}
ORDER BY ASC ( xsd:integer ( ?seasonNumber ) ) ASC ( xsd:integer ( ?episodeNumber ) )

List the episodes of Pastewka with their ordinal position in the series and the season they belong to, ordered by season and episode number.

Show me the German titles of Pastewka episodes, their episode numbers, and which season they are from, sorted by season.

SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { BIND ( <http://www.wikidata.org/entity/Q1540515> AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P361> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P361> ?var5 . ?var3 <http://www.wikidata.org/prop/P179> [ <http://www.wikidata.org/prop/qualifier/P1545> ?var1 ] . ?var5 <http://www.wikidata.org/prop/P179> [ <http://www.wikidata.org/prop/qualifier/P1545> ?var2 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTOLANGUAGE],en". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) )


Question: What institutions was Robert J. Wallis affiliated with or employed by, and during what time periods?

SELECT ?image ?institution ?institutionLabel ?start ?end ?degreeLabel WHERE {
  {
    wd:Q48549829 p:P1416 ?statement .
    ?statement ps:P1416 ?institution .
  } UNION {
    wd:Q48549829 p:P108 ?statement .
    ?statement ps:P108 ?institution .
  }

  ?institution rdfs:label ?institutionLabel .
  FILTER (LANG(?institutionLabel) = "en")

  OPTIONAL {
    ?institution wdt:P18 ?image .
  }

  OPTIONAL {
    ?statement pq:P580 ?start .
  }

  OPTIONAL {
    ?statement pq:P582 ?end .
  }

  OPTIONAL {
    ?statement pq:P512 ?degree .
    ?degree rdfs:label ?degreeLabel .
    FILTER (LANG(?degreeLabel) = "en")
  }
}

Show images of the universities Robert J. Wallis worked for or was affiliated with, along with the start and end dates of those affiliations.

Which academic institutions are associated with Robert J. Wallis, and do any of those affiliations have documented start/end dates or academic degrees?

SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q48549829> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q48549829> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } }


Question: People educated at the National University of Singapore

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?personLabel WHERE {
  ?person wdt:P69 wd:Q738236 .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

Who are the alumni of the National University of Singapore?

List the English names of all individuals who attended the National University of Singapore.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q738236> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What are the English and French labels for the region of Calabria?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?label_en ?label_fr WHERE {
  OPTIONAL {
    wd:Q1458 rdfs:label ?label_en .
    FILTER(LANG(?label_en) = "en")
  }
  OPTIONAL {
    wd:Q1458 rdfs:label ?label_fr .
    FILTER(LANG(?label_fr) = "fr")
  }
}

How is Calabria called in English and French?

Can you provide the English and French names of Calabria, Italy?

SELECT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q1458> AS ?var3 ). OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = "en" ) ) ) . } OPTIONAL { ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "fr" ) ) ) . } }


Question: Which of Rome and Milan are in Italy?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?var1 WHERE {
  VALUES ?var1 {
    wd:Q220 wd:Q490
  }
  ?var1 wdt:P17 wd:Q38 .
}

Are both Rome and Milan located in Italy?

List the cities among Rome and Milan that are part of Italy.

SELECT ?var1 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q220> ) ( <http://www.wikidata.org/entity/Q490> ) } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/prop/direct/Q38> . }


Question: Educational institutions with most alumni in the Six Degrees of Francis Bacon database

SELECT ?institution ?institutionLabel ?count ?samplePerson ?samplePersonLabel WHERE { { SELECT ?institution (COUNT(?person) AS ?count) (SAMPLE(?person) AS ?samplePerson) WHERE { ?person wdt:P69 ?institution . ?person wdt:P2401 ?sdfbId . } GROUP BY ?institution } OPTIONAL { ?institution rdfs:label ?institutionLabel . FILTER(LANG(?institutionLabel) = "en") } OPTIONAL { ?samplePerson rdfs:label ?samplePersonLabel . FILTER(LANG(?samplePersonLabel) = "en") } } ORDER BY DESC(?count)

Which universities have the highest number of alumni who are listed in the Six Degrees of Francis Bacon database, and who are some of those alumni?

List educational institutions ranked by how many of their alumni have a Six Degrees of Francis Bacon ID, along with one example alumnus per institution.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var2 )( SAMPLE ( ?var4 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P69> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P2401> _:b0 . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY DESC( ?var2 )


Question: What is the description of Wikidata?

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?description WHERE {
  wd:Q2013 schema:description ?description .
  FILTER ( LANG( ?description ) = 'en' )
}

Can you tell me the English description of the Wikidata knowledge graph?

What does Wikidata say about itself in English?

SELECT ?var1 ?var2 WHERE { <http://www.w3.org/ns/sparql-service-description#Dataset> ?var2 ?var1 . }


Question: Who are the people with the surname Peyret?

SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 wd:Q27978655 . }

Which humans have the family name Peyret?

List all individuals whose last name is Peyret.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "peyret"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: Which Wikidata items have Twitter usernames "NASA" or "CityOfBoston", and how many Wikipedia articles link to them?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "NASA" "CityOfBoston"
  }
  .
  ?sitelink schema:about ?item .
}
GROUP BY ?item ?username
ORDER BY ASC ( ?sitelinkCount )

What are the Wikipedia sitelink counts for the Twitter accounts @NASA and @CityOfBoston?

Show me the number of Wikipedia pages linked to the items with Twitter usernames "NASA" and "CityOfBoston", sorted by the number of links.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "K_rho" ) ( "calopedie" ) } } ORDER BY ASC( ?var3 )


Question: Who are the people with the surname Dauenhauer?

SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 wd:Q21493406 }

Which humans have the family name Dauenhauer?

List all individuals whose last name is Dauenhauer.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Dauenhauer"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: What artwork has Joconde ID 00000075327?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?painting WHERE {
  ?painting wdt:P347 "00000075327" .
}

Which painting is identified by the Joconde database code 00000075327?

Find the Wikidata item for the artwork with Joconde ID 00000075327.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P347> "00000075327". }


Question: Places associated with Sam Walton and their coordinates

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?image ?entity ?entityLabel ?location ?propertyLabel WHERE {
  wd:Q497827 ?property ?entity .
  OPTIONAL {
    ?entity wdt:P18 ?image .
  }
  ?entity rdfs:label ?entityLabel .
  FILTER(LANG(?entityLabel) = "en")
  ?entity wdt:P625 ?location .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyLabel .
  FILTER(LANG(?propertyLabel) = "en")
}

Where are the locations linked to Sam Walton, such as his birthplace, schools, and burial site, and what are their geographic coordinates?

Show me the English-labeled places connected to Sam Walton, their coordinates, and how they are related to him (e.g., place of birth, educated at), along with any available images.

SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q497827> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,no,ru,sv,zh". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . }


Question: What is the English label and description of the entry with Great Russian Encyclopedia Online ID 2216787?

SELECT ?item ?label ?description WHERE { ?item wdt:P2924 "2216787" . ?item rdfs:label ?label . FILTER (LANG(?label) = "en") . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") . } }

What is the name and description in English of the astronomical object identified as 2216787 in the Great Russian Encyclopedia Online?

Please provide the English name and description of the star system with ID 2216787 in the Great Russian Encyclopedia Online.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "2216787". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What people and entities are related to Christian August Hausen by properties like "student of" or "doctoral advisor", and what are their English labels?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?person ?personLabel ?property ?propertyLabel ?relatedEntity ?relatedEntityLabel ?image WHERE {
  BIND(wd:Q91657 AS ?person)
  ?relatedEntity ?property ?person .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyLabel .
  ?relatedEntity rdfs:label ?relatedEntityLabel .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?propertyLabel) = "en")
  FILTER(LANG(?relatedEntityLabel) = "en")
  FILTER(LANG(?personLabel) = "en")
  OPTIONAL {
    ?person wdt:P18 ?image .
  }
}
LIMIT 100

Who are the people and places connected to Christian August Hausen through relationships such as "student of" or "doctoral advisor", and what are the English names of those relationships and entities?

Show me all entities linked to Christian August Hausen via English-labeled relationships, along with the names of those relationships and the entities, and include his image if available.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q91657> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100


Question: Top 100 most popular television series by number of Wikipedia language editions

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?itemLabel ?labelCount WHERE {
  ?item(wdt:P31 / wdt:P279 *) wd:Q5398426 .
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
  {
    SELECT ?item(COUNT(?label) AS ?labelCount) WHERE {
      ?item rdfs:label ?label .
    }
    GROUP BY ?item
  }
}
ORDER BY DESC(?labelCount)
LIMIT 100

Which TV shows have the most Wikipedia language versions, and what are their English titles?

List the 100 most widely recognized television series worldwide, showing their English names and how many languages they are labeled in.

SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5398426> ; <http://wikiba.se/ontology#sitelinks> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY DESC( ?var2 ) LIMIT 100


Question: What properties are used to relate entities to humans, and which entities are connected through those properties?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?human ?humanLabel ?property ?propertyLabel ?entity ?entityLabel ?image WHERE {
  BIND( wd:Q5 AS ?human ) .
  ?entity ?property ?human .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyLabel .
  ?entity rdfs:label ?entityLabel .
  ?human rdfs:label ?humanLabel .
  FILTER ( LANG( ?propertyLabel ) = "en" ) .
  FILTER ( LANG( ?entityLabel ) = "en" ) .
  FILTER ( LANG( ?humanLabel ) = "en" ) .
  OPTIONAL {
    ?human wdt:P18 ?image .
  }
}
LIMIT 100

List all entities that have a relationship with humans, along with the name of the relationship and the entity’s label in English.

Which entities are classified as or associated with humans, and what are the English labels of those associations?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q5> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100


Question: What sites are designated as Historical Monuments in France?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?site ?siteLabel WHERE {
  ?site wdt:P1435 wd:Q916475 .
  ?site rdfs:label ?siteLabel .
}
LIMIT 100

Which cultural heritage sites have been officially recognized as Historical Monuments?

List the names of all sites protected under the French Historical Monument designation.

SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } ?var1 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q916475> . } LIMIT 100


Question: What items were created, discovered, published, or officially opened on June 14, 2007?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?item WHERE {
  ?item ( wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619 ) ?date .
  FILTER ( ?date >= "2007-06-14T00:00:00Z" ^^ xsd:dateTime && ?date <= "2007-06-14T23:59:59Z" ^^ xsd:dateTime )
}

Which entities on Wikidata have a date of inception, discovery, publication, or official opening on June 14, 2007?

Show me all projects, publications, or inventions that occurred on June 14, 2007, based on their recorded dates in Wikidata.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= "2007-06-14T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "2007-06-14T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: What dogs are members of organizations, and which organizations are they associated with?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?dog ?organization ?organizationLabel WHERE {
  ?dog wdt:P31 wd:Q144 .
  OPTIONAL {
    ?dog wdt:P463 ?organization .
    ?organization rdfs:label ?organizationLabel .
    FILTER(LANG(?organizationLabel) = "en")
  }
}

Can you list famous dogs along with any organizations they belong to, such as military units or royal pet groups?

Show me all dogs in Wikidata and their organizational affiliations, like military units or royal collections.

SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q144> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P749> ?var3 . } }


Question: Is Edwards-curve Digital Signature Algorithm (EdDSA) a type of human?

ASK WHERE { wd:Q16966748 wdt:P31/wdt:P279* wd:Q5 }

Does the Edwards-curve Digital Signature Algorithm belong to any class that is a subclass of human?

Confirm whether EdDSA is classified as a human or any descendant of human in the Wikidata taxonomy.

ASK WHERE { <http://www.wikidata.org/entity/Q16966748> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> "forwards". }


Question: What is the Wikimedia Commons image for the entity with SNAC ARK ID w62v3d3h?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?image WHERE {
  ?item wdt:P3430 "w62v3d3h" .
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
}

Show the image linked to the SNAC ARK ID w62v3d3h.

What does William Paley look like? (His SNAC ARK ID is w62v3d3h.)

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> "w62v3d3h". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }


Question: Recipients of the Inkpot Award in Spanish labels, with award image.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?award ?awardLabel ?recipient ?recipientLabel ?image WHERE {
  BIND(wd:Q2687578 AS ?award)
  ?recipient wdt:P166 ?award .
  ?award rdfs:label ?awardLabel .
  ?recipient rdfs:label ?recipientLabel .
  FILTER(LANG(?awardLabel) = "es")
  FILTER(LANG(?recipientLabel) = "es")
  OPTIONAL {
    ?award wdt:P18 ?image .
  }
}
LIMIT 100

Who are the recipients of the Inkpot Award, and what are their Spanish labels? Also, is there an image of the award?

List all people who received the Inkpot Award, showing their names in Spanish, the award’s Spanish name, and its image if available.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q2687578> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "es" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100


Question: Animated films with Kinopoisk IDs and Ukrainian Wikipedia pages

SELECT ?film ?kinopoiskId ?ukWikipediaPage WHERE { ?film wdt:P31 wd:Q202866 . ?film wdt:P2603 ?kinopoiskId . ?ukWikipediaPage schema:about ?film ; schema:isPartOf <https://uk.wikipedia.org/> . }

Which animated films have Kinopoisk IDs and corresponding pages on the Ukrainian Wikipedia?

Show me the list of animated films, their Kinopoisk identifiers, and links to their Ukrainian Wikipedia articles.

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202866> . ?var1 <http://www.wikidata.org/prop/direct/P2603> ?var2 . ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://uk.wikipedia.org/> . }


Question: What are the occupations, fields of work, and other attributes of Alice Ambrose in English?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?itemLabel ?property ?propertyLabel ?value ?valueLabel WHERE {
  wd:Q4725710 rdfs:label ?itemLabel .
  wd:Q4725710 ?property ?value .
  ?prop wikibase:directClaim ?property .
  ?prop rdfs:label ?propertyLabel .
  ?value rdfs:label ?valueLabel .
  FILTER ( LANG( ?itemLabel ) = "en" ) FILTER ( LANG( ?propertyLabel ) = "en" ) FILTER ( LANG( ?valueLabel ) = "en" )
}

Can you list all the properties and their values associated with Alice Ambrose, along with their English labels?

What do we know about Alice Ambrose’s professional and personal life, including her occupation, education, and affiliations, with labels in English?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q4725710> AS ?var1 ). ?var1 ?var2 ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var8 ?var9 ?var2 . ?var8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . }


Question: ISO codes and mains voltage for current sovereign countries

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?isoCode ?countryLabel ?voltage WHERE {
  ?country wdt:P31 wd:Q3624078 .
  OPTIONAL {
    ?country wdt:P297 ?isoCode .
  }
  OPTIONAL {
    ?country wdt:P2884 ?voltage .
  }
  FILTER ( NOT EXISTS {
    ?country wdt:P31 wd:Q3024240
  }
  ) ?country rdfs:label ?countryLabel .
  FILTER ( LANG( ?countryLabel ) = "en" )
}
ORDER BY ASC ( ?countryLabel )

What are the ISO 3166-1 alpha-2 codes and residential voltage levels for all current countries?

List all current countries with their two-letter ISO codes and standard mains electricity voltage in volts.

SELECT DISTINCT ?var1 ?var2Label ?var3Label ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P36> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P930> ?var6 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P2853> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P2884> ?var4 . } FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3024240> . } ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P297> ?var1 . } } ORDER BY ASC( ?var2Label )


Question: What are the Spanish labels of Max Planck’s properties and their values?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person ?personLabel ?property ?propertyLabel ?value ?valueLabel WHERE {
  BIND(wd:Q9021 AS ?person)
  ?person ?property ?value .
  ?person rdfs:label ?personLabel .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyLabel .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?personLabel) = "es")
  FILTER(LANG(?propertyLabel) = "es")
  FILTER(LANG(?valueLabel) = "es")
}

Can you show me all the Spanish-language descriptions of Max Planck’s attributes and what they are linked to?

I want to see all the relationships of Max Planck in Spanish, including the property names and the labels of the things they point to.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q9021> AS ?var1 ). ?var1 ?var2 ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var8 ?var9 ?var2 . ?var8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "es" ) ) ) . }


Question: Image of Abraham Gottlob Werner

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?image WHERE {
  wd:Q58751 wdt:P18 ?image .
}

What is the image of the German geologist Abraham Gottlob Werner?

Show me the Wikimedia Commons image of Abraham Gottlob Werner.

SELECT DISTINCT ?var1 ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q58751> AS ?var1 ). OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } }


Question: Spanish label for "inspired by" and who was inspired by Joseph Bell?

SELECT DISTINCT ?person ?personLabel ?propertyLabel ?inspiredEntity ?inspiredEntityLabel ?image WHERE { BIND( wd:Q648680 AS ?person ) . ?inspiredEntity wdt:P941 ?person . wd:P941 rdfs:label ?propertyLabel . ?inspiredEntity rdfs:label ?inspiredEntityLabel . ?person rdfs:label ?personLabel . FILTER ( LANG( ?propertyLabel ) = "es" ) . FILTER ( LANG( ?inspiredEntityLabel ) = "es" ) . FILTER ( LANG( ?personLabel ) = "es" ) . OPTIONAL { ?person wdt:P18 ?image . } } LIMIT 100

In Spanish, who was inspired by Joseph Bell, and what is the Spanish term for "inspired by"?

Show me the Spanish label for the relationship "inspired by", the entity inspired by Joseph Bell in Spanish, and Joseph Bell's image.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q648680> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "es" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100


Question: What entities and properties in Spanish have Canada as their jurisdiction?

SELECT DISTINCT ?entityOrProperty ?entityOrPropertyLabel ?qualifierProperty ?qualifierPropertyLabel ?country ?countryLabel ?image WHERE { BIND( wd:Q16 AS ?country ) . ?entityOrProperty wdt:P1001 ?country . ?country rdfs:label ?countryLabel . wd:P1001 rdfs:label ?qualifierPropertyLabel . ?entityOrProperty rdfs:label ?entityOrPropertyLabel . FILTER ( LANG( ?countryLabel ) = "es" ) . FILTER ( LANG( ?qualifierPropertyLabel ) = "es" ) . FILTER ( LANG( ?entityOrPropertyLabel ) = "es" ) . OPTIONAL { ?country wdt:P18 ?image . } } LIMIT 100

Which organizations, laws, or institutions in Spanish are associated with Canada through the "applies to jurisdiction" property?

Show me all Spanish-labeled entities and properties that have Canada specified as their jurisdiction, along with Canada’s flag image.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q16> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "es" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100


Question: What are the Spanish labels of properties and objects related to the superhero entity in Wikidata?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?superhero ?superheroLabel ?property ?propertyLabel ?object ?objectLabel WHERE {
  BIND( wd:Q188784 AS ?superhero ) .
  ?superhero ?property ?object .
  ?superhero rdfs:label ?superheroLabel .
  ?propertyItem ?propertyRelation ?property .
  ?propertyItem rdf:type wikibase:Property .
  ?propertyItem rdfs:label ?propertyLabel .
  ?object rdfs:label ?objectLabel .
  FILTER ( LANG( ?superheroLabel ) = "es" ) .
  FILTER ( LANG( ?propertyLabel ) = "es" ) .
  FILTER ( LANG( ?objectLabel ) = "es" ) .
}

Show me all relationships of the superhero concept in Spanish, including the Spanish names of the properties and their target entities.

For the entity "superhero", list all its connections in Spanish, with the Spanish labels of the properties and the objects they point to.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q188784> AS ?var1 ). ?var1 ?var2 ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var8 ?var9 ?var2 . ?var8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "es" ) ) ) . }


Question: Spouses of U.S. presidents who took office after 1971

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?presidentLabel ?spouseLabel ?startTime WHERE {
  ?president p:P39 ?statement .
  ?statement ps:P39 wd:Q11696 .
  ?statement pq:P580 ?startTime .
  FILTER(?startTime >= "1971-01-01T00:00:00Z" ^^ xsd:dateTime)
  ?spouse wdt:P26 ?president .
  ?president rdfs:label ?presidentLabel .
  ?spouse rdfs:label ?spouseLabel .
  FILTER(LANG(?presidentLabel) = "en")
  FILTER(LANG(?spouseLabel) = "en")
}

Who are the spouses of U.S. presidents that began their term on or after January 1, 1971?

List the names of U.S. presidents and their spouses who started their presidency in 1971 or later, along with the start date.

SELECT ?var1Label ?var2Label ?var3 ?var4 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q11696> . ?var1 ( <http://www.wikidata.org/prop/direct/P39> | <http://www.wikidata.org/prop/direct/P580> ) ?var7 . FILTER ( ( ( ?var7 >= "1971-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P26> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Image of the person with SNAC ARK ID w6b2908m

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?image WHERE {
  ?item wdt:P3430 "w6b2908m" .
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
}

What is the image associated with the SNAC ARK ID w6b2908m?

Can you show me the Wikimedia Commons image for Elizabeth Blackadder, identified by the SNAC ARK ID w6b2908m?

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> "w6b2908m". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }


Question: Does John F. Gunion have a VIAF ID of 63120242?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?item wdt:P214 "63120242" .
}

Is there a Wikidata item for the person with VIAF identifier 63120242?

Confirm whether the Virtual International Authority File ID 63120242 is assigned to any entity in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> "63120242". }


Question: Administrative hierarchy of Maves, France

SELECT ?adminEntity ?adminEntityLabel WHERE { wd:Q951978 wdt:P131* ?adminEntity . ?adminEntity rdfs:label ?adminEntityLabel . FILTER(LANG(?adminEntityLabel) = "en") }

What administrative regions include the commune of Maves, from the smallest to the largest?

List all administrative divisions that Maves belongs to, including itself, in English.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q951978> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr, en". } }


Question: What works did Hermann Reckendorf translate, and what were their original sources?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?translation ?original WHERE {
  ?translation wdt:P655 wd:Q6796659 .
  ?translation wdt:P629 ?original .
}

Show me the translations by Hermann Reckendorf and the texts they were translated from.

Which Quranic surahs were translated by Hermann Reckendorf, and what are their original titles?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7553> . ?var1 <http://www.wikidata.org/prop/direct/P655> <http://www.wikidata.org/entity/Q6796659> . ?var1 <http://www.wikidata.org/prop/direct/P629> ?var2 . }


Question: Who are the children of Joseph P. Kennedy Sr.?

SELECT ?fatherLabel ?childLabel WHERE { VALUES ?father { wd:Q313696 } ?father wdt:P40 ?child . ?father rdfs:label ?fatherLabel . ?child rdfs:label ?childLabel . FILTER(LANG(?fatherLabel) = 'en') . FILTER(LANG(?childLabel) = 'en') }

List Joseph P. Kennedy Sr. and all of his children.

What are the English labels of Joseph P. Kennedy Sr.'s children?

SELECT ?var1Label ?var2Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q313696> ) } ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . }


Question: Items with reference URLs containing "google.com"

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?referenceUrl WHERE {
  ?item wdt:P854 ?referenceUrl .
  FILTER ( CONTAINS( STR( ?referenceUrl ) , "google.com" ) )
}
LIMIT 1

Which items in Wikidata have a reference URL that includes "google.com"?

Show me an example of an entity that cites a Google service URL as a reference.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P854> ?var2 . FILTER ( ( CONTAINS ( STR ( ?var2 ) , "google.com" ) ) ) . } LIMIT 1


Question: Authors of the inquiry-based undergraduate biochemistry laboratory course and their ORCID URLs.

SELECT ?author ?authorLabel ( COALESCE ( CONCAT( "https://orcid.org/", ?orcid ), ?authorLabel ) AS ?orcidUrl ) WHERE { wd:Q28604102 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = "en") }

Who are the authors of the inquiry-based undergraduate biochemistry laboratory course, and what are their ORCID links?

List the English names of the authors of the inquiry-based undergraduate biochemistry laboratory course along with their ORCID URLs, or their names if no ORCID is available.

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q28604102> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh". } }


Question: People who died in 13 AD

SELECT DISTINCT ?person WHERE { ?person wdt:P570 ?deathDate . FILTER ( ?deathDate >= "0013-01-01T00:00:00Z"^^xsd:dateTime && ?deathDate <= "0013-12-31T23:59:59Z"^^xsd:dateTime ) }

List all individuals recorded in Wikidata as having died in the year 13 AD.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= "13-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "13-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Who are the people educated at the University of Edinburgh?

SELECT ?personLabel WHERE { ?person wdt:P69 wd:Q160302 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

Can you list the names of people who attended the University of Edinburgh?

SELECT ?var1 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q160302> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: Who are the people educated at the University of Edinburgh?

SELECT ?personLabel WHERE { ?person wdt:P69 wd:Q160302 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

List of alumni of the University of Edinburgh.

Show me the names of all individuals who attended the University of Edinburgh.

SELECT ?var1 ?var1Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q160302> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: What are the characters from the Harry Potter series and their genders?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?character ?characterLabel ?gender WHERE {
  wd:Q8337 wdt:P674 ?character .
  ?character wdt:P21 ?gender .
  ?character rdfs:label ?characterLabel .
  FILTER ( LANG( ?characterLabel ) = "en" )
}

Can you list the main characters from the Harry Potter books along with whether they are male or female?

Show me the names of characters in the Harry Potter universe and their gender identities.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q8337> <http://www.wikidata.org/prop/direct/P674> ?var1 . ?var1 <http://www.wikidata.org/entity/Q8337> <http://www.wikidata.org/prop/direct/P21> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } }


Question: Italian regional council members, their electoral districts, parliamentary groups, and term start/end dates.

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?person ?personLabel ?region ?regionLabel ?position ?positionLabel ?electoralDistrict ?electoralDistrictLabel ?startDate ?endDate ?party ?partyLabel WHERE {
  ?region ( wdt:P31 / wdt:P279 * ) wd:Q10864048 ; wdt:P17 wd:Q38 .
  ?institution wdt:P1001 ?region ; wdt:P31 wd:Q1077701 .
  ?position wdt:P361 ?institution ; wdt:P279 * wd:Q4175034 . MINUS {
    ?region wdt:P576 [] .
  } MINUS {
    ?position wdt:P576 [] .
  } MINUS {
    ?institution wdt:P576 [] .
  }
  ?statement ps:P39 ?position ; pq:P580 ?startDate ; pq:P768 ?electoralDistrict ; pq:P4100 ?party .
  OPTIONAL {
    ?statement pq:P582 ?endDate .
  }
  ?person p:P39 ?statement .
}
ORDER BY ASC ( ?person )

Who are the current members of regional councils in Italy, which electoral districts do they represent, and which political parties are they affiliated with?

List all current legislators serving in Italian regional councils, including the region they serve in, their electoral district, parliamentary group, and the start and end dates of their terms.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 ?var7 ?var7Label WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var8 <http://www.wikidata.org/prop/direct/P1001> ?var2 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1077701> . ?var3 <http://www.wikidata.org/prop/direct/P361> ?var8 ; <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q4175034> . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var2 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var8 <http://www.wikidata.org/prop/direct/P576> [] . } ?var9 <http://www.wikidata.org/prop/statement/P39> ?var3 ; <http://www.wikidata.org/prop/qualifier/P580> ?var5 ; <http://www.wikidata.org/prop/qualifier/P768> ?var4 ; <http://www.wikidata.org/prop/qualifier/P4100> ?var7 . OPTIONAL { ?var9 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ?var1 <http://www.wikidata.org/prop/P39> ?var9 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY ASC( ?var1 )


Question: Works of art created by Vincent van Gogh

SELECT DISTINCT ?work ?workLabel WHERE { ?work wdt:P31 wd:Q838948 . ?work wdt:P170 wd:Q5582 . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = "en") } LIMIT 1000

What artworks were created by Vincent van Gogh?

List the works of art made by Vincent van Gogh.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q838948> . ?var1 <http://www.wikidata.org/prop/direct/P170> <http://www.wikidata.org/entity/Q5582> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 1000


Question: List all paintings in English.

SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q3305213 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') }

What are the English labels of all paintings in Wikidata?

Show me the names of all paintings in English.

SELECT DISTINCT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en,de". } ?var1 <http://schema.org/description> "string1"@en . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . }


Question: Regional council members in Italy, their electoral districts, and term start/end dates

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?personLabel ?office ?officeLabel ?startDate ?endDate ?district ?districtLabel ?districtType ?facebook WHERE {
  ?council wdt:P31 / wdt:P279 * wd:Q10864048 ; wdt:P17 wd:Q38 .
  ?office wdt:P1001 ?council .
  ?person wdt:P39 ?office .
  ?term ps:P39 ?office ; pq:P580 ?startDate ; pq:P768 ?district .
  OPTIONAL {
    ?term pq:P582 ?endDate .
  }
  ?district wdt:P31 ?districtType .
  OPTIONAL {
    ?person wdt:P2013 ?facebook .
  }
  ?person rdfs:label ?personLabel .
  ?office rdfs:label ?officeLabel .
  ?district rdfs:label ?districtLabel .
  FILTER(LANG(?personLabel) = "en")
  FILTER(LANG(?officeLabel) = "en")
  FILTER(LANG(?districtLabel) = "en") MINUS {
    ?council wdt:P576 [] .
  } MINUS {
    ?office wdt:P576 [] .
  } MINUS {
    ?person wdt:P576 [] .
  }
}
ORDER BY ?person

Who are the members of regional councils in Italy, what electoral districts do they represent, and when did their terms begin and end?

List all current and former legislators serving in Italian regional councils, including the electoral districts they represent, their term dates, and their Facebook profiles if available.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label ?var5Label ?var6 ?var7 ?var8 ?var8Label ?var9 WHERE { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q10864048> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> ; <http://www.wikidata.org/prop/direct/P1313> ?var10 . ?var11 <http://www.wikidata.org/prop/direct/P1001> ?var2 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1077701> . ?var12 <http://www.wikidata.org/prop/direct/P361> ?var11 ; <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q4175034> . MINUS { ?var12 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var2 <http://www.wikidata.org/prop/direct/P576> [] . } MINUS { ?var11 <http://www.wikidata.org/prop/direct/P576> [] . } ?var13 <http://www.wikidata.org/prop/statement/P39> ?var10 ; <http://www.wikidata.org/prop/qualifier/P580> ?var6 ; <http://www.wikidata.org/prop/qualifier/P768> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> ?var5 . OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ?var13 <http://www.wikidata.org/prop/statement/P39> ?var3 . ?var1 <http://www.wikidata.org/prop/P39> ?var13 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY ASC( ?var1 )


Question: List Polish first-level administrative divisions with GeoNames code A.ADM1 that are not abolished or replaced, labeled in Polish.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?division ?label WHERE {
  ?division wdt:P31 / wdt:P279 * wd:Q56061 .
  ?division wdt:P31 / wdt:P279 * ?class .
  FILTER(?class = wd:Q10864048)
  .
  ?class wdt:P2452 "A.ADM1" .
  ?division wdt:P17 ?country .
  ?country wdt:P297 "PL" .
  ?division rdfs:label ?label .
  FILTER(LANG(?label) = "pl")
  .
  FILTER(NOT EXISTS {
    ?division wdt:P1366 ?replacedBy
  })
  .
  FILTER(NOT EXISTS {
    ?division wdt:P576 ?dissolvedDate
  })
}

What are the current first-level administrative divisions in Poland that are still active and have the GeoNames feature code A.ADM1, with their Polish names?

Please provide the Polish-language names of all active first-level administrative divisions in Poland that are classified under the GeoNames code A.ADM1 and have not been dissolved or replaced.

SELECT DISTINCT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q56061> . ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q10864048> ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P2452> "A.ADM1". ?var2 <http://www.wikidata.org/prop/direct/P2452> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P297> "PL". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "pl" ) ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P1366> ?var6 . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var7 . } ) ) . }


Question: Is Anton Blidh listed in Wikidata with Eurohockey.com player ID 501466?

ASK WHERE { ?player wdt:P2601 "501466" . }

Does the Wikidata entry for Anton Blidh include the Eurohockey.com player ID 501466?

Confirm if the Eurohockey.com player ID 501466 corresponds to a known ice hockey player in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> "501466". }


Question: Does Wikidata contain an ice hockey player with Eurohockey.com ID 491728?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?player wdt:P2601 "491728" .
}

Is there an ice hockey player in Wikidata who has the Eurohockey.com player identifier 491728?

Confirm whether the Eurohockey.com player ID 491728 is assigned to any ice hockey player in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> "491728". }


Question: Is there a Wikidata entry for the Eurohockey.com player with ID 12525?

Does the ice hockey player with Eurohockey.com ID 12525 have a page on Wikidata?

Check if the Eurohockey.com player ID 12525 is linked to any player in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> "12525". }


Question: Is there an ice hockey player in Wikidata with the Eurohockey.com player ID 4023?

ASK WHERE { ?player wdt:P2601 "4023" . }

Does the Eurohockey.com database have an entry for player ID 4023 in Wikidata?

Is Atte Saunamäki's Eurohockey.com player ID (4023) recorded in Wikidata?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> "4023". }


Question: Is there a Wikidata item for an ice hockey player with Eurohockey.com ID 107348?

ASK WHERE { ?player wdt:P2601 "107348" }

Does the Eurohockey.com player ID 107348 correspond to any ice hockey player in Wikidata?

Check if the player with Eurohockey.com ID 107348 is listed in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> "107348". }


Question: Is there an ice hockey player with the Eurohockey.com player ID 1492?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?player wdt:P2601 "1492" .
}

Does the Eurohockey.com database have an entry for player ID 1492?

Is player number 1492 in the Eurohockey.com database a valid ice hockey player record?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> "1492". }


Question: Is Kari Kalto listed in Wikidata with Eurohockey.com player ID 761?

Does the ice hockey player Kari Kalto have the Eurohockey.com player ID 761?

Confirm if the Eurohockey.com player ID 761 corresponds to Kari Kalto in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2601> "761". }


Question: What are the elevations above sea level of all rivers in the world?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?river ?riverLabel ?elevation WHERE {
  ?river wdt:P31 wd:Q4022 .
  ?river wdt:P2044 ?elevation .
  ?river rdfs:label ?riverLabel .
  FILTER ( LANG( ?riverLabel ) = "en" )
}

Can you list the names of rivers along with their elevations above sea level?

Which rivers have recorded elevation data, and what are their heights above sea level in meters?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P2044> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What properties are used by the Venera 10 space probe, and what are their values and counts?

SELECT ?property (SAMPLE(?propLabel) AS ?propertyLabel) (COUNT(?value) AS ?count) (GROUP_CONCAT(?valueLabel; SEPARATOR=", ") AS ?valueLabels)
WHERE {
  wd:Q836463 ?property ?value .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?valueLabel) = "en") .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propLabel .
  FILTER(LANG(?propLabel) = "en") .
}
GROUP BY ?property

Can you list all the properties of Venera 10 with their English labels, how many times each is used, and the names of their values?

Show me a summary of Venera 10’s Wikidata properties, including the property names in English, how many values each has, and what those values are called in English.

SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q836463> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } GROUP BY ?var1


Question: List of places located in the Canton of St. Gallen.

SELECT ?item ?itemLabel WHERE { ?item wdt:P131 wd:Q12746 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

What institutions, buildings, and locations are situated within the Canton of St. Gallen?

Show me all the entities in the Canton of St. Gallen, Switzerland, along with their English names.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q12746> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } }


Question: What administrative levels and types are associated with Mercat Central in Valencia?

SELECT DISTINCT ?instanceOfMarketLabel ?instanceOfCityLabel ?city ?cityLabel ?instanceOfComarcaLabel ?comarca ?comarcaLabel WHERE { BIND(wd:Q2197068 AS ?market) . ?market wdt:P31 ?instanceOfMarket . ?market wdt:P131 ?city . ?city wdt:P31 ?instanceOfCity . ?city wdt:P131 ?comarca . ?comarca wdt:P31 ?instanceOfComarca . ?instanceOfMarket rdfs:label ?instanceOfMarketLabel . ?instanceOfCity rdfs:label ?instanceOfCityLabel . ?city rdfs:label ?cityLabel . ?comarca rdfs:label ?comarcaLabel . ?instanceOfComarca rdfs:label ?instanceOfComarcaLabel . FILTER(LANG(?instanceOfMarketLabel) = "en" || LANG(?instanceOfMarketLabel) = "") FILTER(LANG(?instanceOfCityLabel) = "en" || LANG(?instanceOfCityLabel) = "") FILTER(LANG(?cityLabel) = "en" || LANG(?cityLabel) = "") FILTER(LANG(?comarcaLabel) = "en" || LANG(?comarcaLabel) = "") FILTER(LANG(?instanceOfComarcaLabel) = "en" || LANG(?instanceOfComarcaLabel) = "") }

What is Mercat Central an instance of, and what are the administrative divisions it belongs to, along with their types?

Show me the hierarchy from Mercat Central up through Valencia and Comarca de València, including what each is an instance of.

SELECT DISTINCT ?var1Label ?var2Label ?var3 ?var3Label ?var4Label ?var5 ?var5Label WHERE { BIND ( <http://www.wikidata.org/entity/Q2197068> AS ?var6 ). ?var6 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var6 <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P31> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What properties describe the Dutch village of Wolvega, and which of their values have Spanish labels?

SELECT DISTINCT ?item ?itemLabel ?property ?propertyLabel ?value ?valueLabel WHERE { BIND(wd:Q644366 AS ?item) . ?item ?property ?value . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "es") } OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "es") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = "es") } } LIMIT 100

Show me all statements about Wolvega in Spanish, including the names of the properties and the entities they link to.

I want to see what information is known about Wolvega in Spanish — which properties are used, and what are the Spanish names of the things they point to?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q644366> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "es" ) ) ) . } LIMIT 100


Question: What are the Spanish labels of the properties and values associated with Wolfgang Hofer?

SELECT DISTINCT ?person ?personLabel ?property ?propertyLabel ?value ?valueLabel WHERE { BIND( wd:Q1300489 AS ?person ) . ?person ?property ?value . ?person rdfs:label ?personLabel . BIND( STRAFTER( STR(?property), "http://www.wikidata.org/prop/direct/" ) AS ?propId ) . BIND( URI( CONCAT( "http://www.wikidata.org/entity/", ?propId ) ) AS ?propertyItem ) . ?propertyItem rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . FILTER ( LANG( ?personLabel ) = "es" ) . FILTER ( LANG( ?propertyLabel ) = "es" ) . FILTER ( LANG( ?valueLabel ) = "es" ) . }

Show me all the facts about Wolfgang Hofer in Spanish, including the property names and object labels.

For Wolfgang Hofer, list each statement (property and value) with their Spanish labels.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 ?var7 WHERE { BIND ( <http://www.wikidata.org/entity/Q1300489> AS ?var1 ). ?var1 ?var2 ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var8 ?var9 ?var2 . ?var8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "es" ) ) ) . }


Question: Television films and their screenwriters

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?televisionFilm ?screenwriter ?screenwriterLabel WHERE {
  ?televisionFilm wdt:P31 wd:Q506240 .
  ?televisionFilm wdt:P58 ?screenwriter .
  ?screenwriter rdfs:label ?screenwriterLabel .
}

Who are the screenwriters of made-for-television films?

List all television films along with the names of the people who wrote their screenplays.

SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q506240> . ?var1 <http://www.wikidata.org/prop/direct/P58> ?var2 . }


Question: List the English titles and episode numbers of all episodes in Twin Peaks: The Return, ordered by episode number.

SELECT DISTINCT ?episode ?episodeNumber (GROUP_CONCAT(DISTINCT ?episodeLabel) AS ?episodeLabels)
WHERE {
  ?episode (wdt:P31/wdt:P279*) wd:Q21191270 .
  ?episode wdt:P179 wd:Q23971551 .
  ?episode p:P179 ?statement .
  ?statement pq:P1545 ?episodeNumber .
  OPTIONAL {
    ?episode rdfs:label ?episodeLabel .
    FILTER(LANG(?episodeLabel) = "en") .
  }
}
GROUP BY ?episode ?episodeNumber
ORDER BY ASC(xsd:integer(?episodeNumber))

What are the English names and corresponding episode numbers of each episode in the 2017 Twin Peaks season?

Show me the episode labels in English along with their ordinal numbers for every episode of Twin Peaks: The Return, sorted from episode 1 to 48.

SELECT DISTINCT ?var1 ?var2 ( GROUP_CONCAT ( DISTINCT ?var3Label ) AS ?var4 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q21191270> . ?var1 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q23971551> . ?var1 <http://www.wikidata.org/prop/P179> ?var5 . ?var5 <http://www.wikidata.org/prop/qualifier/P1545> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) )


Question: List films and their production companies in English.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?film ?productionCompany ?productionCompanyLabel WHERE {
  ?film wdt:P31 wd:Q11424 .
  ?film wdt:P272 ?productionCompany .
  ?productionCompany rdfs:label ?productionCompanyLabel .
  FILTER(LANG(?productionCompanyLabel) = "en")
}

What are the production companies for films, and what are their English names?

Show me a list of films along with the names of the companies that produced them, using English labels.

SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P272> ?var2 . }


Question: What films have been inspired by other works, people, or events, and what exactly inspired them?

SELECT ?film ?filmLabel ?inspiration ?inspirationLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P941 ?inspiration . ?film rdfs:label ?filmLabel . ?inspiration rdfs:label ?inspirationLabel . FILTER(LANG(?filmLabel) = "en") FILTER(LANG(?inspirationLabel) = "en") }

Show me a list of movies along with the real-life events, people, or other films that inspired them.

Which films are connected to their sources of inspiration in Wikidata, and what are the labels of those inspirations?

SELECT ?var1 ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P941> ?var2 . }


Question: What is the English label and description of the entity with Great Russian Encyclopedia Online ID 2366070?

SELECT ?item ?label ?description WHERE { ?item wdt:P2924 "2366070" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = "en") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") } }

Who is the person identified by the ID 2366070 in the Great Russian Encyclopedia Online, and what is their English description?

Find the name and English description of the historical figure linked to the Great Russian Encyclopedia Online ID 2366070.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "2366070". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the English language entry in the Great Russian Encyclopedia Online (old version), and what is its description?

SELECT ?item ?itemLabel ?desc WHERE { ?item wdt:P2924 "1821310" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") . OPTIONAL { ?item schema:description ?desc . FILTER(LANG(?desc) = "en") } }

Find the Wikidata item for the Great Russian Encyclopedia Online ID "1821310", its English label, and its English description.

Show me the English label and description of the entity identified as "1821310" in the Great Russian Encyclopedia Online (old version).

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "1822368". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the most common property used to associate items with dairy products?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {
  ?item ?p wd:Q185217 .
  ?property wikibase:directClaim ?p .
  ?property rdf:type wikibase:Property .
}
GROUP BY ?property
ORDER BY DESC ( ?count )
LIMIT 1

Which Wikidata property links the most number of items to dairy products, and how many items are linked?

How many items have dairy products as their main subject?

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q185217> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Who are the grandchildren of Johann Sebastian Bach whose mother is Maria Barbara Bach?

SELECT ?grandchild ?label WHERE { wd:Q1339 wdt:P40 ?parent . ?parent wdt:P25 wd:Q57487 . ?parent wdt:P40 ?grandchild . ?grandchild rdfs:label ?label . FILTER(LANG(?label) = 'en') }

List the children of Johann Sebastian Bach’s children with his first wife, Maria Barbara Bach.

Which individuals are the grandchildren of the composer Johann Sebastian Bach through his marriage to Maria Barbara Bach?

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1339> <http://www.wikidata.org/prop/direct/P40> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P40> ?var1 ; <http://www.wikidata.org/prop/direct/P25> <http://www.wikidata.org/entity/Q57487> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Players of the Poland men's national football team and their positions and places of birth.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?player ( SAMPLE( ?pl ) AS ?playerLabel ) ( SAMPLE( ?posl ) AS ?positionLabel ) ?birthPlace WHERE {
  ?player wdt:P54 wd:Q166196 ; wdt:P413 ?position .
  OPTIONAL {
    ?player rdfs:label ?pl .
  }
  OPTIONAL {
    ?position rdfs:label ?posl .
  }
  OPTIONAL {
    ?player wdt:P19 ?birthPlace .
  }
}
GROUP BY ?player ?birthPlace
LIMIT 100

Who are the players of the Poland national football team, what positions do they play, and where were they born?

List all players who have played for the Poland men's national football team, along with their playing positions and birth locations.

SELECT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P54> <http://www.wikidata.org/entity/Q166196> ; <http://www.wikidata.org/prop/direct/P413> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en". } }


Question: Does the VIAF ID 67318603 exist in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?item wdt:P214 "67318603" .
}

Is there a Wikidata item associated with the VIAF identifier 67318603?

Confirm if Detlef Burhoff is linked to the VIAF ID 67318603 in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> "67318603". }


Question: Does the VIAF ID 24190406 exist in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?item wdt:P214 "24190406" .
}

Is there a Wikidata item associated with the VIAF identifier 24190406?

Check if the Virtual International Authority File ID 24190406 is linked to any entity in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> "24190406". }


Question: Countries and their electrical plug types

SELECT ?countryLabel (GROUP_CONCAT(DISTINCT ?plugTypeLabel; SEPARATOR=", ") AS ?plugTypes) WHERE { ?country wdt:P31 wd:Q3624078 . ?country wdt:P2853 ?plugType . ?country rdfs:label ?countryLabel . ?plugType rdfs:label ?plugTypeLabel . FILTER(LANG(?countryLabel) = "en") FILTER(LANG(?plugTypeLabel) = "en") } GROUP BY ?country ?countryLabel

Which countries use which electrical plug types?

List all sovereign states along with the types of electrical plugs they use.

SELECT ?var1 ?var2 ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = ", " ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q3624078> . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P2853> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . } } GROUP BY ?var1 ?var2