Question: What is the English label for The London Gazette issue number 38102?

SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P433 "38102" . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") }

Which entity corresponds to issue 38102 of The London Gazette?

Show me the item and its label for The London Gazette issue 38102.

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


Question: Image of the person with SNAC ARK ID w6jh3tj6

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

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

Can you show me the Wikimedia Commons image for Francis P. Fleming, who has the SNAC ARK ID w6jh3tj6?

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


Question: What are the different types or classes of submarines?

SELECT ?subclass ?subclassLabel WHERE { ?subclass wdt:P279 wd:Q2811 . ?subclass rdfs:label ?subclassLabel .}

List all subclasses of the submarine category in Wikidata.

Can you show me the various submarine classes that exist?

SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q2811> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <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,en". } }


Question: Organizations headquartered in Portugal

SELECT ?organization ?organizationLabel WHERE { ?organization wdt:P159 ?headquarters . ?organization wdt:P17 wd:Q45 . ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = "en") }

What are the names of organizations that have their headquarters in Portugal?

List the English names of organizations based in Portugal.

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


Question: Official website of YouTube and related English/German 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/>
SELECT ?var1 ?var1Label ?var2 WHERE {
  ?var1 wdt:P856 <https://www.youtube.com/> .
  ?var2 schema:about ?var1 .
  {
    ?var2 schema:inLanguage "en" .
  } UNION {
    ?var2 schema:inLanguage "de" .
  }
  ?var1 rdfs:label ?var1Label .
  FILTER(LANG(?var1Label) = "en" || LANG(?var1Label) = "de")
}

What are the English and German Wikipedia and Wikinews pages about YouTube, and what is YouTube’s official website?

Show me the English and German Wikimedia pages linked to YouTube, along with YouTube’s official website and its labels in those languages.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/channel/UCZRpI12ofrnZXVi1siw18LQ/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?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/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Subsidiaries of Transdev GmbH with English Wikipedia pages, official websites, and types.

SELECT ?company ?companyLabel ?wikipediaPage ?website ?instance WHERE { ?company wdt:P127 wd:Q897024 . ?wikipediaPage schema:about ?company ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . OPTIONAL { ?company wdt:P856 ?website . } OPTIONAL { ?company wdt:P31 ?instance . } ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = "en") }

Which companies are owned by Transdev GmbH, and what are their English Wikipedia pages, official websites, and classifications?

List all subsidiaries of Transdev GmbH along with their English Wikipedia links, official websites, and what kind of companies they are.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q878900> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "en". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the English name of YouTube on Wikidata?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?label WHERE {
  wd:Q866 rdfs:label ?label .
  FILTER(LANGMATCHES(LANG(?label) , "en"))
}
LIMIT 1

What is YouTube called in English according to Wikidata?

Can you tell me the English label for the Wikidata item of YouTube?

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


Question: What is the most specific category that both Brazil and Germany belong to?

SELECT ?type ?typeLabel WHERE { wd:Q155 wdt:P31 ?type . wd:Q183 wdt:P31 ?type . ?type rdfs:label ?typeLabel . FILTER(LANG(?typeLabel) = "en") FILTER NOT EXISTS { ?other wdt:P279 ?type . wd:Q155 wdt:P31 ?other . wd:Q183 wdt:P31 ?other . FILTER (?other != ?type) } }

Which class is the lowest common ancestor in the type hierarchy for Brazil and Germany?

What type do Brazil and Germany share that is not a subtype of any other shared type?

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/Q155> ; <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/Q183> ; <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: Is the Iris Awards a type of software?

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

Does the Iris Awards belong to a category that is a subclass of software?

Could the Iris Awards be classified as software?

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


Question: What other ships are named "RV Atlantis"?

SELECT DISTINCT ?shipLabel WHERE { wd:Q7278030 rdfs:label ?shipLabel . FILTER(LANG(?shipLabel) = "en") . ?ship rdfs:label ?shipLabel . FILTER(?ship != wd:Q7278030) }

Are there any other entities besides RV Atlantis (Q7278030) that share the same English label?

List all ships that have the name "RV Atlantis" in English, excluding the Woods Hole vessel.

SELECT DISTINCT ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q7278030> <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label ; <http://schema.org/description> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: List of submarines with their launch dates and images.

SELECT DISTINCT ?submarine ?submarineLabel ?image ?inceptionDate WHERE { ?submarine wdt:P31 wd:Q2811 . ?submarine wdt:P571 ?inceptionDate . OPTIONAL { ?submarine wdt:P18 ?image . } ?submarine rdfs:label ?submarineLabel . FILTER(LANG(?submarineLabel) = "en") }

What are the names, launch dates, and images of all submarines in Wikidata?

Show me the English names, inception years, and associated images of all submarines, including those without images.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2811> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . OPTIONAL { ?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, fr, de, es, it, cz". } }


Question: YouTube official website and related English/German Wikipedia pages

SELECT ?item ?itemLabel ?article WHERE { ?item wdt:P856 <https://www.youtube.com/> . ?article schema:about ?item . ?article schema:inLanguage ?lang . FILTER(?lang IN ("en", "de")) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

What English and German-language Wikimedia pages are about YouTube, and what is YouTube’s official website?

Show me all English and German Wikipedia, Wikinews, and other Wikimedia pages that discuss YouTube, along with YouTube’s official website URL and its English label.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/user/phoenix/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?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/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: YouTube official website and related English/German Wikipedia/Wikimedia pages

SELECT ?youtube ?label ?wikiPage WHERE { ?youtube wdt:P856 <https://www.youtube.com/> . ?wikiPage schema:about ?youtube . { ?wikiPage schema:inLanguage "en" } UNION { ?wikiPage schema:inLanguage "de" } . ?youtube rdfs:label ?label . FILTER(LANG(?label) = "en" || LANG(?label) = "de") }

What English and German-language Wikimedia pages are about YouTube, and what is YouTube’s official website?

List all English and German Wikipedia, Wikinews, and other Wikimedia pages that discuss YouTube, along with YouTube’s official URL and its labels in those languages.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/channel/UCyHYd_Gfj0TIt48coAGTJdw/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?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/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the most general category that both the English language and South Korea belong to?

SELECT ?label WHERE { wd:Q17437796 rdfs:label ?label . FILTER(LANG(?label) = "en") }

What do English and South Korea have in common in terms of their highest-level classification in Wikidata?

What is the top-level ontological category shared by the English language and South Korea?

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/Q1860> ; <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/Q884> ; <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: Is the movie Iron Man a type of software?

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

Is the 2008 film Iron Man classified as software or a subclass of software?

Confirm whether the film Iron Man belongs to any category that is a subclass of software.

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


Question: What are some entities located in Greece?

SELECT ?item ?itemLabel WHERE { ?item wdt:P17 wd:Q41 . FILTER(STRSTARTS(STR(?item), "http://www.wikidata.org/entity/Q")) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Can you list the names of places, organizations, or other items in Greece?

Which items (like cities, theaters, or events) have Greece as their country?

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


Question: Which Wikidata items have the Twitter usernames envlh, kateconger, kidehen, nightrose, or ORCID_Org?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterUsername WHERE {
  ?item wdt:P2002 ?twitterUsername .
  VALUES ?twitterUsername {
    "envlh" "kateconger" "kidehen" "nightrose" "ORCID_Org"
  }
}

Who are the people or organizations on Wikidata with the Twitter handles @envlh, @kateconger, @kidehen, @nightrose, and @ORCID_Org?

List the Wikidata entities corresponding to the Twitter usernames: envlh, kateconger, kidehen, nightrose, and ORCID_Org.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "envlh" ) ( "kateconger" ) ( "Norge_fr" ) ( "kidehen" ) ( "string1" ) ( "Nightrose" ) ( "ORCID_org" ) ( "nightrose" ) ( "ORCID_Org" ) } }


Question: What is the most specific category that both Afghanistan and Tunisia belong to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonClass WHERE {
  wd:Q889 wdt:P31 ?commonClass .
  wd:Q948 wdt:P31 ?commonClass .
  FILTER NOT EXISTS {
    ?d wdt:P279 ?commonClass .
    wd:Q889 wdt:P31 ?d .
    wd:Q948 wdt:P31 ?d .
    FILTER(?d != ?commonClass)
  }
}

Which class is the closest common ancestor of Afghanistan and Tunisia in terms of their types?

What is the most specific type shared by Afghanistan and Tunisia?

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/Q889> ; <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/Q3572> ; <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 is the image associated with the person having SNAC ARK ID w6ht3nd4?

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

Can you show me the photo of John P. Hammond, who is identified by the SNAC ARK ID w6ht3nd4?

Show me the Wikimedia Commons image linked to the Social Networks and Archival Context identifier w6ht3nd4.

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


Question: Most specific shared category between United Kingdom and Iceland

SELECT ?commonClass (COUNT(?ancestor) AS ?depth)
WHERE {
  wd:Q145 wdt:P31 ?commonClass .
  wd:Q189 wdt:P31 ?commonClass .
  ?commonClass wdt:P279* ?ancestor .
  FILTER(?ancestor != ?commonClass)
}
GROUP BY ?commonClass
ORDER BY DESC(?depth)
LIMIT 1

What is the most specific type that both the United Kingdom and Iceland belong to?

Find the most specific classification that applies to both the United Kingdom and Iceland.

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/Q145> ; <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/Q189> ; <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 is the most specific category that both Afghanistan and the United Kingdom belong to?

SELECT ?commonClass WHERE { wd:Q889 wdt:P31 ?commonClass . wd:Q145 wdt:P31 ?commonClass . FILTER NOT EXISTS { ?otherCommonClass wdt:P279 ?commonClass . wd:Q889 wdt:P31 ?otherCommonClass . wd:Q145 wdt:P31 ?otherCommonClass . } }

Which class is the highest-level common type shared by Afghanistan and the UK?

Find the most specific type that applies to both Afghanistan and the United Kingdom, such that no other shared type is more specific.

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/Q889> ; <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/Q145> ; <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 is the most specific category that both cities and countries belong to?

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 ?ancestor ?label(COUNT(?super) AS ?depth) WHERE {
  wd:Q515 wdt:P279 * ?ancestor .
  wd:Q6256 wdt:P279 * ?ancestor .
  ?ancestor wdt:P279 * ?super .
  ?ancestor rdfs:label ?label .
  FILTER(LANG(?label) = "en")
}
GROUP BY ?ancestor ?label
ORDER BY DESC(?depth)
LIMIT 1

What is the common superclass that best describes both Vancouver and the United Kingdom in terms of their types?

What is the most detailed shared classification for a city like Vancouver and a country like the United Kingdom?

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/Q24639> ; <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/Q145> ; <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 is the most specific category that both Hawaii and Australia belong to through their type hierarchies?

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 ?commonAncestor ?label WHERE {
  wd:Q35657 wdt:P279 * ?commonAncestor .
  wd:Q3624078 wdt:P279 * ?commonAncestor .
  ?commonAncestor rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}
ORDER BY DESC ( ?commonAncestor )
LIMIT 1

Which taxonomic class is the lowest common ancestor of the state of Hawaii and the country of Australia in Wikidata?

Find the most specific class that is a superclass of both the U.S. state of Hawaii and the sovereign state of Australia.

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/Q782> ; <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/Q408> ; <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 are the individual applications included in KDE Gear?

SELECT ?app ?appName WHERE { ?app wdt:P361 wd:Q20712193 . ?app rdfs:label ?appName . FILTER(LANG(?appName) = "en") }

Which KDE applications are part of the KDE Gear software bundle?

List the English names of all applications that are components of KDE Gear (Q20712193).

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


Question: What is the most specific category that both Louisiana and Nashville belong to?

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 ?commonAncestor ?label WHERE {
  wd:Q35657 wdt:P279 * ?commonAncestor .
  wd:Q1093829 wdt:P279 * ?commonAncestor .
  ?commonAncestor rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}
ORDER BY DESC ( STRLEN( ?label ) )
LIMIT 1

What is the shared administrative classification of Louisiana and Nashville?

What is the lowest common ancestor in the taxonomy between the U.S. state of Louisiana and the city of Nashville?

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/Q1588> ; <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/Q23197> ; <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: Is "Los nombres de las calles de Madrid (2012)" a kind of software?

Is the book "Los nombres de las calles de Madrid (2012)" classified as software?

Confirm whether "Los nombres de las calles de Madrid (2012)" is a type of software.

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


Question: What is the most specific category that both South Korea and Israel belong to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonClass WHERE {
  wd:Q884 wdt:P31 ?commonClass .
  wd:Q801 wdt:P31 ?commonClass .
  FILTER NOT EXISTS {
    ?otherCommonClass wdt:P279 ?commonClass .
    wd:Q884 wdt:P31 ?otherCommonClass .
    wd:Q801 wdt:P31 ?otherCommonClass .
    FILTER ( ?otherCommonClass != ?commonClass )
  }
}

Which class is the lowest in the hierarchy that both South Korea and Israel are instances of?

What shared classification is more specific than any other shared classification for South Korea and Israel?

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/Q884> ; <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/Q801> ; <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: Number of paintings in Wikidata

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ( "Number of paintings" AS ?label ) ( COUNT( ?item ) AS ?count ) WHERE {
  ?item wdt:P31 wd:Q3305213 .
}

How many paintings are documented in Wikidata?

Can you tell me the total count of paintings listed in Wikidata?

SELECT ?var1 ?var2 WHERE { { SELECT( "Creator" AS ?var1 )( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . } } }


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

SELECT ?item ?wikipedia_page ?imdb_id WHERE { ?item wdt:P345 ?imdb_id . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage "en" . } UNION { ?wikipedia_page schema:inLanguage "de" . } FILTER(?imdb_id = "tt0219214") }

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

Show me the Wikipedia links in English or German for the item that has the IMDb identifier tt0219214.

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


Question: What is the English or German Wikipedia page for the film with IMDb ID tt0001769?

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

Which Wikipedia page in English or German is about the movie with IMDb identifier tt0001769?

Show me the Wikipedia link for the film "The Making of a Man" (IMDb: tt0001769) in English or German.

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

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 ?subclass ?subclassLabel WHERE {
  ?subclass wdt:P279 * wd:Q7397 .
  ?subclass rdfs:label ?subclassLabel .
  FILTER ( LANG( ?subclassLabel ) = "en" )
}
LIMIT 10

List 10 subcategories of software in English.

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


Question: What is the official website and logo of Designer Brands (DSW)?

SELECT ?item ?itemLabel ?website ?logo WHERE { wd:Q5206207 rdfs:label ?itemLabel . wd:Q5206207 wdt:P856 ?website . wd:Q5206207 wdt:P154 ?logo . FILTER(LANG(?itemLabel) = "en") }

Show the label, official website, and logo for the company known as DSW, Inc.

Can you find the logo and website for Designer Shoe Warehouse?

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P154> ?var3 . FILTER ( ( CONTAINS ( STR ( ?var2 ) , "dsw.com" ) ) ) . } LIMIT 10


Question: What are the English and Italian Wikipedia pages for the movie with IMDb ID tt3296204?

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

Find Wikipedia articles in English, German, or Italian about the movie identified by tt3296204 on IMDb.

Show me the Wikipedia links for the film "A Boss In The Living Room" in English, German, and Italian.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3296204". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } UNION { ?var2 <http://schema.org/inLanguage> "it". } ?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: Cities in the Netherlands with their coordinates

SELECT ?city (SAMPLE(?cityLabel) AS ?label) ?coordinates WHERE { ?city wdt:P31 wd:Q515 . ?city wdt:P17 wd:Q55 . OPTIONAL { ?city wdt:P625 ?coordinates . } ?city rdfs:label ?cityLabel . } GROUP BY ?city ?coordinates ORDER BY ASC(?label) LIMIT 500

What are the names and geographic coordinates of all cities in the Netherlands?

List all cities in the Netherlands along with one of their labels and their geographic coordinates.

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q55> . } ORDER BY ASC( ?var1Label ) LIMIT 500


Question: Is Franciszek Kotlarczuk a type of software?

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

Does Franciszek Kotlarczuk belong to any category that is a subclass of software?

Is Franciszek Kotlarczuk classified as software or any of its subcategories?

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


Question: Is Ingrid Bachert classified as something that is a type of software?

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

Does Ingrid Bachert belong to a category that is a subclass of software?

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


Question: List of web servers with their English names.

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 ?server ?label WHERE {
  ?server wdt:P31 wd:Q11288 .
  OPTIONAL {
    ?server rdfs:label ?label .
    FILTER ( LANG( ?label ) = "en" )
  }
}

What are the English labels of all software instances that are web servers?

Show me the names in English of all web servers, including those that might not have an English label listed.

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


Question: What Wikipedia and Wikiquote pages about the movie "3 Idiots" (IMDb ID: tt1187043) are available in English or German?

SELECT ?page WHERE { wd:Q229633 wdt:P345 "tt1187043" . ?page schema:about wd:Q229633 . VALUES ?lang { "en" "de" } ?page schema:inLanguage ?lang .}

Show me the English and German language pages related to the film with IMDb ID tt1187043.

Which language versions of Wikipedia and Wikiquote have articles about the movie identified by IMDb ID tt1187043?

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


Question: What is the most specific category that both Oakland and Cologne belong to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonType WHERE {
  wd:Q17042 wdt:P31 ?commonType .
  wd:Q365 wdt:P31 ?commonType .
}

What type do the cities of Oakland and Cologne have in common?

Which class is shared by both Oakland and Cologne as an instance?

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/Q17042> ; <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/Q365> ; <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: Mobile apps in India with headquarters and images

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?appLabel ?image ?hqLabel WHERE {
  ?app(wdt:P31 / wdt:P279 *) wd:Q620615 .
  ?app wdt:P17 wd:Q668 .
  ?app rdfs:label ?appLabel .
  FILTER(LANG(?appLabel) = "en")
  .
  OPTIONAL {
    ?app wdt:P18 ?image .
  }
  .
  OPTIONAL {
    ?app wdt:P159 ?hq .
    ?hq rdfs:label ?hqLabel .
    FILTER(LANG(?hqLabel) = "en")
  }
}

What are the mobile apps based in India, and do they have official images or headquarters locations?

List all mobile apps from India along with their headquarters and any available official images.

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


Question: List of mobile applications on Wikidata

SELECT ?app ?appLabel WHERE { ?app wdt:P31 wd:Q620615 . ?app rdfs:label ?appLabel . FILTER(LANG(?appLabel) = "en") }

What are some examples of mobile apps listed in Wikidata?

Show me the names of all mobile apps in English from Wikidata.

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


Question: What are the English and German Wikipedia articles about SourceForge, and what is its official website?

SELECT DISTINCT ?item ?itemLabel ?wikipediaArticle WHERE { ?item wdt:P856 <https://sourceforge.net/> . ?wikipediaArticle schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang IN ("en", "de")) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Which English and German Wikipedia pages discuss SourceForge, and what is its official URL?

Show me the English label of SourceForge along with its English and German Wikipedia links.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://sourceforge.net/p/keepass/news/feed> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.sourceforge.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.sourceforge.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://sourceforge.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://sourceforge.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://sourceforge.net> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://sourceforge.net> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://sourceforge.net> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://sourceforge.net> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://sourceforge.net/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://sourceforge.net/> . } ?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/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Wikipedia pages in English, German, or Korean about the film with IMDb ID tt1556214.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipediaPage WHERE {
  ?item wdt:P345 "tt1556214" .
  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .
  VALUES ?lang {
    "en" "de" "ko"
  }
}

What are the English, German, and Korean Wikipedia pages for the movie "Sex Is Zero 2"?

Show me the Wikipedia articles in English, Korean, and German that are about the film identified by IMDb ID tt1556214.

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


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

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

Show me the Wikipedia articles about Adam Resurrected in English and German languages.

Find the Wikipedia links in English and German for the film identified by IMDb identifier tt0479341.

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


Question: Wikipedia pages in English, Portuguese, or German about the movie with IMDb ID tt0367975.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipediaPage WHERE {
  ?movie wdt:P345 "tt0367975" .
  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .
  VALUES ?lang {
    "en" "de" "pt"
  }
}

What Wikipedia articles in English, German, or Portuguese are about the movie with IMDb ID tt0367975?

Show me the English, German, and Portuguese Wikipedia pages for the movie identified by IMDb ID tt0367975.

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


Question: Which French TV programs have Twitter/X handles TF1, MissFrance, TVMAG, or DALS_TF1?

SELECT ?program ?twitterHandle WHERE { ?program wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "TF1" "MissFrance" "TVMAG" "DALS_TF1" } }

What are the TV shows and channels on Wikidata that use "TF1", "MissFrance", "TVMAG", or "DALS_TF1" as their Twitter/X username?

Show me the TV programs associated with the Twitter/X usernames TF1, MissFrance, TVMAG, and DALS_TF1.

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


Question: Wikipedia page for the film with IMDb ID tt3065132 in English or German

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

What is the English or German Wikipedia page for the movie "He Named Me Malala"?

Show me the Wikipedia article in English or German about the film identified by IMDb ID tt3065132.

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


Question: What is the official website of Apple Inc.?

SELECT DISTINCT ?business ?label ?website WHERE { ?business (wdt:P31/wdt:P279*) wd:Q4830453 . ?business wdt:P1448 "Apple Inc."@en . OPTIONAL { ?business rdfs:label ?label . FILTER(LANG(?label) = "en") } OPTIONAL { ?business wdt:P856 ?website } } LIMIT 100

Can you find the English label and official website for the business known as Apple Inc.?

Which company with the official name "Apple Inc." has an official website, and what is its English name?

SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4830453> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "string1". FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 100


Question: What is the most common property used to link entities to Transparency International, and how many times is it used?

SELECT ?propertyItem (COUNT(?item) AS ?count)
WHERE {
  ?item ?prop wd:Q174240 .
  ?propertyItem wikibase:directClaim ?prop .
  ?propertyItem rdf:type wikibase:Property .
}
GROUP BY ?propertyItem
ORDER BY DESC(?count)
LIMIT 1

Which property connects the most people or organizations to Transparency International?

How many people are employed by Transparency International, according to Wikidata?

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q174240> . ?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: Top programming languages used in free and open-source software, free software, and open-source software.

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 ?languageLabel ( COUNT( DISTINCT ?software ) AS ?count ) WHERE {
  {
    ?software wdt:P31 / wdt:P279 * wd:Q506883 .
  } UNION {
    ?software wdt:P31 / wdt:P279 * wd:Q341 .
  } UNION {
    ?software wdt:P31 / wdt:P279 * wd:Q1130645 .
  }
  ?software wdt:P277 ?language .
  OPTIONAL {
    ?language rdfs:label ?languageLabel .
    FILTER ( LANG( ?languageLabel ) = "en" ) .
  }
}
GROUP BY ?languageLabel
ORDER BY DESC ( ?count )

Which programming languages are most commonly used in free, open-source, or free and open-source software, and how many projects use each?

List the programming languages used in free and open-source software projects, ranked by the number of projects, in English.

SELECT ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { { ?var2 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q506883> . } UNION { ?var2 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q341> . } UNION { ?var2 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1130645> . } UNION { ?var2 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q19652> . ?var2 ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . } ?var2 <http://www.wikidata.org/prop/direct/P277> ?var4 . OPTIONAL { ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } } GROUP BY ?var1Label ORDER BY DESC( ?var3 )


Question: Which painting genres are also classified as art genres?

SELECT ?paintingGenre WHERE { ?paintingGenre wdt:P31 wd:Q16743958 . ?paintingGenre wdt:P31 wd:Q1792379 . }

Can you list the types of painting that are considered both a painting genre and an art genre?

Show me the painting categories that belong to the broader category of art genres.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16743958> . ?var1 <http://www.wikidata.org/prop/direct/P276> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1792379> . }


Question: Translators who speak Armenian and their dates of birth and death.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?personLabel ?dateOfDeath ?dateOfBirth WHERE {
  ?person wdt:P106 wd:Q333634 .
  ?person wdt:P1412 wd:Q8785 .
  OPTIONAL {
    ?person wdt:P570 ?dateOfDeath .
  }
  OPTIONAL {
    ?person wdt:P569 ?dateOfBirth .
  }
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}
LIMIT 1000

Who are the translators that speak Armenian, and when were they born and died?

List the English names of people whose profession is translator and who speak Armenian, along with their dates of birth and death if available.

SELECT ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "hy". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q333634> . ?var1 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q8785> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } } LIMIT 1000


Question: Siblings of Monaco citizens with English labels

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 wdt:P27 wd:Q235 . ?var1 wdt:P3373 ?var2 . FILTER(?var1 < ?var2) . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var1Label) = "en") . FILTER(LANG(?var2Label) = "en") }

Who are the siblings of people who are citizens of Monaco, listed in pairs with their English names?

List all pairs of siblings where at least one is a citizen of Monaco, showing both names in English and avoiding duplicates.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P3373> / <http://www.wikidata.org/prop/statement/P3373> ) ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/P3373> / <http://www.wikidata.org/prop/statement/P3373> ) ?var1 . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q235> . } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs,sk,en". } }


Question: Institutions that are academies of sciences

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

What are the names of academies of sciences in English?

List all English-named scientific academies that are instances of the Academy of Sciences.

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/Q414147> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "zh". } }


Question: Organizations in the financial services industry

SELECT ?organization WHERE { ?organization wdt:P452 wd:Q837171 .}

Which companies operate in the financial services sector?

List all organizations that are classified as being in the financial services industry according to Wikidata.

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


Question: Labels of all entities that are instances of science.

SELECT ?label WHERE { ?item wdt:P31 wd:Q336 . ?item rdfs:label ?label . FILTER(LANG(?label) != '') }

What are the labels in different languages for things classified as science?

Show me all the translated names for scientific disciplines from Wikidata.

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


Question: English and German Wikipedia pages for the movie with IMDb ID tt0468569.

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

What are the English and German Wikipedia articles about the movie "The Dark Knight"?

Show me the English and German language Wikipedia pages related to the film "The Dark Knight" (IMDb: tt0468569).

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


Question: What academic disciplines study information behavior?

SELECT ?entity ?entityLabel ?relatedEntity WHERE { { wd:Q18418842 wdt:P2579 ?entity . } UNION { ?entity wdt:P2579 wd:Q18418842 . } OPTIONAL { ?entity wdt:P2579 ?relatedEntity . } ?entity rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = "en") }

Which fields are connected to information behavior through research domains?

What is the main academic field associated with information behavior, and what other fields does it relate to?

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q18418842> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Undirected"; <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/P2579> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2579> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Image of Robert Hunter with SNAC ARK ID w63n26mm

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

What is the Wikimedia Commons image for the person identified by SNAC ARK ID w63n26mm?

Show me the image linked to the SNAC ARK ID w63n26mm.

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


Question: Which Wikidata items are associated with the Twitter usernames sethmeyers, katebevan, violetblue, SarahBHoll, MorrisF1, NimueAllen, mxpanblake, and BISHSexEd?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "sethmeyers" "katebevan" "violetblue" "SarahBHoll" "MorrisF1" "NimueAllen" "mxpanblake" "BISHSexEd"
  }
}
ORDER BY ?username

Show me the Wikidata entities that have these Twitter handles: sethmeyers, katebevan, violetblue, SarahBHoll, MorrisF1, NimueAllen, mxpanblake, and BISHSexEd.

Find the people or entities on Wikidata whose Twitter/X username is one of: sethmeyers, katebevan, violetblue, SarahBHoll, MorrisF1, NimueAllen, mxpanblake, or BISHSexEd.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "mxpanblake" ) ( "BISHSexEd" ) ( "string1" ) ( "string2" ) ( "ObjectUk" ) ( "YEVGEN1YA" ) ( "string3" ) ( "pastachips" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "NimueAllen" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "SarahBHoll" ) ( "violetblue" ) ( "string17" ) ( "sethmeyers" ) ( "string18" ) ( "MorrisF1" ) ( "katebevan" ) } } ORDER BY ASC( ?var3 )


Question: Entities named after the Doctor of Philosophy degree.

SELECT ?item ?statement (SAMPLE(?qualifierProperty) AS ?qualifier) WHERE { ?statement ps:P138 wd:Q752297 . ?item p:P138 ?statement . OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier true . } } GROUP BY ?item ?statement

List all items that have been named in honor of the Doctor of Philosophy degree.

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


Question: Who are the people who have earned a Doctor of Philosophy degree?

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

List individuals with a PhD (Doctor of Philosophy) as their academic qualification.

Which notable people hold a Doctor of Philosophy degree according to Wikidata?

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2093> <http://www.wikidata.org/entity/Q752297> . }


Question: Subclasses of user in Wikidata

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?userSubclass WHERE {
  ?userSubclass wdt:P279 wd:Q278368 .
}

What are the different types of users defined in Wikidata?

List all known subclasses of the concept "user" in Wikidata.

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


Question: What are the English names of academic disciplines and their subclasses?

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

Which academic disciplines have English labels in Wikidata?

List all subclasses of academic discipline that have an English label.

SELECT ?var1 ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q11862829> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . }


Question: Sub-disciplines of academic discipline with their English labels.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?subdiscipline ?subdisciplineLabel ?field ?fieldLabel WHERE {
  ?subdiscipline wdt:P279 wd:Q11862829 .
  ?subdiscipline rdfs:label ?subdisciplineLabel .
  wd:Q11862829 rdfs:label ?fieldLabel .
  FILTER ( LANG( ?subdisciplineLabel ) = 'en' ) .
  FILTER ( LANG( ?fieldLabel ) = 'en' )
}

What are some sub-disciplines of academic discipline, and what is the label of the parent category in English?

List all English-labeled sub-disciplines of academic discipline and show the name of the parent category.

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


Question: Is the St. Auta Altarpiece a creative work?

ASK WHERE { wd:Q28680322 wdt:P31 ?instance . ?instance wdt:P279* wd:Q17537576 . }

Does the St. Auta Altarpiece belong to a category that is a type of creative work?

Confirm whether the St. Auta Altarpiece is classified under creative work.

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


Question: Artworks in the collection of Museu Nacional de Belas Artes

SELECT ?artwork WHERE { ?artwork wdt:P195 wd:Q1954370 . } LIMIT 2000

Which artworks are held by the Museu Nacional de Belas Artes?

Can you list the artworks that belong to the national museum of fine arts in Rio de Janeiro?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1954370> . } LIMIT 2000


Question: English name of File System Visualizer

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?label WHERE {
  wd:Q5448339 rdfs:label ?label .
  FILTER(LANGMATCHES(LANG(?label) , "en"))
}
LIMIT 1

What is the English label for File System Visualizer?

Tell me the English name of the software File System Visualizer.

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


Question: Top Linux distributions by release date, excluding derivatives like Kubuntu, with version, license, website, and image.

SELECT ?distroLabel ?inception ?version ?licenseLabel ?website ?image ?parentLabel WHERE { ?distro wdt:P31 wd:Q131669 . ?distro wdt:P571 ?inception . ?distro wdt:P348 ?version . ?distro wdt:P275 ?license . ?distro wdt:P856 ?website . ?distro wdt:P18 ?image . ?distro rdfs:label ?distroLabel . FILTER(LANG(?distroLabel) = "en") . ?license rdfs:label ?licenseLabel . FILTER(LANG(?licenseLabel) = "en") . OPTIONAL { ?distro wdt:P279 ?parent . ?parent rdfs:label ?parentLabel . FILTER(LANG(?parentLabel) = "en") } . FILTER ( NOT EXISTS { ?distro wdt:P279 ?parent . ?parent wdt:P31 wd:Q131669 . } ) } ORDER BY DESC(?inception) LIMIT 100

What are the base Linux distributions (not derived from other distros), listed from newest to oldest, along with their version, license, official website, and logo?

Please list the 100 most recent Linux distributions that are not subclasses of other Linux distributions, showing their name, release date, version, license, website, image, and any parent class (if not a Linux distro).

SELECT ?var1Label ?var2 ?var3 ?var4Label ?var5 ?var6Label ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q131669> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P348> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P275> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var7 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } ORDER BY DESC( ?var2 ) LIMIT 100


Question: List Unix-like software with their Ubuntu, Arch, Gentoo, and Fedora package names, licenses, and official websites.

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 pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?software(GROUP_CONCAT(DISTINCT ?version ; SEPARATOR = ", ") AS ?versions)(GROUP_CONCAT(DISTINCT ?versionType ; SEPARATOR = ", ") AS ?versionTypes)(GROUP_CONCAT(DISTINCT ?website ; SEPARATOR = ", ") AS ?websites)(GROUP_CONCAT(DISTINCT ?ubuntuPackage ; SEPARATOR = ", ") AS ?ubuntuPackages)(GROUP_CONCAT(DISTINCT ?archPackage ; SEPARATOR = ", ") AS ?archPackages)(GROUP_CONCAT(DISTINCT ?gentooPackage ; SEPARATOR = ", ") AS ?gentooPackages)(GROUP_CONCAT(DISTINCT ?fedoraPackage ; SEPARATOR = ", ") AS ?fedoraPackages)(GROUP_CONCAT(DISTINCT ?softwareLabel ; SEPARATOR = ", ") AS ?softwareNames)(GROUP_CONCAT(DISTINCT ?licenseLabel ; SEPARATOR = ", ") AS ?licenses) WHERE {
  ?software wdt:P306 wd:Q14656 .
  ?software p:P348 ?version .
  ?version pq:P548 ?versionType .
  OPTIONAL {
    ?software wdt:P856 ?website .
  }
  OPTIONAL {
    ?software wdt:P3473 ?ubuntuPackage .
  }
  OPTIONAL {
    ?software wdt:P3454 ?archPackage .
  }
  OPTIONAL {
    ?software wdt:P3499 ?gentooPackage .
  }
  OPTIONAL {
    ?software wdt:P3463 ?fedoraPackage .
  }
  OPTIONAL {
    ?software rdfs:label ?softwareLabel .
    FILTER(LANG(?softwareLabel) = "en")
  }
  OPTIONAL {
    ?software wdt:P275 ?license .
    ?license rdfs:label ?licenseLabel .
    FILTER(LANG(?licenseLabel) = "en")
  }
}
GROUP BY ?software

What are the software applications compatible with Unix-like systems, and what are their corresponding package names in Ubuntu, Arch Linux, Gentoo, and Fedora, along with their licenses and official websites?

Please provide a list of all software that runs on Unix-like operating systems, including their version identifiers, package names across major Linux distributions, English names, licenses, and official websites.

SELECT ?var1 ?var2 ( GROUP_CONCAT ( DISTINCT ?var3 ; SEPARATOR = ", " ) AS ?var4 )( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = ", " ) AS ?var6 )( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = ", " ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9 ; SEPARATOR = ", " ) AS ?var10 )( GROUP_CONCAT ( DISTINCT ?var11 ; SEPARATOR = ", " ) AS ?var12 )( GROUP_CONCAT ( DISTINCT ?var13 ; SEPARATOR = ", " ) AS ?var14 )( GROUP_CONCAT ( DISTINCT ?var15 ; SEPARATOR = ", " ) AS ?var16 )( GROUP_CONCAT ( DISTINCT ?var17 ; SEPARATOR = ", " ) AS ?var18 )( GROUP_CONCAT ( DISTINCT ?var19 ; SEPARATOR = ", " ) AS ?var20 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P306> <http://www.wikidata.org/entity/Q14656> . { ?var1 <http://www.wikidata.org/prop/P348> ?var3 . ?var1 ( <http://www.wikidata.org/prop/P348> / <http://www.wikidata.org/prop/qualifier/P548> ) ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P275> ?var21 . ?var21 <http://www.w3.org/2000/01/rdf-schema#label> ?var19 . FILTER ( ( ( LANG ( ?var19 ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3473> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3473> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3454> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3499> ?var15 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3463> ?var17 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1 ?var2


Question: What are some natural features classified as instances of "nature" in Wikidata?

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 ?naturalFeature ?naturalFeatureLabel WHERE {
  ?naturalFeature wdt:P31 wd:Q7860 .
  ?naturalFeature rdfs:label ?naturalFeatureLabel .
  FILTER ( LANG( ?naturalFeatureLabel ) = "en" )
}
LIMIT 100

Can you list natural landmarks or sites that are categorized as "nature"?

Which geographic locations are considered natural phenomena according to 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/Q7860> . } LIMIT 100000


Question: English or German Wikipedia page for the movie with IMDb ID tt0048647

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

What is the English or German Wikipedia page for the film identified by IMDb ID tt0048647?

Show me the Wikipedia page in English or German for the movie with IMDb ID tt0048647.

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


Question: What are the subclasses of natural science?

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

Can you list the branches of science that fall under natural science?

Which scientific disciplines are considered part of natural science?

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


Question: Subclasses of ancient civilization

SELECT ?subclass ?label WHERE { ?subclass wdt:P279 wd:Q28171280 . ?subclass rdfs:label ?label . FILTER(LANG(?label) = "en") }

What are some examples of ancient civilizations according to Wikidata?

List the English names of entities that are subclasses of ancient civilization.

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


Question: What programming languages are used by software applications?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?software ?programmingLanguage WHERE {
  ?software wdt:P31 / wdt:P279 * wd:Q7397 .
  ?software wdt:P277 ?programmingLanguage .
}
LIMIT 50

Which software are written in which programming languages?

Can you list software and the languages they are implemented in?

SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.wikidata.org/prop/direct/P277> ?var2 . } LIMIT 50


Question: What are all the properties and values associated with Cuba in Wikidata, along with labels for the object values?

SELECT ?property ?value ?valueLabel WHERE { wd:Q241 ?property ?value . OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = "en") } }

Can you show me all the facts about Cuba, including the English labels for its associated entities?

List all direct statements about Cuba and their object labels in English.

SELECT ?var1 ?var2 ?var2Label WHERE { <wds:Q298-07AACAEC-6096-49C4-A989-4D502A5B189F> ?var1 ?var2 . }


Question: News aggregators and the programming languages they are written in.

SELECT DISTINCT ?newsAggregator ?newsAggregatorLabel ?programmingLanguageLabel WHERE { ?newsAggregator wdt:P31 wd:Q498267 . ?newsAggregator wdt:P277 ?programmingLanguage . ?newsAggregator rdfs:label ?newsAggregatorLabel . ?programmingLanguage rdfs:label ?programmingLanguageLabel . FILTER(LANG(?newsAggregatorLabel) = "en") FILTER(LANG(?programmingLanguageLabel) = "en") }

What programming languages are used to develop news aggregator software?

List the names of news aggregators along with the programming languages they are implemented in, using English labels.

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


Question: Film with IMDb ID tt1930463 and its English or German Wikipedia page

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

What is the Wikidata item and its English or German Wikipedia page for the movie with IMDb ID tt1930463?

Show me the Wikidata entry and the English or German Wikipedia article for the film identified by IMDb ID tt1930463.

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


Question: Is free software license used for any software?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK {
  ?software wdt:P275 wd:Q3943414 .
}

Does any software exist that is licensed under a free software license?

Show me if there is software released under a free software license.

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


Question: Which organizations have the Twitter/X usernames "MakeSense", "simplonco", or "uniscite"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "MakeSense" "simplonco" "uniscite"
  }
}
ORDER BY ?username

What are the Wikidata items associated with the Twitter handles MakeSense, simplonco, and uniscite?

Show me the entities in Wikidata that use "MakeSense", "simplonco", or "uniscite" as their X (Twitter) username.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "Mouves_ES" ) ( "string1" ) ( "string2" ) ( "string3" ) ( "shareit_io" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "MakeSense" ) ( "string8" ) ( "string9" ) ( "GroupeSOS" ) ( "simplonco" ) ( "CausonsFr" ) ( "string10" ) ( "uniscite" ) ( "AssoAurore" ) } } ORDER BY ASC( ?var3 )


Question: Which French media outlets and public figures have Twitter accounts listed in Wikidata, and what are their handles?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterHandle WHERE {
  ?item wdt:P2002 ?twitterHandle .
  VALUES ?twitterHandle {
    "OmarSy" "franceinfo" "BFMTV" "CNEWS" "LCI" "lemondefr" "Europe1" "LEXPRESS" "Le_Figaro" "jmblanquer" "Mediapart"
  }
}
ORDER BY ASC ( ?item )

Who are the entities on Wikidata that have Twitter usernames like "OmarSy", "BFMTV", or "Mediapart"?

List all Wikidata entities that are linked to the Twitter handles: OmarSy, franceinfo, BFMTV, CNEWS, LCI, lemondefr, Europe1, LEXPRESS, Le_Figaro, jmblanquer, and Mediapart.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "OmarSy" ) ( "string3" ) ( "BHL" ) ( "BFMTV" ) ( "CNEWS" ) ( "LCI" ) ( "franceinfo" ) ( "Francetele" ) ( "lemondefr" ) ( "LeFigaro_2" ) ( "LePoint" ) ( "LEXPRESS" ) ( "string4" ) ( "string5" ) ( "leLab_E1" ) ( "jmblanquer" ) ( "string6" ) ( "string7" ) ( "mediapart" ) ( "string8" ) ( "string9" ) ( "Europe1" ) ( "string10" ) } } ORDER BY ASC( ?var3 )


Question: What is the content management system named Joomla?

SELECT ?framework ?frameworkLabel WHERE { ?framework wdt:P31 wd:Q131093 . ?framework rdfs:label ?frameworkLabel . FILTER (langMatches(lang(?frameworkLabel), "en")) FILTER (CONTAINS(LCASE(?frameworkLabel), "joomla")) } LIMIT 100

Can you show me the English labels for Joomla, which is a content management system?

Which content management systems have "Joomla" in their name?

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


Question: List all works of art and their subclasses in English.

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

What are the works of art and their subcategories according to Wikidata?

Show me up to 100 English-labeled items that are either instances or subclasses of a work of art.

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


Question: Paintings depicting angels and their creation dates with images.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?painting ?paintingLabel ?inceptionDate ?image WHERE {
  ?painting wdt:P31 wd:Q3305213 .
  ?painting wdt:P180 wd:Q235113 .
  ?painting wdt:P571 ?inceptionDate .
  OPTIONAL {
    ?painting wdt:P18 ?image .
  }
  ?painting rdfs:label ?paintingLabel .
  FILTER ( LANG( ?paintingLabel ) = "en" )
}
LIMIT 50

Which paintings depict angels, when were they created, and do they have images available on Wikimedia Commons?

Show me up to 50 paintings that feature angels, including their creation year and any associated images from Wikimedia Commons.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q235113> . ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,de,en". } } LIMIT 50


Question: List office suite software applications with their English names and images from Wikimedia Commons.

SELECT ?software ?label ?image WHERE { ?software wdt:P366 wd:Q207170 . ?software rdfs:label ?label . FILTER(LANG(?label) = "en") OPTIONAL { ?software wdt:P18 ?image . } } LIMIT 100

What are the office suite programs and their corresponding images on Wikimedia Commons?

Show me the English names of all software applications that are used as office suites, and include any available images from Wikimedia Commons.

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


Question: Is Linux classified as software through its type or hierarchy?

ASK WHERE { wd:Q388 (wdt:P31/wdt:P279*) wd:Q7397 }

Is Linux an instance of or a subclass of software?

Confirm whether Linux falls under the category of software via its classification chain.

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


Question: What is the English label and description of the software with the Free Software Directory entry "3dldf"?

SELECT ?software ?softwareLabel ?description WHERE { ?software wdt:P2537 "3dldf" . OPTIONAL { ?software rdfs:label ?softwareLabel . FILTER (LANG(?softwareLabel) = "en") } OPTIONAL { ?software schema:description ?description . FILTER (LANG(?description) = "en") } }

Show me the name and description in English of the software listed as "3dldf" on the Free Software Foundation's directory.

Which software has the FSF directory ID "3dldf", and what is its English name and description?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2537> "3dldf". 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: Image of the person with SNAC ARK ID w6b56jcg

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

What is the image associated with Nicola Antonio Zingarelli in Wikidata?

Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6b56jcg?

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


Question: What are the English-labeled entities in Wikidata that have a Twitter/X account, and what are their usernames?

SELECT ?item ?itemLabel ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } ORDER BY ?itemLabel LIMIT 20

Show me a list of organizations or places on Twitter, along with their official handles, as recorded in Wikidata.

Which entities on Wikidata have a Twitter/X username, and what are their English labels?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "norrin14" ) ( "wimocean" ) ( "string1" ) ( "debout1789" ) ( "profbzh29" ) ( "raiateam" ) ( "Vernes78" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "RobinGaloo" ) ( "Stanyslas" ) ( "YoGraf" ) ( "HrSopra" ) ( "SabryZebra" ) ( "string5" ) ( "string6" ) ( "Sois_Bref" ) ( "string7" ) ( "string8" ) } } ORDER BY ASC( ?var3 )


Question: Is Boing Boing a type of blog?

Does Boing Boing belong to the category of blogs through its classification hierarchy?

Is Boing Boing classified as a blog, either directly or via its subclass relationships?

ASK WHERE { <http://www.wikidata.org/entity/Q891048> ( <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: Which landscape paintings are featured on more than 15 Wikipedia language editions, and how many editions each?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?painting ( COUNT( DISTINCT ?wikipedia_site ) AS ?wikipedia_count ) WHERE {
  ?painting wdt:P31 wd:Q3305213 .
  ?painting wdt:P136 wd:Q191163 .
  ?wikipedia_article schema:about ?painting .
  ?wikipedia_article schema:isPartOf ?wikipedia_site .
  FILTER ( CONTAINS( STR( ?wikipedia_site ) , "wikipedia.org" ) )
}
GROUP BY ?painting
HAVING ( ?wikipedia_count > 15 )
ORDER BY DESC ( ?wikipedia_count )
LIMIT 750

What are the most widely covered landscape paintings across Wikipedia, and on how many language versions do they appear?

List the landscape paintings that appear on at least 16 different Wikipedia sites, sorted by how many sites they appear on, from most to least.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q191163> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> ?var2 . FILTER ( ( REGEX ( STR ( ?var2 ) , "string1" ) ) ) . } GROUP BY ?var1 ?var5 ?var6 HAVING ( ( ?var3 > "15"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 ) LIMIT 750


Question: Religious paintings with images and English labels

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

What are some religious paintings that have images on Wikimedia Commons and English titles?

Show me up to 10 religious paintings that have associated images and English labels.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q2414609> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> . ?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". } } LIMIT 10


Question: What property is most commonly used to describe the painting "Eau de Cologne"?

SELECT ?property (COUNT(?property) AS ?count)
WHERE {
  wd:Q19888301 ?property ?value .
  FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/"))
}
GROUP BY ?property
ORDER BY DESC(?count)
LIMIT 1

Which direct property appears most frequently in statements about the artwork "Eau de Cologne"?

Tell me the most used property that links information to the painting Eau de Cologne by A.R. Penck.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q19888301> . ?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 is the English Wikipedia article about the 1944 film "Applause"?

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?article WHERE {
  ?article schema:about wd:Q2858725 .
  ?article schema:isPartOf <https://en.wikipedia.org/> .
  FILTER ( REGEX( STR( ?article ) , "Applause" ) )
}

Find the Wikipedia page for the movie Applause (1944).

Which English Wikipedia article discusses the 1944 film Applause?

SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q2858725> AS ?var2 ). ?var1 <http://schema.org/about> ?var2 . ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . FILTER ( ( REGEX ( STR ( ?var1 ) , "string1" ) ) ) . }


Question: English labels and description of the painting "Eau de Cologne" by A.R. Penck.

SELECT ?property ?labelOrDescription WHERE { wd:Q19888301 ?property ?labelOrDescription . FILTER(LANG(?labelOrDescription) = "en") }

What are the English labels and description for the painting Eau de Cologne by A.R. Penck?

Show me all English-language labels and the description for the artwork Eau de Cologne.

SELECT ?var1 ?var2 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/Q19888301> ?var1 ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . }


Question: What is the English label for the Mona Lisa on Wikidata?

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

Show me the name of the Mona Lisa in English.

What is the title of the painting known as the Mona Lisa, according to Wikidata?

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q12418> <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } LIMIT 1


Question: Which Wikidata entities have the Twitter usernames "EvoMRI" or "neo4j"?

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

Who are the people or organizations on Wikidata that use "EvoMRI" or "neo4j" as their Twitter/X handle?

Show me the Wikidata items for the Twitter accounts @EvoMRI and @neo4j (without the @ symbol).

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "ikwattro" ) ( "string2" ) ( "neo4j" ) ( "iAmIzundu" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "WaterWavy" ) ( "string6" ) ( "sth_rbrt" ) ( "euanc" ) ( "string7" ) ( "EvoMRI" ) } }