Question: Publication years and titles of works by Charles Spearman, truncated to 20 characters.

SELECT ?year ?title WHERE { ?work wdt:P50 wd:Q356611 . ?work wdt:P577 ?date . BIND(YEAR(?date) AS ?year) . ?work rdfs:label ?label . FILTER(LANG(?label) = "en") . BIND(SUBSTR(?label, 1, 20) AS ?title) } ORDER BY ?year

What are the publication years and first 20 characters of the titles of Charles Spearman’s published works?

List the years and abbreviated titles (first 20 characters) of all works authored by Charles Spearman in English.

SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( "0"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( "_" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q356611> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"20"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q356611> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = "en" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }


Question: Genes in E. coli K-12 MG1655 with NCBI locus tag b4623

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?gene WHERE {
  ?gene wdt:P31 wd:Q7187 .
  ?gene wdt:P703 wd:Q21102938 .
  ?gene wdt:P2393 "b4623" .
}

What genes in Escherichia coli str. K-12 substr. MG1655 have the NCBI locus tag b4623?

List all genes found in Escherichia coli K-12 MG1655 that are assigned the NCBI locus tag b4623.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7187> . ?var1 <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q21102938> . ?var1 <http://www.wikidata.org/prop/direct/P2393> "b4623". }


Question: Image of Wilhelm von Kobell with SNAC ARK ID w6w685hs

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

What is the image associated with Wilhelm von Kobell in Wikidata, identified by the SNAC ARK ID w6w685hs?

Show me the Wikimedia Commons image of the person whose SNAC ARK ID is w6w685hs.

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


Question: Actors in performing arts with their 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 ?actor ?actorLabel ?stageName WHERE {
  ?actor wdt:P101 wd:Q184485 .
  ?actor wdt:P106 wd:Q33999 .
  OPTIONAL {
    ?actor rdfs:label ?actorLabel .
    FILTER(LANG(?actorLabel) = "en")
  }
  OPTIONAL {
    ?actor wdt:P1559 ?stageName .
  }
}
LIMIT 100

Who are the actors working in performing arts, and what are their stage names?

List up to 100 actors whose field of work is performing arts and show their English names and any stage names they use.

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,nl". } ?var1 <http://www.wikidata.org/prop/direct/P101> <http://www.wikidata.org/entity/Q184485> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var2 . } } LIMIT 100


Question: What are the genres of the film Casablanca?

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 ?genre ( STR( SAMPLE( ?genreLabel ) ) AS ?genreLabelStr ) WHERE {
  ?film ( wdt:P31 / wdt:P279 * ) wd:Q11424 ; rdfs:label "Casablanca" @es ; wdt:P136 ?genre .
  ?genre rdfs:label ?genreLabel .
  FILTER ( LANG( ?genreLabel ) = "en" )
}
GROUP BY ?genre

What movie genres does the Spanish-labeled film "Casablanca" belong to?

List the English labels of the genres associated with the film Casablanca.

SELECT ?var1 ( STR ( ?var1Label ) AS ?var2 ) WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> ; <http://www.w3.org/2000/01/rdf-schema#label> "Casablanca"@es . ?var3 <http://www.wikidata.org/prop/direct/P136> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es,en". } }


Question: What are the English and German Wikipedia articles about the movie with IMDb ID tt0043013?

SELECT ?item ?wikipedia_article WHERE { ?item wdt:P345 "tt0043013" . ?wikipedia_article schema:about ?item . { ?wikipedia_article schema:inLanguage "en" . } UNION { ?wikipedia_article schema:inLanguage "de" . } }

Show me the Wikipedia pages in English and German for the film identified by tt0043013 on IMDb.

Which Wikipedia articles in English and German discuss the movie that has the IMDb identifier tt0043013?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0043013". } ?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: Which Wikidata entities have Twitter handles like Wikimedia, Wikipedia, nytimes, wikidata, or SwedeninNO?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "Wikimedia" "Wikipedia" "nytimes" "wikidata" "SwedeninNO" } } ORDER BY ASC(?twitterHandle)

What are the entities on Wikidata that are associated with the Twitter usernames 'Wikimedia', 'Wikipedia', 'nytimes', 'wikidata', or 'SwedeninNO'?

List the Wikidata items that have these Twitter usernames: Wikimedia, Wikipedia, nytimes, wikidata, and SwedeninNO, sorted alphabetically by username.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "SKS_finlit" ) ( "slsfinland" ) ( "Rosiestep" ) ( "UNESCO" ) ( "Wikimedia" ) ( "string1" ) ( "string2" ) ( "maartenzam" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "nytimes" ) ( "string6" ) ( "ducky_no" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "OKFde" ) ( "APoikola" ) ( "Wikipedia" ) ( "string11" ) ( "string12" ) ( "dunkels" ) ( "mymlan" ) ( "mstephens7" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "string18" ) ( "string19" ) ( "NatMus_SWE" ) ( "string20" ) ( "string21" ) ( "string22" ) ( "string23" ) ( "string24" ) ( "SwedeninNO" ) ( "string25" ) ( "SAIH" ) ( "string26" ) ( "DerbyUni" ) ( "string27" ) ( "Tart2000" ) ( "string28" ) ( "CCSkills" ) ( "string29" ) ( "SopanDeb" ) ( "string30" ) ( "EP_Legal" ) ( "jndisi" ) ( "SwedeninAL" ) ( "string31" ) ( "string32" ) ( "string33" ) ( "WMFinland" ) ( "string34" ) ( "TomChivers" ) ( "string35" ) ( "archasa" ) ( "HannaJson" ) ( "string36" ) ( "auchmill" ) ( "Wikidata" ) ( "string37" ) ( "wikidata" ) ( "string38" ) ( "string39" ) } } ORDER BY ASC( ?var3 )


Question: Female physicists in Wikidata with birth date, place of birth, awards, and death date

SELECT ?person WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P21 wd:Q6581072 .
  ?person (wdt:P106/wdt:P279*) wd:Q169470 .
  OPTIONAL { ?person wdt:P569 ?birthDate . }
  OPTIONAL { ?person wdt:P19 ?birthPlace . }
  OPTIONAL { ?person wdt:P166 ?award . }
  OPTIONAL { ?person wdt:P570 ?deathDate . }
}

Who are the female humans whose profession is a physicist or a subclass of physicist, and what are their birth details, awards, and death dates?

List all female human physicists along with their optional birth date, birth place, awards received, and death date.

SELECT ?var1 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/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q169470> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } }


Question: What are the Twitter usernames for Bank of America and HSBC on Wikidata?

SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { "BankofAmerica" "HSBC" } }

Can you find the X (Twitter) accounts for Bank of America and HSBC?

Which organizations have Twitter handles "BankofAmerica" and "HSBC"?

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


Question: German labels of values associated with Lars Windhorst and their images

SELECT ?property ?value ?valueLabel ?image WHERE { wd:Q106277 ?property ?value . ?value rdfs:label ?valueLabel . FILTER (LANG(?valueLabel) = "de") OPTIONAL { ?value wdt:P18 ?image } } ORDER BY ?property ?value LIMIT 200

What are the German-language descriptions of Lars Windhorst's attributes, and do any have associated images?

Show me all the things about Lars Windhorst that have German labels, along with any images of those things.

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/Q106277> AS ?var3 ). BIND ( "N/A" AS ?var1 ). BIND ( "identity"@en AS ?var2Label ). } UNION { <http://www.wikidata.org/entity/Q106277> ?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 . FILTER ( ( ( LANG ( ?var4Label ) = "de" ) ) ) . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var5 . } FILTER ( ( ( LANG ( ?var2Label ) = "de" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 ) LIMIT 200


Question: Which Wikidata items have Twitter usernames like wikidata, nightrose, essec, or UNESCO_fr?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "wikidata" "nightrose" "essec" "datagouvfr" "framawiki" "PSEinfo" "ENS" "efFRONTees" "BFelbo" "dirk_hovy" "fnielsen" "Ludovic_P_" "ALeaument" "PoulpyWP" "icse2018" "ieee_re" "mySociety" "CDN77com" "lully1804" "UNESCO_fr" "Unesco_fr" "0x010C" "petitroll" "bcombemale" "jmbruel" "EP_Legal" "Wikipedia" "Wikimedia" } }

What are the Wikidata entities associated with the Twitter handles 'wikidata', 'nightrose', 'essec', 'datagouvfr', and 'UNESCO_fr'?

List all Wikidata items that are linked to the Twitter accounts: wikidata, nightrose, essec, datagouvfr, framawiki, PSEinfo, ENS, efFRONTees, BFelbo, dirk_hovy, fnielsen, Ludovic_P_, ALeaument, PoulpyWP, icse2018, ieee_re, mySociety, CDN77com, lully1804, UNESCO_fr, Unesco_fr, 0x010C, petitroll, bcombemale, jmbruel, EP_Legal, Wikipedia, and Wikimedia.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "LesAFFs" ) ( "string4" ) ( "UNESCO_fr" ) ( "string5" ) ( "string6" ) ( "Wikipedia" ) ( "Wikimedia" ) ( "Unesco_fr" ) ( "lully1804" ) ( "CDN77com" ) ( "string7" ) ( "firefox" ) ( "string8" ) ( "EP_Legal" ) ( "mySociety" ) ( "string9" ) ( "string10" ) ( "bcombemale" ) ( "string11" ) ( "jmbruel" ) ( "petitroll" ) ( "ieee_re" ) ( "icse2018" ) ( "string12" ) ( "string13" ) ( "PoulpyWP" ) ( "Ludovic_P_" ) ( "string14" ) ( "ALeaument" ) ( "K_rho" ) ( "string15" ) ( "string16" ) ( "ESSEC_PGC" ) ( "string17" ) ( "string18" ) ( "essec" ) ( "string19" ) ( "string20" ) ( "framawiki" ) ( "0x010C" ) ( "string21" ) ( "string22" ) ( "PSEinfo" ) ( "ENS" ) ( "string23" ) ( "datagouvfr" ) ( "string24" ) ( "string25" ) ( "RatZillaS" ) ( "string26" ) ( "string27" ) ( "stophdr" ) ( "efFRONTees" ) ( "string28" ) ( "string29" ) ( "Wikinade" ) ( "fnielsen" ) ( "string30" ) ( "dirk_hovy" ) ( "string31" ) ( "BFelbo" ) ( "wikidata" ) ( "nightrose" ) ( "string32" ) } } ORDER BY ASC( ?var3 )


Question: Where was An de Ryck born?

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 ?birthPlace ?birthPlaceLabel WHERE {
  wd:Q27894668 wdt:P19 ?birthPlace .
  ?birthPlace rdfs:label ?birthPlaceLabel .
  FILTER(LANG(?birthPlaceLabel) = "en")
}
LIMIT 50

English name of the birthplace of An de Ryck

Tell me the English label of the city where An de Ryck was born.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q27894668> <http://www.wikidata.org/prop/direct/P19> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } LIMIT 50


Question: Who are the researchers affiliated with the Section for Dynamical Systems at DTU, and how many publications have they authored, sorted by most productive first?

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 ?person ?personLabel ?orcid ?birthDate ( COUNT( ?work ) AS ?workCount ) WHERE {
  ?person ( wdt:P108 | wdt:P463 | wdt:P1416 / wdt:P361 * ) wd:Q24730926 .
  OPTIONAL {
    ?work wdt:P50 ?person .
  }
  OPTIONAL {
    ?person rdfs:label ?personLabel .
    FILTER ( LANG( ?personLabel ) = "en" )
  }
  OPTIONAL {
    ?person wdt:P496 ?orcid .
  }
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
}
GROUP BY ?person ?personLabel ?orcid ?birthDate
ORDER BY DESC ( ?workCount )

List the authors linked to the Section for Dynamical Systems, including their ORCID IDs and birth dates, ordered by the number of works they’ve written.

Show the members of the Dynamical Systems research group, their English labels, ORCIDs, birth dates, and publication counts, ranked from highest to lowest publication count.

SELECT( SAMPLE ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( MAX ( ?var4 ) AS ?var5 ) ?var6 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT( COUNT ( ?var7 ) AS ?var1 ) ?var3 WHERE { { SELECT DISTINCT ?var3 WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P108> | <http://www.wikidata.org/prop/direct/P463> ) <http://www.wikidata.org/entity/Q24730926> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P1416> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q24730926> . } } } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P50> ?var3 . } } GROUP BY ?var3 } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var8 ) AS ?var4 ). ?var3 <http://www.wikidata.org/prop/direct/P569> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P496> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,nl,no,ru,sv,zh". } } GROUP BY ?var3 ?var3Label ?var6 ORDER BY DESC( ?var2 )


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

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?wikipedia_page ?imdb_id WHERE {
  ?item wdt:P345 ?imdb_id .
  ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang .
  FILTER(?lang = "en" || ?lang = "de")
  FILTER(?imdb_id = "tt1177939")
}

Find the Wikipedia article in English or German about the film identified by tt1177939 on IMDb.

Which Wikipedia pages in English or German are linked to the movie with IMDb identifier tt1177939?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1177939". } ?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 Wikidata items that have Twitter accounts with the usernames NSArchive, nytimes, outreachy, ProPublica, UNC, or Wikipedia?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "NSArchive" "nytimes" "outreachy" "ProPublica" "UNC" "Wikipedia" } }

Which organizations or projects on Wikidata are associated with these Twitter handles: NSArchive, nytimes, outreachy, ProPublica, UNC, and Wikipedia?

List the entities on Wikidata linked to the Twitter accounts @NSArchive, @nytimes, @outreachy, @ProPublica, @UNC, and @Wikipedia.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "Raystede" ) ( "string1" ) ( "string2" ) ( "string3" ) ( "MarinaCpom" ) ( "nytimes" ) ( "BodCons" ) ( "string4" ) ( "ash_crow" ) ( "haxpett" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "Wikidata" ) ( "string11" ) ( "string12" ) ( "Inatheque1" ) ( "jessamyn" ) ( "string13" ) ( "HannaJson" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "Wikipedia" ) ( "string18" ) ( "ProPublica" ) ( "NSArchive" ) ( "string19" ) ( "GopherCon" ) ( "string20" ) ( "string21" ) ( "string22" ) ( "afek_ben" ) ( "Carthagina" ) ( "string23" ) ( "string24" ) ( "Rosiestep" ) ( "string25" ) ( "string26" ) ( "outreachy" ) ( "string27" ) ( "matka" ) ( "archasa" ) ( "string28" ) ( "dimi_z" ) ( "string29" ) ( "string30" ) ( "uncpress" ) ( "UNC" ) ( "string31" ) ( "string32" ) ( "string33" ) ( "string34" ) ( "SpectrumDH" ) ( "string35" ) ( "string36" ) ( "Auregann" ) ( "ProgHist" ) ( "omeka" ) ( "j0_0n" ) ( "JuliaLaite" ) ( "HistoryWO" ) ( "string37" ) ( "garyyounge" ) ( "KateOsamor" ) ( "Gr3taD" ) ( "string38" ) ( "string39" ) ( "string40" ) } } ORDER BY ASC( ?var3 )


Question: Cast members of the film The Young Girls of Rochefort (1967)

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 ?actor ?actorLabel WHERE {
  wd:Q1214975 wdt:P161 ?actor .
  ?actor rdfs:label ?actorLabel .
  FILTER ( LANG( ?actorLabel ) = "en" )
}

Who starred in the 1967 musical film The Young Girls of Rochefort?

List the actors and actresses who appeared in The Young Girls of Rochefort.

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


Question: Most recent municipal elections in Japan, with dates.

SELECT ?election ?label WHERE { ?election wdt:P31 wd:Q152450 . ?election wdt:P17 wd:Q17 . ?election wdt:P585 ?date . ?election rdfs:label ?label . FILTER(LANG(?label) = "en") } ORDER BY DESC(?date)

What are the municipal elections in Japan, ordered from most recent to oldest?

List the English labels of all municipal elections in Japan, sorted by date in descending order (most recent first).

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q152450> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q17> . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ja,en". } } ORDER BY DESC( ?var2 )


Question: What are the chemical identifiers for Azeliragon, including CAS number, SMILES, InChI, formula, PubChem CID, and DrugBank ID?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?value WHERE {
  VALUES ?drug {
    wd:Q27074825
  }
  VALUES ?property {
    wdt:P274 wdt:P231 wdt:P233 wdt:P234 wdt:P235 wdt:P715 wdt:P662 wdt:P592 wdt:P2275 wdt:P486
  }
  ?drug ?property ?value .
  FILTER(isIRI(?value) || LANG(?value) = "en" || LANG(?value) = "")
}

Can you list the key chemical and pharmacological identifiers for the drug Azeliragon, such as its CAS number, SMILES structure, InChI, molecular formula, PubChem CID, and DrugBank ID?

Please provide the standard chemical identifiers for Azeliragon, including its CAS Registry Number, canonical SMILES, InChI, InChIKey, molecular formula, PubChem CID, and DrugBank ID.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q27074825> ) } VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P274> ) ( <http://www.wikidata.org/prop/direct/P231> ) ( <http://www.wikidata.org/prop/direct/P662> ) ( <http://www.wikidata.org/prop/direct/P661> ) ( <http://www.wikidata.org/prop/direct/P592> ) ( <http://www.wikidata.org/prop/direct/P715> ) ( <http://www.wikidata.org/prop/direct/P683> ) ( <http://www.wikidata.org/prop/direct/P665> ) ( <http://www.wikidata.org/prop/direct/P233> ) ( <http://www.wikidata.org/prop/direct/P2017> ) ( <http://www.wikidata.org/prop/direct/P234> ) ( <http://www.wikidata.org/prop/direct/P235> ) ( <http://www.wikidata.org/prop/direct/P652> ) ( <http://www.wikidata.org/prop/direct/P595> ) ( <http://www.wikidata.org/prop/direct/P3636> ) ( <http://www.wikidata.org/prop/direct/P232> ) ( <http://www.wikidata.org/prop/direct/P2275> ) ( <http://www.wikidata.org/prop/direct/P3350> ) ( <http://www.wikidata.org/prop/direct/P267> ) ( <http://www.wikidata.org/prop/direct/P2892> ) ( <http://www.wikidata.org/prop/direct/P3345> ) ( <http://www.wikidata.org/prop/direct/P486> ) ( <http://www.wikidata.org/prop/direct/P2115> ) ( <http://www.wikidata.org/prop/direct/P3780> ) ( <http://www.wikidata.org/prop/direct/P3776> ) ( <http://www.wikidata.org/prop/direct/P3777> ) ( <http://www.wikidata.org/prop/direct/P3771> ) ( <http://www.wikidata.org/prop/direct/P129> ) ( <http://www.wikidata.org/prop/direct/P3489> ) ( <http://www.wikidata.org/prop/direct/P2868> ) ( <http://www.wikidata.org/prop/direct/P2175> ) ( <http://www.w3.org/2004/02/skos/core#altLabel> ) } OPTIONAL { ?var1 ?var2 ?var3 . FILTER ( ( isIRI ( ?var3 ) || ( LANG ( ?var3 ) = "en" ) || ( LANG ( ?var3 ) = "" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } }


Question: Title and screenwriters of The Lord of the Rings: The Fellowship of the Ring

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 ?title ?screenwriter ?screenwriterLabel WHERE {
  wd:Q127367 wdt:P1476 ?title .
  wd:Q127367 wdt:P58 ?screenwriter .
  ?screenwriter rdfs:label ?screenwriterLabel .
  FILTER ( LANG( ?screenwriterLabel ) = "en" )
}

Who wrote the screenplay for The Lord of the Rings: The Fellowship of the Ring, and what is its title?

List the screenwriters and the title of the 2001 film The Lord of the Rings: The Fellowship of the Ring.

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


Question: What properties link "county town" to other entities, and what are those entities in English?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?propertyLabel ?property ?object ?objectLabel WHERE {
  wd:Q1357964 ?property ?object .
  ?propertyEntity wikibase:directClaim ?property .
  ?propertyEntity rdfs:label ?propertyLabel .
  ?object rdfs:label ?objectLabel .
  FILTER ( LANG( ?objectLabel ) = "en" ) FILTER ( LANG( ?propertyLabel ) = "en" ) FILTER ( ?property != wdt:P1963 )
}
LIMIT 10

What are the English labels of the properties and objects connected to "county town" in Wikidata, excluding "has part"?

Show me the English-labeled properties and their connected entities for "county town", excluding the "has part" relationship.

SELECT ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { <http://www.wikidata.org/entity/Q1357964> ?var4 ?var3 . ?var2 ?var5 ?var4 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . <http://www.wikidata.org/entity/Q1357964> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . FILTER ( ( ( ?var4 != <http://www.wikidata.org/prop/direct/P1963> ) ) ) . } LIMIT 10


Question: Cast members of The Lord of the Rings: The Fellowship of the Ring

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 ?actor ?actorLabel WHERE {
  wd:Q127367 wdt:P161 ?actor .
  ?actor rdfs:label ?actorLabel .
  FILTER ( LANG( ?actorLabel ) = "en" )
}
LIMIT 100

Who are the actors in the 2001 film The Lord of the Rings: The Fellowship of the Ring?

List the English names of all actors who appeared in The Lord of the Rings: The Fellowship of the Ring.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } <http://www.wikidata.org/entity/Q127367> <http://www.wikidata.org/prop/direct/P161> ?var1 . <http://www.wikidata.org/entity/Q127367> ( <http://www.wikidata.org/prop/direct/P161> / <http://www.wikidata.org/prop/direct/P453> *) ?var2 . } LIMIT 100


Question: Title and English description of MoMA artwork with ID 108032

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?description WHERE {
  ?item wdt:P2014 "108032" .
  OPTIONAL {
    ?item wdt:P1476 ?itemLabel .
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

What is the title and English description of the MoMA artwork with ID 108032?

Please provide the title and English description of the artwork in the Museum of Modern Art identified by the ID 108032.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2014> "108075". 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 entities are associated with the PM20 folder ID "co/065520", and what are their English labels and descriptions?

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:P4293 "co/065520" .
  OPTIONAL {
    ?item rdfs:label ?label .
    FILTER ( LANG( ?label ) = "en" )
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

Can you tell me the English name and description of the item linked to the ZBW press archive folder "co/065520"?

Show me the English label and description for the topic identified by the PM20 folder ID "co/065520".

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4293> "co/065520". 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: Is there a person in Wikidata with the IMDb ID nm0755586?

ASK WHERE { ?item wdt:P345 "nm0755586" . }

Does the IMDb profile nm0755586 correspond to an entry in Wikidata?

Does Wikidata contain information about the person identified by IMDb ID nm0755586?

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


Question: What is the name of the Grade II listed monument located near the Church of St Bartholomew in Corsham?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?monumentLabel WHERE {
  wd:Q26272851 rdfs:label ?monumentLabel FILTER ( LANG( ?monumentLabel ) = 'en' )
}

Can you tell me the English label for the monument with Wikidata ID Q26272851?

What does the monument at ST8745970614 in Wiltshire, UK, called?

SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q26272851> AS ?var2 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Is 360 Safeguard a human or a subclass of a human?

Can 360 Safeguard be classified as a human through its type or subclass hierarchy?

Determine whether 360 Safeguard belongs to the category of humans, including via any intermediate class relationships.

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


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

SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 "tt0409947" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

Show me the Wikipedia articles in English and German about the film identified by tt0409947 on IMDb.

Which Wikipedia pages in English or German describe the movie Face (2004)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0409947". } ?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 tt0078437?

SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 "tt0078437" . ?wikipediaPage schema:about ?movie . VALUES ?lang { "en" "de" } ?wikipediaPage schema:inLanguage ?lang . }

Can you show me the Wikipedia articles in English and German about the film identified by tt0078437 on IMDb?

Which Wikipedia pages in English and German discuss the movie "Ultimo mondo cannibale"?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0078437". } ?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 geographic features did Mikhail Lazarev discover?

SELECT ?discovery ?discoveryLabel WHERE { ?discovery wdt:P61 wd:Q186203 . ?discovery rdfs:label ?discoveryLabel . FILTER(LANG(?discoveryLabel) = "en")}

Which places were discovered by the Russian explorer Mikhail Lazarev?

List the discoveries attributed to Mikhail Lazarev, the 19th-century Russian naval commander.

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


Question: List all measuring instruments and their subclasses in Wikidata with English labels.

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

What are all the known measuring instruments and their subtypes in Wikidata, along with their English names?

Please provide a list of all items classified as measuring instruments or any of their subclasses, including their English labels.

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


Question: Theatrical productions with IMDb or IBDB IDs and their English names

SELECT DISTINCT ?item ?itemLabel (COUNT(?identifier) AS ?identifierCount) WHERE { ?item (wdt:P31/(wdt:P279)*) wd:Q7777570 . ?item ?prop ?identifier . FILTER(?prop IN (wdt:P345, wdt:P1559, wdt:P213, wdt:P1220, wdt:P268, wdt:P1315, wdt:P1365, wdt:P1417)) ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } GROUP BY ?item ?itemLabel LIMIT 100

What are the English names of theatrical productions that have at least one identifier like an IMDb or IBDB ID, and how many identifiers do they have?

List the English labels of all theatrical productions (including their subclasses) that have any known identifier such as IMDb, ISNI, or IBDB, along with the count of identifiers per production.

SELECT DISTINCT ?var1 ?var2 ?var1Label 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/Q7777570> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7777570> . } ?var1 <http://wikiba.se/ontology#identifiers> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } LIMIT 100


Question: Albert Einstein's literal properties and values

SELECT ?property ?value WHERE { wd:Q937 ?property ?value . FILTER (isLiteral(?value)) } LIMIT 10

What are some literal properties and their values associated with Albert Einstein?

Show me up to 10 literal attributes (like descriptions or dates) of Albert Einstein.

SELECT * WHERE { ?var1 ?var2 ?var3 . FILTER ( ( REGEX ( STR ( ?var1 ) , "statement" ) ) ) . } LIMIT 200000


Question: What is the English label of the main Wikimedia category for machine learning?

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 ?category ?label WHERE {
  wd:Q2539 wdt:P910 ?category .
  ?category rdfs:label ?label .
  FILTER(LANG(?label) = "en")
}
LIMIT 50

Main Wikimedia category label for machine learning in English

Can you tell me the English name of the Wikimedia category that machine learning belongs to?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q2539> <http://www.wikidata.org/prop/direct/P910> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } LIMIT 50


Question: What properties are used to describe events that occurred in November 2013?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?property WHERE {
  ?item wdt:P585 ?date .
  FILTER ( ?date >= "2013-11-01T00:00:00Z" ^^ xsd:dateTime && ?date <= "2013-11-30T23:59:59Z" ^^ xsd:dateTime ) .
  ?item ?property ?value .
}

Which properties describe items that happened in November 2013?

List all properties associated with events that took place during November 2013.

SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q3039153> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the French label and description of the 17th century?

SELECT ?label ?description WHERE { wd:Q7016 rdfs:label ?label . wd:Q7016 schema:description ?description . FILTER(LANG(?label) = "fr") FILTER(LANG(?description) = "fr") }

How is the 17th century called and described in French on Wikidata?

Show me the French name and definition of the 17th century.

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/Q7016> . ?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 ) = "fr" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "fr" ) ) ) . } LIMIT 100


Question: Who is the French historian named Antoine Destemberg?

SELECT DISTINCT ?person WHERE { ?person rdfs:label "Antoine Destemberg"@fr . ?person wdt:P31 wd:Q5 .}

What human entity has the French label "Antoine Destemberg"?

Can you find the person called Antoine Destemberg in French?

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


Question: Which organizations have Twitter accounts and the fewest Wikipedia language editions? (NASA, CERN)

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . ?site schema:about ?item ; schema:isPartOf ?wiki . VALUES ?username { "NASA" "CERN" } } GROUP BY ?item ?username ORDER BY ASC(COUNT(?site))

What are the Twitter usernames of organizations like NASA and CERN, sorted by how many Wikipedia language versions they have?

Show me the Twitter handles for NASA and CERN, ordered by the number of Wikipedia language sites they appear on, from least to most.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "raa_se" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) } } ORDER BY ASC( ?var3 )


Question: What is the English name of the place with GeoNames ID 10671246?

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

Which place in the world has the GeoNames identifier 10671246, and what is its English name?

Please provide the English label for the geographical entity identified by GeoNames ID 10671246.

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


Question: People who are members of political parties, their countries, and party names in English.

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 ?personLabel ?partyLabel ?countryLabel WHERE {
  ?person wdt:P102 ?party .
  ?party wdt:P31 wd:Q7278 .
  ?person wdt:P17 ?country .
  ?person rdfs:label ?personLabel .
  ?party rdfs:label ?partyLabel .
  ?country rdfs:label ?countryLabel .
  FILTER ( LANG( ?personLabel ) = "en" ) FILTER ( LANG( ?partyLabel ) = "en" ) FILTER ( LANG( ?countryLabel ) = "en" )
}
LIMIT 100

Which people are members of political parties, what parties do they belong to, and which countries are they from?

List the names of politicians, the political parties they belong to, and their countries, all in English.

SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label ?var3Label WHERE { ?var5 <http://www.wikidata.org/prop/direct/P2561> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P17> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q1686000> . ?var5 <http://www.wikidata.org/prop/direct/P102> ?var3 . } LIMIT 100


Question: Fancy pigeon breeds with EE breed numbers and French labels and descriptions.

SELECT ?breed ?breedLabel ?breedDescription WHERE { ?breed wdt:P303 ?breedNumber . ?breed rdfs:label ?breedLabel . ?breed schema:description ?breedDescription . FILTER (LANG(?breedLabel) = "fr") . FILTER (LANG(?breedDescription) = "fr") . } LIMIT 100

What are the French names and descriptions of fancy pigeon breeds that have an EE breed identification number?

List up to 100 fancy pigeon breeds that have a breed number in the EE list, along with their French labels and descriptions.

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


Question: What are the tennis event types, their associated tournament editions, and the specific event instances, excluding those that are tournament editions or general tournaments?

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 ?eventClass ?eventClassLabel ?tournamentEdition ?tournamentEditionLabel ?eventInstance WHERE {
  ?eventClass(wdt:P31 / wdt:P279 *) wd:Q46190676 .
  ?tournamentEdition ^ wdt:P361 ?eventClass .
  OPTIONAL {
    ?tournamentEdition wdt:P31 ?eventInstance .
  } MINUS {
    ?eventInstance wdt:P279 * wd:Q47345468 .
  } MINUS {
    ?eventInstance wdt:P279 * wd:Q13219666 .
  }
  ?eventInstance wdt:P279 * wd:Q46190676 .
  ?eventClass rdfs:label ?eventClassLabel .
  ?tournamentEdition rdfs:label ?tournamentEditionLabel .
  ?eventInstance rdfs:label ?eventInstanceLabel .
  FILTER(LANG(?eventClassLabel) = "en")
  FILTER(LANG(?tournamentEditionLabel) = "en")
  FILTER(LANG(?eventInstanceLabel) = "en")
}

Show me the tennis event categories, the tournaments they belong to, and the event instances, but only if the event instance is a type of tennis event and not a tournament or tournament edition.

List tennis event types, the tournament editions they are part of, and the event instances, filtering out any event instances that are tournament editions or tennis tournaments.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q46190676> . ?var2 ^ <http://www.wikidata.org/prop/direct/P361> ?var1 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . } MINUS { ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q47345468> . } MINUS { ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q13219666> . } ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q46190676> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Humans with the surname Kaplan in French.

SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = "fr") . FILTER(CONTAINS(LCASE(?label), "kaplan")) . ?person wdt:P31 wd:Q5 . }

Who are the people named Kaplan in French-speaking contexts?

List all humans whose French name includes "Kaplan".

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


Question: Humans born in 1950 with no children.

SELECT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P569 ?birthDate . FILTER(YEAR(?birthDate) = 1950) . MINUS { ?human wdt:P40 [] . } }

Who are the humans born in 1950 who have no children?

List all people born in 1950 who do not have any children.

SELECT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru,en". } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { } OPTIONAL { } ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q18597> . }


Question: What places in northern Iraq near 32°N, 47°E have images, Commons categories, or street addresses?

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/>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE {
  ?item wdt:P17 wd:Q796 .
  ?item wdt:P625 ?coord .
  FILTER(geof:latitude(?coord) >= 31 && geof:latitude(?coord) <= 33)
  FILTER(geof:longitude(?coord) >= 46 && geof:longitude(?coord) <= 48)
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
  OPTIONAL {
    ?item wdt:P373 ?commonsCategory .
  }
  OPTIONAL {
    ?item wdt:P969 ?address .
  }
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}
LIMIT 100

Show me locations in Iraq between 31–33°N and 46–48°E, along with their images, Wikimedia Commons categories, and addresses.

Find archaeological sites and locations in the region of 32°N, 47°E in Iraq and include any available photos, Commons categories, or physical addresses.

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(32 47)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(32 47)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } 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: Members of U.S. Congress with occupations not in the field of politics, along with their family names.

SELECT DISTINCT ?person ?occupationLabel WHERE { ?person wdt:P734 ?familyName . ?person wdt:P102 ?party . ?person wdt:P39 wd:Q14761450 . ?person wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = "en") MINUS { ?occupation wdt:P101 wd:Q7163 . } } LIMIT 1000

Who are the members of Congress whose occupations are not related to politics, and what are their professions?

List the occupations of U.S. congress members that are not in the field of politics, along with their names.

SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P102> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q14761450> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . MINUS { ?var2 <http://www.wikidata.org/prop/direct/P425> <http://www.wikidata.org/entity/Q7163> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 1000


Question: Rivers and streams that flow into the St. Lawrence River but not its estuary.

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 ?var1 ?var1Label WHERE {
  ?var1 wdt:P403 wd:Q134750 .
  ?var1 wdt:P31 wd:Q355304 .
  FILTER(NOT EXISTS {
    ?var1 wdt:P403 wd:Q3059074 .
  })
  ?var1 rdfs:label ?var1Label .
  FILTER(LANG(?var1Label) = "en")
}

Which waterbodies drain directly into the St. Lawrence River, excluding those that flow into its estuary?

List all English-named tributaries of the St. Lawrence River that do not empty into its estuary.

SELECT ?var1 ?var1Label ?var2 WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q134750> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q842881> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q3215178> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q175828> . } ?var1 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q134750> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q3059074> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } }


Question: Rivers flowing into the St. Lawrence River, Lake Saint Pierre, Lac Saint-Louis, or Lake Saint Francis, but not into its estuary.

SELECT ?river ?riverLabel WHERE {
  {
    ?river wdt:P403 wd:Q134750 .  # St. Lawrence River
  } UNION {
    ?river wdt:P403 wd:Q842881 .  # Lake Saint Pierre
  } UNION {
    ?river wdt:P403 wd:Q22352699 . # Lake Saint Francis
  } UNION {
    ?river wdt:P403 wd:Q175828 .  # Lac Saint-Louis
  }
  FILTER NOT EXISTS { ?river wdt:P403 wd:Q3059074 . }
  OPTIONAL { ?river rdfs:label ?riverLabel }
}

Which rivers and streams flow into the St. Lawrence River or its connected lakes, excluding those that drain into the estuary?

List all watercourses that feed into the St. Lawrence River system (including Lake Saint Pierre, Lac Saint-Louis, and Lake Saint Francis), but not the estuary, along with their names in any language.

SELECT ?var1 ?var1Label ?var2 WHERE { { ?var3 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q134750> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q842881> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q3215178> . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q175828> . } ?var1 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q134750> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P403> <http://www.wikidata.org/entity/Q3059074> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } }


Question: Humans with first name Assane in French labels

SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = "fr") . FILTER(STRSTARTS(?label, "Assane ")) . ?person wdt:P31 wd:Q5 }

Who are the people named Assane whose names are written in French?

List all humans whose French-language name starts with "Assane".

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


Question: Actors and characters from The Lord of the Rings trilogy, with character types that are Middle-earth races.

SELECT DISTINCT ?actor ?actorLabel ?character ?characterLabel ?characterType ?characterTypeLabel WHERE { ?film wdt:P179 wd:Q190214 . ?film p:P161 ?castStatement . ?castStatement ps:P161 ?actor . ?castStatement pq:P453 ?character . ?character wdt:P31 ?characterType . ?characterType wdt:P31 wd:Q989255 . OPTIONAL { ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = "en") } OPTIONAL { ?character rdfs:label ?characterLabel . FILTER(LANG(?characterLabel) = "en") } OPTIONAL { ?characterType rdfs:label ?characterTypeLabel . FILTER(LANG(?characterTypeLabel) = "en") } } LIMIT 100

Who are the actors and the characters they played in The Lord of the Rings films, and what type of Middle-earth race is each character?

List all actors, the characters they portrayed, and the classification of those characters as Middle-earth races in The Lord of the Rings trilogy, with English labels.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } ?var5 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q190214> . ?var5 <http://www.wikidata.org/prop/P161> ?var6 . ?var6 <http://www.wikidata.org/prop/qualifier/P453> ?var2 . ?var6 <http://www.wikidata.org/prop/statement/P161> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P31> ?var3 . <http://www.wikidata.org/entity/Q74359> <http://www.wikidata.org/prop/direct/P373> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q989255> . } LIMIT 100


Question: Which Wikidata item has the Twitter username "Snowden"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "Snowden"
  }
}

Who is the person on Wikidata with the Twitter handle Snowden?

Show me the Wikidata entity linked to the Twitter account @Snowden.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "fagerving" ) ( "oatweet" ) ( "Snowden" ) ( "Citizenlab" ) ( "jonnysun" ) ( "string1" ) ( "string2" ) ( "string3" ) } } ORDER BY ASC( ?var3 )


Question: Who are the people that have lived in Palaiseau?

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

Can you list the individuals associated with Palaiseau as their place of residence?

Which people have Palaiseau as their residence according to Wikidata?

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/Q205580> ; <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> "4"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P551> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P551> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who were born in January 1976?

SELECT DISTINCT ?person WHERE { ?person wdt:P569 ?birthDate . FILTER ( ?birthDate >= "1976-01-01T00:00:00Z"^^xsd:dateTime && ?birthDate <= "1976-01-31T23:59:59Z"^^xsd:dateTime ) } LIMIT 100

Can you list people who were born in January 1976?

Show me up to 100 individuals with a birth date in January 1976.

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


Question: Which Wikidata items are associated with the Twitter/X usernames Wittylama, envlh, mrlogix, PACKEDvzw, sadads, wikidata, and Wikipedia?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "Wittylama" "envlh" "mrlogix" "PACKEDvzw" "sadads" "wikidata" "Wikipedia"
  }
}

Who are the people or organizations on Wikidata that have the Twitter handles Wittylama, envlh, mrlogix, PACKEDvzw, sadads, wikidata, and Wikipedia?

Please list the Wikidata entities for the following Twitter/X usernames: Wittylama, envlh, mrlogix, PACKEDvzw, sadads, wikidata, and Wikipedia.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "Wittylama" ) ( "string2" ) ( "wikidata" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "abiatus" ) ( "WikiDigi" ) ( "NukeyTime" ) ( "string7" ) ( "string8" ) ( "glamwiki" ) ( "sadads" ) ( "Wikidata" ) ( "_masaka" ) ( "PACKEDvzw" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "Wikipedia" ) ( "string13" ) ( "meenyo" ) ( "mrlogix" ) ( "datagoid" ) ( "suisui_wm" ) ( "GasnCoal" ) ( "TabsTerror" ) ( "envlh" ) ( "string14" ) } }


Question: Universities in Germany with their coordinates and official websites.

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 ?label ?website ?coordinates WHERE {
  ?university ( wdt:P31 / wdt:P279 * ) wd:Q3918 .
  ?university wdt:P17 wd:Q183 .
  ?university wdt:P625 ?coordinates .
  OPTIONAL {
    ?university wdt:P856 ?website .
  }
  ?university rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}
LIMIT 10

What are the names, locations, and official websites of universities in Germany?

Show me the English names, geographic coordinates, and official websites (if available) of all universities and their subclasses located in Germany.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3918> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,de". } } LIMIT 10


Question: Does Transfermarkt have a player with ID 113775?

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

Is there a football player in Wikidata who has the Transfermarkt ID 113775?

Confirm if the Transfermarkt ID 113775 corresponds to a known football player in Wikidata.

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


Question: What are the official names of cities in Germany?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?city ?officialName WHERE {
  ?city wdt:P31 / wdt:P279 * wd:Q515 .
  ?city wdt:P131 wd:Q183 .
  ?city wdt:P1448 ?officialName .
}

Can you list the official names of all cities located in Germany?

Which cities in Germany have official names recorded in Wikidata, and what are they?

SELECT ?var1 ?var2 WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var3 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q220> . ?var3 <http://www.wikidata.org/prop/direct/P1448> ?var4 . OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,de". } }


Question: What is the image of the person with SNAC ARK ID w6q56ptc?

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

Can you find the Wikimedia Commons image for Isaac Deutscher using his SNAC ARK ID?

Show me the image associated with the Social Networks and Archival Context identifier w6q56ptc.

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


Question: List Pokémon species with their Bulbapedia article IDs.

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 ?pokemon ?label ?bulbapediaId WHERE {
  ?pokemon wdt:P31 / wdt:P279 * wd:Q3966183 .
  OPTIONAL {
    ?pokemon wdt:P4845 ?bulbapediaId
  }
  .
  ?pokemon rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}
LIMIT 100

Which Pokémon species have Bulbapedia IDs, and what are those IDs?

Show me the names of all Pokémon species and their corresponding Bulbapedia article links.

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


Question: Is Umbrello a type of software?

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

Does Umbrello belong to the category of software through its class hierarchy?

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


Question: Image of the person with SNAC ARK ID w6f29nwg

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

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

Show me the Wikimedia Commons image for the entity identified by the SNAC ARK ID w6f29nwg.

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


Question: What media works feature the comic strip character Garfield?

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:P674 wd:Q767120 .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}

Which TV shows, movies, or games include Garfield as a character?

Can you list all the works where Garfield appears as a character, along with their English names?

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 ?var2 ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P674> <http://www.wikidata.org/entity/Q767120> . }


Question: Who has the IMDb ID nm0199287?

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

Which person on Wikidata is identified by the IMDb identifier nm0199287?

Tell me the Wikidata entity for the IMDb profile nm0199287.

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


Question: Is there a cartoon in Wikidata with Big Cartoon Database ID 23390?

Does the animated film 'We're Back! A Dinosaur's Story' have the BCDB ID 23390 in Wikidata?

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


Question: Gene and protein encoded by CT_079 locus tag in Chlamydia trachomatis.

SELECT ?gene ?protein WHERE { ?taxon wdt:P685 "272561" . ?gene wdt:P2393 "CT_079" ; wdt:P703 ?taxon ; wdt:P688 ?protein . }

What gene and protein are associated with the NCBI locus tag CT_079 in Chlamydia trachomatis?

Show me the gene item and the protein it encodes for the CT_079 locus tag in the bacterium Chlamydia trachomatis.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P685> "272561". ?var1 <http://www.wikidata.org/prop/direct/P2393> "CT_079"; <http://www.wikidata.org/prop/direct/P703> ?var3 ; <http://www.wikidata.org/prop/direct/P688> ?var2 . }


Question: What properties are used to describe José García-Margallo y Marfil in Wikidata?

SELECT DISTINCT ?directProperty WHERE { wd:Q58095 ?statementProperty ?value . ?directProperty wikibase:directClaim ?statementProperty .}

Which direct properties (like occupation or citizenship) are associated with the Spanish politician José García-Margallo y Marfil?

List all the direct claims (e.g., wdt:P106, wdt:P27) that are used for José García-Margallo y Marfil in Wikidata.

SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q58095> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What properties are used to describe Matthew Barzun on Wikidata?

SELECT DISTINCT ?property WHERE { wd:Q5566787 ?property ?value . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/")) }

What facts are known about Matthew Barzun in Wikidata?

List all the direct properties that have values for Matthew Barzun in Wikidata.

SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q5566787> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Is there a cartoon in Wikidata with the BCDB ID 92030?

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

Does the Big Cartoon Database ID 92030 exist in Wikidata?

Which animated film has the BCDB ID 92030?

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


Question: What are the English labels of the types that the Wikimedia Foundation is an instance of?

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 ?type ?typeLabel WHERE {
  wd:Q4167836 wdt:P31 ?type .
  ?type rdfs:label ?typeLabel .
  FILTER ( LANG( ?typeLabel ) = "en" )
}
LIMIT 50

Show me the categories (in English) that the Wikimedia Foundation belongs to.

What classes does the Wikimedia Foundation belong to, and what are their English names?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q4167836> <http://www.wikidata.org/prop/direct/P31> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } LIMIT 50


Question: What is the English or German Wikipedia page for the documentary with IMDb ID tt7983844?

SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 "tt7983844" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { "en" "de" } }

Which Wikipedia articles in English or German are about the film with IMDb identifier tt7983844?

Show me the Wikipedia links in English or German for the movie Take Your Pills, identified by its IMDb ID tt7983844.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt7983844". } ?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 Wikipedia articles are about the movie with IMDb ID tt7689052?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?article WHERE {
  ?movie wdt:P345 "tt7689052" .
  ?article schema:about ?movie ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" ) FILTER ( STRSTARTS( STR( ?article ) , "https://en.wikipedia.org/" ) || STRSTARTS( STR( ?article ) , "https://de.wikipedia.org/" ) )
}

Is there a German or English Wikipedia page for the movie "Daphne & Velma" (IMDb: tt7689052)?

Show me the Wikipedia articles in English or German related to the movie identified by IMDb ID tt7689052.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt7689052". } ?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: Gene with NCBI locus tag CT_868 in Chlamydia trachomatis and its encoded protein.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?gene ?product WHERE {
  ?taxon wdt:P685 "272561" .
  ?gene wdt:P2393 "CT_868" ; wdt:P703 ?taxon ; wdt:P688 ?product .
}

What protein is encoded by the gene with NCBI locus tag CT_868 in the bacterium with taxonomy ID 272561?

Show me the gene labeled CT_868 in Chlamydia trachomatis and the protein it encodes.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P685> "272561". ?var1 <http://www.wikidata.org/prop/direct/P2393> "CT_868"; <http://www.wikidata.org/prop/direct/P703> ?var3 ; <http://www.wikidata.org/prop/direct/P688> ?var2 . }


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

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipedia_page WHERE {
  ?movie wdt:P345 "tt1921043" .
  ?wikipedia_page schema:about ?movie .
  ?wikipedia_page schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" )
}

Show me the Wikipedia articles about the film "The Clown" (2011) in English or German.

Which language versions of Wikipedia have an article about the movie identified by tt1921043?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1921043". } ?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: Is there a cartoon in Wikidata with BCDB ID 38938?

ASK WHERE { ?cartoon wdt:P4933 "38938" . }

Does the Big Cartoon Database ID 38938 refer to any animated film in Wikidata?

Confirm whether the identifier 38938 in the Big Cartoon Database is assigned to any animated work in Wikidata.

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


Question: Does the Big Cartoon Database ID 7484 exist in Wikidata?

Is there a cartoon in Wikidata that has the Big Cartoon Database ID 7484?

Can you confirm that the animated short 'Coal Black and de Sebben Dwarfs' is linked to the BCDB ID 7484 in Wikidata?

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


Question: What animated episode has the Big Cartoon Database ID 6502?

SELECT ?episode WHERE { ?episode wdt:P4933 "6502" . }

Which episode of Gargoyles is identified by the Big Cartoon Database ID 6502?

Find the animated television episode with the Big Cartoon Database ID 6502.

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


Question: Does the Big Cartoon Database ID 78 exist in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?cartoon wdt:P4933 "78" .
}

Is there a cartoon in Wikidata with the BCDB ID 78?

Does the entry with BCDB ID 78 exist in the Wikidata database?

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


Question: Does the Big Cartoon Database ID "47022" exist in Wikidata?

Is there a Wikidata item associated with the BCDB ID 47022?

Confirm if the animated short film "The Cameraman's Revenge" has the Big Cartoon Database ID 47022 in Wikidata.

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


Question: Does the Big Cartoon Database ID 105152 exist in Wikidata?

Is there an animated film in Wikidata with the BCDB ID 105152?

Confirm if the cartoon titled 'Sikorka' is listed in Wikidata with the BCDB ID 105152.

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


Question: Does the Big Cartoon Database have an entry with ID 54900?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?cartoon wdt:P4933 "54900" .
}

Is there a cartoon in Wikidata with the Big Cartoon Database ID 54900?

Does the cartoon "Cathy's Valentine" exist in Wikidata with BCDB ID 54900?

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


Question: Wikipedia pages in English and German for the movie with IMDb ID tt0281190

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

What are the English and German Wikipedia articles about the movie "Shottas" (IMDb ID tt0281190)?

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0281190". } ?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: Which movie has the Box Office Mojo ID 'titanic'?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie WHERE {
  ?movie wdt:P1237 "titanic" .
}

What is the Wikidata item for the movie with Box Office Mojo ID 'titanic'?

Show me the movie in Wikidata that corresponds to the Box Office Mojo URL path 'titanic'.

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


Question: What are the English and German Wikipedia pages for the film with IMDb ID tt0250698?

SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 "tt0250698" . ?wikipediaPage schema:about ?item . { ?wikipediaPage schema:inLanguage "en" . } UNION { ?wikipediaPage schema:inLanguage "de" . } }

Can you find the Wikipedia articles in English and German about the movie 'Ritual' (2002)?

Show me the Wikipedia links in English and German that describe the film identified by the IMDb code tt0250698.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0250698". } ?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 page for the movie with IMDb ID tt0304584 in English or German

SELECT ?item ?wikipedia_page ?imdb_id WHERE { ?item wdt:P345 "tt0304584" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { "en" "de" } BIND("tt0304584" AS ?imdb_id) }

What is the English or German Wikipedia page for the movie with IMDb ID tt0304584?

Show me the Wikipedia link and IMDb ID for the movie identified by tt0304584, if available in English or German.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0304584". } ?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: Is Syncthing classified as software according to its type and subclass hierarchy?

Does Syncthing belong to the category of software through its instance and subclass relationships?

Is Syncthing a type of software based on Wikidata’s classification system?

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


Question: List human anatomical structures and their Terminologia Anatomica 98 (TA98) identifiers.

SELECT ?anatomy ?anatomyLabel ?ta98Code WHERE { ?anatomy wdt:P1323 ?ta98Code . ?anatomy rdfs:label ?anatomyLabel . FILTER(LANG(?anatomyLabel) = "en") } LIMIT 1000

What are the English names of anatomical structures and their corresponding TA98 codes in Wikidata?

Show me the anatomical terms in English along with their TA98 IDs from the 1998 Terminologia Anatomica standard.

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


Question: Find Wikipedia and Wikiquote pages in English or German for the movie with IMDb ID tt0110123.

SELECT ?movie ?page WHERE { ?movie wdt:P345 "tt0110123" . ?page schema:about ?movie . { ?page schema:inLanguage "en" . } UNION { ?page schema:inLanguage "de" . } }

What are the English and German Wikipedia or Wikiquote pages about the film "In the Army Now"?

Show me the language-specific pages (English or German) linked to the film identified by IMDb ID tt0110123.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0110123". } ?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: People buried in La Almudena Cemetery with images

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

Who are the people buried in La Almudena Cemetery, and do they have photos available?

List all individuals interred at La Almudena Cemetery along with their images from Wikimedia Commons.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P119> <http://www.wikidata.org/entity/Q1053320> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es,en,ca,gl,eu,fr,de,it". } }


Question: Does the VIAF ID 1200477 exist in Wikidata?

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

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

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

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


Question: What are heritage-listed sites around the world that have coordinates, images, and associated Wikimedia Commons categories?

SELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE { ?item wdt:P1435 ?heritage . ?item wdt:P625 ?location . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 3000

Show me heritage-designated locations with their English names, geographic coordinates, images, and Commons categories.

List cultural heritage sites with available images and Commons categories, including their locations and English labels.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 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(-3 52)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(0 52)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } ?var1 <http://www.wikidata.org/prop/direct/P1435> [] . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } 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: Types of Gollum in The Lord of the Rings films

SELECT DISTINCT ?type WHERE { ?film wdt:P179 wd:Q190214 . ?film p:P161 ?stmt . ?stmt pq:P453 wd:Q15007 . wd:Q15007 wdt:P31 ?type . }

What types of character is Gollum, as portrayed in The Lord of the Rings trilogy?

Show me the classifications of Gollum as a character in The Lord of the Rings movies.

SELECT DISTINCT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q190214> . ?var3 <http://www.wikidata.org/prop/P161> ?var4 . ?var4 <http://www.wikidata.org/prop/qualifier/P453> ?var5 . ?var4 <http://www.wikidata.org/prop/statement/P161> ?var6 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q74359> . <http://www.wikidata.org/entity/Q15007> <http://www.wikidata.org/prop/direct/P31> ?var1 . }


Question: Who are the humans with the surname Diquéro?

SELECT DISTINCT ?person ?label WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 wd:Q106626258 . ?person rdfs:label ?label .}

Can you list all people who have the family name Diquéro?

Which person is known to have the French surname Diquéro and is classified as a human in Wikidata?

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


Question: List all ISNI identifiers in Wikidata.

SELECT ?isni WHERE { ?entity wdt:P213 ?isni . }

What are the International Standard Name Identifiers (ISNIs) assigned to entities in Wikidata?

Can you provide a list of all ISNI codes used in Wikidata to identify public figures?

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


Question: People convicted of crimes against humanity who were German citizens.

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 ?person ?personLabel WHERE {
  ?person wdt:P1399 wd:Q173462 .
  ?person wdt:P27 wd:Q183 .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

Who among the people convicted of crimes against humanity were citizens of Germany?

List all individuals convicted of crimes against humanity and holding German citizenship.

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


Question: Find an entity in France with coordinates that has an English label but no French label.

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 ?frenchLabel ?englishLabel WHERE {
  ?item wdt:P17 wd:Q142 ; wdt:P625 [] .
  ?item rdfs:label ?englishLabel .
  FILTER(LANG(?englishLabel) = "en") MINUS {
    ?item rdfs:label ?frenchLabel .
    FILTER(LANG(?frenchLabel) = "fr")
  }
}
LIMIT 1

What is a location in France that has coordinates and an English label but no French label?

Return the Wikidata item, its English label, and confirm it has no French label for any geographic feature in France that has coordinates.

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


Question: Does Wikidata contain an entry for Johann Carl Cirsovius with GND ID 116517719?

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

Is there a Wikidata item for the German author Johann Carl Cirsovius identified by the GND ID 116517719?

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

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


Question: Superproperty of shape (P1419) in Wikidata with English label and description

PREFIX schema: <http://schema.org/>
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 ?superproperty ?superpropertyLabel ?superpropertyDescription WHERE {
  wd:P1419 wdt:P1647 ?superproperty .
  ?superproperty rdfs:label ?superpropertyLabel .
  ?superproperty schema:description ?superpropertyDescription .
  FILTER ( LANG( ?superpropertyLabel ) = "en" ) FILTER ( LANG( ?superpropertyDescription ) = "en" )
}

What is the broader property that "shape" (P1419) is a subproperty of, and what is its English description?

Show me the English label and description of the property that "shape" is a subproperty of.

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


Question: Railway station with ESR code 050404

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?station WHERE {
  ?station wdt:P2815 "050404" .
}

Which railway station has the ESR station code 050404?

Tell me the name of the railway station in Russia that uses the former USSR station code 050404.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2815> "050404". }


Question: What is the English name of the church Santissime Stimmate di San Francesco?

SELECT ?label WHERE { wd:Q1342766 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "en")) }

How is the church "Santissime Stimmate di San Francesco" called in English?

What is the label in English for the Wikidata item Q1342766?

SELECT * WHERE { <http://www.wikidata.org/entity/Q1342766> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "ENG" ) ) ) . } LIMIT 9


Question: What are the names of known domestic cats in English?

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

List all individual house cats and their English labels from Wikidata.

Can you show me the English names of famous cats?

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


Question: What are the 10 tallest lighthouses in Germany, ranked by the height of their focal plane above sea level?

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 ?lighthouse ?focalHeight ?lighthouseLabel WHERE {
  ?lighthouse wdt:P31 wd:Q39715 .
  ?lighthouse wdt:P17 wd:Q183 .
  ?lighthouse wdt:P2923 ?focalHeight .
  ?lighthouse rdfs:label ?lighthouseLabel .
  FILTER ( LANG( ?lighthouseLabel ) = "en" )
}
ORDER BY DESC ( ?focalHeight )
LIMIT 10

Top 10 lighthouses in Germany by focal height

List the lighthouses in Germany with the highest focal heights, ordered from tallest to shortest.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q39715> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> . ?var1 <http://www.wikidata.org/prop/direct/P2923> ?var2 . } ORDER BY DESC( ?var2 ) LIMIT 10


Question: List all episodes of the TV series Sanctuary with their English and Italian titles, ordered by episode number.

SELECT ?episode ?italianLabel ?englishLabel ?episodeNumber WHERE { ?episode (wdt:P31/wdt:P279*) wd:Q21191270 . ?episode wdt:P179 wd:Q844099 . ?episode p:P179 ?statement . ?statement pq:P1545 ?episodeNumber . OPTIONAL { ?episode rdfs:label ?englishLabel . FILTER(LANG(?englishLabel) = "en") } OPTIONAL { ?episode rdfs:label ?italianLabel . FILTER(LANG(?italianLabel) = "it") } } ORDER BY ASC(xsd:integer(?episodeNumber))

What are the English and Italian titles of each episode of the TV series Sanctuary, sorted by their order in the series?

Can you show me the complete list of episodes from the Canadian TV series Sanctuary, including their English and Italian names, arranged in the order they aired?

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


Question: Names and start dates of members of the U.S. House of Representatives

SELECT DISTINCT ?personLabel ?startTime WHERE { ?person p:P39 ?statement . ?statement ps:P39 wd:Q13218630 ; pq:P580 ?startTime . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 10000

Who are the members of the United States House of Representatives and when did they begin their terms?

List the English names and start times of all people who have served as members of the U.S. House of Representatives.

SELECT DISTINCT ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var4 . ?var1 ?var5 <http://www.wikidata.org/entity/Q13218630> . ?var1 <http://www.wikidata.org/prop/direct/P580> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 10000


Question: What are the properties of Bob the street cat, along with their English labels, the number of values each has, and the values themselves?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?propertyLabel ( COUNT( ?value ) AS ?valueCount ) ( GROUP_CONCAT( ?valueLabel ; SEPARATOR = ", " ) AS ?valueLabels ) WHERE {
  wd:Q27744042 ?property ?value .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyLabel .
  ?value rdfs:label ?valueLabel .
  FILTER ( LANG( ?propertyLabel ) = "en" ) FILTER ( LANG( ?valueLabel ) = "en" )
}
GROUP BY ?property ?propertyLabel

List all claims made about Bob (wd:Q27744042) in English, showing the property name, count of values, and the value labels.

Show me a summary of Bob’s Wikidata claims: for each property, what is its label, how many times it’s used, and what the values are?

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


Question: Explorers from Spain or Portugal with their birth dates and images.

SELECT ?explorer ?explorerLabel ?birthDate ?image WHERE { ?explorer wdt:P106 wd:Q11900058 ; wdt:P569 ?birthDate ; wdt:P27 ?citizenship . FILTER (?citizenship IN (wd:Q29, wd:Q45670)) . OPTIONAL { ?explorer wdt:P18 ?image . } ?explorer rdfs:label ?explorerLabel . FILTER(LANG(?explorerLabel) = "en") }

Who are the explorers who were citizens of Spain or Portugal, and what are their birth dates and images?

List the names, birth dates, and images (if available) of all explorers who held citizenship in either Spain or the Kingdom of Portugal.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q11900058> ; <http://www.wikidata.org/prop/direct/P569> ?var2 ; <http://www.wikidata.org/prop/direct/P27> ?var4 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q45670> ) || ( ?var4 = <http://www.wikidata.org/entity/Q29> ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en, fr, de, pl". } }


Question: Church buildings in Berlin with German names

SELECT ?church ?label WHERE { ?church wdt:P131 wd:Q64 . ?church wdt:P31 wd:Q16970 . ?church rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "de")) }

What are the German-language names of church buildings in Berlin?

List the names of all church buildings in Berlin in German.

SELECT ?var1 ?var2 ?var3Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q64> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,it". } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . FILTER ( ( LANGMATCHES ( LANG ( ?var3Label ) , "it" ) ) ) . }


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

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipedia_page ?imdb_id WHERE {
  ?movie wdt:P345 "tt1375666" .
  ?wikipedia_page schema:about ?movie .
  {
    ?wikipedia_page schema:inLanguage "en" .
  } UNION {
    ?wikipedia_page schema:inLanguage "de" .
  }
  BIND( "tt1375666" AS ?imdb_id )
}

Which Wikipedia articles in English or German are about the film identified by the IMDb ID tt1375666?

Show me the English and German Wikipedia links for the movie Inception, along with its IMDb ID.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2078704". } ?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: Who were born in Lünen, Germany, and what are their birth dates?

SELECT ?person ?personLabel ?birthDate WHERE { ?person wdt:P19 wd:Q3822 ; wdt:P569 ?birthDate . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "de") }

Can you list the people born in Lünen along with their dates of birth?

What are the names and birth dates of individuals born in the town of Lünen?

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