Question: What are the names of Ramin Djawadi in German, English, French, and Italian, along with his image and German Wikipedia link?

SELECT ?label ?image ?wikipediaUrl WHERE { wd:Q57577 rdfs:label ?label . FILTER(LANG(?label) IN ("de", "en", "fr", "it")) OPTIONAL { wd:Q57577 wdt:P18 ?image . } OPTIONAL { ?wikipediaUrl schema:about wd:Q57577 ; schema:inLanguage "de" ; schema:isPartOf <https://de.wikipedia.org/> . } } ORDER BY ?label

Can you show me Ramin Djawadi’s multilingual labels, his photo, and the German Wikipedia page about him?

How is Ramin Djawadi referred to in different languages, and where can I find his image and German Wikipedia article?

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q57577> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( "de""1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "en""2"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "de""3"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "fr""4"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "it""5"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q57577> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q57577> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "de" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q57577> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q57577> ; <http://schema.org/inLanguage> "de"; <http://schema.org/isPartOf> <https://de.wikipedia.org/> . } } ORDER BY ASC( ?var8 )


Question: Who has the IMDb ID nm0007622?

SELECT ?person WHERE { ?person wdt:P345 "nm0007622" . }

What is the name of the person associated with IMDb ID nm0007622?

Find the Wikidata item for the person with IMDb identifier nm0007622.

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


Question: Is the Kleiber House listed in the National Register of Historic Places with reference number 92000561?

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

Does the Kleiber House have the NRHP reference number 92000561?

Confirm that the Kleiber House is identified in Wikidata by the NRHP ID 92000561.

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


Question: Is there a property listed in the National Register of Historic Places with reference number 82000898?

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

Does the Hardy House in Little Rock, Arkansas have the NRHP ID 82000898?

Can you verify that the NRHP reference number 82000898 is assigned to a historic site?

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


Question: What are the names of Ermanno Wolf-Ferrari in German, English, French, and Italian, along with his German Wikipedia page and image?

SELECT ?label ?description ?image ?wikipediaPage WHERE { OPTIONAL { wd:Q57275 rdfs:label ?label . FILTER (LANG(?label) = ?lang) VALUES (?lang ?order) { ("de" "1"^^xsd:integer) ("en" "2"^^xsd:integer) ("fr" "3"^^xsd:integer) ("it" "4"^^xsd:integer) } } OPTIONAL { wd:Q57275 wdt:P18 ?image . } OPTIONAL { wd:Q57275 schema:description ?description . FILTER (LANG(?description) = "de") } OPTIONAL { ?wikipediaPage rdf:type schema:Article ; schema:about wd:Q57275 ; schema:inLanguage "de" ; schema:isPartOf <https://de.wikipedia.org/> . } } ORDER BY ASC(?order)

Can you show me Ermanno Wolf-Ferrari’s multilingual labels and his German biography, image, and Wikipedia link?

For Ermanno Wolf-Ferrari, retrieve his labels in four languages, his German description, his image, and the link to the German Wikipedia article.

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q57275> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( "de""1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "en""2"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "de""3"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "fr""4"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "it""5"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q57275> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q57275> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "de" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q57275> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q57275> ; <http://schema.org/inLanguage> "de"; <http://schema.org/isPartOf> <https://de.wikipedia.org/> . } } ORDER BY ASC( ?var8 )


Question: What are the birth dates of Jean Blewett, including the precision and calendar model used?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?date ?precision ?calendar WHERE {
  VALUES(?item) {(wd:Q6170285)
  }
  ?item p:P569 ?stmt .
  ?stmt psv:P569 ?value .
  ?value wikibase:timeValue ?date ; wikibase:timePrecision ?precision ; wikibase:timeCalendarModel ?calendar .
}

When was Jean Blewett born, and what is the precision and calendar system for each recorded birth date?

Show all recorded birth dates for Jean Blewett along with how precise they are (e.g., year, day) and the calendar used.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q6170285> ) } ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timeValue> ?var2 ; <http://wikiba.se/ontology#timePrecision> ?var3 ; <http://wikiba.se/ontology#timeCalendarModel> ?var4 ] . }


Question: All volcanic landforms and their subclasses

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 ?item ?itemLabel WHERE {
  ?item ( wdt:P31 / wdt:P279 * ) wd:Q29025902 .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}

What are all the known volcanic landforms and their subtypes in Wikidata?

List all entities that are either instances or subclasses of volcanic landform, along with their English labels.

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


Question: Is there a historic place in the National Register of Historic Places with ID 05000039?

Does the NRHP list an entry with reference number 05000039?

Check if the National Register of Historic Places includes the property with reference number 05000039.

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


Question: Does the National Register of Historic Places reference number 92001282 exist in Wikidata?

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

Is there a historic place in the National Register of Historic Places with the ID 92001282?

Check if the NRHP ID 92001282 is registered in Wikidata.

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


Question: Hotels in Ille-et-Vilaine with English labels but no French labels.

SELECT ?item ?label WHERE { { ?item wdt:P131 wd:Q12549 ; rdfs:label ?label . } UNION { ?item wdt:P131/wdt:P131 wd:Q12549 ; rdfs:label ?label . } FILTER (LANG(?label) = "en") MINUS { ?item rdfs:label ?frLabel . FILTER (LANG(?frLabel) = "fr") } } LIMIT 2

Which hotels located in Ille-et-Vilaine or its municipalities have an English name but no French name?

List the English names of accommodations in Ille-et-Vilaine that don't have a French label.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> + <http://www.wikidata.org/entity/Q12549> ; <http://www.wikidata.org/prop/direct/P625> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . MINUS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "fr" ) ) ) . } } LIMIT 2


Question: What are the names and coordinates of climbing routes in Wikidata?

SELECT ?routeLabel ?coord WHERE { ?route wdt:P31 wd:Q1699583 . ?route wdt:P625 ?coord . ?route rdfs:label ?routeLabel . FILTER(LANG(?routeLabel) = "en") }

Can you list the English-named climbing routes along with their geographic locations?

Show me the geographic coordinates of all known climbing routes, along with their English labels.

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


Question: Wikipedia and Commons pages in English or German about the film Tartuffe (1926) with IMDb ID tt0017448.

SELECT ?film ?page WHERE { ?film wdt:P345 "tt0017448" . ?page schema:about ?film . ?page schema:inLanguage ?lang . FILTER(?lang IN ("en", "de")) }

What English and German language pages on Wikipedia and Commons are about the 1926 film Tartuffe, identified by IMDb ID tt0017448?

Show me all English and German language pages related to the film Tartuffe (1926) from IMDb tt0017448.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0017448". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Film with elFilm ID 39284

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film WHERE {
  ?film wdt:P3143 "39284" .
}

Which film is identified by the elFilm ID 39284?

I need to find the Wikidata entry for the movie that has the identifier 39284 in the Arabic movie database elFilm.

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


Question: What is the German or English title of the movie with IMDb ID tt2841696?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?title WHERE {
  ?item wdt:P345 "tt2841696" .
  ?item wdt:P1476 ?title .
  FILTER ( LANG( ?title ) = "en" || LANG( ?title ) = "de" )
}

What is the title of the movie identified by IMDb ID tt2841696 in German or English?

Please provide the German or English title of the movie that has the IMDb identifier tt2841696.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2841696". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Wikipedia pages in English or German about the movie with IMDb ID tt0483706.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipediaPage WHERE {
  ?item wdt:P345 "tt0483706" .
  ?wikipediaPage schema:about ?item .
  {
    ?wikipediaPage schema:inLanguage "en" .
  } UNION {
    ?wikipediaPage schema:inLanguage "de" .
  }
}

What are the English or German Wikipedia pages for the film with IMDb ID tt0483706?

Show me the Wikipedia articles in English or German that are about the movie identified by tt0483706 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0483706". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the English and German Wikipedia pages for the movie with IMDb ID tt0120737, and what is its title?

SELECT ?movie ?movieTitle ?wikipedia_page ?imdb_id WHERE { ?movie wdt:P345 "tt0120737" . ?movie wdt:P1476 ?movieTitle . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") BIND("tt0120737" AS ?imdb_id) }

Which English and German-language Wikipedia pages are about the film "The Lord of the Rings: The Fellowship of the Ring", and what is its IMDb identifier?

Show me the English and German Wikipedia pages linked to the movie with IMDb ID tt0120737, along with its official title and the IMDb ID.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0216316". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What English or German-language Wikipedia or Commons pages are about the film with IMDb ID tt0042175?

SELECT ?item ?page WHERE { ?item wdt:P345 "tt0042175" . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

Show me the English or German pages linked to the movie tt0042175 on Wikidata.

Which pages in English or German discuss the movie identified by IMDb ID tt0042175?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0042175". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the English name and description of the entry in the Great Russian Encyclopedia with ID 2126432?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?label ?description WHERE {
  ?item wdt:P2924 "2126432" .
  OPTIONAL {
    ?item rdfs:label ?label .
    FILTER(LANG(?label) = "en")
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

Find the English label and description for the item identified by the Great Russian Encyclopedia Online ID 2126432.

Which musical instrument is listed in the Great Russian Encyclopedia as ID 2126432, and what is its English description?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "2126432". 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: Nobel laureates and the categories of Nobel Prizes they received

SELECT ?laureate ?laureateLabel ?award ?awardLabel WHERE {  VALUES ?award {    wd:Q35637    wd:Q38104    wd:Q44585    wd:Q80061    wd:Q37922    wd:Q47170  }  ?laureate wdt:P166 ?award .  ?laureate rdfs:label ?laureateLabel .  ?award rdfs:label ?awardLabel .  FILTER(LANG(?laureateLabel) = "en")  FILTER(LANG(?awardLabel) = "en")}

Who are the people who have won a Nobel Prize, and in which category did they win it?

List all Nobel Prize winners along with the specific Nobel Prize category they were awarded.

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


Question: Is there a football player in Wikidata with Transfermarkt ID 100599?

ASK WHERE { ?player wdt:P2446 "100599" . }

Does the Wikidata database contain an entry for a football player whose Transfermarkt ID is 100599?

Check if the Transfermarkt player ID 100599 is assigned to any football player in Wikidata.

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


Question: Recipients of the Finlandia Prize

SELECT ?awardRecipient (SAMPLE(?label) AS ?awardRecipientLabel) WHERE { ?awardRecipient wdt:P166 wd:Q911223 . ?awardRecipient rdfs:label ?label .} GROUP BY ?awardRecipient

List the authors and books that have received the Finlandia Prize.

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


Question: List companies and their CEOs from Wikidata.

SELECT DISTINCT ?company ?ceoLabel WHERE { ?company wdt:P31/wdt:P279* wd:Q783794 . ?company p:P169 ?ceoStatement . ?ceoStatement ps:P169 ?ceo . ?ceo rdfs:label ?ceoLabel . FILTER(LANG(?ceoLabel) = "en") } LIMIT 1000

Who are the chief executive officers of companies listed on Wikidata?

Show me the names of companies and their English-labeled CEOs, where the company is a type of organization or a subclass of a company.

SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q783794> . ?var1 <http://www.wikidata.org/prop/P169> ?var2 . } LIMIT 1000000


Question: Image of the person with SNAC ARK ID w6rf6gjc

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

What is the image of the individual identified by the SNAC ARK ID w6rf6gjc?

Show me the Wikimedia Commons image associated with the SNAC ARK ID w6rf6gjc.

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


Question: Image of the person with SNAC ARK ID w63n38s2

SELECT ?image WHERE { ?item wdt:P3430 "w63n38s2" . OPTIONAL { ?item wdt:P18 ?image . } }

What is the image associated with Leo Durocher in Wikidata, given his SNAC ARK ID is w63n38s2?

Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w63n38s2.

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


Question: Comics, anime, or manga with VIAF IDs and at least three external identifiers, excluding films.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item(COUNT(?idValue) AS ?identifierCount) WHERE {
  {
    ?item wdt:P31 / wdt:P279 * wd:Q1004 .
  } UNION {
    ?item wdt:P31 wd:Q1107 .
  } UNION {
    ?item wdt:P31 wd:Q8274 .
  } MINUS {
    ?item wdt:P31 / wdt:P279 * wd:Q11424 .
  }
  ?item wdt:P214 ?viafId .
  ?item ?idProp ?idValue .
  FILTER(?idProp IN(wdt:P214 , wdt:P213 , wdt:P227 , wdt:P268 , wdt:P244 , wdt:P1006 , wdt:P1005))
}
GROUP BY ?item
HAVING(COUNT(?idValue) >= 3)

Which comics, anime, or manga have a VIAF ID and at least three other external identifiers, but are not films?

List all comics, anime, or manga that have a VIAF identifier and at least three total external identifiers, but are not classified as films.

SELECT DISTINCT ?var1 ?var2 WHERE { { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1004> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q10901350> . FILTER ( ( ?var3 IN ( <http://www.wikidata.org/entity/Q1107> , <http://www.wikidata.org/entity/Q8274> ) ) ) . } MINUS { ?var1 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . } ?var1 <http://wikiba.se/ontology#identifiers> ?var2 . FILTER ( ( ( ?var2 >= "3"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . }


Question: What are the English and German Wikipedia pages for the movie with IMDb ID tt0133093?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?article WHERE {
  ?item wdt:P345 "tt0133093" .
  ?article schema:about ?item .
  {
    ?article schema:inLanguage "en"
  } UNION {
    ?article schema:inLanguage "de"
  }
}

Which English and German language articles on Wikipedia and Wikiquote are about the movie 'The Matrix' (IMDb: tt0133093)?

Show me the English and German Wikipedia and Wikiquote links for the film identified by IMDb ID tt0133093.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5181828". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What English or German language pages are about the movie with IMDb ID tt0222847?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?related_page WHERE {
  ?item wdt:P345 "tt0222847" .
  ?related_page schema:about ?item .
  {
    ?related_page schema:inLanguage "en" .
  } UNION {
    ?related_page schema:inLanguage "de" .
  }
}

Show me the Wikipedia and Commons pages related to the film "The Brahmin and the Butterfly" in English or German.

Which media pages in English or German are linked to the IMDb entry tt0222847?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0222847". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: English and German Wikipedia pages for the film with IMDb ID tt0309396

SELECT ?item ?page WHERE { ?item wdt:P345 "tt0309396" . ?page schema:about ?item ; schema:inLanguage ?lang . FILTER(STRSTARTS(STR(?page), "https://en.wikipedia.org/") || STRSTARTS(STR(?page), "https://de.wikipedia.org/")) FILTER(?lang = "en" || ?lang = "de") }

What are the English and German Wikipedia articles about the movie with IMDb ID tt0309396?

Show me the English and German Wikipedia links for the film Bucking Broncho (IMDb: tt0309396).

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0309396". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Humans with Kinopoisk IDs and Russian Wikipedia pages

SELECT ?item ?itemLabel ?kinopoiskId ?wikipediaPage WHERE { ?item wdt:P31 wd:Q5 ; wdt:P2604 ?kinopoiskId . ?wikipediaPage schema:about ?item ; schema:isPartOf <https://ru.wikipedia.org/> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "ru") }

Who are the people listed on Kinopoisk.ru that also have Russian Wikipedia articles, and what are their names in Russian?

Show me Russian-language names of people who have Kinopoisk profiles and are featured on the Russian Wikipedia.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q> . ?var1 <http://www.wikidata.org/prop/direct/P2604> ?var2 . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } }


Question: People with dwarfism

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 ?person ?personLabel WHERE {
  ?person wdt:P1050 wd:Q194101 .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}
LIMIT 1000

Who are the people known to have dwarfism as a medical condition?

List the names of individuals who have dwarfism.

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


Question: Artists with at least 35 paintings and 35 Wikipedia articles about them.

SELECT ?artist ( COUNT( DISTINCT ?painting ) AS ?paintingCount ) ( COUNT( DISTINCT ?article ) AS ?articleCount ) WHERE { ?painting wdt:P31 wd:Q3305213 . ?painting wdt:P170 ?artist . ?article schema:about ?artist . } GROUP BY ?artist HAVING ( ?paintingCount >= 35 && ?articleCount >= 35 )

Which painters have created at least 35 paintings and are the subject of at least 35 Wikipedia articles?

Show me the painters who are both prolific (with 35+ paintings) and widely documented (with 35+ Wikipedia articles about them), along with their painting and article counts.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 )( COUNT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var4 <http://www.wikidata.org/prop/direct/P170> ?var1 . ?var2 <http://schema.org/about> ?var1 . } GROUP BY ?var1 HAVING ( ( ?var5 >= "35"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var3 >= "35"^^<http://www.w3.org/2001/XMLSchema#integer> ) )


Question: Is there a Wikidata item for the GND ID 1013179-6?

Does the German National Library ID 1013179-6 correspond to a known entity in Wikidata?

Confirm whether the GND ID 1013179-6 is registered in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> "1013179-6". }


Question: What are all Wikidata properties, their types, English labels, and descriptions?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
SELECT ?property ?type ?label ?description WHERE {
  ?property wikibase:propertyType ?type .
  OPTIONAL {
    ?property rdfs:label ?label .
    FILTER(LANG(?label) = "en")
  }
  OPTIONAL {
    ?property schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

List all properties in Wikidata along with their data types, English names, and English descriptions.

Can you show me a table of Wikidata properties with their type (like ExternalId or Quantity), their English label, and their English description?

SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { { SELECT ?var1 ?var2 ?var3 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = "|" ) AS ?var4 ) WHERE { ?var1 <http://wikiba.se/ontology#propertyType> ?var2 . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } } GROUP BY ?var1 ?var2 ?var3 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ja,en". } }


Question: Image of Stephen Vizinczey with SNAC ARK ID w61q0vkb

SELECT ?image WHERE { ?item wdt:P3430 "w61q0vkb" . OPTIONAL { ?item wdt:P18 ?image . } }

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

Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w61q0vkb.

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


Question: List French National Assembly members, their parliamentary groups, electoral districts, seat numbers, and start/end dates.

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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?person ?personLabel ?parliamentaryGroup ?parliamentaryGroupLabel ?electoralDistrict ?electoralDistrictLabel ?seatNumber ?startDateStr ?endDateStr WHERE {
  ?person p:P39 ?position .
  ?position ps:P39 / wdt:P279 * wd:Q3044918 .
  ?position pq:P2937 ?term .
  ?term p:P31 / pq:P1545 ?seatNumber .
  OPTIONAL {
    ?position pq:P4100 ?parliamentaryGroup .
    ?parliamentaryGroup rdfs:label ?parliamentaryGroupLabel .
    FILTER ( LANG( ?parliamentaryGroupLabel ) = "en" )
  }
  OPTIONAL {
    ?position pq:P768 ?electoralDistrict .
    ?electoralDistrict rdfs:label ?electoralDistrictLabel .
    FILTER ( LANG( ?electoralDistrictLabel ) = "en" )
  }
  OPTIONAL {
    ?position pq:P580 ?startDate .
  }
  OPTIONAL {
    ?position pq:P582 ?endDate .
  }
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" ) BIND( STRBEFORE( STR( ?startDate ) , "T" ) AS ?startDateStr ) BIND( STRBEFORE( STR( ?endDate ) , "T" ) AS ?endDateStr )
}
ORDER BY ASC ( ?startDate ) ASC ( ?endDate )

Who are the members of the French National Assembly, which constituencies and parliamentary groups do they represent, what seat numbers did they hold, and when did their terms begin and end?

Show me a table of all French National Assembly members with their names, parliamentary groups, electoral districts, seat numbers, and the start and end dates of their terms, sorted by start date.

SELECT ?var1 ?var2 ?var2Label ( ?var2Label AS ?var3 ) ?var4 ?var4Label ( ?var4Label AS ?var5 ) ?var6Label ( ?var6Label AS ?var7 ) ?var8 ?var8Label ( STRBEFORE ( STR ( ?var9 ) , "T" ) AS ?var10 )( STRBEFORE ( STR ( ?var11 ) , "T" ) AS ?var12 ) WHERE { ?var2 <http://www.wikidata.org/prop/P39> ?var13 . ?var13 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3044918> . ?var13 <http://www.wikidata.org/prop/qualifier/P2937> ?var14 . ?var14 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/qualifier/P1545> ) ?var8 . OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P2937> ?var8 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P580> ?var9 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P582> ?var11 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P768> ?var15 . ?var15 <http://www.wikidata.org/prop/direct/P131> ?var6 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P4100> ?var4 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1045> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY ASC( ?var10 )ASC( ?var12 )


Question: Female humans born in 1921 with published images

SELECT ?human ?label ?imageFile ?publicationDate WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P21 wd:Q6581072 . ?human wdt:P569 ?birthDate . FILTER ( ?birthDate >= "1921-01-01T00:00:00Z"^^xsd:dateTime ) FILTER ( ?birthDate < "1922-01-01T00:00:00Z"^^xsd:dateTime ) ?human rdfs:label ?label . FILTER ( LANG(?label) = "en" ) ?work wdt:P180 ?human . ?work wdt:P18 ?imageFile . ?work wdt:P577 ?publicationDate . } LIMIT 10

Who are the female humans born in 1921 that have an image of a work (like a photograph or painting) depicting them, and when was that work published?

Show me the English names, images, and publication dates of works depicting female humans born in 1921.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P577> ?var4 . FILTER ( ( ( ?var5 >= "1921-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var5 < "1922-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } GROUP BY ?var1 ?var2 ?var3 ?var4 ORDER BY DESC( ?var1 ) LIMIT 10


Question: Countries with English as official language

SELECT DISTINCT ?country ?countryLabel WHERE { ?country wdt:P37 wd:Q1860 . ?country wdt:P31 wd:Q3624078 . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") }

Which countries have English as their official language?

List all sovereign states where English is an official language.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P37> <http://www.wikidata.org/entity/Q21503252> . }


Question: Properties and values of the film "Three Billboards Outside Ebbing, Missouri" with Ukrainian labels and film image

SELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE { wd:Q24053277 ?property ?value . BIND( IRI(CONCAT("http://www.wikidata.org/entity/", STRAFTER(STR(?property), "http://www.wikidata.org/prop/direct/"))) AS ?propertyEntity ) ?propertyEntity rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . OPTIONAL { wd:Q24053277 wdt:P18 ?image . } FILTER (LANG(?valueLabel) = "uk") FILTER (LANG(?propertyLabel) = "en" || LANG(?propertyLabel) = "uk") } ORDER BY ?property ?value LIMIT 1000

What are the Ukrainian labels of the values associated with the film "Three Billboards Outside Ebbing, Missouri", along with the property names and the film’s image?

Show me all the properties and their Ukrainian-labeled values for the film "Three Billboards Outside Ebbing, Missouri", including the film’s image, and use English or Ukrainian for property names.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q24053277> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q24053277> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "uk" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "uk" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: What are the films in The Lord of the Rings trilogy?

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 ?label WHERE {
  ?film wdt:P179 wd:Q190214 .
  ?film rdfs:label ?label .
  FILTER(langMatches(lang(?label) , "en"))
}
LIMIT 100

List the English titles of all movies that are part of The Lord of the Rings series.

Which films belong to The Lord of the Rings film series, according to Wikidata?

SELECT ?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/P179> <http://www.wikidata.org/entity/Q190214> . } LIMIT 100


Question: Labels ending in 'ange' in Wikidata

SELECT DISTINCT ?label WHERE { ?item rdfs:label ?label . FILTER (REGEX(?label, "ange$", "i")) } LIMIT 100

What are the labels in Wikidata that end with the letters 'ange'?

Show me all entity labels in Wikidata that end with 'ange'.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { FILTER ( ( REGEX ( ?var1Label , "^.*ange$" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } }


Question: Titles of films in The Lord of the Rings film trilogy

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?title WHERE {
  ?film wdt:P179 wd:Q190214 ; wdt:P1476 ?title .
  FILTER ( LANG( ?title ) = "en" )
}
LIMIT 100

What are the English titles of the films that are part of The Lord of the Rings trilogy?

List the English titles of all movies belonging to The Lord of the Rings series.

SELECT ?var1Label ?var2 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/P179> <http://www.wikidata.org/entity/Q190214> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } LIMIT 100


Question: What is the name of the historic place with NRHP reference number 76000490?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?historicPlace WHERE {
  ?historicPlace wdt:P649 "76000490" .
}

NRHP ID 76000490 — which historic site does it refer to?

Tell me the historic place listed in the National Register of Historic Places with the ID 76000490.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> "76000490". } LIMIT 1


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

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

Can you tell me the English name and description of the Rusyns as listed in the Great Russian Encyclopedia Online (old version)?

Please provide the English label and description for the entry in Wikidata that has the Great Russian Encyclopedia Online ID 2048473.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "2048473". 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: Belgian municipalities with names ending in "ange" and their coordinates.

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 ?municipality ?label ?coordinates WHERE {
  ?municipality(wdt:P31 / wdt:P279 *) wd:Q493522 ; rdfs:label ?label ; wdt:P625 ?coordinates .
  FILTER(REGEX(?label , ".*ange$" , "i"))
}
LIMIT 1000

Which Belgian municipalities have names ending in "ange", and where are they located geographically?

Show me all Belgian municipalities whose names (in any language) end with "ange", along with their geographic coordinates.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q493522> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( REGEX ( ?var1Label , ".*ange$", "i" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } LIMIT 1000


Question: Image of Ralph Izard with SNAC ARK ID w6q81mfr

SELECT ?image WHERE { ?item wdt:P3430 "w6q81mfr" . OPTIONAL { ?item wdt:P18 ?image . } }

What is the Wikimedia Commons image associated with the SNAC ARK ID w6q81mfr?

Please provide the image of the entity identified by the SNAC ARK ID w6q81mfr.

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


Question: What properties are used on Galileo Galilei in Wikidata, with their English labels and descriptions?

SELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE { wd:Q307 ?property ?value . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/")) . BIND(IRI(REPLACE(STR(?property), "http://www.wikidata.org/prop/direct/", "http://www.wikidata.org/entity/")) AS ?propertyEntity) . ?propertyEntity rdfs:label ?propertyLabel . ?propertyEntity schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = "en") FILTER(LANG(?propertyDescription) = "en") } LIMIT 100

Which properties describe Galileo Galilei, and what are their English labels and descriptions?

List all the properties applied to Galileo Galilei along with their English names and definitions.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q307> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } LIMIT 100


Question: Does the NRHP reference number 72001329 exist in Wikidata?

Is there a historic place in the National Register of Historic Places with ID 72001329 listed in Wikidata?

Confirm whether the National Register of Historic Places reference number 72001329 is assigned to any item in Wikidata.

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


Question: Does the National Register of Historic Places have an entry with ID 90001288?

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

Is the Henry B. Bissell House listed in the National Register of Historic Places with reference number 90001288?

Confirm if the NRHP reference number 90001288 corresponds to a registered historic place.

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


Question: Is the Josiah Davis House listed in the National Register of Historic Places?

Does the National Register of Historic Places have an entry with reference number 82000145?

Check if the NRHP ID 82000145 corresponds to a registered historic place in Wikidata.

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


Question: Does the National Register of Historic Places ID 71000279 exist in Wikidata?

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

Is there a historic place in Wikidata with the NRHP reference number 71000279?

Confirm if the Rockefeller Cottage is listed in Wikidata with NRHP ID 71000279.

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


Question: What historic site in the U.S. National Register has the reference number 82002386?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel WHERE {
  ?item wdt:P649 "82002386" .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}

Is there a property listed in the National Register of Historic Places with the ID 82002386, and what is its name?

Show me the name of the historic place in the U.S. National Register of Historic Places with reference number 82002386.

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


Question: Who is the person with Great Russian Encyclopedia Online ID 4216895?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?itemDescription WHERE {
  ?item wdt:P2924 "4216895" .
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER ( LANG( ?itemLabel ) = "en" )
  }
  OPTIONAL {
    ?item schema:description ?itemDescription .
    FILTER ( LANG( ?itemDescription ) = "en" )
  }
}

What is the English name and description of the individual listed in the Great Russian Encyclopedia Online with ID 4216895?

Please provide the English label and description of the person identified by 4216895 in the Great Russian Encyclopedia Online (2014–2017).

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "4216895". 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 are the properties and values associated with the film "The Lord of the Rings: The Two Towers", along with their English labels and image?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?property ?value ?valueLabel ?image WHERE {
  wd:Q164963 ?property ?value .
  OPTIONAL {
    ?value rdfs:label ?valueLabel .
    FILTER ( LANG( ?valueLabel ) = "en" )
  }
  OPTIONAL {
    wd:Q164963 wdt:P18 ?image .
  }
}
ORDER BY ?property
LIMIT 1000

Show me all the information about The Lord of the Rings: The Two Towers movie, including what it's an instance of, its release date, and its image.

List all the data points for the 2002 Peter Jackson film "The Lord of the Rings: The Two Towers", with English descriptions of its linked entities.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q164963> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q164963> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "uk" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "uk" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: What are the Ukrainian labels of objects associated with the film V for Vendetta, along with their English property names and images?

SELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE { wd:Q5890 ?property ?value . 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 . OPTIONAL { ?value wdt:P18 ?image . } FILTER ( LANG( ?propertyLabel ) = "en" ) . FILTER ( LANG( ?valueLabel ) = "uk" ) . } ORDER BY ASC(?property) ASC(?value) LIMIT 1000

Show me all the things related to V for Vendetta in Ukrainian, including what property links them and if there's an image available.

List the Ukrainian-language descriptions of entities connected to the movie V for Vendetta, with their English property names and any associated images.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q5890> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q5890> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "uk" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "uk" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: Properties used to describe chocolate in Portuguese with their labels and descriptions.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?propertyLabel ?propertyDescription WHERE {
  wd:Q195 ?p ?stmt .
  ?property wikibase:directClaim ?p .
  ?property rdfs:label ?propertyLabel .
  ?property schema:description ?propertyDescription .
  FILTER ( LANG( ?propertyLabel ) = "pt" ) FILTER ( LANG( ?propertyDescription ) = "pt" )
}
LIMIT 100

What properties are used to describe chocolate on Wikidata, and what are their Portuguese labels and descriptions?

Show me the Portuguese labels and descriptions of all properties that are used to describe chocolate on Wikidata.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q195> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "pt" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "pt" ) ) ) . } LIMIT 100


Question: Properties and values of The Hunger Games: Mockingjay – Part 1 with actor photos and English labels.

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 ?property ?propertyLabel ?value ?valueLabel ?valueImage ?filmImage WHERE {
  VALUES ?wdtProperty {
    wdt:P31 wdt:P1476 wdt:P577 wdt:P495 wdt:P161 wdt:P50 wdt:P162 wdt:P166
  }
  wd:Q4142083 ?wdtProperty ?value .
  BIND(IRI(REPLACE(STR(?wdtProperty) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/")) AS ?property)
  .
  ?property rdfs:label ?propertyLabel .
  FILTER(LANG(?propertyLabel) = "en")
  OPTIONAL {
    ?value rdfs:label ?valueLabel .
    FILTER(LANG(?valueLabel) = "en")
  }
  OPTIONAL {
    ?value wdt:P18 ?valueImage .
  }
  OPTIONAL {
    wd:Q4142083 wdt:P18 ?filmImage .
  }
}
ORDER BY ?property ?value
LIMIT 1000

What are the key details (like cast, country, and release date) of The Hunger Games: Mockingjay – Part 1, and what are the images of the people involved?

Show me the English-labeled properties and their values for The Hunger Games: Mockingjay – Part 1, including images of the cast members.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q4142083> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@uk AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q4142083> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "uk" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "uk" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: English label and description of the gene Qui in Mus musculus, and its image.

SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q18274055 rdfs:label ?label . FILTER (LANG(?label) = "en") } OPTIONAL { wd:Q18274055 schema:description ?description . FILTER (LANG(?description) = "en") } OPTIONAL { wd:Q18274055 wdt:P18 ?image . } }

What is the English name and description of the gene Qui in Mus musculus, and is there an associated image?

Show me the English label and description of the gene Qui, along with any image available on Wikimedia Commons.

SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q18274055> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q18274055> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q18274055> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } }


Question: What are the Russian-language properties and associated entities connected to the TV series True Detective?

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 ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE {
  wd:Q7847400 ?var1 ?var3 .
  BIND(IRI(REPLACE(STR(?var1) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/")) AS ?propertyItem)
  .
  ?propertyItem rdfs:label ?var2Label .
  ?var3 rdfs:label ?var4Label .
  OPTIONAL {
    ?var3 wdt:P18 ?var5 .
  }
  FILTER(LANG(?var4Label) = "ru")
  FILTER(LANG(?var2Label) = "ru")
}
ORDER BY ASC(?var1) ASC(?var3)
LIMIT 1000

Show me the Russian labels of genres, locations, and other attributes of True Detective, along with any images of those entities.

Which Russian-language terms describe the genre, location, and other characteristics of True Detective on Wikidata?

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q7847400> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q7847400> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "ru" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "ru" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: What are the Russian-language labels of objects associated with the film Maleficent (2014), along with the properties linking them and their images?

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 ?prop ?obj ?objLabel ?image WHERE {
  wd:Q172271 ?prop ?obj .
  ?obj rdfs:label ?objLabel
  FILTER ( LANG( ?objLabel ) = "ru" ) .
  OPTIONAL {
    ?obj wdt:P18 ?image
  }
}
ORDER BY ?prop ?obj
LIMIT 1000

Show me all Russian-labeled entities connected to Maleficent (2014), including the property names and any available images.

List the Russian descriptions of things related to Maleficent (2014), such as cast members or genres, and include their images if available.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q172271> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q172271> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "ru" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "ru" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: Cities with population over 100,000 and their countries

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 DISTINCT ?city ?cityLabel ?countryLabel WHERE {
  ?city wdt:P31 wd:Q515 .
  ?city wdt:P1082 ?population .
  FILTER(?population >= 100000)
  OPTIONAL {
    ?city wdt:P17 ?country .
    ?country rdfs:label ?countryLabel .
    FILTER(LANG(?countryLabel) = "en")
  }
  ?city rdfs:label ?cityLabel .
  FILTER(LANG(?cityLabel) = "en")
}
LIMIT 100

Which cities have a population of at least 100,000, and in which countries are they located?

List the English names of cities with more than 100,000 residents along with their corresponding countries.

SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q515> . 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/P1082> ?var4 . FILTER ( ( ( ?var4 >= "100000"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var2 . } } LIMIT 100000


Question: Russian labels of properties and objects connected to Monty Python’s Life of Brian, with images.

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 ?property ?propertyLabel ?object ?objectLabel ?image WHERE {
  wd:Q24953 ?property ?object .
  BIND(IRI(REPLACE(STR(?property) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/")) AS ?propertyEntity)
  .
  ?propertyEntity rdfs:label ?propertyLabel .
  ?object rdfs:label ?objectLabel .
  OPTIONAL {
    ?object wdt:P18 ?image .
  }
  FILTER(LANG(?propertyLabel) = "ru")
  FILTER(LANG(?objectLabel) = "ru")
}
ORDER BY ASC(?property) ASC(?object)
LIMIT 1000

What are the Russian-language labels of the properties and entities associated with the film Monty Python’s Life of Brian, and what images are available for those entities?

Show me all Russian labels of properties and their connected entities for the movie Monty Python’s Life of Brian, including any available images.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q24953> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q24953> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "ru" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "ru" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: What are the Russian-labeled properties and values for the film 3 Idiots, and if none exist, show a fallback message?

SELECT ?property ?propertyLabel ?value ?valueLabel ?image WHERE { { BIND(wd:Q229633 AS ?value) BIND("N/A" AS ?property) BIND("identity"@ru AS ?propertyLabel) BIND("3 Idiots"@ru AS ?valueLabel) BIND("N/A" AS ?image) FILTER NOT EXISTS { wd:Q229633 ?p ?o . ?p rdfs:label ?pl . ?o rdfs:label ?ol . FILTER(LANG(?pl) = "ru" && LANG(?ol) = "ru") } } UNION { wd:Q229633 ?property ?value . ?property rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . OPTIONAL { ?value wdt:P18 ?image . } FILTER (LANG(?propertyLabel) = "ru" && LANG(?valueLabel) = "ru") } } ORDER BY ASC(?property) ASC(?value) LIMIT 1000

Show me all statements about the movie 3 Idiots in Russian — if there are none, return a dummy row saying "N/A".

Is there any information about 3 Idiots with Russian labels? If not, return "N/A" as a placeholder.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( <http://www.wikidata.org/entity/Q229633> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@ru AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q229633> ?var1 ?var3 . ?var6 ?var7 ?var1 . ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var4Label ) = "ru" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "ru" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 1000


Question: Post offices in northern England between longitudes -2 and -1 and latitude 54, with images and Commons categories.

SELECT ?postOffice ?postOfficeLabel ?location ?image ?commonsCategory ?postalCode WHERE { ?postOffice (wdt:P31/wdt:P279*) wd:Q35054 . ?postOffice wdt:P625 ?location . FILTER(geof:longitude(?location) >= -2 && geof:longitude(?location) <= -1) FILTER(geof:latitude(?location) >= 53.9 && geof:latitude(?location) <= 54.1) OPTIONAL { ?postOffice wdt:P18 ?image . } OPTIONAL { ?postOffice wdt:P373 ?commonsCategory . } OPTIONAL { ?postOffice wdt:P969 ?postalCode . } ?postOffice rdfs:label ?postOfficeLabel . FILTER(LANG(?postOfficeLabel) = "en") } LIMIT 3000

What are the post offices located near latitude 54 and between longitudes -2 and -1, and do they have images or Wikimedia Commons categories?

List post offices in the area bounded by longitude -2 to -1 and latitude 53.9 to 54.1, including their labels, images, Commons categories, and postal codes if available.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "POINT(-2 54)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(-1 54)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q35054> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000


Question: What is the publisher of the video game Z1 Battle Royale, and what is its English name?

SELECT ?publisher ?publisherLabel ?publisherImage WHERE { wd:Q23013631 wdt:P123 ?publisher . ?publisher rdfs:label ?publisherLabel . FILTER (LANG(?publisherLabel) = "en") . OPTIONAL { ?publisher wdt:P18 ?publisherImage . } }

Can you tell me the name of the company that published Z1 Battle Royale, and if available, show its logo?

Who published H1Z1 (Z1 Battle Royale)? Provide the publisher’s English label and any associated image.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.wikidata.org/entity/Q23013631> <http://www.wikidata.org/prop/direct/P123> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } }


Question: Is Protein Data Bank a human mitochondrial DNA haplogroup?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q766195 ( wdt:P31 | wdt:P279 ) * wd:Q1356230 .
}

Can the Protein Data Bank be classified as a human mitochondrial DNA haplogroup through any chain of type or subclass relationships?

Check whether the Protein Data Bank is related to human mitochondrial DNA haplogroups via instance-of or subclass-of hierarchies.

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


Question: What properties link other entities to Malina Prześluga, and how many times is each used?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?propertyItem ?propertyItemLabel ( COUNT( ?entity ) AS ?count ) WHERE {
  ?entity ?property wd:Q16321177 .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyItemLabel .
  FILTER ( LANG( ?propertyItemLabel ) = "en" )
}
GROUP BY ?propertyItem ?propertyItemLabel
ORDER BY DESC ( ?count )

Which property is used most frequently to connect other entities to the Polish writer Malina Prześluga?

Show all properties that have Malina Prześluga as their object, along with their labels and usage counts.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q16321177> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en". } } ORDER BY DESC( ?var3 )


Question: Does the National Register of Historic Places have an entry with reference number 97000765?

Is there a historic place in the U.S. National Register with the ID 97000765?

Confirm if the Samuel and Ann Young House is listed in the National Register of Historic Places under reference number 97000765.

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


Question: Is the Washington C. Wear House listed in the National Register of Historic Places with ID 93000838?

Does the National Register of Historic Places have an entry with reference number 93000838?

Confirm if the building with NRHP ID 93000838 is officially listed on the National Register of Historic Places.

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


Question: Is the John Dupont House listed in the National Register of Historic Places with ID 15000979?

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

Does the National Register of Historic Places have an entry with reference number 15000979?

Confirm if the historic place with NRHP ID 15000979 exists in Wikidata.

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


Question: List Australian rules football players with their first names, sorted alphabetically by first name.

SELECT ?player ?playerLabel ?givenNameLabel WHERE { ?player wdt:P31 wd:Q5 . ?player wdt:P106 wd:Q13414980 . ?player p:P735 ?statement . ?statement ps:P735 ?givenName . ?statement pq:P1545 "1" . ?player rdfs:label ?playerLabel . ?givenName rdfs:label ?givenNameLabel . FILTER(LANG(?playerLabel) = "en") FILTER(LANG(?givenNameLabel) = "en") } ORDER BY ASC(?givenNameLabel)

Who are the Australian rules football players and what are their first names, ordered by first name?

Show me the full names and first names of all Australian rules football players, sorted by their first names.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13414980> . ?var1 <http://www.wikidata.org/prop/P735> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P1545> "1". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var2 )


Question: Australian rules football players with a second given name

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?var1 ?var1Label ?givenNameLabel WHERE {
  ?var1 wdt:P31 wd:Q5 .
  ?var1 wdt:P106 wd:Q13414980 .
  ?var1 p:P735 ?var3 .
  ?var3 pq:P1545 "2" .
  ?var3 ps:P735 ?givenName .
  ?var1 rdfs:label ?var1Label .
  ?givenName rdfs:label ?givenNameLabel .
  FILTER(LANG(?var1Label) = "en")
  FILTER(LANG(?givenNameLabel) = "en")
}
ORDER BY ASC(?givenNameLabel)

Who are Australian rules football players who have a second given name, and what are those names?

List all Australian rules football players who have a second given name, along with their full names and the second given name in English.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13414980> . ?var1 <http://www.wikidata.org/prop/P735> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P1545> "2". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var2 )


Question: British football players who died before 1910

SELECT ?player WHERE { ?player wdt:P31 wd:Q5 . ?player wdt:P106 wd:Q937857 . ?player wdt:P27 wd:Q145 . ?player wdt:P570 ?deathDate . FILTER ( ?deathDate < "1910-01-01T00:00:00Z"^^xsd:dateTime ) } LIMIT 500

Who were the British association football players that died before 1910?

List all human beings who were football players from the United Kingdom and passed away prior to January 1, 1910.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q145> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 < "1910-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } LIMIT 500


Question: Image of Barbara Hackman Franklin with SNAC ARK ID w6377skz

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

What is the image associated with the person having the SNAC ARK ID w6377skz?

Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6377skz.

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


Question: Battles with number of deaths

SELECT ?battle ?battleLabel ?deaths WHERE { ?battle wdt:P31 wd:Q178561 . OPTIONAL { ?battle wdt:P1120 ?deaths . } ?battle rdfs:label ?battleLabel . } LIMIT 100

What are the battles and how many people died in each?

List all battles and their recorded death tolls, if available.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { 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/P31> <http://www.wikidata.org/entity/Q178561> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1120> ?var2 . } } LIMIT 100


Question: Does Wikidata contain an entity with GND ID 1154487628?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?entity wdt:P227 "1154487628" .
}

Is there a person in Wikidata identified by the German National Library ID 1154487628?

Confirm if the GND ID 1154487628 corresponds to a known entity in Wikidata.

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


Question: What is the Wikidata item for the boy band B.A.P?

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 ?band WHERE {
  ?band rdfs:label ?label .
  FILTER(STR(?label) = "B.A.P")
  .
  ?band wdt:P31 wd:Q216337 .
}

Which entity in Wikidata represents the South Korean boy band B.A.P and is classified as a boy band?

Find the Wikidata entry for the band named B.A.P that is an instance of a boy band.

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


Question: What are the different types of mosques?

SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q32815 . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = 'en') }

What are some specific kinds of mosques recognized in Wikidata?

CONSTRUCT { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 } WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q32815> . ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1370598> . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . }


Question: In which city is the quartier des États-Unis located?

SELECT ?city WHERE { wd:Q3236563 wdt:P131/wdt:P131 ?city . }

What is the city that contains the neighborhood quartier des États-Unis?

Which major city is the quartier des États-Unis a part of?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q3236563> <http://www.wikidata.org/prop/direct/P36> ?var2 . }


Question: Human settlements in Moldova with population ranges, coordinates, and English names.

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 DISTINCT ?settlement ?settlementLabel ?coordinates ?populationBucket WHERE {
  ?settlement wdt:P31 / wdt:P279 * wd:Q486972 .
  ?settlement wdt:P17 wd:Q217 .
  ?settlement wdt:P625 ?coordinates .
  ?settlement wdt:P1082 ?population .
  ?settlement rdfs:label ?settlementLabel .
  FILTER(LANG(?settlementLabel) = "en")
  FILTER(?population >= 0)
  BIND(IF(?population < 10 , "<10" , IF(?population < 100 , "10-100" , IF(?population < 1000 , "100-1000" , IF(?population < 10000 , "1000-10000" , IF(?population < 100000 , "10000-100000" , ">100000"))))) AS ?populationBucket)
}

What are the names, coordinates, and population categories (e.g., 1000-10000) of human settlements in Moldova?

List all human settlements in Moldova, including their English names, geographic coordinates, and population size buckets (like "<10", "10-100", etc.).

SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( MAX ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) WHERE { BIND ( IF ( ( ?var3 < "10"^^<http://www.w3.org/2001/XMLSchema#integer> ), "<10", IF ( ( ?var3 < "100"^^<http://www.w3.org/2001/XMLSchema#integer> ), "10-100", IF ( ( ?var3 < "1000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "100-1000", IF ( ( ?var3 < "10000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "1000-10000", IF ( ( ?var3 < "100000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string1", ">1000000" ) ) ) ) ) AS ?var4 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q217> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "bg". } FILTER ( ( ( ?var3 >= "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1 ?var1Label


Question: Who have been the mayors of Paris?

SELECT ?mayor WHERE { ?mayor wdt:P39 wd:Q12371988 .}

Which individuals have held the position of mayor of Paris?

List all people who have served as mayor of Paris.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q12371988> . }


Question: How many items are licensed under public domain?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ( COUNT( ?item ) AS ?count ) WHERE {
  ?item wdt:P275 wd:Q19652 .
}

What is the number of works in Wikidata that are in the public domain?

Count the total number of items released under a public domain license.

SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P275> <http://www.wikidata.org/entity/Q19652> . }


Question: What are the entities classified as "connection" in Wikidata?

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

List the English-labeled items that are instances of the concept "connection".

Show me the names of things that are types of connections according to Wikidata.

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


Question: Is the James H. Ward House listed in the National Register of Historic Places with reference number 88000385?

Does the National Register of Historic Places have an entry with the reference number 88000385?

Confirm if the property with NRHP ID 88000385 exists in the National Register of Historic Places.

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


Question: What is the name of the historic place with NRHP reference number 01000403?

SELECT ?historicPlace ?label WHERE { ?historicPlace wdt:P649 "01000403" . ?historicPlace rdfs:label ?label . FILTER(LANG(?label) = "en") }

Which building is listed in the National Register of Historic Places under ID 01000403?

Tell me the historic site identified by NRHP number 01000403.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P649> "01000403". } LIMIT 1


Question: Is there a historic place in the National Register of Historic Places with reference number 91001161?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?historicPlace wdt:P649 "91001161" .
}

Does the National Register of Historic Places list a property with the ID 91001161?

Confirm if the Frank Wheeler Hotel is listed in the National Register of Historic Places using its reference number 91001161.

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


Question: What are the taxonomic classification levels above Amphibia in Wikidata, up to five steps up?

SELECT DISTINCT ?taxonClass ?taxonClassLabel ?classType WHERE { { wd:Q10908 wdt:P31 ?taxonClass . } UNION { wd:Q10908 wdt:P31 ?c1 . ?c1 wdt:P31 ?taxonClass . } UNION { wd:Q10908 wdt:P31 ?c1 . ?c1 wdt:P31 ?c2 . ?c2 wdt:P31 ?taxonClass . } UNION { wd:Q10908 wdt:P31 ?c1 . ?c1 wdt:P31 ?c2 . ?c2 wdt:P31 ?c3 . ?c3 wdt:P31 ?taxonClass . } UNION { wd:Q10908 wdt:P31 ?c1 . ?c1 wdt:P31 ?c2 . ?c2 wdt:P31 ?c3 . ?c3 wdt:P31 ?c4 . ?c4 wdt:P31 ?taxonClass . } ?taxonClass wdt:P31 ?classType . ?taxonClass rdfs:label ?taxonClassLabel . FILTER(LANG(?taxonClassLabel) = "en") }

Show me the classes that Amphibia is an instance of, and what those classes are instances of themselves, within five levels of hierarchy.

How does Wikidata categorize Amphibia in terms of taxonomic rank hierarchy? List the classes and their types up to five levels above.

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q10908> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "5"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Films and TV series with their directors, release dates, and titles.

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 ?workLabel ?directorLabel ?title ?publicationDate ?typeLabel WHERE {
  ?work wdt:P57 ?director .
  ?work wdt:P577 ?publicationDate .
  ?work wdt:P31 ?type .
  ?work wdt:P1476 ?title .
  FILTER ( ?type IN ( wd:Q11424 , wd:Q5398426 ) ) .
  FILTER ( ISLITERAL( ?title ) && ISLITERAL( ?publicationDate ) ) .
  ?work rdfs:label ?workLabel .
  ?director rdfs:label ?directorLabel .
  ?type rdfs:label ?typeLabel .
  FILTER ( LANG( ?workLabel ) = "en" ) .
  FILTER ( LANG( ?directorLabel ) = "en" ) .
  FILTER ( LANG( ?typeLabel ) = "en" )
}
LIMIT 100

What are the English titles, directors, publication dates, and types of films and TV series in Wikidata?

List films and TV series along with their directors, original titles, release dates, and whether they are films or TV series.

SELECT ?var1Label ?var2Label ?var3 ?var4Label 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/P57> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var5 . } LIMIT 100


Question: Does Wikidata contain an entry for the VIAF ID 1085151778251418130003?

Is there a person in Wikidata identified by the VIAF cluster ID 1085151778251418130003?

Check if the Virtual International Authority File identifier 1085151778251418130003 is linked to any entity in Wikidata.


Question: Audio tracks with "for" in the title

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 ?track ?trackLabel WHERE {
  ?track wdt:P31 wd:Q7302866 .
  ?track rdfs:label ?trackLabel .
  FILTER(CONTAINS(LCASE(?trackLabel) , "for"))
  FILTER(LANG(?trackLabel) = "en")
}
LIMIT 100

What are the English titles of audio tracks that contain the word "for"?

List up to 100 English-language song titles that include the substring "for", such as "Pray For A Key" or "I'll Forget You".

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7302866> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , "for" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } LIMIT 100


Question: Cities with population over 50,000, their country, and type

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 ?city ?cityLabel ?instanceLabel ?population ?countryLabel WHERE {
  ?city wdt:P31 / wdt:P279 * wd:Q515 .
  ?city wdt:P31 ?instance .
  OPTIONAL {
    ?city wdt:P1082 ?population .
  }
  OPTIONAL {
    ?city wdt:P17 ?country .
  }
  FILTER(BOUND(?population) && ?population >= 50000.0)
  OPTIONAL {
    ?city rdfs:label ?cityLabel .
    FILTER(LANG(?cityLabel) = "en")
  }
  OPTIONAL {
    ?instance rdfs:label ?instanceLabel .
    FILTER(LANG(?instanceLabel) = "en")
  }
  OPTIONAL {
    ?country rdfs:label ?countryLabel .
    FILTER(LANG(?countryLabel) = "en")
  }
}

What are the cities with at least 50,000 residents, what country are they in, and what type of settlement are they classified as?

List all cities with a population of 50,000 or more, including their English names, their country, and their classification (e.g., city, municipality).

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } FILTER ( ( ( ?var3 >= "50000"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }


Question: Citing works of "Object Detection Meets Knowledge Graphs" grouped by publication year and whether they have authors.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?citationYear(COUNT(DISTINCT ?citingWork) AS ?count) ?hasAuthor WHERE {
  BIND(wd:Q50503046 AS ?targetArticle)
  ?citingWork wdt:P2860 ?targetArticle .
  ?citingWork wdt:P577 ?publicationDate .
  BIND(STR(YEAR(?publicationDate)) AS ?citationYear)
  OPTIONAL {
    BIND(IF(EXISTS {
      ?citingWork wdt:P50 []
    }
    , "has author" , "no author") AS ?hasAuthor)
  }
}
GROUP BY ?citationYear ?hasAuthor
ORDER BY DESC(?citationYear)

In which years were articles citing "Object Detection Meets Knowledge Graphs" published, and did they have authors?

Show me the count of articles that cite "Object Detection Meets Knowledge Graphs", grouped by their publication year and whether they list any authors.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q50503046> AS ?var5 ). ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var5 . OPTIONAL { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> ?var6 . } , "string1", "string2" ) AS ?var4 ). ?var5 <http://www.wikidata.org/prop/direct/P50> ?var6 . } BIND ( STR ( YEAR ( ?var7 ) ) AS ?var1 ). ?var2 <http://www.wikidata.org/prop/direct/P577> ?var7 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: Plays and their authors in Wikidata

SELECT DISTINCT ?play ?playLabel ?author ?authorLabel WHERE { ?play wdt:P31 wd:Q25379 ; wdt:P50 ?author . ?play rdfs:label ?playLabel . ?author rdfs:label ?authorLabel . }

Which plays have been written by which authors?

List all plays along with the names of their authors.

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


Question: Humans with the surname Bazri in French labels

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 DISTINCT ?person WHERE {
  ?person rdfs:label ?label .
  FILTER(LANG(?label) = 'fr')
  .
  FILTER(REGEX(?label , 'Bazri' , 'i'))
  .
  ?person wdt:P31 wd:Q5
}

Who are the people named Bazri that are classified as humans and have a French label?

List all humans whose French name includes "Bazri".

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


Question: Historical kingdoms located in Indonesia

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 DISTINCT ?kingdom ?kingdomLabel WHERE {
  ?kingdom wdt:P17 wd:Q252 .
  {
    ?kingdom ( wdt:P31 / wdt:P279 * ) wd:Q417175 .
  } UNION {
    ?kingdom wdt:P279 * wd:Q417175 .
  }
  ?kingdom rdfs:label ?kingdomLabel .
  FILTER ( LANG( ?kingdomLabel ) = "en" )
}
ORDER BY ASC ( ?kingdomLabel )

What are the kingdoms that existed in Indonesia?

List the names of all historical kingdoms in Indonesia, including those classified as subclasses of kingdom.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q36732> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q36732> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "id". } } ORDER BY ASC( ?var1Label )


Question: Languages with Ethnologue EGIDS status and their status types, including whether the status is from a main statement, qualifier, or reference.

SELECT ?language ?languageLabel ?status ?statusLabel ?statusType ?statusTypeLabel ?claimType WHERE { { BIND("mainsnak" AS ?claimType) ?language wdt:P3823 ?status . } UNION { BIND("qualifier" AS ?claimType) ?statement pq:P3823 ?status . ?language ?p ?statement . } UNION { BIND("reference" AS ?claimType) ?reference pr:P3823 ?status . ?statement prov:wasDerivedFrom ?reference . ?language ?p ?statement . } MINUS { ?status (wdt:P31/wdt:P279*) wd:Q29051545 . } OPTIONAL { ?status wdt:P31 ?statusType . } OPTIONAL { ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = "en") } OPTIONAL { ?status rdfs:label ?statusLabel . FILTER(LANG(?statusLabel) = "en") } OPTIONAL { ?statusType rdfs:label ?statusTypeLabel . FILTER(LANG(?statusTypeLabel) = "en") } } LIMIT 200

Which languages have an Ethnologue language status, what is the status value, what type of status is it (e.g., family name), and is it recorded as a main statement, qualifier, or reference?

Show me all languages with their Ethnologue EGIDS status values, the category of each status (like "family name"), and whether the status comes from the main claim, a qualifier, or a reference source.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 WHERE { { BIND ( "mainsnak" AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P3823> ?var2 . } UNION { BIND ( "qualifier" AS ?var4 ). ?var5 <http://www.wikidata.org/prop/qualifier/P3823> ?var2 . ?var1 ?var6 ?var5 . } UNION { BIND ( "reference" AS ?var4 ). ?var7 <http://www.wikidata.org/prop/reference/P3823> ?var2 . ?var8 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var7 . ?var1 ?var9 ?var8 . } MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q29051545> . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . } } LIMIT 200 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: List Spanish municipalities by population in ascending order, excluding dissolved ones.

SELECT DISTINCT ?population ?label ?municipality WHERE { ?municipality wdt:P31 wd:Q2074737 . FILTER ( NOT EXISTS { ?municipality wdt:P582 [] } ) . OPTIONAL { ?municipality wdt:P1082 ?population . } ?municipality rdfs:label ?label . FILTER(LANG(?label) = 'en') } ORDER BY ASC(?population)

What are the smallest Spanish municipalities by population, excluding those that have been dissolved?

Show me the Spanish municipalities with the lowest populations, but only include those that are still active.

SELECT DISTINCT ?var1 ?var2Label ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2074737> . FILTER ( ( NOT EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18663566> . } ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/Q17> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ja,ja,en". } } ORDER BY ASC( ?var1 )


Question: Properties used in statements referencing "has part(s) of the class" (P2670), along with their statement properties and sample qualifiers.

SELECT ?property ?statement ?statementProperty (SAMPLE(?qualifierProperty) AS ?sampleQualifier)
WHERE {
  {
    SELECT DISTINCT ?property ?statement ?statementProperty WHERE {
      ?statement ?refProperty wd:P2670 .
      ?property ?claim ?statement .
      ?statementProperty wikibase:statementProperty ?refProperty .
      ?statementProperty wikibase:claim ?claim .
      FILTER (?statementProperty != wd:P31)
    }
    LIMIT 101
  }
  OPTIONAL {
    ?statement ?qualifierProperty ?value .
  }
}
GROUP BY ?property ?statement ?statementProperty

What properties are used in claims that have a reference to the property "has part(s) of the class" (P2670), and what qualifiers are attached to those claims?

Show me the properties, statements, and sample qualifiers for all claims that reference "has part(s) of the class" (P2670), excluding instance-of statements.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P2670> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: What are all the mathematical concepts and their subclasses in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?mathematicalConcept WHERE {
  ?mathematicalConcept ( wdt:P31 / wdt:P279 * ) wd:Q24034552 .
}
LIMIT 500

Which entities are instances of mathematical concepts or any of their subclasses?

List all entities that belong to the category of mathematical concepts, including all subcategories.

SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q24034552> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 500


Question: What are some examples of mathematical objects in mathematics?

SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P279* wd:Q246672 . FILTER(?var1 != wd:Q246672) . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = 'en') } LIMIT 100

Can you list the subclasses of mathematical object, such as numbers, tensors, and propositions?

Show me the hierarchy of abstract mathematical entities that are subclasses of mathematical object.

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


Question: Things located in Haiti

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 WHERE {
  ?item wdt:P17 wd:Q790 .
  FILTER(STRSTARTS(STR(?item) , "http://www.wikidata.org/entity/Q"))
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
  }
}
LIMIT 100

What places, buildings, or entities are in Haiti?

List up to 100 items that are located in Haiti, along with their English labels.

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/P17> <http://www.wikidata.org/entity/Q790> . } LIMIT 100


Question: What is the English or German Wikipedia page for the movie with IMDb ID tt7583568?

SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 "tt7583568" . ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

Which Wikipedia articles in English or German are about the movie identified by IMDb ID tt7583568?

Show me the English or German Wikipedia page for the movie on IMDb with ID tt7583568.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt7583568". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the English and German titles of the film with IMDb ID tt6661152?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?label ?lang WHERE {
  ?item wdt:P345 "tt6661152" .
  ?item rdfs:label ?label .
  BIND(LANG(?label) AS ?lang)
  FILTER(?lang IN("en" , "de"))
}

Can you tell me the English and German labels for the movie identified by the IMDb ID tt6661152?

Please provide the English and German names of the film that has the IMDb identifier tt6661152.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt6661152". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }