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

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

Which place in Russia has the Great Russian Encyclopedia Online ID 4923528, and what is its English description?

Show me the English name and description of the entity identified by the old Great Russian Encyclopedia Online ID 4923528.

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


Question: What transport services operate which trains, routes, or stations?

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 ?service ?serviceLabel ?operatedItem ?operatedItemLabel WHERE {
  ?service(wdt:P31 / wdt:P279 *) wd:Q1067164 .
  ?service wdt:P121 ?operatedItem .
  ?service rdfs:label ?serviceLabel .
  ?operatedItem rdfs:label ?operatedItemLabel .
  FILTER(LANG(?serviceLabel) = "en")
  FILTER(LANG(?operatedItemLabel) = "en")
}
LIMIT 1000

Which transport service itineraries are associated with specific vehicles or infrastructure, and what are their names?

List all transport service routes along with the trains, ferries, or stations they operate, using English labels.

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


Question: What entities are linked to the New York City Subway Q train?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?entity ?property WHERE {
  ?entity ?property wd:Q126448 .
}
LIMIT 10

Which Wikipedia articles are associated with the Q train (Q126448) on Wikidata?

Show me all the entities that have the Q train (Q126448) as their value, along with the properties used to link them.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/wiki/Special:EntityData/Q126448> . } LIMIT 10


Question: Properties used on lakes and their subclasses

SELECT DISTINCT ?property WHERE { ?lakeEntity wdt:P31 ?type . ?type wdt:P279* wd:Q23397 . ?lakeEntity ?property ?value . }

What properties are associated with lakes and types of lakes in Wikidata?

List all properties that are used to describe any entity that is a lake or a subclass of a lake.

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


Question: Unclassified basketball-related entities and their labels

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?label WHERE {
  ?item wdt:P641 wd:Q5372 .
  ?item rdfs:label ?label . MINUS {
    ?item wdt:P31 [] .
  }
}
ORDER BY ASC(?label)

What are the basketball-associated items in Wikidata that haven't been categorized as a specific type?

List all labels of entities related to basketball that do not have an explicit instance-of classification.

SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q5372> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> [] . } } ORDER BY ASC( ?var2Label )


Question: Does Wikidata contain an entity with VIAF ID 25215427?

Is there a person in Wikidata identified by the VIAF number 25215427?

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

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


Question: Is Mount Everest a volcanic landform?

Does Mount Everest belong to the class of volcanic landforms, either directly or through subclass inheritance?

Check whether Mount Everest is classified as a volcanic landform, including any of its superclass relationships.

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


Question: What is the DBpedia resource URI for Brussels Airport?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?dbpediaResource WHERE {
  SERVICE <https://dbpedia.org/sparql> {
    ?dbpediaResource rdfs:label "Brussels Airport" @en .
  }
}

Can you find the DBpedia page for Brussels Airport?

Which DBpedia entity corresponds to the airport in Brussels?

SELECT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q28934> ) } SERVICE <http://dbpedia.org/sparql> { ?var3 <http://www.w3.org/2002/07/owl#sameAs> ?var2 . ?var3 <http://dbpedia.org/ontology/wikiPageID> ?var1 . } }


Question: How many Wikipedia articles are there for each domestic cat?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?cat(COUNT(?article) AS ?articleCount) WHERE {
  ?cat wdt:P31 wd:Q146 .
  OPTIONAL {
    ?article schema:about ?cat .
  }
}
GROUP BY ?cat

Can you list the domestic cats and the number of Wikipedia pages dedicated to each?

Which cats have the most Wikipedia articles written about them, and how many are there?

SELECT ?var1 ?var1Label ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . } OPTIONAL { ?var2 <http://schema.org/about> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } GROUP BY ?var1 ?var1Label


Question: Types of fruit that are subclasses of fruit.

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 ?fruitType ?fruitTypeLabel WHERE {
  ?fruitType wdt:P279 wd:Q3314483 .
  ?fruitType rdfs:label ?fruitTypeLabel .
  FILTER(LANG(?fruitTypeLabel) = "en")
}

What are some specific kinds of fruit classified as subclasses of fruit?

List all types of fruit, such as apple or avocado, that are subclasses of the fruit category.

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


Question: Country of origin of stroopwafel

SELECT ?countryLabel WHERE { wd:Q267877 wdt:P495 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") }

Which country is the origin of stroopwafel?

Tell me the country where stroopwafel comes from.

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


Question: Humans with sports team memberships starting after 1815, their images, and team names.

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?human ?humanLabel ?teamLabel ?image ?startDate WHERE {
  ?human wdt:P31 wd:Q5 ; wdt:P18 ?image ; p:P54 ?statement .
  ?statement ps:P54 ?team ; pq:P580 ?startDate .
  ?human rdfs:label ?humanLabel .
  ?team rdfs:label ?teamLabel .
  FILTER ( ?startDate >= "1815-01-01T00:00:00Z" ^^ xsd:dateTime )
}
LIMIT 10

Which humans have played for sports teams since 1815, and what are their images and team names?

Show me a list of people who joined sports teams from 1815 onwards, including their photos and the teams they played for.

SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P18> ?var3 ; <http://www.wikidata.org/prop/P54> ?var5 . ?var5 <http://www.wikidata.org/prop/P54> ?var2 ; <http://www.wikidata.org/prop/qualifier/P580> ?var4 . FILTER ( ( ( ?var4 >= "1815-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } LIMIT 10


Question: People currently serving in the Swiss National Council since 2010 and their political parties.

SELECT DISTINCT ?person ?personLabel ?partyLabel ?start WHERE {  ?person p:P39 ?stmt .  ?stmt ps:P39 wd:Q18510612 ;        pq:P580 ?start .  FILTER NOT EXISTS { ?stmt pq:P582 ?end } .  FILTER ( ?start >= "2010-01-01T00:00:00Z"^^xsd:dateTime ) .  ?person wdt:P102 ?party .  ?person rdfs:label ?personLabel .  ?party rdfs:label ?partyLabel .  FILTER (LANG(?personLabel) = "en") .  FILTER (LANG(?partyLabel) = "en") . } ORDER BY ASC(?person)

Who are the members of the Swiss National Council who started their term after January 1, 2010, and what parties do they belong to?

List all current members of the Swiss National Council with a start date on or after 2010, along with their political affiliations.

SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q18510612> . ?var1 <http://www.wikidata.org/prop/direct/P1307> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P102> ?var2 . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . FILTER ( ( ( "2010-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var3 ) ) ) . ?var4 <http://www.wikidata.org/prop/qualifier/P580> ?var6 . FILTER ( ( ( "2010-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var6 ) ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var7 . } ) ) . FILTER ( ( ( ?var3 != ?var6 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,fr". } } ORDER BY ASC( ?var1 )


Question: Most used property linking bodybuilding to other entities

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

Which property is most frequently used to associate athletes with bodybuilding on Wikidata?

Show me the property that connects the most items to bodybuilding, along with how many times it's used.

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


Question: What are all the superclass categories of the Ceinture 21 to 35 locomotive class?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?superclass WHERE {
  wd:Q35219934 wdt:P279 * ?superclass .
}

What broader categories does the SNCF 2-030.TB locomotive class belong to through its subclass hierarchy?

Show me the full taxonomic hierarchy above the Nord 3.901–3.915 locomotive class in Wikidata.

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


Question: Subclasses of lakes and their immediate parent categories in Wikidata.

SELECT ?subclass ?subclassLabel ?directParent ?directParentLabel WHERE { ?subclass wdt:P279* wd:Q23397 ; wdt:P279 ?directParent . ?subclass rdfs:label ?subclassLabel . ?directParent rdfs:label ?directParentLabel . FILTER(LANG(?subclassLabel) = "en") FILTER(LANG(?directParentLabel) = "en") }

What are the different types of lakes and what is their direct superclass in the Wikidata knowledge graph?

List all subclasses of lakes (like crater lake or underground lake) along with their direct parent class, using English labels.

SELECT ?var1 ?var1Label ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q23397> ; <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, de". } }


Question: What are the top 500 market halls with the most Wikipedia articles across all languages?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item(COUNT(?sitelink) AS ?sitelinks) WHERE {
  ?item wdt:P31 wd:Q2080521 .
  ?sitelink schema:about ?item .
  ?sitelink schema:isPartOf ?wikipedia .
  FILTER(STRSTARTS(STR(?wikipedia) , "https://"))
}
GROUP BY ?item
ORDER BY DESC(?sitelinks)
LIMIT 500

Which market halls are covered in the most Wikipedia language editions, and how many editions cover each?

Show me the most internationally recognized market halls based on how many Wikipedia versions have articles about them.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2080521> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500


Question: What are the top 200 universities with the most Japanese alumni, and what are their names in Japanese?

SELECT ?university ?labelJa (COUNT(?alumnus) AS ?alumniCount) WHERE { ?university wdt:P31 wd:Q3918 . ?alumnus wdt:P69 ?university . OPTIONAL { ?university rdfs:label ?labelJa . FILTER(LANG(?labelJa) = "ja") } } GROUP BY ?university ?labelJa ORDER BY DESC(?alumniCount) LIMIT 200

Which universities are attended by the largest number of Japanese students, and how many alumni do they have in Japanese?

Can you list the universities with the highest number of Japanese alumni, including their Japanese-language names, sorted from most to least?

SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var3 <http://www.wikidata.org/prop/direct/P69> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "ja" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var4 ) LIMIT 200


Question: Spanish names of universities in Chile

SELECT ?universityLabel WHERE { ?university wdt:P31 wd:Q3918 . ?university wdt:P17 wd:Q298 . ?university rdfs:label ?universityLabel . FILTER (LANG(?universityLabel) = "es") }

What are the names of universities in Chile in Spanish?

List all universities located in Chile with their labels in Spanish.

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


Question: Who are the people listed in the Great Russian Encyclopedia Online with ID 1994554, and what are their English descriptions?

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

What are the English names and descriptions of individuals identified by the Great Russian Encyclopedia Online ID 1994554?

Show me the English names and descriptions of the people associated with the Great Russian Encyclopedia Online ID 1994554.

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


Question: Most common property used to classify aerodromes in Wikidata

SELECT ?property (COUNT(*) AS ?count) WHERE { ?entity ?prop wd:Q62447 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1

Which property is most frequently used to state that something is an aerodrome?

Show me the property that is used the most to classify entities as aerodromes, along with the count.

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


Question: List all softball players in Wikidata.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person WHERE {
  ?person wdt:P106 wd:Q13388586 .
}
ORDER BY ?person

Who are the people whose occupation is softball player?

Can you show me a list of individuals who have worked as softball players?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> * <http://www.wikidata.org/entity/Q13388586> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000


Question: What are the most popular lodging-related topics on Wikipedia, ranked by how many language editions they have articles in?

SELECT ?entity (COUNT(?wikipediaPage) AS ?sitelinkCount) WHERE { { ?entity wdt:P31/wdt:P279* wd:Q5056668 . } UNION { ?entity wdt:P279* wd:Q5056668 . } ?wikipediaPage schema:about ?entity . ?wikipediaPage schema:isPartOf ?wikipediaSite . FILTER (CONTAINS(STR(?wikipediaSite), "wikipedia.org")) } GROUP BY ?entity ORDER BY DESC(?sitelinkCount) LIMIT 2000

Show me the top 2000 entities related to lodging (like hotels or accommodations) that have the most Wikipedia language versions.

Which hotels, accommodation types, or places associated with lodging are covered in the most Wikipedia languages?

SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5056668> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 2000


Question: Which aerospace manufacturers are headquartered in Hawthorne, California?

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 ?company ?companyLabel WHERE {
  ?company wdt:P159 wd:Q688596 .
  ?company wdt:P31 / wdt:P279 * wd:Q936518 .
  ?company rdfs:label ?companyLabel .
  FILTER ( LANG( ?companyLabel ) = "en" )
}
ORDER BY ?companyLabel

List companies in Hawthorne that build spacecraft or rockets.

What organizations in Hawthorne are involved in aerospace manufacturing?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q62> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q193701> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: Does Wikidata contain an entry for the GND ID 1153608766?

Is there a Wikidata item associated with the German National Library ID 1153608766?

Confirm if the person with GND ID 1153608766 is listed in Wikidata.

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


Question: Tennis events at Wimbledon 2018 without competition class, with Spanish labels and Wikipedia pages.

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/>
SELECT ?event ?enLabel ?esLabel ?esPageTitle WHERE {
  ?event wdt:P31 wd:Q46190676 . MINUS {
    ?event wdt:P2094 [] .
  }
  OPTIONAL {
    ?event rdfs:label ?enLabel .
    FILTER ( LANG( ?enLabel ) = "en" )
  }
  FILTER ( BOUND( ?enLabel ) && REGEX( STR( ?enLabel ) , "Wimbledon" , "i" ) ) ?event rdfs:label ?esLabel .
  FILTER ( LANG( ?esLabel ) = "es" ) ?esPage schema:about ?event ; schema:isPartOf <https://es.wikipedia.org/> ; schema:name ?esPageTitle .
}

What are the Wimbledon 2018 tennis events that don’t have a competition class, and what are their Spanish names and corresponding Spanish Wikipedia page titles?

Show me the English and Spanish labels and Spanish Wikipedia titles for Wimbledon 2018 tennis events that are not classified under any competition class.

SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46190676> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P2094> [] . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . } FILTER ( ( REGEX ( STR ( ?var2Label ) , "string1" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "es" ) ) ) . ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://es.wikipedia.org/> ; <http://schema.org/name> ?var4 . }


Question: What properties and values are associated with Osaka University in Wikidata?

SELECT DISTINCT ?property ?object WHERE { wd:Q651233 ?property ?object . } LIMIT 100

Can you list the attributes and details of Osaka University from Wikidata?

Show me all the information available about Osaka University in Wikidata, including its properties and corresponding values.

SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q651233> ?var3 . } LIMIT 100


Question: People with blood type A, their images, and English Wikipedia pages

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?person ?personLabel ( SAMPLE( ?img ) AS ?image ) ?wikipediaPage WHERE {
  ?person wdt:P1853 wd:Q19831453 .
  OPTIONAL {
    ?person wdt:P18 ?img .
  }
  ?wikipediaPage schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}
GROUP BY ?person ?personLabel ?wikipediaPage

Who are the people with blood type A, and what are their English Wikipedia pages and images?

List all individuals with blood type A along with their English names, available images, and corresponding English Wikipedia links.

SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1853> <http://www.wikidata.org/entity/Q19831453> . 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: What entities are labeled 'violet' in English?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?item WHERE {
  ?item rdfs:label "violet" @en .
  ?item wdt:P31 ?type .
}

Which items in Wikidata have the English label 'violet'?

List all entities in Wikidata that are called 'violet' in English and have a defined type.

SELECT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "violet"@en . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } GROUP BY ?var1 ?var3Label ?var4


Question: Countries with cities led by female heads of government.

SELECT ?country WHERE { ?city wdt:P31 wd:Q515 ; wdt:P6 ?headOfGovernment ; wdt:P17 ?country . ?headOfGovernment wdt:P21 wd:Q6581072 . }

Which countries have at least one city whose head of government is female?

List all countries that have a city with a female mayor or chief executive.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> ; <http://www.wikidata.org/prop/direct/P6> ?var3 ; <http://www.wikidata.org/prop/direct/P17> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . }


Question: Handball players without a known date of birth

SELECT ?var1Label WHERE { ?var1 wdt:P31 wd:Q5 . ?var1 wdt:P106 wd:Q12840545 . FILTER (NOT EXISTS { ?var1 wdt:P569 ?birthDate . }) } LIMIT 1000

Who are the human handball players in Wikidata who do not have a recorded birth date?

List all human handball players whose birth dates are not specified in Wikidata.

SELECT ?var1Label ?var2 ?var3Label ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q13365117> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } } LIMIT 1000


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

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

Who is the individual listed in the Great Russian Encyclopedia Online with ID 2155398, and what is their English description?

Please provide the English name and professional description (e.g., painter, dates) of the person identified by the old Great Russian Encyclopedia Online ID 2155398.

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


Question: Athletes from Italy

ASK { ?athlete wdt:P27 wd:Q38 ; wdt:P106 wd:Q2066131 . }

Are there any athletes who are citizens of Italy?

Show me if Italy has any athletes in Wikidata.

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


Question: Are there any athletes from France who have an Olympic.org athlete ID?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?athlete wdt:P27 wd:Q142 ; wdt:P3171 ?id .
}

Olympic.org athlete IDs for French athletes

Show me if any French athletes are listed in the Olympic.org athlete database.

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


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

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

Who is the person listed in the Great Russian Encyclopedia Online with ID 2105008, and what is their English description?

Show me the English name and description of the individual identified by the old Great Russian Encyclopedia Online ID 2105008.

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


Question: What media or events is Samantha Pressdee associated with?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?itemLabel ?typeLabel WHERE {
  wd:Q46914048 wdt:P710 | wdt:P3342 ?item .
  ?item rdfs:label ?itemLabel .
  ?item wdt:P31 ?type .
  ?type rdfs:label ?typeLabel .
  FILTER(LANG(?itemLabel) = "en")
  FILTER(LANG(?typeLabel) = "en")
}

Which people or topics is Samantha Pressdee mentioned in connection with?

Can you list the subjects of articles or events where Samantha Pressdee is a participant or significant person?

SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q46914048> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"60"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q46914048> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = "en" ) ) ) . }


Question: German labels of properties and their values for Pionandra elliptica

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

What are the German labels of the properties and their corresponding values for the plant species Pionandra elliptica?

Show me the German names of the properties used to describe Pionandra elliptica, how many values each has, and what those values are called in German.

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


Question: What are the French-language names of entities associated with handball?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?var1 ?var2Label WHERE {
  ?var1 wdt:P641 wd:Q8418 ; rdfs:label ?var2Label .
  FILTER(LANG(?var2Label) = "fr")
  FILTER(CONTAINS(LCASE(?var2Label) , "handball"))
}
ORDER BY ASC(?var2Label)

Can you list all handball-related entities in French, sorted alphabetically?

Show me the French labels for teams, events, or leagues related to handball.

SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q8418> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> [] . } FILTER ( ( ( LANG ( ?var2Label ) = "fr" ) ) ) . FILTER ( ( CONTAINS ( ?var2Label , "string1" ) ) ) . } ORDER BY ASC( ?var2Label )


Question: What are the parts of the Réseau express régional (RER)?

SELECT ?part ?partLabel WHERE { ?part wdt:P361 wd:Q216125 . ?part rdfs:label ?partLabel . FILTER(LANG(?partLabel) = "en")}

Which projects or components are part of the RER commuter rail network in Île-de-France?

List all extensions or components that belong to the RER network.

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


Question: Which Wikidata items have Twitter usernames "la1ere", "Le_Figaro", or "W_Chloe"?

SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { "la1ere" "Le_Figaro" "W_Chloe" } }

Who or what entities on Wikidata are associated with the Twitter handles @la1ere, @Le_Figaro, and @W_Chloe?

List the Wikidata entities for the Twitter usernames la1ere, Le_Figaro, and W_Chloe.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "W_Chloe" ) ( "Le_Figaro" ) ( "string1" ) ( "la1ere" ) ( "erenault" ) ( "_gabb8" ) ( "string2" ) ( "JFGuyot" ) ( "Melinda_DS" ) } }


Question: Cricketers with the given name Sachin

SELECT ?player ?playerLabel WHERE { ?player wdt:P106 wd:Q12299841 . ?player wdt:P735 wd:Q23041806 . ?player rdfs:label ?playerLabel . FILTER(LANG(?playerLabel) = "en") }

List all people named Sachin who are professional cricketers.

SELECT ?var1Label 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/P106> <http://www.wikidata.org/entity/Q12299841> . ?var1 <http://www.wikidata.org/prop/direct/P735> <http://www.wikidata.org/entity/Q23041806> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15229207> . } LIMIT 100


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

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

Find the English label and description for the Great Russian Encyclopedia entry with ID 3515565.

Which entity in Wikidata corresponds to the Great Russian Encyclopedia Online ID 3515565, and what is its English label and description?

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


Question: Female mayors and city heads currently in office, and the cities they lead.

SELECT ?city ?cityLabel ?head ?headLabel WHERE { ?city (wdt:P31/wdt:P279*) wd:Q515 . ?city p:P6 ?headStatement . ?headStatement ps:P6 ?head . ?head wdt:P21 wd:Q6581072 . FILTER(NOT EXISTS { ?headStatement pq:P582 [] }) OPTIONAL { ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = "en") } OPTIONAL { ?head rdfs:label ?headLabel . FILTER(LANG(?headLabel) = "en") } } LIMIT 100

Which cities currently have a female head of government, and who are they?

List the names of cities and their currently serving female leaders.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/P6> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P6> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 100


Question: Olympic athletes with Sports-Reference.com IDs, including their names, birth and death details, countries (IOC codes), and genders.

SELECT ?athlete ?name ?birthDate ?birthPrecision ?birthPlace ?deathDate ?deathPrecision ?deathPlace ?iocCode ?gender ?olympicId WHERE { ?athlete wdt:P1447 ?olympicId . OPTIONAL { ?athlete (wdt:P569 / psv:P569) [ wikibase:timeValue ?birthDate ; wikibase:timePrecision ?birthPrecision ] . } OPTIONAL { ?athlete wdt:P19 ?birthPlaceItem . ?birthPlaceItem rdfs:label ?birthPlace . FILTER(LANG(?birthPlace) = "en") } OPTIONAL { ?athlete (wdt:P570 / psv:P570) [ wikibase:timeValue ?deathDate ; wikibase:timePrecision ?deathPrecision ] . } OPTIONAL { ?athlete wdt:P20 ?deathPlaceItem . ?deathPlaceItem rdfs:label ?deathPlace . FILTER(LANG(?deathPlace) = "en") } OPTIONAL { ?athlete wdt:P27 ?country . ?country wdt:P984 ?iocCode . } OPTIONAL { ?athlete wdt:P21 ?genderItem . ?genderItem rdfs:label ?gender . FILTER(LANG(?gender) = "en") } OPTIONAL { ?athlete rdfs:label ?name . FILTER(LANG(?name) = "en") } }

Who are the Olympic athletes that have a Sports-Reference.com ID, and what are their birth places, death places, genders, and country codes?

Please list all Olympic athletes who have a Sports-Reference.com athlete ID, along with their English names, dates and places of birth and death, country IOC codes, and gender.

SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { ?var1 <http://www.wikidata.org/prop/P2091> ?var12 . OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timeValue> ?var3 ; <http://wikiba.se/ontology#timePrecision> ?var4 ] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> [ <http://www.w3.org/2000/01/rdf-schema#label> ?var5 ] . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . } OPTIONAL { ?var1 ( <http://www.wikidata.org/prop/P570> / <http://www.wikidata.org/prop/statement/value/P570> ) [ <http://wikiba.se/ontology#timeValue> ?var6 ; <http://wikiba.se/ontology#timePrecision> ?var7 ] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> [ <http://www.w3.org/2000/01/rdf-schema#label> ?var8 ] . FILTER ( ( ( LANG ( ?var8 ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> [ <http://www.wikidata.org/prop/direct/P984> ?var9 ] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> [ <http://www.w3.org/2000/01/rdf-schema#label> ?var10 ] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1447> ?var11 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . } }


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

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

Which reservoir is identified by the ID 3538603 in the Great Russian Encyclopedia Online, and what is its English description?

Show me the English name and description of the entity with Great Russian Encyclopedia Online ID 3538603.

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


Question: What properties are most frequently used to link athletes to the 200 metres event?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {
  ?item ?property wd:Q211155 .
}
GROUP BY ?property
HAVING ( ?count > 1 )
ORDER BY DESC ( ?count )

Which properties connect the most people to the 200 metres sprint, and how many times are they used?

Show me the properties that associate multiple individuals with the 200 metres event, sorted by usage frequency.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q211155> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


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

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

Show me the English label and description of the entity linked to the Great Russian Encyclopedia Online ID 3515565.

Which entity in Wikidata has the Great Russian Encyclopedia Online ID 3515565, and what is its English name and description?

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


Question: Railway stations in Italy with coordinates and Italian Wikipedia pages

SELECT DISTINCT ?station ?coordinates ?it_wiki_page WHERE { ?station wdt:P31 wd:Q55488 . ?station wdt:P17 wd:Q38 . ?station wdt:P625 ?coordinates . ?it_wiki_page schema:about ?station . ?it_wiki_page schema:isPartOf <https://it.wikipedia.org/> . }

What are the railway stations in Italy, their coordinates, and their Italian Wikipedia links?

Show me all railway stations in Italy, including their geographic locations and links to their Italian Wikipedia articles.

SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var1 ?var3 <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://it.wikipedia.org/> . ?var1 <http://schema.org/page> ?var5 . }


Question: Who is the current head of state of India?

SELECT ?headOfState ?headOfStateLabel WHERE { wd:Q668 wdt:P35 ?headOfState . ?headOfState rdfs:label ?headOfStateLabel . FILTER(LANG(?headOfStateLabel) = "en") }

What is the name of the person who holds the position of head of state in India?

Tell me the English label of the individual who is the head of state of India.

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


Question: What are the English or German Wikipedia articles about the TV episode with IMDb ID tt9095424?

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

Show me the Wikipedia pages in English or German for the first episode of The Mandalorian.

Which Wikipedia pages in English or German describe the episode "Chapter 1: The Mandalorian"?

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


Question: Cricketers, their date of birth, place of birth, and country of birth.

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 ?cricketer ?birthDate ?birthPlaceLabel ?countryLabel WHERE {
  ?cricketer wdt:P106 wd:Q12299841 .
  ?cricketer wdt:P569 ?birthDate .
  ?cricketer wdt:P19 ?birthPlace .
  ?birthPlace wdt:P17 ?country .
  ?birthPlace rdfs:label ?birthPlaceLabel .
  ?country rdfs:label ?countryLabel .
  FILTER ( LANG( ?birthPlaceLabel ) = "en" ) FILTER ( LANG( ?countryLabel ) = "en" )
}

Who are the cricketers, and where and when were they born, including their country?

List cricketers along with their date of birth, birthplace, and the country where they were born, all in English.

SELECT ?var1 ?var2Label ?var3Label ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q12299841> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: English name and type of Hyogo University

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

What is the English name and instance type of Hyogo University?

Tell me the English label and what kind of institution Hyogo University is.

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


Question: Fictional cats and their images from Wikidata

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 ?cat ?catLabel ?image WHERE {
  ?cat wdt:P31 wd:Q27120684 .
  OPTIONAL {
    ?cat wdt:P18 ?image .
  }
  ?cat rdfs:label ?catLabel .
  FILTER ( LANG( ?catLabel ) = "en" )
}

Which fictional cats have images associated with them in Wikidata, and what are their names?

Show me a list of fictional cats along with their English labels and any available images.

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


Question: What is the English description of the entry with ID 1879861 in the Great Russian Encyclopedia Online?

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

Can you tell me the name and English description of the Great Russian Encyclopedia entry numbered 1879861?

Show me the English label and description for the entity identified by 1879861 in the Great Russian Encyclopedia (2014–2017).

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


Question: List all deserts in the world with their English names.

SELECT ?desert ?desertLabel WHERE { ?desert wdt:P31 wd:Q8514 . ?desert rdfs:label ?desertLabel . FILTER(LANG(?desertLabel) = "en") } LIMIT 100000

What are the names of all deserts recognized as instances of the desert biome in Wikidata?

Show me the English labels of all known desert entities in Wikidata.

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


Question: Heads of government of Munich with term start and end dates and images

SELECT ?head (SAMPLE(?headLabel) AS ?label) ?endDate ?startDate (SAMPLE(?image) AS ?sampledImage) WHERE { wd:Q1726 p:P6 ?statement . ?statement ps:P6 ?head . ?statement pq:P580 ?startDate . OPTIONAL { ?statement pq:P582 ?endDate . } OPTIONAL { ?head wdt:P18 ?image . } OPTIONAL { ?head rdfs:label ?headLabel . } } GROUP BY ?head ?endDate ?startDate ORDER BY ASC(?startDate)

Who have been the heads of government of Munich, when did their terms start and end, and do they have any images available?

List all mayors of Munich in chronological order, including their term periods and a representative image if one exists.

SELECT ?var1 ?var1Label ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1726> <http://www.wikidata.org/prop/P6> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P6> ?var1 . ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/statement/P6> ?var1 . ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var2 . } OPTIONAL { ?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> "en". } } GROUP BY ?var1 ?var1Label ?var3 ?var2 ORDER BY ASC( ?var3 )


Question: Argentine presidents who served between 1961 and 1983

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?president ?presidentLabel ?startDate ?endDate WHERE {
  ?president wdt:P31 wd:Q5 .
  ?president p:P39 ?term .
  ?term ps:P39 wd:Q12969145 ; pq:P580 ?startDate ; pq:P582 ?endDate .
  ?president rdfs:label ?presidentLabel .
  FILTER(LANG(?presidentLabel) = "en")
  FILTER(YEAR(?startDate) <= 1983 && YEAR(?endDate) >= 1961)
}
ORDER BY ASC(?startDate)

Who were the presidents of Argentina whose terms included any part of the years 1961 to 1983?

List all Argentine presidents who were in office during the period from 1961 to 1983, sorted by when they took office.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q12969145> ; <http://www.wikidata.org/prop/qualifier/P580> ?var2 ; <http://www.wikidata.org/prop/qualifier/P582> ?var3 . FILTER ( ( ( YEAR ( ?var2 ) <= "1983"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var3 ) >= "1961"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY ASC( ?var2 )


Question: Aviation accidents and their dates

SELECT ?accident ?accidentLabel ?date WHERE { ?accident wdt:P31 wd:Q744913 . OPTIONAL { ?accident wdt:P585 ?date . } ?accident rdfs:label ?accidentLabel . FILTER(LANG(?accidentLabel) = "en") } LIMIT 1000

What are the aviation accidents and when did they occur?

List the names of aviation accidents in English along with their occurrence dates.

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


Question: What is the English name and description of the country with Theatricalia ID 156?

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

Which country is identified as "156" in Theatricalia, and what is its English description?

Can you tell me the label and description in English for the entity linked to Theatricalia ID 156?

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


Question: What properties and values are associated with the Parliament of Croatia?

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

Can you list all the data items linked to the Croatian Parliament, including descriptions and identifiers?

What kind of information is available about the Parliament of Croatia in Wikidata, such as its seat count, website, or official descriptions?

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


Question: List up to 100 baseball players and their images.

SELECT ?player ?image WHERE { ?player wdt:P641 wd:Q5369 . OPTIONAL { ?player wdt:P18 ?image . } } LIMIT 100

Who are some baseball players, and do any of them have images on Wikimedia Commons?

Show me a list of up to 100 people who play baseball, including any available photos.

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


Question: What are the English names of athletes and teams that participated in the Paralympic Games, excluding those with a Finnish Wikipedia page?

SELECT DISTINCT ?item ?itemLabel WHERE { { ?item (wdt:P31/wdt:P279*) wd:Q73633 . } UNION { ?item wdt:P1344 ?event . ?event (wdt:P31/wdt:P279*) wd:Q73633 . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") MINUS { ?article schema:isPartOf <https://fi.wikipedia.org/> ; schema:about ?item . } }

List all participants of the Paralympics and related events, along with their English labels, but omit anyone who has a page on the Finnish Wikipedia.

Who are the Paralympic athletes and teams with English names that are not documented on the Finnish Wikipedia?

SELECT DISTINCT ?var1 ?var1Label WHERE { { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q73633> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1344> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q73633> . } MINUS { ?var3 <http://schema.org/isPartOf> <https://fi.wikipedia.org/> ; <http://schema.org/about> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fi,en". } }


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

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

Find the country in Wikidata that has the Great Russian Encyclopedia Online ID 3515565, and show its English name and description.

Which entity is identified by the ID 3515565 in the Great Russian Encyclopedia Online, and what is its English label and description?

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


Question: Instances and subclasses of aviation with English labels

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

What are the known types and examples of aviation, listed with their English names?

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

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


Question: What is the Wikidata item with GND ID 4034054-5?

SELECT ?item ?label WHERE { ?item wdt:P227 "4034054-5" . ?item rdfs:label ?label . FILTER(langMatches(lang(?label), "en")) }

Which concept in Wikidata is identified by the German National Library ID 4034054-5?

Show me the English name of the Wikidata entity linked to the GND ID 4034054-5.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> "4034054-5". } LIMIT 1


Question: Number of seats in the Parliament of Croatia

SELECT ?seats WHERE { wd:Q371576 wdt:P1342 ?seats . }

How many seats does the Parliament of Croatia have?

What is the total membership count of the Croatian Sabor?

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


Question: What properties describe the leopard in Wikidata, with their English labels and descriptions?

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

Which properties are used to describe the leopard (Panthera pardus), and what are their English labels and descriptions?

Show me the English labels and descriptions of all properties that are used to provide information about the leopard on Wikidata.

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


Question: Who were the candidates elected in the 2017 Argentine legislative election?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?person(SAMPLE(?label) AS ?personLabel) WHERE {
  ?person p:P39 / pq:P2715 wd:Q24894725 .
  ?person rdfs:label ?label .
  FILTER(LANGMATCHES(LANG(?label) , "en"))
}
GROUP BY ?person

Which politicians won seats in Argentina’s 2017 legislative election?

List the names of all individuals elected to the Argentine National Congress in the 2017 election.

SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/P39> / <http://www.wikidata.org/prop/qualifier/P2715> ) <http://www.wikidata.org/entity/Q24894725> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Airshows with more than one Wikipedia language edition, ranked by number of editions.

SELECT ?item (COUNT(?site) AS ?sitelinkCount) WHERE { ?item wdt:P31 wd:Q1070669 . ?site schema:about ?item . } GROUP BY ?item HAVING (?sitelinkCount > 1) ORDER BY DESC(?sitelinkCount) LIMIT 1000

Which airshows have Wikipedia pages in more than one language, and how many languages do they have?

List the top airshows with the most Wikipedia language versions, excluding those with only one.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1070669> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000


Question: What are the coordinates of all rivers that flow into the Saint-Maurice River?

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 ?river ?riverLabel ?coord WHERE {
  ?river wdt:P403 + wd:Q203862 .
  ?river wdt:P625 ?coord .
  OPTIONAL {
    ?river rdfs:label ?riverLabel .
    FILTER(LANG(?riverLabel) = "en")
  }
}

List the tributaries of the Saint-Maurice River in Quebec along with their locations.

Show me the names and geographic coordinates of all watercourses that drain into the Saint-Maurice River.

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


Question: What are the types of Osaka University and who are its alumni?

SELECT ?item ?label ?category WHERE { { wd:Q651233 wdt:P31 ?item . ?item rdfs:label ?label . FILTER(LANG(?label) = "en") BIND ("type" AS ?category) } UNION { ?item wdt:P69 wd:Q651233 . ?item rdfs:label ?label . FILTER(LANG(?label) = "en") BIND ("person" AS ?category) } }

List the categories (type or person) along with the names of Osaka University’s classifications and its graduates.

Show me what kind of institution Osaka University is and who studied there, using English labels.

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


Question: Largest cities in the world with a current female mayor or head of government.

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT DISTINCT ?city ?cityLabel ?head ?headLabel ?population WHERE {
  ?city wdt:P31 wd:Q515 .
  ?city wdt:P1082 ?population .
  ?city p:P6 ?headStmt .
  ?headStmt ps:P6 ?head .
  ?head wdt:P21 wd:Q6581072 .
  FILTER NOT EXISTS {
    ?headStmt pq:P582 ?end .
  }
  OPTIONAL {
    ?city rdfs:label ?cityLabel .
    FILTER ( LANG( ?cityLabel ) = "en" )
  }
  OPTIONAL {
    ?head rdfs:label ?headLabel .
    FILTER ( LANG( ?headLabel ) = "en" )
  }
}
ORDER BY DESC ( ?population )
LIMIT 100

Which are the 100 biggest cities globally that currently have a female head of government, ranked by population?

Please list the top 100 cities by population that have an active female leader, along with the leader’s name and the city’s population.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q6581072> AS ?var3 ). BIND ( <http://www.wikidata.org/entity/Q515> AS ?var4 ). ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var4 . ?var1 <http://www.wikidata.org/prop/P6> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P6> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P21> ?var3 . FILTER ( ( NOT EXISTS { ?var5 <http://www.wikidata.org/prop/qualifier/P582> ?var6 . } ) ) . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } } ORDER BY DESC( ?var7 ) LIMIT 100


Question: Musicians whose fathers are politicians

SELECT ?musician ?musicianLabel WHERE { ?musician wdt:P106 wd:Q639669 . ?musician wdt:P22 ?father . ?father wdt:P106 wd:Q82955 . ?musician rdfs:label ?musicianLabel . FILTER(LANG(?musicianLabel) = "en") }

Who are the musicians that have a father who is a politician?

List the names of musicians whose fathers worked in politics.

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


Question: Educational institutions with alumni categories not tagged as "alumnus" topics, sorted by Russian-language labels

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?alumniCategory ?alumniCategoryLabel ?institution ?institutionLabel(STRAFTER(STR(?alumniCategory) , "entity/") AS ?alumniCategoryId)(CONTAINS(?alumniCategoryLabel , "Выпускники") AS ?hasRussianLabel) WHERE {
  ?institution wdt:P3876 ?alumniCategory .
  FILTER(NOT EXISTS {
    ?alumniCategory wdt:P971 wd:Q508719 .
  })
  OPTIONAL {
    ?alumniCategory rdfs:label ?alumniCategoryLabel
  }
  OPTIONAL {
    ?institution rdfs:label ?institutionLabel
  }
}
ORDER BY DESC(?hasRussianLabel) ASC(?alumniCategoryLabel)

Which educational institutions have alumni categories that are not classified as combining the topic of alumni, and which of those categories have Russian labels containing "Выпускники"?

List educational institutions and their alumni categories, excluding those categories that are explicitly linked to the alumnus topic, and prioritize categories labeled in Russian with "Выпускники".

SELECT ?var1 ?var1Label ?var2 ?var2Label ( CONCAT ( "", STRAFTER ( STR ( ?var1 ) , "y/" ) ) AS ?var3 )( "P971" AS ?var4 )( STRAFTER ( STR ( <http://www.wikidata.org/entity/Q508719> ) , "y/" ) AS ?var5 )( CONTAINS ( ?var1Label , "Выпускники" ) AS ?var6 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3876> ?var1 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q508719> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } } ORDER BY DESC( ?var6 )ASC( ?var1Label )


Question: People educated at universities in the United States and their institution types

SELECT ?person ?personLabel ?university ?universityLabel ?institutionType ?institutionTypeLabel WHERE { ?person wdt:P69 ?university . ?university wdt:P31 ?institutionType . ?university wdt:P17 wd:Q30 . ?person rdfs:label ?personLabel . ?university rdfs:label ?universityLabel . ?institutionType rdfs:label ?institutionTypeLabel . FILTER(LANG(?personLabel) = "en") FILTER(LANG(?universityLabel) = "en") FILTER(LANG(?institutionTypeLabel) = "en") } LIMIT 10

Who are the people that studied at institutions located in the United States, and what types of institutions are they?

List people along with the universities they attended in the United States and the classification of those universities.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q17551470> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Submachine guns from World War II with 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 ?submachineGun ?image ?submachineGunLabel WHERE {
  ?submachineGun wdt:P18 ?image .
  ?submachineGun wdt:P607 wd:Q362 .
  ?submachineGun wdt:P279 wd:Q178550 .
  ?submachineGun rdfs:label ?submachineGunLabel .
  FILTER(LANG(?submachineGunLabel) = "en")
}

What are the submachine guns used in World War II, and what do they look like?

Show me images and names of all submachine guns that were used in World War II.

SELECT ?var1 ?var2 ?var3 ?var3Label ?var1Label WHERE { ?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,en". } ?var1 <http://www.wikidata.org/prop/direct/P607> <http://www.wikidata.org/entity/Q362> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q178550> . }


Question: What is the most general category that both Houston and Scarsdale belong to through their class hierarchies?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonAncestor WHERE {
  wd:Q16555 wdt:P31 ?class1 .
  wd:Q2300959 wdt:P31 ?class2 .
  ?class1 wdt:P279 ?mid1 .
  ?mid1 wdt:P279 ?commonAncestor .
  ?class2 wdt:P279 ?mid2 .
  ?mid2 wdt:P279 ?commonAncestor .
}
LIMIT 1

What is the shared superclass at the shortest distance from both Houston and Scarsdale in Wikidata's subclass tree?

Find the common ancestor class that is reachable in the fewest steps from the classes of Houston and Scarsdale.

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q16555> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q2300959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: What qualifiers are associated with Albert Einstein’s place of birth in Wikidata?

SELECT ?property ?value WHERE { wd:Q937 p:P19 ?statement . ?statement ?property ?value . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/qualifier/")) }

Show the administrative and country details for where Albert Einstein was born.

Retrieve all additional context (like region and country) provided for Albert Einstein’s birthplace statement.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18557454-C06CA1C1-3255-488C-840A-07651D7CBC55> ?var1 ?var2 . }


Question: Who is the head of state of Germany and what is their English label and description?

SELECT ?headOfState ?label ?description WHERE { wd:Q183 wdt:P35 ?headOfState . ?headOfState rdfs:label ?label . FILTER(LANG(?label) = "en") ?headOfState schema:description ?description . FILTER(LANG(?description) = "en") } LIMIT 100

What is the name and description in English of Germany’s current head of state?

Please provide the English name and description of the person who is the head of state of Germany.

SELECT * WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } <http://www.wikidata.org/entity/Q183> <http://www.wikidata.org/prop/direct/P35> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } LIMIT 100


Question: Labels of the Prime Minister of Belize in English, German, French, and Italian.

SELECT ?label ?langCode WHERE { wd:Q862638 rdfs:label ?label . FILTER (LANG(?label) IN ("en", "de", "fr", "it")) VALUES (?langCode ?langOrder) { ("en" 2) ("de" 3) ("fr" 4) ("it" 5) } FILTER (LANG(?label) = ?langCode) } ORDER BY ASC(?langOrder)

What are the official names of the Prime Minister of Belize in English, German, French, and Italian?

Show me the labels for the office of Prime Minister of Belize in English, German, French, and Italian, in that order.

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q862638> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( "undefined""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/Q862638> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q862638> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "undefined" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q862638> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q862638> ; <http://schema.org/inLanguage> "undefined"; <http://schema.org/isPartOf> <https://undefined.wikipedia.org/> . } } ORDER BY ASC( ?var8 )


Question: Weapon families used in World War II with images and alternative names

SELECT ?weaponFamily ?image ?altName ?altNameLabel ?weaponFamilyLabel WHERE { ?weaponFamily wdt:P31 wd:Q15142889 . ?weaponFamily wdt:P607 wd:Q362 . ?weaponFamily wdt:P18 ?image . OPTIONAL { ?weaponFamily wdt:P2561 ?altName . } ?weaponFamily rdfs:label ?weaponFamilyLabel . FILTER(LANG(?weaponFamilyLabel) = "en") OPTIONAL { ?altName rdfs:label ?altNameLabel . FILTER(LANG(?altNameLabel) = "en") } } LIMIT 10

What are the weapon families from World War II that have images on Wikimedia Commons, and what are their alternative names?

Show me images and alternative names of weapon families that were used in World War II.

SELECT ?var1 ?var2 ?var3 ?var3Label ?var1Label WHERE { ?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,en". } ?var1 <http://www.wikidata.org/prop/direct/P607> <http://www.wikidata.org/entity/Q362> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var3 . } ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q15142889> . }


Question: Female American astronomers with English Wikipedia names and Arabic Wikipedia pages, including their birth dates, images, and birthplaces.

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 ?astronomer ?image ?dateOfBirth ?placeOfBirthLabel ?name ?arabicWikipediaPage WHERE {
  ?astronomer wdt:P31 wd:Q5 .
  ?astronomer wdt:P21 wd:Q6581072 .
  ?astronomer wdt:P27 wd:Q30 .
  ?astronomer wdt:P106 wd:Q11063 .
  ?astronomer wdt:P18 ?image .
  ?astronomer wdt:P569 ?dateOfBirth .
  ?astronomer wdt:P19 ?placeOfBirth .
  ?placeOfBirth rdfs:label ?placeOfBirthLabel .
  FILTER(LANG(?placeOfBirthLabel) = "en")
  .
  ?astronomer rdfs:label ?name .
  FILTER(LANG(?name) = "en")
  .
  ?arabicWikipediaPage schema:isPartOf <https://ar.wikipedia.org/> .
  ?arabicWikipediaPage schema:about ?astronomer .
}
LIMIT 10

Who are the female American astronomers born in English-speaking cities, and what are their images, dates of birth, birthplaces, and corresponding Arabic Wikipedia pages?

List female astronomers from the United States with their English names, images, dates of birth, birthplaces in English, and links to their Arabic Wikipedia articles.

SELECT ?var1 ?var2 ?var3 ?var4Label ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q11063> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P625> ?var7 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . ?var6 <http://schema.org/isPartOf> <https://ar.wikipedia.org/> . ?var6 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10


Question: How many association football players or teams have a page on the Spanish Wikipedia?

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ( COUNT( * ) AS ?count ) WHERE {
  ?item wdt:P641 wd:Q2736 .
  ?wikipediaPage schema:about ?item ; schema:isPartOf <https://es.wikipedia.org/> .
}

How many entities associated with association football are covered on the Spanish Wikipedia?

Count the number of items linked to association football that also have a corresponding article on the Spanish Wikipedia.

SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P641> <http://www.wikidata.org/entity/Q2736> . [] <http://schema.org/about> ?var2 ; <http://schema.org/isPartOf> <https://es.wikipedia.org/> . }


Question: Far-left political groups with English Wikipedia pages but no Spanish ones, ordered by founding date.

SELECT DISTINCT ?item ?itemLabel ?inception WHERE { ?item wdt:P1387 wd:Q1129409 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") . ?wikipedia schema:about ?item . ?wikipedia schema:isPartOf ?wikiSite . FILTER(STRSTARTS(STR(?wikiSite), "https://")) . FILTER NOT EXISTS { ?esWikipedia schema:about ?item ; schema:inLanguage "es" } . ?item wdt:P571 ?inception . } ORDER BY ASC(?inception)

Which far-left political organizations have an English Wikipedia page but no Spanish one, and when were they founded?

List far-left political entities that are notable in English-speaking contexts but not in Spanish-speaking ones, sorted by when they were established.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P1387> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q1129409> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> "en". ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> "es". } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,de,pt,fr,it,ca". } } ORDER BY ASC( ?var3 )


Question: Legislative terms of the North Rhine-Westphalia Landtag with their order numbers.

SELECT ?term ?termLabel ?ordinal WHERE { ?term wdt:P31 wd:Q15238777 ; wdt:P13188 wd:Q571436 . ?term rdfs:label ?termLabel . FILTER(LANG(?termLabel) = "en") BIND(REPLACE(?termLabel, "(st|nd|rd|th).*", "") AS ?numberStr) BIND(xsd:integer(?numberStr) AS ?ordinal) } ORDER BY ASC(?ordinal)

What are the legislative terms of the North Rhine-Westphalia Landtag, ordered by their sequence number?

List the Landtag of North Rhine-Westphalia legislative terms along with their ordinal positions, sorted from earliest to latest.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15238777> . ?var1 <http://www.wikidata.org/prop/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/qualifier/P642> <http://www.wikidata.org/entity/Q571436> . ?var3 <http://www.wikidata.org/prop/qualifier/P1545> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } } ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) )


Question: Living politicians from the US, UK, or India, their party, party color in hex, and official website.

SELECT DISTINCT
  ?politician
  ?givenName
  ?familyName
  ?gender
  ?country
  ?dateOfBirth
  ?website
  ?party
  ?partyShortName
  ?partyColorHex
WHERE {
  ?politician wdt:P31 wd:Q5 ;
              wdt:P106 wd:Q82955 ;
              wdt:P735 ?givenName ;
              wdt:P734 ?familyName ;
              wdt:P21 ?gender ;
              wdt:P27 ?country ;
              wdt:P569 ?dateOfBirth ;
              wdt:P856 ?website ;
              wdt:P102 ?party .

  ?party wdt:P1705 ?partyLabel ;
         wdt:P1813 ?partyShortName ;
         wdt:P462 ?partyColor .

  ?partyColor wdt:P465 ?partyColorHex .

  FILTER(?country IN (wd:Q30, wd:Q145, wd:Q668))
  FILTER(?party IN (wd:Q29468, wd:Q29552, wd:Q9626, wd:Q9630))
  FILTER(?gender IN (wd:Q6581097, wd:Q6581072))
  FILTER (NOT EXISTS { ?politician wdt:P570 ?deathDate })
  FILTER(ISIRI(?partyColor))
}
GROUP BY ?politician ?givenName ?familyName ?gender ?country ?dateOfBirth ?website ?party ?partyShortName ?partyColorHex
LIMIT 20

Who are the living politicians from the United States, United Kingdom, or India, and what are their political parties, party colors, and official websites?

List the names, genders, countries, political parties, party abbreviations, and hex color codes of living politicians from the US, UK, or India who are affiliated with major parties like Republican, Democratic, Conservative, or Labour.

SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4Label ?var5Label ( SAMPLE ( ?var6 ) AS ?var7 )( SAMPLE ( ?var5 ) AS ?var5 )( SAMPLE ( ?var8 ) AS ?var9 )( SAMPLE ( ?var10 ) AS ?var10 )( SAMPLE ( ?var11 ) AS ?var11Label )( SAMPLE ( ?var12 ) AS ?var12 ) ?var13Label ?var14 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> ; <http://www.wikidata.org/prop/direct/P18> ?var6 ; <http://www.wikidata.org/prop/direct/P735> ?var4 ; <http://www.wikidata.org/prop/direct/P734> ?var5 ; <http://www.wikidata.org/prop/direct/P21> ?var8 ; <http://www.wikidata.org/prop/direct/P27> ?var10 ; <http://www.wikidata.org/prop/direct/P569> ?var11 ; <http://www.wikidata.org/prop/direct/P856> ?var2 ; <http://www.wikidata.org/prop/direct/P102> ?var12 . ?var12 <http://www.wikidata.org/prop/direct/P1705> ?var3Label ; <http://www.wikidata.org/prop/direct/P1813> ?var15 ; <http://www.wikidata.org/prop/direct/P462> ?var13 . ?var13 <http://www.wikidata.org/prop/direct/P465> ?var14 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var16 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1 ?var5Label ?var4Label ?var2 ?var3Label ?var13Label ?var14 LIMIT 100


Question: Who are the politicians who are citizens of Belarus?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?politician WHERE {
  ?politician wdt:P27 wd:Q184 .
  ?politician wdt:P106 wd:Q82955 .
}

List all people who are citizens of Belarus and work as politicians.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q184> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . }


Question: Organizations in Timor-Leste with their ISNI numbers

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 ?orgLabel ?isni WHERE {
  ?org(wdt:P31 / wdt:P279 *) wd:Q43229 .
  ?org wdt:P17 wd:Q574 .
  OPTIONAL {
    ?org wdt:P213 ?isni .
  }
  ?org rdfs:label ?orgLabel .
  FILTER(LANG(?orgLabel) = "en")
}

What are the English names of organizations in Timor-Leste, and what are their ISNI identifiers?

List all organizations in Timor-Leste, including their English labels and ISNI codes if available.

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


Question: Which people on Wikidata have Twitter usernames "BarackObama" or "elonmusk", and how many Wikipedia sitelinks do they have?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?person ?twitterUsername(COUNT(?sitelink) AS ?sitelinkCount) WHERE {
  ?person wdt:P2002 ?twitterUsername .
  ?sitelink schema:about ?person ; schema:isPartOf ?site .
  FILTER(?twitterUsername IN("BarackObama" , "elonmusk"))
}
GROUP BY ?person ?twitterUsername
ORDER BY ASC(?sitelinkCount)

Who are the Wikidata items associated with the Twitter handles "BarackObama" and "elonmusk", and which one has fewer Wikipedia language editions linked?

List the Wikidata entities for the Twitter accounts "BarackObama" and "elonmusk", sorted by the number of Wikipedia sitelinks they have, from least to most.

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


Question: What Wikidata item has the IMDb ID tt0103207?

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

Which movie is identified by the IMDb ID tt0103207?

I need to find the Wikidata entry for the film with IMDb identifier tt0103207.

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


Question: List all National-Football-Teams.com player IDs in Wikidata.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?nftId WHERE {
  ?player wdt:P2574 ?nftId .
}
GROUP BY ?nftId

What are the unique National-Football-Teams.com player IDs assigned to football players in Wikidata?

Can you provide a complete list of the identifiers used by National-Football-Teams.com for football players as recorded in Wikidata?

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


Question: Rivers, lakes, and canals with English, Spanish, French, Arabic, Russian, and Chinese names, plus their length, origin, mouth, area, GeoNames ID, and OpenStreetMap ID.

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 ?label_en ?label_es ?label_fr ?label_ar ?label_ru ?label_zh ?mouth ?length ?origin ?area ?geonames_id ?osm_id WHERE {
  {
    ?item wdt:P31 wd:Q4022 .
  } UNION {
    ?item wdt:P31 wd:Q12284 .
  } UNION {
    ?item wdt:P31 wd:Q23397 .
  }
  OPTIONAL {
    ?item rdfs:label ?label_en .
    FILTER(LANG(?label_en) = "en")
  }
  OPTIONAL {
    ?item rdfs:label ?label_es .
    FILTER(LANG(?label_es) = "es")
  }
  OPTIONAL {
    ?item rdfs:label ?label_fr .
    FILTER(LANG(?label_fr) = "fr")
  }
  OPTIONAL {
    ?item rdfs:label ?label_ar .
    FILTER(LANG(?label_ar) = "ar")
  }
  OPTIONAL {
    ?item rdfs:label ?label_ru .
    FILTER(LANG(?label_ru) = "ru")
  }
  OPTIONAL {
    ?item rdfs:label ?label_zh .
    FILTER(LANG(?label_zh) = "zh")
  }
  OPTIONAL {
    ?item wdt:P403 ?mouth .
  }
  OPTIONAL {
    ?item wdt:P2043 ?length .
  }
  OPTIONAL {
    ?item wdt:P885 ?origin .
  }
  OPTIONAL {
    ?item wdt:P2046 ?area .
  }
  OPTIONAL {
    ?item wdt:P1566 ?geonames_id .
  }
  OPTIONAL {
    ?item wdt:P402 ?osm_id .
  }
}
LIMIT 1000

What are the rivers, lakes, and canals in Wikidata that have labels in at least one of six languages (English, Spanish, French, Arabic, Russian, Chinese), and what are their geographical properties like length, origin, mouth, area, GeoNames ID, and OpenStreetMap relation ID?

Please list up to 1000 rivers, lakes, and canals with their names in English, Spanish, French, Arabic, Russian, and Chinese, along with their length, source, mouth, area, GeoNames identifier, and OpenStreetMap relation ID.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 ?var14 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q12284> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q23397> . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "es" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "fr" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = "ar" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = "ru" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var8 . FILTER ( ( ( LANG ( ?var8 ) = "zn" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P403> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2043> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P885> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var12 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2044> ?var15 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P402> ?var14 . } } LIMIT 1000


Question: What are some examples of volcanic landforms?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?volcanicLandform ?volcanicLandformLabel WHERE {
  ?volcanicLandform ( wdt:P31 / wdt:P279 * ) wd:Q29025902 .
  ?volcanicLandform rdfs:label ?volcanicLandformLabel .
  FILTER ( LANG( ?volcanicLandformLabel ) = 'en' )
}
LIMIT 1000

Can you list the names of all known volcanic landforms and their types in English?

Which mountains, craters, or other geological features are classified as volcanic landforms?

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


Question: IATA, ICAO, callsign, and website of Algerian airlines

SELECT ?airline ?airlineLabel ?iata ?icao ?callsign ?website WHERE { ?airline wdt:P31 wd:Q46970 . ?airline wdt:P17 wd:Q262 . ?airline wdt:P229 ?iata . ?airline wdt:P230 ?icao . ?airline wdt:P432 ?callsign . ?airline wdt:P856 ?website . OPTIONAL { ?airline rdfs:label ?airlineLabel . FILTER(LANG(?airlineLabel) = "en") } }

What are the IATA codes, ICAO codes, radio callsigns, and official websites of airlines based in Algeria?

List all airlines operating in Algeria along with their IATA and ICAO codes, callsigns, and official websites.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5Label ?var6 ?var7Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46970> . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P229> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P230> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P432> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P113> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } FILTER ( ( ( ?var7 = <http://www.wikidata.org/entity/Q262> ) ) ) . }


Question: What reference sources are cited for Albert Einstein’s birth date?

SELECT ?property ?value WHERE { ref:fc2ec1dd26a7f2463d60ecf1f3c18b9da96532b2 ?property ?value . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/reference/")) }

Show the properties and values used in the reference for the statement about Einstein’s birth.

Which Wikimedia project and URL were used to source the birth date of Albert Einstein?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/b6855f04e09d10fbde84792d78e619a55270a156> ?var1 ?var2 . }