Question: What movie has the elCinema film ID 1630575?

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

Which film on Wikidata is identified by the elCinema ID 1630575?

Find the Wikidata item for the movie with elCinema ID 1630575.

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


Question: Which Wikidata items have the Twitter usernames belett, bevellin, BrestFr, or wired_jp?

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "belett" "bevellin" "BrestFr" "wired_jp" } }

Who or what entities on Wikidata are associated with the Twitter handles @belett, @bevellin, @BrestFr, and @wired_jp?

Show me the Wikidata entities for the Twitter accounts belett, bevellin, BrestFr, and wired_jp.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "lego_ubl" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "BrestFr" ) ( "aire__s" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "staoka218" ) ( "wired_jp" ) ( "makeryfr" ) ( "thefablab_" ) ( "DagomaFr" ) ( "LEGO_UBL" ) ( "string9" ) ( "PepSEbrest" ) ( "UnpeudR" ) ( "string10" ) ( "string11" ) ( "GuyHomard" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "atbrest" ) ( "PLGuen" ) ( "string16" ) ( "bu_ubo" ) ( "string17" ) ( "hatonjan" ) ( "WikiBrest" ) ( "string18" ) ( "string19" ) ( "EdithBoulo" ) ( "string20" ) ( "belett" ) ( "bevellin" ) ( "string21" ) } }


Question: Which news organizations have the Twitter handles Europe1, leJDD, and LesEchos?

SELECT ?entity ?twitterHandle WHERE { ?entity wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "Europe1" "leJDD" "LesEchos" } }

What are the entities on Wikidata that use Europe1, leJDD, or LesEchos as their Twitter/X username?

Show me the media outlets associated with the Twitter handles Europe1, leJDD, and LesEchos.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "LesEchos" ) ( "string3" ) ( "FevadActu" ) ( "string4" ) ( "string5" ) ( "Europe1" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "leJDD" ) ( "ValaAfshar" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) } }


Question: What are the French-labeled heritage sites and their coordinates?

SELECT ?label ?coordinates ?heritageSite WHERE { ?heritageSite (wdt:P31/wdt:P279*) wd:Q358 . ?heritageSite wdt:P625 ?coordinates . ?heritageSite rdfs:label ?label . FILTER(LANG(?label) = "fr") }

Can you list the locations of all cultural heritage sites that have French labels?

Show me the coordinates of memorials in French, such as Stolpersteine, that are classified as heritage sites.

SELECT ?var1Label ?var2 ?var3 WHERE { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q358> . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "fr" ) ) ) . }


Question: Which organizations have the Twitter handles "AS_Monaco", "PSG_inside", or "TV5MONDE"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?organization ?twitterHandle WHERE {
  ?organization wdt:P2002 ?twitterHandle .
  VALUES ?twitterHandle {
    "AS_Monaco" "PSG_inside" "TV5MONDE"
  }
}

What are the Wikidata entities for the Twitter accounts @AS_Monaco, @PSG_inside, and @TV5MONDE?

Show me the organizations associated with the Twitter usernames AS_Monaco, PSG_inside, and TV5MONDE.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "TV5MONDE" ) ( "string1" ) ( "string2" ) ( "string3" ) ( "MKACITV5M" ) ( "string4" ) ( "string5" ) ( "mariametig" ) ( "manutiss" ) ( "string6" ) ( "string7" ) ( "PSG_inside" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "AS_Monaco" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "Tv5monde" ) } }


Question: Direct superclasses of Microsoft's types

SELECT DISTINCT ?class WHERE { wd:Q2283 (wdt:P31 / wdt:P279) ?class . }

What categories are above the types that Microsoft is an instance of?

List all the immediate parent classes of the categories Microsoft belongs to.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2283> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> ) ?var1 . }


Question: Who are the people with the surname Kowalski, and do any of them have images?

SELECT ?person ?personLabel ?image WHERE {
  ?person wdt:P734 wd:Q3199417 .
  OPTIONAL { ?person wdt:P18 ?image . }
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = 'en')
}
LIMIT 100

Can you list famous individuals named Kowalski and show their photos if available?

Show me the English names and images of all people who have Kowalski as their surname.

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/P138> <http://www.wikidata.org/entity/Q3199417> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } } LIMIT 100


Question: List entities with Instagram accounts, their English labels, descriptions, and usernames.

SELECT ?item ?itemLabel ?itemDescription ?instagramUsername WHERE { ?item wdt:P2003 ?instagramUsername . ?item rdfs:label ?itemLabel . ?item schema:description ?itemDescription . FILTER (LANG(?itemLabel) = "en") FILTER (LANG(?itemDescription) = "en") } LIMIT 100

Which entities on Wikidata have an Instagram username, and what are their English labels and descriptions?

Show me up to 100 entities that have an Instagram profile, including their English name, description, and username.

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/P2003> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } LIMIT 100


Question: Which Wikidata items have the Twitter usernames "envlh" or "ADULLACT"?

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

Who are the people or organizations on Wikidata with the Twitter handle @envlh or @ADULLACT?

Find the Wikidata entities associated with the Twitter usernames "envlh" and "ADULLACT".

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "envlh" ) ( "ADULLACT" ) ( "string1" ) ( "Lyoko6" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "mediapart" ) ( "PoulpyWP" ) } }


Question: What are the X (Twitter) usernames for Elon Musk, Russia, and the United Nations?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?twitterUsername WHERE {
  ?entity wdt:P2002 ?twitterUsername .
  VALUES ?twitterUsername {
    "elonmusk" "Russia" "UN"
  }
}

Which entities on Wikidata have the Twitter handles 'elonmusk', 'Russia', or 'UN'?

Show me the Wikidata items that are associated with the Twitter usernames elonmusk, Russia, and UN.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "fifi_" ) ( "balmeyer" ) ( "string1" ) ( "string2" ) } }


Question: Image of the person with SNAC ARK ID w6h1622t

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

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

Show me the Wikimedia Commons image linked to the entity identified by SNAC ARK ID w6h1622t.

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


Question: Labels of Wikidata properties related to birth or death

SELECT ?label WHERE { ?property wdt:P31 wd:Q18608756 . ?property rdfs:label ?label .}

What are the labels in all languages for Wikidata properties about birth or death?

Show me all the multilingual labels for Wikidata properties that track birth or death events.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18608756> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . }


Question: What date entity represents March 9, 1893, in Wikidata?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?dateEntity WHERE {
  ?dateEntity ( wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191 ) ?dateValue .
  FILTER ( ?dateValue >= "1893-03-09T00:00:00Z" ^^ xsd:dateTime && ?dateValue <= "1893-03-09T23:59:59Z" ^^ xsd:dateTime )
}

Which items in Wikidata are defined as the specific day of March 9, 1893?

Can you find the Wikidata item for March 9, 1893, based on its associated date properties?

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= "1893-03-09T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1893-03-09T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: How many items in Wikidata have a Curlie ID?

SELECT (COUNT(?item) AS ?count) WHERE { ?item wdt:P998 [] . }

What is the total number of Wikidata items that are assigned a Curlie.org category path?

Please tell me how many entities in Wikidata are linked to the Open Directory Project via their Curlie ID.

SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P998> ?var3 . } LIMIT 100


Question: What entities have a Curlie ID (DMOZ category path)?

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

Which items are categorized in the Open Directory Project via their Curlie ID?

List the English names of all items that have a Curlie ID assigned, such as cities, countries, or music genres.

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


Question: Scholarly articles by P. Vincent Jenkins, including co-authors, publication venues, and dates.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT(MIN(?pubDate) AS ?earliestPubDate) ?work ?workLabel(GROUP_CONCAT(DISTINCT ?typeLabel ; SEPARATOR = ", ") AS ?types)(SAMPLE(?pages) AS ?numPages) ?venue ?venueLabel(GROUP_CONCAT(DISTINCT ?authorLabel ; SEPARATOR = ", ") AS ?allAuthors) WHERE {
  ?work wdt:P50 wd:Q42767460 .
  OPTIONAL {
    ?work wdt:P577 ?pubDate
  }
  OPTIONAL {
    ?work wdt:P31 ?type .
    ?type rdfs:label ?typeLabel .
    FILTER(LANG(?typeLabel) = "en")
  }
  OPTIONAL {
    ?work wdt:P1104 ?pages
  }
  OPTIONAL {
    ?work wdt:P1433 ?venue .
    ?venue rdfs:label ?venueLabel .
    FILTER(LANG(?venueLabel) = "en")
  }
  OPTIONAL {
    ?work wdt:P50 ?author .
    ?author rdfs:label ?authorLabel .
    FILTER(LANG(?authorLabel) = "en")
  }
}
GROUP BY ?work ?workLabel ?venue ?venueLabel
ORDER BY DESC(?earliestPubDate)

What are all the scholarly works authored by P. Vincent Jenkins, along with their co-authors, publication venues, types, and publication dates?

List all research papers written by P. Vincent Jenkins, showing their publication dates, venues, types, number of pages, and all contributing authors.

SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = ", " ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = ", " ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q42767460> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = "en" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,"32"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,no,ru,sv,zh". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )


Question: Airports in Iran with their coordinates

SELECT DISTINCT ?airport ?coordinates WHERE { ?airport wdt:P31 wd:Q1248784 . ?airport wdt:P17 wd:Q794 . ?airport wdt:P625 ?coordinates .}

What are the airports in Iran and their geographic coordinates?

List all airports located in Iran along with their latitude and longitude.

SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1248784> . ?var1 ?var3 <http://www.wikidata.org/entity/> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q794> . }


Question: Who are the deceased individuals who studied at universities in Chile, and what were their causes of death and dates of death, with all labels in Spanish?

SELECT ?personLabel ?universityLabel ?dateOfDeath ?causeOfDeathLabel WHERE { ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . ?person wdt:P69 ?university . ?university wdt:P31 wd:Q3918 . ?university wdt:P17 wd:Q298 . ?university rdfs:label ?universityLabel . ?person wdt:P570 ?dateOfDeath . ?person wdt:P509 ?causeOfDeath . ?causeOfDeath wdt:P31 wd:Q1931388 . ?causeOfDeath rdfs:label ?causeOfDeathLabel . FILTER(LANG(?personLabel) = "es") FILTER(LANG(?universityLabel) = "es") FILTER(LANG(?causeOfDeathLabel) = "es") }

Spanish-labeled Chilean university alumni with cause of death and date of death

List the names of people who attended universities in Chile, their date of death, cause of death, and the names of their universities — all in Spanish.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var6 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1931388> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var7 <http://www.wikidata.org/prop/direct/P69> ?var5 . ?var7 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var7 <http://www.wikidata.org/prop/direct/P509> ?var6 . FILTER ( ( ( LANG ( ?var2 ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = "es" ) ) ) . }


Question: Who has the Twitter username joannsfar?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?twitterUsername WHERE {
  ?person wdt:P2002 ?twitterUsername .
  FILTER(?twitterUsername = "joannsfar")
}

Which Wikidata entity is associated with the Twitter handle joannsfar?

Tell me the person whose Twitter username is joannsfar.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "_Algrienne" ) ( "string2" ) ( "string3" ) ( "Ryma_Maria" ) ( "string4" ) ( "sauterne" ) ( "merymna" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "el_manchar" ) ( "Sois_Bref" ) ( "joannsfar" ) ( "LeLienDT" ) ( "Alg24net" ) ( "string10" ) ( "string11" ) ( "Bilel_Tb" ) ( "morsimas" ) } }


Question: List 100 institutions classified as museums in Wikidata.

SELECT ?museum WHERE { ?museum wdt:P31 wd:Q33506 . } LIMIT 100

What are 100 examples of museums according to Wikidata?

Show me the Wikidata IDs of 100 entities that are instances of a museum.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33506> . } ORDER BY DESC( ?var2 ) LIMIT 100


Question: How many museums in Wikidata have both a country and geographic coordinates?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT(COUNT(?museum) AS ?count) WHERE {
  ?museum wdt:P31 wd:Q33506 .
  ?museum wdt:P17 ?country .
  ?museum wdt:P625 ?coordinates .
}

What is the total number of museums that are geolocated and associated with a sovereign state?

Can you tell me how many museums are documented with location and country information in Wikidata?

SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q33506> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var4 . } ORDER BY DESC( ?var2 ) LIMIT 100


Question: Which organizations or people have the Twitter handles "dw_deutsch", "lorcanD", or "IFLA"?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "dw_deutsch" "lorcanD" "IFLA" } }

Who are the entities on Wikidata that use "dw_deutsch", "lorcanD", or "IFLA" as their Twitter/X username?

Show me the Wikidata items linked to the Twitter usernames "dw_deutsch", "lorcanD", and "IFLA".

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "OCLC_DE" ) ( "dw_deutsch" ) ( "string1" ) ( "lorcanD" ) ( "SlideShare" ) ( "vorablesen" ) ( "globolibro" ) ( "sljournal" ) ( "IFLA" ) ( "NickPoole1" ) ( "string2" ) ( "string3" ) ( "t3n" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "ideastores" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "string16" ) } }


Question: Which Wikidata items have Twitter/X usernames "wikidata", "wikipedia", or "nightrose"?

SELECT ?item ?itemLabel ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "wikidata" "wikipedia" "nightrose" } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } }

Who are the entities on Wikidata with the Twitter handles "wikidata", "wikipedia", and "nightrose"?

List the Wikidata entities and their names that use "wikidata", "wikipedia", or "nightrose" as their X (Twitter) username.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "wikidata" ) ( "wikipedia" ) ( "nightrose" ) ( "auregann" ) } }


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

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

What entity on Wikidata is associated with the Twitter handle @UN?

Show me the Wikidata item for the organization that uses "UN" as its Twitter username.

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


Question: What are the different kinds of datasets?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?datasetType ?datasetTypeLabel WHERE {
  ?datasetInstance wdt:P31 ?subclass .
  ?subclass wdt:P279 * wd:Q1172284 .
  ?datasetInstance wdt:P31 ?datasetType .
  FILTER(isIRI(?datasetType))
  ?datasetType rdfs:label ?datasetTypeLabel .
  FILTER(LANG(?datasetTypeLabel) = "en")
}

What classes of items are considered datasets or subclasses of datasets?

Can you list the types of entities that are classified as datasets, such as periodicals or gazetteers?

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


Question: Chilean university alumni who died of Alzheimer’s, cancer, or traffic accidents in Spanish-speaking contexts.

SELECT ?personLabel ?universityLabel ?dateOfDeath ?causeOfDeathLabel WHERE { ?person wdt:P69 ?university . ?person wdt:P570 ?dateOfDeath . ?person wdt:P509 ?causeOfDeath . ?university wdt:P31 wd:Q3918 . ?university wdt:P17 wd:Q298 . ?university rdfs:label ?universityLabel . ?person rdfs:label ?personLabel . ?causeOfDeath rdfs:label ?causeOfDeathLabel . FILTER (LANG(?universityLabel) = "es") . FILTER (LANG(?personLabel) = "es") . FILTER (LANG(?causeOfDeathLabel) = "es") .}

Who are people educated at universities in Chile, who died in Chile, and had their cause of death recorded in Spanish?

List the names of Chilean university graduates in Spanish, their date of death, and their cause of death in Spanish.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var5 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var6 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1931388> . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var7 <http://www.wikidata.org/prop/direct/P69> ?var5 . ?var7 <http://www.wikidata.org/prop/direct/P570> ?var3 . FILTER ( ( EXISTS { ?var7 <http://www.wikidata.org/prop/direct/P509> ?var6 . } ) ) . FILTER ( ( ( LANG ( ?var2 ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = "es" ) ) ) . }


Question: Works by Wim Crusio with publication year, title, and number of pages, ordered by year.

SELECT ?year ?title ?pages WHERE { ?work wdt:P50 wd:Q120981 ; wdt:P577 ?date ; wdt:P1104 ?pages . BIND(YEAR(?date) AS ?year) . ?work rdfs:label ?title . FILTER(LANG(?title) = "en") } ORDER BY ?year

What are the titles, publication years, and page counts of scientific works authored by Wim Crusio, listed in chronological order?

List all English-language publications by Wim Crusio, including their publication year and number of pages, sorted from earliest to latest.

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/Q120981> . ?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/Q120981> . ?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: Italian labels for temperature-related properties in Wikidata

SELECT ?property ?label ?description WHERE { ?property a wikibase:Property . ?property rdfs:label ?label . ?property schema:description ?description . FILTER (LANG(?label) = "it") . FILTER (CONTAINS(LCASE(?label), "temperatura")) . }

What are the Italian labels for properties related to temperature in Wikidata?

Show me properties with Italian labels that mention temperature, along with their descriptions.

SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P2101> 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 ) = "it" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "it" ) ) ) . }


Question: Which Wikidata items have the Twitter usernames EvoMRI, agjedde, envlh, fnielsen, maxlath, wikidata, or Wikipedia?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "EvoMRI" "agjedde" "envlh" "fnielsen" "maxlath" "wikidata" "Wikipedia" } }

Who are the people or organizations on Wikidata that use the Twitter handles "EvoMRI", "agjedde", "envlh", "fnielsen", "maxlath", "wikidata", or "Wikipedia"?

Show me the Wikidata entries for the following Twitter accounts: EvoMRI, agjedde, envlh, fnielsen, maxlath, wikidata, and Wikipedia.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "EvoMRI" ) ( "string1" ) ( "Wikipedia" ) ( "wikidata" ) ( "Gallorum" ) ( "envlh" ) ( "fnielsen" ) ( "agjedde" ) ( "maxlath" ) ( "string2" ) ( "string3" ) } }


Question: Which organizations have Twitter handles ICPhotog, Mairie17, or ParisMatch?

SELECT ?entity ?twitterHandle WHERE { VALUES ?twitterHandle { "ICPhotog" "Mairie17" "ParisMatch" } ?entity wdt:P2002 ?twitterHandle . }

What entities on Wikidata are associated with the Twitter usernames ICPhotog, Mairie17, and ParisMatch?

Show me the entities that use ICPhotog, Mairie17, or ParisMatch as their X (Twitter) username.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "Acarrouer" ) ( "string2" ) ( "string3" ) ( "fab_pix" ) ( "string4" ) ( "majtague" ) ( "ICPhotog" ) ( "string5" ) ( "string6" ) ( "Mairie17" ) ( "string7" ) ( "ParisMatch" ) ( "_LeBonbon" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "string18" ) ( "string19" ) ( "alex_swpix" ) ( "string20" ) } }


Question: Which Wikidata entity has the Twitter username 'jjbertolus'?

SELECT ?person ?username WHERE { ?person wdt:P2002 ?username . VALUES ?username { "jjbertolus" } }

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

Find the Wikidata item for the Twitter account jjbertolus.

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


Question: What film has the elCinema ID 2036828?

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

Which movie on Wikidata is associated with the elCinema film ID 2036828?

Find the Wikidata item for the film identified by elCinema ID 2036828.

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


Question: What film has "Brooklyn" listed as its The Numbers movie ID?

SELECT ?film WHERE { ?film wdt:P3808 "Brooklyn" . }

Which movie is associated with the The Numbers ID "Brooklyn"?

Find the film in Wikidata that has "Brooklyn" as its The Numbers movie ID value.

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


Question: Which entities on Wikidata have the Twitter usernames "johannesvogel", "vogelbit", or "thebelongingco"?

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

Who are the people or organizations on Wikidata that use "johannesvogel", "vogelbit", or "thebelongingco" as their Twitter/X handles?

Show me the Wikidata items that are linked to the Twitter usernames "johannesvogel", "vogelbit", and "thebelongingco".

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "Vogelsong" ) } }


Question: Which Wikidata entities have Twitter usernames duttypaul, G_Eazy, halsey, jul, lilpump, SkyrockFM, or W9?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?artist ?twitterUsername WHERE {
  {
    ?artist wdt:P2002 "duttypaul" .
  } UNION {
    ?artist wdt:P2002 "G_Eazy" .
  } UNION {
    ?artist wdt:P2002 "halsey" .
  } UNION {
    ?artist wdt:P2002 "jul" .
  } UNION {
    ?artist wdt:P2002 "lilpump" .
  } UNION {
    ?artist wdt:P2002 "SkyrockFM" .
  } UNION {
    ?artist wdt:P2002 "W9" .
  }
}

Who are the artists on Wikidata with the Twitter handles duttypaul, G_Eazy, halsey, jul, lilpump, SkyrockFM, and W9?

List the Wikidata items for musicians and accounts with the following Twitter usernames: duttypaul, G_Eazy, halsey, jul, lilpump, SkyrockFM, and W9.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "SkyrockFM" ) ( "string1" ) ( "string2" ) ( "fredmusa" ) ( "string3" ) ( "Mrik" ) ( "lilpump" ) ( "duttypaul" ) ( "jul" ) ( "string4" ) ( "W9" ) ( "string5" ) ( "mehdiradio" ) ( "string6" ) ( "string7" ) ( "kalash972" ) ( "string8" ) ( "G_Eazy" ) ( "halsey" ) } }


Question: Which film has the elCinema ID 2042651?

SELECT ?film WHERE { ?film wdt:P3135 "2042651" . }

What is the name of the movie identified by the elCinema film ID 2042651?

Find the film associated with the elCinema identifier 2042651.

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


Question: Which entities have the Twitter/X usernames "aha_io", "Le_Figaro", "Valeurs", or "ydekerdrel"?

SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { "aha_io" "Le_Figaro" "Valeurs" "ydekerdrel" } }

Who or what organizations are associated with the Twitter handles aha_io, Le_Figaro, Valeurs, and ydekerdrel?

Show me the entities on Wikidata that use these Twitter usernames: aha_io, Le_Figaro, Valeurs, and ydekerdrel.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "ydekerdrel" ) ( "string1" ) ( "Valeurs" ) ( "hdactech" ) ( "valeurs" ) ( "youtube" ) ( "Le_Figaro" ) ( "aha_io" ) ( "string2" ) } }


Question: What are the multilingual labels, official website, and Wikipedia page for the video game "2014 FIFA World Cup Brazil"?

SELECT ?label ?image ?coordinates ?wikipedia ?youtube ?github ?twitter ?facebook ?instagram ?website ?orcid WHERE { wd:Q15621213 rdfs:label ?label . FILTER(LANG(?label) IN ("en", "de", "fr", "it")) OPTIONAL { wd:Q15621213 wdt:P18 ?image . } OPTIONAL { wd:Q15621213 wdt:P625 ?coordinates . } OPTIONAL { wd:Q15621213 wdt:P1651 ?youtube . } OPTIONAL { wd:Q15621213 wdt:P2037 ?github . } OPTIONAL { wd:Q15621213 wdt:P2002 ?twitter . } OPTIONAL { wd:Q15621213 wdt:P2013 ?facebook . } OPTIONAL { wd:Q15621213 wdt:P2003 ?instagram . } OPTIONAL { wd:Q15621213 wdt:P856 ?website . } OPTIONAL { wd:Q15621213 wdt:P496 ?orcid . } OPTIONAL { ?wikipedia rdf:type schema:Article ; schema:about wd:Q15621213 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . } } ORDER BY ?label

Can you show me the English, German, French, and Italian labels for the 2014 FIFA World Cup Brazil video game, along with its official website and Wikipedia link?

Please provide the labels in English, German, French, and Italian for the 2014 FIFA World Cup Brazil video game, and include its official website and English Wikipedia article, even if social media accounts or other identifiers are not available.

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


Question: Chilean university alumni and their causes of death in Spanish.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?personLabel ?universityLabel ?causeLabel WHERE {
  ?university wdt:P31 wd:Q3918 ; wdt:P17 wd:Q298 ; rdfs:label ?universityLabel .
  ?person wdt:P31 wd:Q5 ; wdt:P69 ?university ; wdt:P509 ?cause ; rdfs:label ?personLabel .
  ?cause rdfs:label ?causeLabel .
  FILTER(LANG(?personLabel) = "es")
  FILTER(LANG(?universityLabel) = "es")
  FILTER(LANG(?causeLabel) = "es")
}

Who are the Chilean university graduates who died, and what were their causes of death, with labels in Spanish?

List Spanish-language names of people educated at Chilean universities along with their alma maters and causes of death.

SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P69> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P509> ?var6Label . ?var6Label <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var1 ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "es" ) ) ) . } GROUP BY ?var1 ?var2 ?var3


Question: Which organization has the Twitter username "TAObustram"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?organization ?twitterUsername WHERE {
  ?organization wdt:P2002 "TAObustram" .
}

What is the Wikidata entity for the Twitter account @TAObustram?

Find the organization associated with the Twitter handle TAObustram.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "Civigaz45" ) ( "string4" ) ( "TAObustram" ) ( "string5" ) } }


Question: Which film has the film-documentaire.fr ID 26638?

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

What is the Wikidata item for the film identified as 26638 in film-documentaire.fr?

Find the film in Wikidata that corresponds to the film-documentaire.fr identifier 26638.

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


Question: Which organizations on Wikidata have the Twitter handles grandlyon, lemondefr, LePoint, or lesinrocks?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterHandle WHERE {
  ?item wdt:P2002 ?twitterHandle .
  VALUES ?twitterHandle {
    "grandlyon" "lemondefr" "LePoint" "lesinrocks" "OnlyLyon"
  }
}

What entities are associated with the Twitter usernames 'grandlyon', 'lemondefr', 'LePoint', and 'lesinrocks' on Wikidata?

Show me the Wikidata items for French media outlets and local government bodies that use the Twitter handles grandlyon, lemondefr, LePoint, and lesinrocks.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "lesinrocks" ) ( "LePoint" ) ( "lemondefr" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "grandlyon" ) ( "string13" ) ( "OnlyLyon" ) } }


Question: Which Wikidata entities have the Twitter usernames marcan42, photomatt, or samykamkar?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?twitterHandle WHERE {
  ?entity wdt:P2002 ?twitterHandle .
  VALUES ?twitterHandle {
    "marcan42" "photomatt" "samykamkar"
  }
}

Who are the people on Wikidata associated with the Twitter handles marcan42, photomatt, and samykamkar?

Show me the Wikidata items for the Twitter accounts marcan42, photomatt, and samykamkar.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "wohali" ) ( "string1" ) ( "string2" ) ( "marcan42" ) ( "Silvea12" ) ( "samykamkar" ) ( "_G1n0_" ) ( "EmekaOkoye" ) ( "photomatt" ) ( "cymantiks" ) ( "string3" ) ( "ablitter" ) ( "windsheep_" ) } }


Question: Female Canadian and French citizens who are scientists (e.g., physicists, biologists, physicians) and do not have a French Wikipedia page.

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 schema: <http://schema.org/>
SELECT ?person ?personLabel(GROUP_CONCAT(DISTINCT ?occupationLabel ; SEPARATOR = ", ") AS ?occupations)(GROUP_CONCAT(DISTINCT ?countryLabel ; SEPARATOR = ", ") AS ?countries) WHERE {
  VALUES ?country {
    wd:Q16 wd:Q142
  }
  VALUES ?occupation {
    wd:Q11063 wd:Q15634281 wd:Q1662561 wd:Q169470 wd:Q170790 wd:Q19350898 wd:Q205375 wd:Q212980 wd:Q2306091 wd:Q2310145 wd:Q3621491 wd:Q350979 wd:Q3644587 wd:Q185270 wd:Q39631 wd:Q4459623 wd:Q4773904 wd:Q520549 wd:Q593644 wd:Q82594 wd:Q864503 wd:Q81096 wd:Q2374149 wd:Q2487799 wd:Q2732142 wd:Q3055126
  }
  VALUES ?gender {
    wd:Q6581072
  }
  ?person wdt:P31 wd:Q5 ; wdt:P21 ?gender ; wdt:P27 ?country ; wdt:P106 ?occupation .
  ?person rdfs:label ?personLabel .
  ?occupation rdfs:label ?occupationLabel .
  ?country rdfs:label ?countryLabel .
  FILTER(LANG(?personLabel) = "en")
  FILTER(LANG(?occupationLabel) = "en")
  FILTER(LANG(?countryLabel) = "en")
  FILTER NOT EXISTS {
    ?wikipedia schema:about ?person ; schema:isPartOf <https://fr.wikipedia.org/> .
  }
}
GROUP BY ?person ?personLabel

Who are the female scientists from Canada or France who don’t have a French-language Wikipedia article, and what are their professions?

List all female individuals from Canada or France who work as scientists (like astronomer, chemist, or psychologist) and are not documented on the French Wikipedia, along with their occupations and countries.

SELECT ?var1 ?var1Label ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = ", " ) AS ?var3 )( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = ", " ) AS ?var5 ) WHERE { VALUES ( ?var6 ) { ( <http://www.wikidata.org/entity/Q16> ) ( <http://www.wikidata.org/entity/Q142> ) } VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q23498> ) ( <http://www.wikidata.org/entity/Q11063> ) ( <http://www.wikidata.org/entity/Q37547> ) ( <http://www.wikidata.org/entity/Q4773904> ) ( <http://www.wikidata.org/entity/Q3378595> ) ( <http://www.wikidata.org/entity/Q15634281> ) ( <http://www.wikidata.org/entity/Q350979> ) ( <http://www.wikidata.org/entity/Q2306091> ) ( <http://www.wikidata.org/entity/Q2310145> ) ( <http://www.wikidata.org/entity/Q19350898> ) ( <http://www.wikidata.org/entity/Q3644587> ) ( <http://www.wikidata.org/entity/Q82594> ) ( <http://www.wikidata.org/entity/Q4459623> ) ( <http://www.wikidata.org/entity/Q864503> ) ( <http://www.wikidata.org/entity/Q169470> ) ( <http://www.wikidata.org/entity/Q81096> ) ( <http://www.wikidata.org/entity/Q170790> ) ( <http://www.wikidata.org/entity/Q170790> ) ( <http://www.wikidata.org/entity/Q3621491> ) ( <http://www.wikidata.org/entity/Q593644> ) ( <http://www.wikidata.org/entity/Q2374149> ) ( <http://www.wikidata.org/entity/Q520549> ) ( <http://www.wikidata.org/entity/Q1662561> ) ( <http://www.wikidata.org/entity/Q2732142> ) ( <http://www.wikidata.org/entity/Q212980> ) ( <http://www.wikidata.org/entity/Q205375> ) ( <http://www.wikidata.org/entity/Q3055126> ) ( <http://www.wikidata.org/entity/Q2487799> ) ( <http://www.wikidata.org/entity/Q39631> ) } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q6581072> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> ?var7 ; <http://www.wikidata.org/prop/direct/P27> ?var6 ; <http://www.wikidata.org/prop/direct/P27> ?var4 ; <http://www.wikidata.org/prop/direct/P106> ?var2 . FILTER ( ( NOT EXISTS { ?var8 <http://schema.org/about> ?var1 . ?var8 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } } GROUP BY ?var1 ?var1Label ?var9


Question: Which Wikidata entities have the Twitter/X usernames "EvoMRI" or "Wikicite"?

SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { "EvoMRI" "Wikicite" } }

Who are the people or organizations on Wikidata with the Twitter handle "EvoMRI" or "Wikicite"?

Show me the Wikidata items for the Twitter usernames "EvoMRI" and "Wikicite".

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "Wikicite" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "EvoMRI" ) ( "string9" ) } }


Question: German labels and descriptions of places with earliest written records

SELECT ?item ?itemLabel ?itemDescription WHERE { ?item wdt:P1249 ?year . ?item rdfs:label ?itemLabel . ?item schema:description ?itemDescription . FILTER (LANG(?itemLabel) = "de") . FILTER (LANG(?itemDescription) = "de") . } LIMIT 100

Which places have a first written record and are described in German?

Show me the German names and descriptions of locations that were first mentioned in historical records.

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/P1249> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "de" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "de" ) ) ) . } LIMIT 100


Question: Who are the human members of the Black Lunch Table, and what are their genders?

SELECT ?item ?itemLabel ?genderLabel WHERE { ?item wdt:P463 wd:Q28781198 ; wdt:P31 wd:Q5 ; wdt:P21 ?gender . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") . ?gender rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = "en") }

List the names and genders of people affiliated with the Black Lunch Table.

Which women are members of the Black Lunch Table, according to Wikidata?

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://wikiba.se/ontology#sitelinks> "0"^^<http://www.w3.org/2001/XMLSchema#integer> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P972> <http://www.wikidata.org/entity/Q28781198> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var1 <http://wikiba.se/ontology#statements> ?var3 . FILTER ( ( ( ?var3 <= "3"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var4 ?var5 ?var1 . } FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . OPTIONAL { ?var1 ?var6 [ <http://www.w3.org/ns/prov#wasDerivedFrom> ?var7 ] . ?var7 ?var8 [] . FILTER ( ( ( ?var8 != <http://www.wikidata.org/prop/reference/P143> ) ) ) . } FILTER ( ( !( BOUND ( ?var7 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: Items with multiple inception dates in Wikidata

SELECT ?item WHERE { ?item wdt:P571 ?date1 . ?item wdt:P571 ?date2 . FILTER (?date1 != ?date2) } LIMIT 100

Which entities have more than one recorded date of creation or founding?

List up to 100 items that have been assigned more than one inception date.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://sv.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv,en". } FILTER ( ( ( ?var2 != ?var3 ) ) ) . } LIMIT 100


Question: Who were the humans born between 1820 and 1830, listed in order of their birth date?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?human ?birthDate WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P569 ?birthDate .
  FILTER ( ?birthDate >= "1820-01-01" ^^ xsd:date && ?birthDate <= "1830-12-31" ^^ xsd:date )
}
ORDER BY ASC ( ?birthDate )

List of humans born in the 1820s with their birth dates, sorted chronologically.

Show me the names and birth dates of all people born between January 1, 1820 and December 31, 1830, ordered by birth date.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } FILTER ( ( ( ?var2 >= "1820-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 <= "1830-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } ORDER BY ASC( ?var2 )


Question: What are the Russian labels of properties associated with Dmitry Medvedev, along with how many values each has and what those values are in Russian?

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(SAMPLE(?propertyLabel) AS ?propertyLabelRu)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = ", ") AS ?valueLabelsRu) WHERE {
  wd:Q23530 ?property ?value .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?valueLabel) = "ru")
  .
  ?statementProperty wikibase:directClaim ?property .
  ?statementProperty rdfs:label ?propertyLabel .
  FILTER(LANG(?propertyLabel) = "ru")
}
GROUP BY ?property

Show me all properties of Dmitry Medvedev in Russian, including the count of their values and the Russian names of those values.

For each property of Dmitry Medvedev, list its Russian name, how many times it appears, and the Russian labels of its values.

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


Question: What software uses eye-movement input, and what are their labels and images?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?itemLabel ?image WHERE {
  ?item wdt:P366 wd:Q30405702 .
  ?item rdfs:label ?itemLabel .
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
}
LIMIT 100

Which items are designed for eye-movement input, and what are their names and associated images?

List all applications that function as eye-movement input devices, along with their labels and images if available.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P366> <http://www.wikidata.org/entity/Q30405702> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100


Question: Municipalities in Spain and their demonyms

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 ?municipality ?municipalityLabel ?demonym WHERE {
  ?municipality wdt:P31 wd:Q15284 .
  ?municipality wdt:P17 wd:Q29 .
  ?municipality rdfs:label ?municipalityLabel .
  OPTIONAL {
    ?municipality wdt:P1549 ?demonym .
  }
}

What are the demonyms of municipalities in Spain?

List all municipalities in Spain along with their associated demonyms, if any.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15284> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q29> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1549> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es". } }


Question: Subclasses of film with their direct superclasses

SELECT ?subclass ?subclassLabel ?directSuperclass WHERE { ?subclass wdt:P279* wd:Q11424 . OPTIONAL { ?subclass wdt:P279 ?directSuperclass . } ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = "en") }

What are all the subgenres of film, and what is their immediate parent category?

List all film subgenres and their direct superclass in English.

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


Question: U.S. presidents who were military officers

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?president ?presidentLabel WHERE {
  wd:Q30 ( p:P6 / ps:P6 ) ?president .
  ?president wdt:P106 wd:Q189290 .
  ?president rdfs:label ?presidentLabel
  FILTER ( LANG( ?presidentLabel ) = 'en' )
}

Which U.S. presidents had a military officer as their occupation?

List the heads of government of the United States who served as military officers.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q30> ( <http://www.wikidata.org/prop/P6> / <http://www.wikidata.org/prop/statement/P6> ) ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q8473> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: How many ports are listed in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT(COUNT(*) AS ?count) WHERE {
  ?port wdt:P31 wd:Q44782 .
}

What is the total number of ports in Wikidata?

Count the number of entities classified as ports in Wikidata.

SELECT( COUNT (* ) AS ?var1 ) WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "zh-hans,en". } ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q44782> . }


Question: Who are the heads of government of the United States that are politicians?

SELECT ?var1 ?var1Label WHERE { wd:Q30 p:P6 ?statement . ?statement ps:P6 ?var1 . ?var1 p:P106 ?occStatement . ?occStatement ps:P106 wd:Q82955 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en")}

List the English names of all U.S. presidents who have the occupation of politician.

Which individuals have served as the head of government of the United States and are classified as politicians?

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q30> ( <http://www.wikidata.org/prop/P6> / <http://www.wikidata.org/prop/statement/P6> ) ?var1 . ?var1 <http://www.wikidata.org/prop/P106> <http://www.wikidata.org/prop/statement/Q1734662> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are some notable locations with coordinates, images, and Wikimedia Commons categories?

SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?coord . OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . } LIMIT 3000

Can you show me items that have geographic coordinates, along with their images, Commons categories, and street addresses?

List entities with location data and their associated media and category information from Wikimedia Commons.

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(20 45)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(20 45)"^^<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: What are the labels for "teen film" in English, German, French, and Italian, along with its image and English Wikipedia page?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?label ?image ?wikipediaPage WHERE {
  OPTIONAL {
    wd:Q1146335 rdfs:label ?label .
    FILTER ( LANG( ?label ) = ?lang ) VALUES ( ?lang ?order ) {
      ( "en" 1 ) ( "de" 2 ) ( "fr" 3 ) ( "it" 4 )
    }
  }
  OPTIONAL {
    wd:Q1146335 wdt:P18 ?image .
  }
  OPTIONAL {
    ?wikipediaPage rdf:type schema:Article ; schema:about wd:Q1146335 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  }
}
ORDER BY ?order

Can you show me the different language labels for the teen film genre on Wikidata, including its image and the link to its English Wikipedia article, ordered by language preference?

Please provide the English, German, French, and Italian labels for the teen film genre, its associated image from Wikimedia Commons, and the link to its English Wikipedia page, sorted so that English appears first.

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


Question: What is the English label, description, and image of cattle?

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

Can you show me the description and picture of cattle in English?

Tell me about cattle: what is it called in English, how is it described, and what does it look like?

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


Question: What is the English label and description of the occupation "Clerk of works", and is there an associated image?

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

Can you show me the English name and definition of the role "Clerk of works", along with any image available for it?

What does Wikidata say about the position "Clerk of works" in English, including its description and image?

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


Question: What is Iron Maiden's MusicBrainz ID and genre?

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 ?groupLabel ?image ?website ?locationLabel ?facebook ?genreLabel ?musicBrainzId WHERE {
  wd:Q3154520 wdt:P31 wd:Q215380 .
  OPTIONAL {
    wd:Q3154520 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q3154520 wdt:P856 ?website .
  }
  OPTIONAL {
    wd:Q3154520 wdt:P740 ?location .
  }
  OPTIONAL {
    wd:Q3154520 wdt:P2013 ?facebook .
  }
  OPTIONAL {
    wd:Q3154520 wdt:P136 ?genre .
  }
  OPTIONAL {
    wd:Q3154520 wdt:P434 ?musicBrainzId .
  }
  OPTIONAL {
    wd:Q3154520 rdfs:label ?groupLabel .
    FILTER(LANG(?groupLabel) = "en")
  }
  OPTIONAL {
    ?location rdfs:label ?locationLabel .
    FILTER(LANG(?locationLabel) = "en")
  }
  OPTIONAL {
    ?genre rdfs:label ?genreLabel .
    FILTER(LANG(?genreLabel) = "en")
  }
}
LIMIT 1

Can you provide the official website, image, location of formation, Facebook page, genre, and MusicBrainz ID for the band Iron Maiden?

Show me all available details about Iron Maiden, including its genre, MusicBrainz ID, and other identifiers, from Wikidata.

SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P740> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2013> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P434> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1953> ?var8 . } FILTER ( ( ( ?var1 = <http://www.wikidata.org/entity/Q3154520> ) ) ) . } LIMIT 1


Question: What is the English label, description, and image of the 1924 film "America" directed by D. W. Griffith?

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

Can you tell me the English title, description, and image associated with the film America from 1924?

Please provide the English name, brief description, and image file for the 1924 film America by D. W. Griffith.

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


Question: Multilingual titles of the 1985 film "The Aviator" and its English Wikipedia page.

SELECT ?label ?wikipediaArticle ?image ?coordinates ?youtubeId ?githubUsername ?twitterUsername ?facebookUsername ?instagramUsername ?officialWebsite ?orcid WHERE { wd:Q484860 rdfs:label ?label . VALUES (?lang ?sortOrder) { ("en" 1) ("de" 2) ("fr" 3) ("it" 4) } FILTER (LANG(?label) = ?lang) OPTIONAL { wd:Q484860 wdt:P18 ?image . } OPTIONAL { wd:Q484860 wdt:P625 ?coordinates . } OPTIONAL { wd:Q484860 wdt:P1651 ?youtubeId . } OPTIONAL { wd:Q484860 wdt:P2037 ?githubUsername . } OPTIONAL { wd:Q484860 wdt:P2002 ?twitterUsername . } OPTIONAL { wd:Q484860 wdt:P2013 ?facebookUsername . } OPTIONAL { wd:Q484860 wdt:P2003 ?instagramUsername . } OPTIONAL { wd:Q484860 wdt:P856 ?officialWebsite . } OPTIONAL { wd:Q484860 wdt:P496 ?orcid . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q484860 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . } } ORDER BY ?sortOrder

What are the titles of the 1985 film "The Aviator" in English, German, French, and Italian, and what is its English Wikipedia article?

Show me the titles of the film "The Aviator" (1985) in English, German, French, and Italian, sorted by language preference, along with its English Wikipedia link.

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


Question: Wikidata properties with English and German labels and an English description.

SELECT ?item ?label_en ?label_de ?description_en WHERE { ?item rdfs:label ?label_en ; rdfs:label ?label_de ; schema:description ?description_en . FILTER(LANG(?label_en) = "en") . FILTER(LANG(?label_de) = "de") . FILTER(LANG(?description_en) = "en") . MINUS { ?item wdt:P31 wd:Q4167836 . } } LIMIT 10

Which Wikidata properties have labels in both English and German, along with an English description?

Show me all Wikidata properties that are not disambiguation pages and have labels in English and German, plus an English description.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 , ?var3 . { ?var1 <http://schema.org/description> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . } VALUES ( ?var2 ) { ( "string1"@en ) } FILTER ( ( ( LANG ( ?var3 ) = "de" ) ) ) . }


Question: What places are located between longitude 20° and 21° and latitude 41°N, and what are their images and Wikimedia Commons categories?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?location ?image ?commonsCategory ?address WHERE {
  ?item wdt:P625 ?location .
  FILTER(REGEX(STR(?location) , "^POINT\\((20\\.[0-9]+|21\\.0) 41\\.[0-9]+\\)$"))
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
  OPTIONAL {
    ?item wdt:P373 ?commonsCategory .
  }
  OPTIONAL {
    ?item wdt:P969 ?address .
  }
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}
LIMIT 3000

Show me English-labeled locations in the Balkans near 41°N latitude with their coordinates, images, and Commons categories.

List settlements in North Macedonia and nearby regions at approximately 41°N latitude, including their photos and associated Wikimedia Commons categories.

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(20 41)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(21 41)"^^<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: Image of James Lane Allen from SNAC ARK ID w61v5hg4

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

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

Show me the picture of the person whose SNAC ARK ID is w61v5hg4.

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


Question: What are some news articles, along with their English titles, images, and corresponding Wikipedia pages?

PREFIX schema: <http://schema.org/>
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 ?var1 ?var1Label ( SAMPLE( ?var3 ) AS ?image ) ( SAMPLE( ?var4 ) AS ?wikipediaPage ) WHERE {
  ?var1 wdt:P31 wd:Q5707594 .
  OPTIONAL {
    ?var1 wdt:P18 ?var3 .
  }
  OPTIONAL {
    ?var4 schema:about ?var1 .
    ?var4 schema:isPartOf <https://en.wikipedia.org/> .
  }
  OPTIONAL {
    ?var1 rdfs:label ?var1Label .
    FILTER ( LANG( ?var1Label ) = "en" )
  }
}
GROUP BY ?var1 ?var1Label

Can you show me news articles from Wikidata that have an image on Wikimedia Commons and a link to an English Wikipedia article?

List English-labeled news articles and include any available images or Wikipedia links associated with them.

SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5707594> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs". } } GROUP BY ?var1 ?var1Label ?var2 ?var4


Question: Image of Naotake Satō with SNAC ARK ID w6dp47d7

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

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

Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w6dp47d7.

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


Question: Which Twitter accounts (Snowden, CNRS, lemondefr) have the fewest Wikipedia links?

SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item ; schema:isPartOf ?site . VALUES ?username { "Snowden" "CNRS" "lemondefr" } } GROUP BY ?item ?username ORDER BY ASC (?sitelinkCount)

How many Wikipedia articles are linked to the Twitter accounts @Snowden, @CNRS, and @lemondefr, sorted by least to most?

List the entities associated with the Twitter usernames Snowden, CNRS, and lemondefr, along with how many Wikipedia pages link to them, ordered by the number of links from lowest to highest.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "GRMPZ" ) ( "string1" ) ( "copymeorg" ) ( "string2" ) ( "string3" ) ( "Snowden" ) ( "lemondefr" ) ( "string4" ) ( "string5" ) ( "SNCB" ) ( "espacesmob" ) ( "string6" ) ( "CalSunday" ) ( "Wendymac" ) ( "string7" ) ( "LaTacfi" ) ( "CNRS" ) ( "Charles2M" ) } } ORDER BY ASC( ?var3 )


Question: How many notable events occurred each year between 1930 and 2019, and can you show one example per year?

SELECT (SAMPLE(?item) AS ?sample_item) ?year (COUNT(DISTINCT ?item) AS ?count) WHERE { ?item wdt:P585 ?date . BIND(YEAR(?date) AS ?year) . FILTER(?year > 1929 && ?year < 2020) . } GROUP BY ?year ORDER BY DESC(?year)

Which years between 1930 and 2019 had the most events recorded in Wikidata, and what’s one example from each year?

Can you list the number of events per year from 1930 to 2019, along with a sample event for each year?

SELECT( SAMPLE ( ?var1 ) AS ?var1 ) ?var2 ( COUNT ( DISTINCT ?var1 ) AS ?var3 )( SUM ( ?var4 ) AS ?var5 ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q205892> ; <http://www.wikidata.org/prop/direct/P585> ?var6 . FILTER ( ( ( ?var2 > "1929"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var2 < "2020"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://wikiba.se/ontology#sitelinks> ?var4 . } } GROUP BY ?var2 ORDER BY DESC( ?var2 )


Question: Who was Princess Elizabeth of Sweden married to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?spouse WHERE {
  wd:Q654753 wdt:P26 ?spouse .
}

Can you tell me who Princess Elizabeth of Sweden’s husband was?

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P26> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P26> <http://www.wikidata.org/entity/Q654753> . } LIMIT 101


Question: Superclasses of dictionary page in Wiktionary

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?ancestor WHERE {
  wd:Q20088089 wdt:P279 * ?ancestor .
}
LIMIT 100

What are all the categories that a dictionary page in Wiktionary is a subclass of, including itself?

List all ancestor classes of the dictionary page in Wiktionary in the Wikidata subclass hierarchy.

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


Question: How many works did L. Ron Hubbard author?

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

What is the total number of works authored by L. Ron Hubbard?

List the count of books and other works written by L. Ron Hubbard.

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


Question: What is the Twitter/X username of Jean-Michel Blanquer on Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item(STR(?username) AS ?username_str) WHERE {
  ?item wdt:P2002 ?username .
  FILTER(?username = "jmblanquer")
}

Can you find the Wikidata item for the Twitter handle "jmblanquer"?

Show me the Wikidata entity that has the Twitter username "jmblanquer".

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


Question: What books or works did Paul Otlet author?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?work ?workTitle WHERE {
  ?work wdt:P50 wd:Q1868 .
  ?work wdt:P1476 ?workTitle .
  FILTER(LANG(?workTitle) = "en")
}

List the English titles of books written by Paul Otlet.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q1868> . } LIMIT 10000


Question: Who are the people educated at the Massachusetts Institute of Technology, and where is MIT located?

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

List the names of alumni of MIT along with the geographic coordinates of the institute.

Show me the English names of individuals who attended MIT and the location of MIT on Earth.

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


Question: What are the English names of female organisms that have an Instagram username?

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 ?var1Label ?var3 WHERE {
  ?var1 wdt:P21 wd:Q43445 .
  OPTIONAL {
    ?var1 wdt:P2003 ?var3 .
  }
  ?var1 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" )
}

Show me female animals and their Instagram handles from Wikidata.

Which female creatures on Wikidata are active on Instagram, and what are their usernames?

SELECT ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru,en". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q43445> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2003> ?var3 . } }


Question: Church buildings in Rome with images and coordinates

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 ?church ?churchLabel ?coord ?image WHERE {
  ?church wdt:P31 wd:Q16970 .
  ?church wdt:P17 wd:Q38 .
  ?church wdt:P131 wd:Q220 .
  ?church wdt:P625 ?coord .
  ?church wdt:P18 ?image .
  ?church rdfs:label ?churchLabel .
  FILTER ( LANG( ?churchLabel ) = "en" )
}

What are the church buildings in Rome, Italy, that have images and geographic coordinates?

Show me the names, images, and locations of church buildings in Rome.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it". } FILTER ( ( ( ?var3 > "4000"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34651> . ?var1 <http://www.wikidata.org/prop/direct/P276> <http://www.wikidata.org/entity/Q220> . }


Question: Image of George Eliot with SNAC ARK ID w69028pn

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

What is the image associated with George Eliot in Wikidata, identified by the SNAC ARK ID w69028pn?

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

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


Question: Political parties and their countries

SELECT ?party ?partyLabel ?country ?countryLabel WHERE { ?party wdt:P31 wd:Q7278 . ?party wdt:P17 ?country . ?party rdfs:label ?partyLabel . ?country rdfs:label ?countryLabel . FILTER(LANG(?partyLabel) = "en") FILTER(LANG(?countryLabel) = "en") }

Which political parties exist in each country?

List all political parties along with the countries they are based in, using English labels.

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


Question: Computer keyboards with images on Wikimedia Commons

SELECT ?keyboard ?keyboardLabel ?image WHERE { ?keyboard wdt:P31 wd:Q250 . ?keyboard wdt:P18 ?image . ?keyboard rdfs:label ?keyboardLabel . FILTER(LANG(?keyboardLabel) = "en") }

What are the names and images of computer keyboards available on Wikimedia Commons?

Show me the English names and corresponding images of all computer keyboards.

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


Question: Wikidata items with Twitter usernames CroixRouge, Farapej, lacimade, or ucly

SELECT ?item ?username ?sitelinks WHERE { ?item wdt:P2002 ?username . VALUES ?username { "CroixRouge" "Farapej" "lacimade" "ucly" } . OPTIONAL { ?item wikibase:sitelinks ?sitelinks } } ORDER BY ASC(?sitelinks)

Which entities on Wikidata have the Twitter usernames "CroixRouge", "Farapej", "lacimade", or "ucly"?

List the Wikidata items for the Twitter accounts @CroixRouge, @Farapej, @lacimade, and @ucly, along with their Wikipedia sitelink counts.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "Farapej" ) ( "string1" ) ( "ForumduTIG" ) ( "GMPrisons" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "UCLYDROIT" ) ( "ucly" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "lacimade" ) ( "CroixRouge" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) } } ORDER BY ASC( ?var3 )


Question: Who are the astrologers listed in Wikidata?

SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q155647 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = 'en') }

Which people have astrologer as their occupation?

List the English names of individuals whose profession is astrologer.

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


Question: Dutch-labeled exhibition venues and events with Dutch descriptions used in artwork exhibition history.

SELECT ?exhibition ?label ?description WHERE { ?artwork wdt:P608 ?exhibition . ?exhibition rdfs:label ?label . ?exhibition schema:description ?description . FILTER(LANG(?label) = "nl") . FILTER(LANG(?description) = "nl") } LIMIT 100

Which exhibitions or venues in Wikidata have both a Dutch label and a Dutch description, and have been used as locations where artworks were displayed?

List all exhibition events or venues that have been used in the exhibition history of artworks, and that have Dutch 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/P608> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "nl" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "nl" ) ) ) . } LIMIT 100


Question: What is IBM’s stock ticker symbol on the New York Stock Exchange?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?exchangeLabel ?tickerSymbol WHERE {
  wd:Q37156 p:P414 ?statement .
  ?statement ps:P414 ?exchange .
  ?statement pq:P249 ?tickerSymbol .
  VALUES ?exchange {
    wd:Q13677 wd:Q82059
  }
  .
  ?exchange rdfs:label ?exchangeLabel .
  FILTER(LANG(?exchangeLabel) = "en")
}
ORDER BY ?exchangeLabel

Show me the ticker symbols for IBM on major U.S. stock exchanges like NYSE or Nasdaq.

Which stock exchange lists IBM, and what is its trading symbol?

SELECT ?var1Label ?var2Label ?var3Label ?var4Label WHERE { ?var5 <http://www.wikidata.org/prop/direct/P646> "IBM". ?var5 <http://www.wikidata.org/prop/direct/P176> * ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P156> * ?var1 . { ?var1 <http://www.wikidata.org/prop/P414> ?var7 . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P127> +/ <http://www.wikidata.org/prop/direct/P156> *) ?var2 . ?var2 <http://www.wikidata.org/prop/P414> ?var7 . } UNION { ?var1 ( <http://www.wikidata.org/prop/direct/P749> +/ <http://www.wikidata.org/prop/direct/P156> *) ?var2 . ?var2 <http://www.wikidata.org/prop/P414> ?var7 . } VALUES ( ?var8 ) { ( <http://www.wikidata.org/entity/Q13677> ) ( <http://www.wikidata.org/entity/Q82059> ) } ?var7 <http://www.wikidata.org/prop/statement/P414> ?var8 . ?var7 <http://www.wikidata.org/prop/qualifier/P249> ?var3 . ?var7 <http://www.wikidata.org/prop/statement/P414> ?var4 . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1616075> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11032> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1Label ?var2Label ?var3Label ?var4Label ORDER BY ASC( ?var1Label )ASC( ?var2Label )ASC( ?var3Label )ASC( ?var4Label )


Question: What are the Q-numbers of all calendar years (entities that are instances of the unit "year")?

SELECT ?item ?qNumber WHERE { ?item wdt:P31 wd:Q577 . BIND(SUBSTR(STR(?item), 31) AS ?qNumber) }

List the entities representing specific years and extract their Wikidata IDs (Q-numbers).

Show the Q-identifiers of all years defined in Wikidata as instances of the unit "year".

SELECT ?var1 ?var2 WHERE { BIND ( SUBSTR ( STR ( ?var1 ) ,"31"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/> * <http://www.wikidata.org/entity/Q577> . }


Question: Entities with performer qualifiers and their associated performers

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 [ pq:P175 ?var2 ] . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var1Label) = "en") FILTER(LANG(?var2Label) = "en") } LIMIT 1000

Which items or properties in Wikidata have a performer specified as a qualifier, and who are those performers?

Show me all entities that have a performer as a qualifier on any of their statements, along with the performer’s name.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 [ <http://www.wikidata.org/prop/qualifier/P175> ?var2 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs,en". } } LIMIT 1000


Question: Which Wikidata entities have Twitter usernames "CNEWS" or "BFMTV"?

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

What are the Wikidata items associated with the Twitter handles CNEWS and BFMTV?

Show me the Wikidata entities for the Twitter accounts CNEWS and BFMTV.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "ZRohsner" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "MSHDijon" ) ( "cdiclos" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "GGTHOM" ) ( "string13" ) ( "BibDepery" ) ( "FabriqueFc" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "string18" ) ( "string19" ) ( "CNEWS" ) ( "BFMTV" ) ( "string20" ) ( "ljadot" ) ( "string21" ) ( "string22" ) } } ORDER BY ASC( ?var3 )


Question: Finnish musical groups, their formation locations, and coordinates

SELECT DISTINCT ?band ?bandLabel ?locationLabel ?coordinates WHERE { ?band wdt:P495 wd:Q33 . ?band wdt:P740 ?location . ?location wdt:P625 ?coordinates . ?band rdfs:label ?bandLabel . ?location rdfs:label ?locationLabel . FILTER(LANG(?bandLabel) = "en") FILTER(LANG(?locationLabel) = "en") }

Which musical groups from Finland have known formation locations with geographic coordinates?

Show me the names of Finnish musical bands, where they were formed, and the coordinates of those locations.

SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q33> . ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q38848> . ?var1 <http://www.wikidata.org/prop/direct/P740> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,de,en". } }


Question: French labels and descriptions of properties used by Departmental archives of Manche

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

What are the French labels and descriptions of the properties associated with the Departmental archives of Manche on Wikidata?

Show me the French names and descriptions of all properties that are used to describe the Departmental archives of Manche.

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/Q2860496> . ?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: French label and description of Ministry of Culture

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

What is the French label and description of the Ministry of Culture?

Please provide the French name and description of the Ministry of Culture.

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/Q19973770> . ?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: Record labels in Wikidata with English labels and descriptions

SELECT ?recordLabel ?label ?description WHERE { ?item wdt:P264 ?recordLabel . ?recordLabel wdt:P31 wd:Q18127 . ?recordLabel rdfs:label ?label . ?recordLabel schema:description ?description . FILTER(LANG(?label) = "en") FILTER(LANG(?description) = "en") } LIMIT 20

What are the English names and descriptions of record labels associated with music releases in Wikidata?

Show me the English labels and descriptions of all record labels linked to music items in Wikidata.

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


Question: Films with their original language, release date, and cast members in English.

SELECT DISTINCT ?film ?filmLabel ?languageLabel ?releaseDate ?actorLabel WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?releaseDate . ?film wdt:P364 ?language . ?film wdt:P161 ?actor . OPTIONAL { ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = "en") } OPTIONAL { ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = "en") } OPTIONAL { ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = "en") } } LIMIT 100

What are the English titles, original languages, release dates, and cast members of films?

Show me a list of films, including their English titles, the language they were originally made in, when they were released, and who starred in them.

SELECT DISTINCT ?var1 ?var2Label ?var3 ?var1Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P364> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P161> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 100


Question: Musical groups signed to Modular Recordings

SELECT ?group ?label WHERE { ?group wdt:P31 wd:Q215380 . ?group wdt:P264 wd:Q1306283 . ?group rdfs:label ?label . FILTER(LANG(?label) = "en") }

Which musical groups have been released by Modular Recordings?

List the English names of all musical groups that are signed to the record label Modular Recordings.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q215380> . 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/P264> <http://www.wikidata.org/entity/Q1306283> . }


Question: Villages and human settlements in Bulgaria without a Ukrainian Wikipedia page, listed with their Bulgarian names.

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 schema: <http://schema.org/>
SELECT ?item ?itemLabel WHERE {
  ?item wdt:P17 wd:Q219 .
  ?item wdt:P31 ?instance .
  FILTER(?instance = wd:Q532 || ?instance = wd:Q486972)
  FILTER(NOT EXISTS {
    ?wikipedia schema:about ?item ; schema:inLanguage "uk" ; schema:isPartOf <https://uk.wikipedia.org/> .
  })
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "bg")
}
ORDER BY ASC(?item)
LIMIT 100

What are the names of villages and settlements in Bulgaria that don’t have a Ukrainian-language Wikipedia article?

Please list all Bulgarian villages and human settlements that lack a Ukrainian Wikipedia article, showing their names in Bulgarian.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q219> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,uk,fr,ru,uk". } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "uk" ) ) ) . } FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q532> ) || ( ?var3 = <http://www.wikidata.org/entity/Q486972> ) ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> "uk". ?var4 <http://schema.org/isPartOf> <https://uk.wikipedia.org/> . } ) ) . } ORDER BY ASC( ?var1 )


Question: German-labeled cities and towns with their elevation above sea level

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?entityLabel ?description ?elevation WHERE {
  ?entity wdt:P2044 ?elevation .
  ?entity rdfs:label ?entityLabel .
  ?entity schema:description ?description .
  FILTER ( LANG( ?entityLabel ) = "de" ) .
  FILTER ( LANG( ?description ) = "de" ) .
}
LIMIT 100

Which German-named places have recorded elevations above sea level, and what are their descriptions?

Show me up to 100 places with German labels and descriptions that have an elevation above sea level, along with their elevation values.

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/P2044> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "de" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "de" ) ) ) . } LIMIT 100