kb: wikidata-full
queries:
- query: Cats
  sparql: |-
    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 ?item ?itemLabel WHERE {
      ?item wdt:P31 wd:Q146.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Goats
  sparql: |-
    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 ?item ?itemLabel WHERE {
      ?item wdt:P31 wd:Q2934.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Horses (showing some info about them)
  sparql: |-
    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 DISTINCT ?horse ?horseLabel ?mother ?father ?birthdate ?deathdate ?genderLabel WHERE {
      ?horse wdt:P31/wdt:P279* wd:Q726 .
      OPTIONAL{?horse wdt:P25 ?mother .}
      OPTIONAL{?horse wdt:P22 ?father .}
      OPTIONAL{?horse wdt:P569 ?birthdate .}
      OPTIONAL{?horse wdt:P570 ?deathdate .}
      OPTIONAL{?horse wdt:P21 ?gender .}
    ?gender rdfs:label ?genderLabel . FILTER (LANG(?genderLabel) = "en") .
    ?horse rdfs:label ?horseLabel . FILTER (LANG(?horseLabel) = "en") .
    }
    ORDER BY ?horse
  type: no-text
- query: Cats, with pictures
  sparql: |-
    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 ?item ?itemLabel ?pic WHERE {
    ?item wdt:P31 wd:Q146 .
    ?item wdt:P18 ?pic.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Map of hospitals
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?item ?geo  WHERE {
      ?item wdt:P31/wdt:P279* wd:Q16917;
            wdt:P625 ?geo .
    }
  type: no-text
- query: Number of humans in Wikidata
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT (COUNT(?item) AS ?count) WHERE {
      ?item wdt:P31 wd:Q5 .
    }
  type: no-text
- query: Humans without children 0
  sparql: |-
    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#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
    SELECT ?human ?humanLabel WHERE {
      ?human wdt:P31 wd:Q5 .
      ?human rdf:type wdno:P40 .
    ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en") .
    }
  type: no-text
- query: Humans without children 1
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
    SELECT ?human ?humanLabel WHERE {
      ?human wdt:P31 wd:Q5 .
      ?human p:P40 ?childStatement .
      ?childStatement rdf:type wdno:P40 .
    ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en") .
    }
  type: no-text
- query: Humans born in New York City 0
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT DISTINCT ?item ?itemLabel ?itemDescription ?sitelinks WHERE {
        ?item wdt:P31 wd:Q5;
              wdt:P19 wd:Q60;
                 ^schema:about/wikibase:sitelinks ?sitelinks.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    ORDER BY DESC(?sitelinks)
  type: no-text
- query: Humans born in New York City 1
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT DISTINCT ?item ?itemLabel ?itemDescription ?sitelinks WHERE {
        ?item wdt:P31 wd:Q5;
              wdt:P19/wdt:P131* wd:Q60;
                 ^schema:about/wikibase:sitelinks ?sitelinks.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    ORDER BY DESC(?sitelinks)
  type: no-text
- query: Items with a Wikispecies sitelink
  sparql: |-
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX schema: <http://schema.org/>
    SELECT ?item ?itemLabel ?article WHERE {
      ?article  schema:about ?item ;
          schema:isPartOf <https://species.wikimedia.org/> .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    LIMIT 200
  type: no-text
- query: Items about authors with a Wikispecies page
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX schema: <http://schema.org/>
    SELECT ?author ?authorLabel (COUNT(?paper) AS ?count) WHERE {
      ?article  schema:about ?author ;
          schema:isPartOf <https://species.wikimedia.org/> .
        ?author wdt:P31 wd:Q5.
        ?paper wdt:P50 ?author.
    ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = "en") .
    }
    GROUP BY ?author ?authorLabel
    ORDER BY DESC(?count)
    LIMIT 200
  type: no-text
- query: Recent Events
  sparql: |-
    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 ?event ?eventLabel ?date WHERE {
      ?event wdt:P31/wdt:P279* wd:Q1190554.
      OPTIONAL { ?event wdt:P585 ?date. }
      OPTIONAL { ?event wdt:P580 ?date. }
      # Removed FILTER.
      # Removed BIND.
      # Removed FILTER.
      OPTIONAL {
        ?event rdfs:label ?eventLabel.
        FILTER(LANG(?eventLabel) = "en").
      }
    }
    LIMIT 10
  type: no-text
- query: Popular eye colors among humans
  sparql: |-
    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 ?eyeColorLabel (COUNT(?human) AS ?count) WHERE {
      ?human wdt:P31 wd:Q5.
      ?human wdt:P1340 ?eyeColor.
    ?eyeColor rdfs:label ?eyeColorLabel . FILTER (LANG(?eyeColorLabel) = "en") .
    }
    GROUP BY ?eyeColorLabel
  type: no-text
- query: Humans whose gender we know we don't know
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?human ?humanLabel WHERE {
       ?human wdt:P21 ?gender .
       # Removed FILTER .
    ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en") .
    }
  type: no-text
- query: URLs of Wikipedia in all languages
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    SELECT ?wikipedia WHERE {
      ?wikipedia wikibase:wikiGroup "wikipedia".
    }
  type: no-text
- query: Names of Wikipedia articles in multiple languages
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX schema: <http://schema.org/>
    SELECT DISTINCT ?lang ?name WHERE {
      ?article schema:about wd:Q5 ;
                  schema:inLanguage ?lang ;
                  schema:name ?name ;
                  schema:isPartOf ?plholder1  .
    ?plholder1 wikibase:wikiGroup "wikipedia" .
      # Removed FILTER .
      # Removed FILTER .
    }
  type: no-text
- query: All items with a property
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT   ?item ?itemLabel   ?value  WHERE {
      ?item wdt:P1800 ?value.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    LIMIT 10
  type: no-text
- query: Wikidata items of Wikipedia articles
  sparql: |-
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX schema: <http://schema.org/>
    SELECT ?lemma ?item WHERE {
      VALUES ?lemma {
        "Wikipedia"@en
        "Wikidata"@en
        "Berlin"@en
        "Technical University of Berlin"@en
      }
      ?sitelink schema:about ?item;
        schema:isPartOf <https://en.wikipedia.org/>;
        schema:name ?lemma.
    }
  type: no-text
- query: Total population in the Øresund Region
  sparql: |-
    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 DISTINCT ?area ?areaLabel (sum(?folkm_ngd) AS ?total_folkm) WHERE {
      ?item wdt:P361 wd:Q297853.
      ?item wdt:P1082 ?folkm_ngd.
      ?area wdt:P31 wd:Q1907114.
      ?area wdt:P527 ?item.
    ?area rdfs:label ?areaLabel . FILTER (LANG(?areaLabel) = "en") .
    }
    GROUP BY ?area ?areaLabel
  type: no-text
- query: Properties grouped by their parent property
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    SELECT ?property2 ?property2Label ?property1 ?property1Label WHERE {
      ?property1 rdf:type wikibase:Property.
      ?property1 wdt:P1647 ?property2.
    ?property1 rdfs:label ?property1Label . FILTER (LANG(?property1Label) = "en") .
    ?property2 rdfs:label ?property2Label . FILTER (LANG(?property2Label) = "en") .
    }
  type: no-text
- query: Subproperties of location (P276)
  sparql: |-
    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 DISTINCT ?subProperties ?subPropertiesLabel WHERE {
      ?subProperties wdt:P1647+ wd:P276.
      ?subProperties rdfs:label ?subPropertiesLabel . FILTER (LANG(?subPropertiesLabel) = "en") .
    }
  type: no-text
- query: Properties grouped by their Wikibase datatype (Q19798645) with number of
    properties
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    SELECT (COUNT(?property) AS ?pcount ) ?wbtype WHERE {
      ?property rdf:type               wikibase:Property.
      ?property wikibase:propertyType  ?wbtype.
    }
    GROUP BY ?wbtype
    ORDER BY DESC(?pcount)
  type: no-text
- query: Properties with value a technical standard (Q317623)
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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 DISTINCT ?propertyRel ?propertyItem ?propertyItemLabel WHERE {
       ?standard wdt:P31 wd:Q317623.
       ?item ?propertyRel ?standard.
       ?propertyItem wikibase:directClaim ?propertyRel.
    ?propertyItem rdfs:label ?propertyItemLabel . FILTER (LANG(?propertyItemLabel) = "en") .
    }
  type: no-text
- query: All properties with descriptions and aliases and types
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
    PREFIX schema: <http://schema.org/>
    SELECT ?property ?propertyType ?propertyLabel ?propertyDescription (GROUP_CONCAT(?propertyAltLabel) AS ?propertyAltLabel) WHERE {
      ?property wikibase:propertyType ?propertyType .
      ?property rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = "en") .
      OPTIONAL { ?property schema:description ?propertyDescription . FILTER (LANG(?propertyDescription) = "en") .}
      OPTIONAL { ?property skos:altLabel ?propertyAltLabel . FILTER (LANG(?propertyAltLabel) = "en") .}
    }
    GROUP BY ?property ?propertyType ?propertyLabel ?propertyDescription
    # Removed ORDER BY number of predicate (uses STRAFTER function)
  type: no-text
- query: Properties connecting items of type zoo (Q43501) with items of type animal
    (Q729)
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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 ?p ?pLabel (COUNT (?s) AS ?count) WHERE {
      ?s wdt:P31/wdt:P279* wd:Q729 .
      ?o wdt:P31/wdt:P279* wd:Q43501 .
      ?s ?pd ?o .
      ?p wikibase:directClaim ?pd .
    ?p rdfs:label ?pLabel . FILTER (LANG(?pLabel) = "en") .
    } GROUP BY ?p ?pLabel ORDER BY desc(?count)
  type: no-text
- query: Content of a reference for a specific statement
  sparql: |-
    PREFIX prov: <http://www.w3.org/ns/prov#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    SELECT ?item ?reference WHERE {
      ?item wdt:P1343 wd:Q51955019 .
      ?item p:P1343 ?plholder1 .
      ?plholder1 prov:wasDerivedFrom ?plholder2 .
      ?plholder2 pr:P958 ?reference .
    }
  type: no-text
- query: Countries that have sitelinks to en.wiki
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX schema: <http://schema.org/>
    SELECT ?country ?countryLabel ?article WHERE {
        ?country wdt:P31 wd:Q3624078 .
        ?article schema:about ?country .
        ?article schema:isPartOf <https://en.wikipedia.org/>.
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    }
  type: no-text
- query: Canadian subjects with no English article in Wikipedia
  sparql: |-
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?item ?itemLabel ?cnt WHERE {
    {
      SELECT ?item (COUNT(?sitelink) AS ?cnt) WHERE {
      ?item wdt:P27|wdt:P205|wdt:P17 wd:Q16 .
      MINUS {?item wdt:P106 wd:Q488111 .}
      MINUS {?item wdt:P106 wd:Q3286043 .}
      MINUS {?item wdt:P106 wd:Q4610556 .}
      ?sitelink schema:about ?item .
      # Removed FILTER
      } GROUP BY ?item ORDER BY DESC (?cnt) LIMIT 1000
    }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    } ORDER BY DESC (?cnt)
  type: no-text
- query: Countries that have a Featured Article on Russian Wikipedia
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX schema: <http://schema.org/>
    SELECT ?sitelink ?itemLabel WHERE {
      ?item wdt:P31 wd:Q6256.
      ?sitelink schema:isPartOf <https://ru.wikipedia.org/>;
         schema:about ?item;
         wikibase:badge wd:Q17437796 .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    } ORDER BY ?itemLabel
  type: no-text
- query: Numbers of sitelinks for items with Art UK artist ID (P1367) for each language
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX schema: <http://schema.org/>
    SELECT ?lang (COUNT(DISTINCT ?article) AS ?count) WHERE {
      ?article schema:about/wdt:P1367 ?yp_id .
      # Removed FILTER .
      ?article schema:inLanguage ?lang .
    } GROUP BY ?lang
    ORDER BY DESC (?count)
  type: no-text
- query: Titles of articles about Ukrainian villages on Romanian Wikipedia
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX schema: <http://schema.org/>
    SELECT DISTINCT ?item ?LabelEN ?LabelUK ?page_titleRO WHERE {
      ?item wdt:P31 wd:Q532 .
      ?item wdt:P17 wd:Q212 .
      ?article schema:about ?item ; schema:isPartOf <https://ro.wikipedia.org/> ;  rdfs:label ?page_titleRO .
      ?item rdfs:label ?LabelEN . FILTER (lang(?LabelEN) = "en") .
      ?item rdfs:label ?LabelUK . FILTER (lang(?LabelUK) = "uk") .
    }
    LIMIT 300
  type: no-text
- query: Wikisource pages for authors of scientific articles
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX schema: <http://schema.org/>
    SELECT DISTINCT ?item ?wikisourceSitelink ?wikisourceLanguage WHERE {
      ?paper wdt:P31 wd:Q13442814;
             wdt:P50 ?item.
      ?wikisourceSitelink schema:isPartOf ?plholder1;
                          schema:inLanguage ?wikisourceLanguage;
                          schema:about ?item.
      ?plholder1 wikibase:wikiGroup "wikisource" .
    }
    ORDER BY ?wikisourceLanguage
    LIMIT 300
  type: no-text
- query: Items with a GTAA id and their articles on the Dutch and English Wikipedia
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX schema: <http://schema.org/>
    SELECT ?item ?itemLabel ?gtaa ?_articleEN ?_articleNL WHERE {
      ?item wdt:P1741 ?gtaa.
      OPTIONAL {
        ?_articleEN schema:about ?item.
        ?_articleNL schema:about ?item.
        ?_articleEN schema:isPartOf <https://en.wikipedia.org/>.
        ?_articleNL schema:isPartOf <https://nl.wikipedia.org/>.
      }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: People deceased in 2018 ordered by the number of sitelinks
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?person ?personLabel ?died ?sitelinks WHERE {
      ?person wdt:P31 wd:Q5;
              wdt:P570 ?died.
      # Removed FILTER
      ?person ^schema:about/wikibase:sitelinks ?sitelinks.
    ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
    }  ORDER BY desc(?sitelinks) LIMIT 100
  type: no-text
- query: Rock bands that start with "M"
  sparql: |-
    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 DISTINCT ?band ?bandLabel WHERE {
       ?band  wdt:P31 wd:Q5741069 .
            ?band rdfs:label ?bandLabel .
       FILTER regex(?bandLabel, "^\"M") .
    }
  type: no-text
- query: Winner of the Academy Awards by Award and Time
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?item ?itemLabel ?awardLabel ?time WHERE {
        ?item wdt:P106/wdt:P279* wd:Q3455803 ;
              p:P166 ?awardStat .
        ?awardStat pq:P805 ?award ;
                   ps:P166 wd:Q103360 .
        ?award wdt:P585 ?time .
    ?award rdfs:label ?awardLabel . FILTER (LANG(?awardLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    ORDER BY DESC(?time)
  type: no-text
- query: Academy award data
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?human ?humanLabel ?awardEditionLabel ?awardLabel ?awardWork ?awardWorkLabel ?director ?directorLabel ?time WHERE {
       {
          SELECT (SAMPLE(?human) AS ?human) ?award ?awardWork (SAMPLE(?director) AS ?director) (SAMPLE(?awardEdition) AS ?awardEdition) (SAMPLE(?time) AS ?time) WHERE {
             ?award wdt:P31 wd:Q19020 .
             {
                ?human p:P166 ?awardStat .
                ?awardStat ps:P166 ?award .
                ?awardStat pq:P805 ?awardEdition .
                ?awardStat pq:P1686 ?awardWork .
                ?human wdt:P31 wd:Q5 .
             } UNION {
                ?awardWork wdt:P31 wd:Q11424 .
                ?awardWork p:P166 ?awardStat .
                ?awardStat ps:P166 ?award .
                ?awardStat pq:P805 ?awardEdition .
             }
             OPTIONAL {
                ?awardEdition wdt:P585 ?time .
             }
             OPTIONAL {
                ?awardWork wdt:P57 ?director .
             }
          }
          GROUP BY ?awardWork ?award
       }
    ?award rdfs:label ?awardLabel . FILTER (LANG(?awardLabel) = "en") .
    ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en") .
    ?awardEdition rdfs:label ?awardEditionLabel . FILTER (LANG(?awardEditionLabel) = "en") .
    ?awardWork rdfs:label ?awardWorkLabel . FILTER (LANG(?awardWorkLabel) = "en") .
    ?director rdfs:label ?directorLabel . FILTER (LANG(?directorLabel) = "en") .
    }
    ORDER BY DESC(?time)
  type: no-text
- query: People that received both Academy Award and Nobel Prize
  sparql: |-
    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 DISTINCT ?person ?personLabel WHERE {
            ?person wdt:P166/wdt:P361* wd:Q7191 .
            ?person wdt:P166/wdt:P361* wd:Q19020 .
    ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
    }
  type: no-text
- query: Number of handed out academy awards per award type
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?awardCount ?award ?awardLabel WHERE {
       {
          SELECT (COUNT(?award) AS ?awardCount) ?award
          WHERE
          {
             {
                SELECT (SAMPLE(?human) AS ?human) ?award ?awardWork (SAMPLE(?director) AS ?director) (SAMPLE(?awardEdition) AS ?awardEdition) (SAMPLE(?time) AS ?time) WHERE {
                   ?award wdt:P31 wd:Q19020 .
                   {
                      ?human p:P166 ?awardStat .
                      ?awardStat ps:P166 ?award .
                      ?awardStat pq:P805 ?awardEdition .
                      ?awardStat pq:P1686 ?awardWork .
                      ?human wdt:P31 wd:Q5 .
                   } UNION {
                      ?awardWork wdt:P31 wd:Q11424 .
                      ?awardWork p:P166 ?awardStat .
                      ?awardStat ps:P166 ?award .
                      ?awardStat pq:P805 ?awardEdition .
                   }
                   OPTIONAL {
                      ?awardEdition wdt:P585 ?time .
                   }
                   OPTIONAL {
                      ?awardWork wdt:P57 ?director .
                   }
                }
                GROUP BY ?awardWork ?award
             }
          } GROUP BY ?award
          ORDER BY ASC(?awardCount)
       }
    ?award rdfs:label ?awardLabel . FILTER (LANG(?awardLabel) = "en") .
    }
  type: no-text
- query: Film directors ranked by number of sitelinks multiplied by their number of
    films
  sparql: |-
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?director ?director_label ?films ?sitelinks WHERE {
      {SELECT ?director (COUNT(DISTINCT ?film) AS ?films) (COUNT(DISTINCT ?sitelink) AS ?sitelinks)
         WHERE {
           ?director wdt:P106 wd:Q2526255 .
           ?film wdt:P57 ?director .
           ?sitelink schema:about ?director .
           } GROUP BY ?director }
    ?director rdfs:label ?director_label . FILTER (LANG(?director_label) = "en") .
    } ORDER BY DESC(?sitelinks) DESC(?films)
    LIMIT 100
  type: no-text
- query: The Simpsons television series episodes list by season
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?seasonNumber ?episode ?episodeLabel WHERE {
       ?season wdt:P361 wd:Q886 .
       ?season wdt:P527 ?episode .
       ?season p:P179 ?plholder1  .
       ?plholder1 pq:P1545 ?seasonNumber .
       ?episode rdfs:label ?episodeLabel . FILTER (LANG(?episodeLabel) = "en") .
    } ORDER BY ?seasonNumber
  type: no-text
- query: Pokemon!
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?pokemon ?pokemonLabel ?pokedexNumber WHERE {
        ?pokemon wdt:P31/wdt:P279* wd:Q3966183 .
        ?pokemon p:P1685 ?statement.
        ?statement ps:P1685 ?pokedexNumber;
                  pq:P972 wd:Q20005020.
        # Removed FILTER .
    ?pokemon rdfs:label ?pokemonLabel . FILTER (LANG(?pokemonLabel) = "en") .
    }
    ORDER BY ?pokedexNumber
  type: no-text
- query: Law & Order episodes
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    SELECT (SAMPLE(?seasonNumber) AS ?seasonNumber) (SAMPLE(?episodeNumber) AS ?episodeNumber) (SAMPLE(?title) AS ?title) (MIN(?pubDate) AS ?pubDate) ?episode WHERE {
      ?episode wdt:P31 wd:Q21191270;
               wdt:P179 wd:Q321423.
      OPTIONAL {
        ?episode wdt:P4908 ?season .
        ?season p:P179 ?p2 .
        ?p2 pq:P1545 ?seasonNumber .
      }
      OPTIONAL {
        ?episode p:P179 ?p1 .
        ?p1 pq:P1545 ?episodeNumber .
      }
      OPTIONAL { ?episode wdt:P1476 ?title. }
      OPTIONAL { ?episode wdt:P577 ?pubDate. }
    } GROUP BY ?episode
  type: no-text
- query: Main subjects of West Wing episodes
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?episode ?ordinal ?episodeLabel ?subject ?subjectLabel WHERE {
      ?episode wdt:P31/wdt:P279* wd:Q1983062;
               p:P179 ?statement.
      OPTIONAL{ ?episode wdt:P921 ?subject }
      ?statement ps:P179 wd:Q3577037;
                 pq:P1545 ?ordinal.
    ?episode rdfs:label ?episodeLabel . FILTER (LANG(?episodeLabel) = "en") .
    ?subject rdfs:label ?subjectLabel . FILTER (LANG(?subjectLabel) = "en") .
    } # Removed end
  type: no-text
- query: Movies with Bud Spencer
  sparql: |-
    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 ?item ?itemLabel (MIN(?date) AS ?firstReleased) ?_image WHERE {
      ?item wdt:P161 wd:Q221074;
            wdt:P577 ?date.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
      OPTIONAL { ?item wdt:P18 ?_image. }
    } GROUP BY ?item ?itemLabel ?_image
    ORDER BY ?firstReleased
  type: no-text
- query: Fictional subjects of the Marvel Universe
  sparql: |-
    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 ?char ?charName (GROUP_CONCAT(DISTINCT ?typeLabel;SEPARATOR=", ") AS ?types) (GROUP_CONCAT(DISTINCT ?universeLabel;SEPARATOR=", ") AS ?universes) WHERE {
       ?char wdt:P1080 wd:Q931597;
              wdt:P31 ?type ;
              wdt:P1080 ?universe .
       ?type rdfs:label ?typeLabel . FILTER (LANG(?typeLabel) = "en") .
       ?universe rdfs:label ?universeLabel . FILTER (LANG(?universeLabel) = "en") .
       ?char rdfs:label ?charName . FILTER (LANG(?charName) = "en") .
    } GROUP BY ?char ?charName
  type: no-text
- query: Contemporary Indian actresses
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX schema: <http://schema.org/>
    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 ?item ?itemLabel ?itemDescription (SAMPLE(?img) AS ?image) (SAMPLE(?dob) AS ?dob) ?sl WHERE {
       ?item wdt:P106 wd:Q33999 ;
              wdt:P27 wd:Q668 ;
              wdt:P21 wd:Q6581072 .
       MINUS { ?item wdt:P570 ?x }
       ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
       ?item schema:description ?itemDescription . FILTER (LANG(?itemDescription) = "en") .
       OPTIONAL { ?item wdt:P18 ?img }
       OPTIONAL { ?item wdt:P569 ?dob }
       OPTIONAL { ?item ^schema:about/wikibase:sitelinks ?sl }
    } GROUP BY ?item ?itemLabel ?itemDescription ?sl
    ORDER BY DESC(?sl)
  type: no-text
- query: Articles on Punjabi (Gurmukhi) Wikipedia about Pakistani actresses
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX schema: <http://schema.org/>
    SELECT ?sitelink WHERE {
         ?item wdt:P21 wd:Q6581072 .
         ?item wdt:P27 wd:Q843 .
         ?item wdt:P106 wd:Q33999 .
         ?sitelink schema:about ?item .
         ?sitelink schema:inLanguage "pa".
         ?item wdt:P31 wd:Q5 .
    }
    LIMIT 5000
  type: no-text
- query: All Dr. Who performers
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX wd: <http://www.wikidata.org/entity/>
    SELECT ?doctor ?doctorLabel ?characterLabel ?series_ordinal WHERE {
      wd:Q34358 p:P175 ?performer .
      ?performer pq:P642 ?character .
      ?performer ps:P175 ?doctor .
      ?character wdt:P1545 ?series_ordinal .
      ?character rdfs:label ?characterLabel . FILTER (LANG(?characterLabel) = "en") .
      ?doctor rdfs:label ?doctorLabel . FILTER (LANG(?doctorLabel) = "en") .
    } ORDER BY ?series_ordinal
  type: no-text
- query: Movies and their narrative location on a map
  sparql: |-
    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 ?movie ?movieLabel ?narrative_location ?narrative_locationLabel ?coordinates WHERE {
       ?movie wdt:P840 ?narrative_location ;
              wdt:P31 wd:Q11424 .
       ?narrative_location wdt:P625 ?coordinates .
    ?movie rdfs:label ?movieLabel . FILTER (LANG(?movieLabel) = "en") .
    ?narrative_location rdfs:label ?narrative_locationLabel . FILTER (LANG(?narrative_locationLabel) = "en") .
    }
  type: no-text
- query: Movies released in 2017
  sparql: |-
    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 DISTINCT ?item ?itemLabel WHERE {
      ?item wdt:P31 wd:Q11424.
      ?item wdt:P577 ?pubdate.
      # Removed FILTER.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Musicians or singers that have a genre containing 'rock'
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT DISTINCT ?human ?humanLabel WHERE {
        VALUES ?professions {wd:Q177220 wd:Q639669}
        ?human wdt:P31 wd:Q5 .
        ?human wdt:P106 ?professions .
        ?human wdt:P136 ?genre .
        ?human ^schema:about/wikibase:statements ?statementcount .
        ?genre rdfs:label ?genreLabel .
        # Removed FILTER .
        FILTER (?statementcount > 50 ) .
    ?genre rdfs:label ?genreLabel . FILTER (LANG(?genreLabel) = "en") .
    ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en") .
    }
    ORDER BY ?humanLabel
    LIMIT 50
  type: no-text
- query: Continents 2
  sparql: |-
    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 ?continent ?continentLabel WHERE {
      ?continent wdt:P31 wd:Q5107.
    ?continent rdfs:label ?continentLabel . FILTER (LANG(?continentLabel) = "en") .
    } # Removed end
  type: no-text
- query: Some other continents
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?continentLabel WHERE {
      {
        SELECT DISTINCT ?continent
        WHERE
        {
          ?item wdt:P30 ?continent.
        }
      }
    ?continent rdfs:label ?continentLabel . FILTER (LANG(?continentLabel) = "en") .
    } # Removed end
  type: no-text
- query: Places with continent Antarctica more than 3000?km north of south pole
  sparql: |-
    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 ?place ?placeLabel ?location WHERE {
      # wd:Q933 wdt:P625 ?southPole.
      ?place wdt:P30 wd:Q51;
             wdt:P625 ?location.
      # Removed FILTER.
    ?place rdfs:label ?placeLabel . FILTER (LANG(?placeLabel) = "en") .
    }
  type: no-text
- query: List of present-day countries and capital(s)
  sparql: |-
    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 DISTINCT ?country ?countryLabel ?capital ?capitalLabel WHERE {
      ?country wdt:P31 wd:Q3624078 .
      # Removed FILTER
      # Removed FILTER
      OPTIONAL { ?country wdt:P36 ?capital } .
    ?capital rdfs:label ?capitalLabel . FILTER (LANG(?capitalLabel) = "en") .
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    }
    ORDER BY ?countryLabel
  type: no-text
- query: UN member states
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    SELECT DISTINCT ?state WHERE {
      ?state wdt:P31/wdt:P279* wd:Q3624078;
             p:P463 ?memberOfStatement.
      ?memberOfStatement rdf:type wikibase:BestRank;
                         ps:P463 wd:Q1065.
      MINUS { ?memberOfStatement pq:P582 ?endTime. }
    }
  type: no-text
- query: Largest cities per country
  sparql: |-
    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 DISTINCT ?city ?cityLabel ?population ?country ?countryLabel ?loc WHERE {
      {
        SELECT (MAX(?population) AS ?population) ?country WHERE {
          ?city wdt:P31/wdt:P279* wd:Q515 .
          ?city wdt:P1082 ?population .
          ?city wdt:P17 ?country .
        }
        GROUP BY ?country
        ORDER BY DESC(?population)
      }
      ?city wdt:P31/wdt:P279* wd:Q515 .
      ?city wdt:P1082 ?population .
      ?city wdt:P17 ?country .
      ?city wdt:P625 ?loc .
    ?city rdfs:label ?cityLabel . FILTER (LANG(?cityLabel) = "en") .
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    }
  type: no-text
- query: Wikidata people per million inhabitants for all EU countries
  sparql: |-
    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    ?country ?countryLabel    ?wikiPersons    ?population  WHERE {
       { SELECT ?country (COUNT(?person) AS ?wikiPersons) WHERE {
          {SELECT DISTINCT ?person ?country WHERE {
             wd:Q458 wdt:P150 ?country .
             ?person wdt:P31 wd:Q5 .
             ?person wdt:P27 ?country .
             # Removed FILTER
          } }
       } GROUP BY ?country  }
       ?country wdt:P1082 ?population.
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    }
  type: no-text
- query: Papers about wikidata
  sparql: |-
    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 ?item ?itemLabel WHERE {
      ?item wdt:P31/wdt:P279* wd:Q191067.
      ?item wdt:P921 wd:Q2013.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    LIMIT 100
  type: no-text
- query: Countries sorted by population
  sparql: |-
    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 DISTINCT ?countryLabel ?population WHERE {
      ?country wdt:P31 wd:Q6256 ;
               wdt:P1082 ?population .
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    }
    GROUP BY ?population ?countryLabel
    ORDER BY DESC(?population)
  type: no-text
- query: Country populations together with total city populations
  sparql: |-
    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 ?country ?countryLabel ?population ?totalCityPopulation WHERE {
      ?country wdt:P1082 ?population .
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
      {
        SELECT ?country (SUM(?cityPopulation) AS ?totalCityPopulation) WHERE {
          ?city wdt:P31 wd:Q515 .
          ?city wdt:P17 ?country .
          ?city wdt:P1082 ?cityPopulation .
        } GROUP BY ?country
      }
    }
  type: no-text
- query: Names of African countries in all their official languages and English
  sparql: |-
    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 DISTINCT ?item ?itemLabel_ol ?official_language ?itemLabel_en WHERE {
      ?item wdt:P30 wd:Q15 ;
            wdt:P37 ?officiallanguage ;
            wdt:P31 wd:Q6256 .
      ?officiallanguage wdt:P424 ?langcode .
      ?item rdfs:label ?itemLabel_ol . # FILTER(lang(?itemLabel_ol)=?langcode)
      ?item rdfs:label ?itemLabel_en . FILTER(lang(?itemLabel_en)='en')
      ?officiallanguage rdfs:label ?official_language . FILTER(lang(?official_language)='en')
    }
    ORDER BY ?item ?itemLabel_ol ?official_language
  type: no-text
- query: Languages and dialects spoken in the Netherlands with their optional Wikipedia
    editions
  sparql: |-
    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 DISTINCT ?language ?languageLabel ?wikipediaLabel WHERE {
      ?language wdt:P31 ?instance;
                wdt:P17 wd:Q55.
      # Removed FILTER.
      OPTIONAL {
        ?wikipedia wdt:P31 wd:Q10876391;
                   wdt:P407 ?language.
      }
    ?language rdfs:label ?languageLabel . FILTER (LANG(?languageLabel) = "en") .
    ?wikipedia rdfs:label ?wikipediaLabel . FILTER (LANG(?wikipediaLabel) = "en") .
    } GROUP BY ?language ?languageLabel ?wikipediaLabel
  type: no-text
- query: Population of cities and towns in Denmark and their OSM relation id
  sparql: |-
    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 ?city ?cityLabel ?population ?OSM_relation_ID WHERE {
      { ?city wdt:P31/wdt:P279* wd:Q3957 . }
      UNION
      { ?city wdt:P31/wdt:P279* wd:Q515 . }
      ?city wdt:P17 wd:Q35.
      OPTIONAL { ?city wdt:P1082 ?population. }
      OPTIONAL { ?city wdt:P402 ?OSM_relation_ID. }
      ?city rdfs:label ?cityLabel . FILTER (LANG(?cityLabel) = "en") .
    }
    LIMIT 100
  type: no-text
- query: Former capitals
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?country ?countryLabel ?capital ?capitalLabel ?coordinates ?ended WHERE {
      ?country p:P36 ?stat.
      ?stat ps:P36 ?capital.
      ?capital wdt:P625 ?coordinates.
      OPTIONAL {
        ?country wdt:P582|wdt:P576 ?ended.
      }
      OPTIONAL {
        ?capital wdt:P582|wdt:P576 ?ended.
      }
      OPTIONAL {
        ?stat pq:P582 ?ended.
      }
      # Removed FILTER.
    ?capital rdfs:label ?capitalLabel . FILTER (LANG(?capitalLabel) = "en") .
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    }
  type: no-text
- query: Largest cities of the world
  sparql: |-
    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 DISTINCT ?cityLabel ?population ?gps WHERE {
      ?city wdt:P31/wdt:P279* wd:Q515 .
      ?city wdt:P1082 ?population .
      ?city wdt:P625 ?gps .
    ?city rdfs:label ?cityLabel . FILTER (LANG(?cityLabel) = "en") .
    }
    ORDER BY DESC(?population) LIMIT 100
  type: no-text
- query: Cities as big as Eindhoven give or take 1000
  sparql: |-
    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 DISTINCT ?city ?cityLabel ?location ?populatie2 WHERE {
      # wd:Q9832 wdt:P1082 ?populatie . --> 231642
      ?city wdt:P1082 ?populatie2 ;
            wdt:P625 ?location .
      FILTER( ?populatie2 < 232642 )
      FILTER( ?populatie2 > 230642 )
      ?city rdfs:label ?cityLabel . FILTER (LANG(?cityLabel) = "en") .
    }
  type: no-text
- query: Where in the world is Antwerp
  sparql: |-
    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 DISTINCT ?settlement ?name ?coor WHERE {
       ?subclass_settlement wdt:P279+ wd:Q486972 .
       ?settlement wdt:P31 ?subclass_settlement ;
                   wdt:P625 ?coor ;
                   rdfs:label ?name .
       FILTER(LANG(?name) = "en").
       FILTER regex(?name, "Antwerp", "i")
    }
  type: no-text
- query: Destinations from Antwerp International airport
  sparql: |-
    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 ?connectsairport ?connectsairportLabel ?place_served ?place_servedLabel ?coor WHERE {
      VALUES ?airport { wd:Q17480 }
      ?airport wdt:P81 ?connectsairport ;
               wdt:P625 ?base_airport_coor .
      ?connectsairport wdt:P931 ?place_served ;
                       wdt:P625 ?coor .
    ?connectsairport rdfs:label ?connectsairportLabel . FILTER (LANG(?connectsairportLabel) = "en") .
    ?place_served rdfs:label ?place_servedLabel . FILTER (LANG(?place_servedLabel) = "en") .
    }
  type: no-text
- query: Cities connected by the European route E40
  sparql: |-
    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 ?city ?cityLabel ?coordinates WHERE {
       VALUES ?highway {wd:Q327162 }
       ?highway wdt:P2789 ?city .
        ?city wdt:P625 ?coordinates .
    ?city rdfs:label ?cityLabel . FILTER (LANG(?cityLabel) = "en") .
    }
  type: no-text
- query: Cities connected by the Trans-Mongolian and Trans-Siberian Railway
  sparql: |-
    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 ?city ?cityLabel ?coordinates WHERE {
       VALUES ?highway { wd:Q559037 wd:Q58767 }
       ?highway wdt:P2789 ?city .
        ?city wdt:P625 ?coordinates .
    ?city rdfs:label ?cityLabel . FILTER (LANG(?cityLabel) = "en") .
    }
  type: no-text
- query: Cities connected to Paramaribo (Suriname) by main roads
  sparql: |-
    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 DISTINCT ?connection ?connectionLabel ?connectedWith ?connectedWithLabel ?coor WHERE {
      ?connection wdt:P2789+ wd:Q3001 ;
                  wdt:P2789+ ?connectedWith .
      ?connectedWith wdt:P625 ?coor .
    ?connection rdfs:label ?connectionLabel . FILTER (LANG(?connectionLabel) = "en") .
    ?connectedWith rdfs:label ?connectedWithLabel . FILTER (LANG(?connectedWithLabel) = "en") .
      }
  type: no-text
- query: Names of 100 cities with a population larger than 1000000 in the native languages
    of their countries
  sparql: |-
    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 ?city ?cityLabel ?country ?countryLabel ?lang ?langLabel ?langCode ?population WHERE {
      ?city wdt:P1082 ?population .
      FILTER(?population>1000000)
      ?city wdt:P31 wd:Q515;
            wdt:P17 ?country;
            rdfs:label ?cityLabel .
      ?country wdt:P37 ?lang;
               rdfs:label ?countryLabel .
      ?lang wdt:P424 ?langCode;
            rdfs:label ?langLabel .
      FILTER(lang(?cityLabel)="en")
      FILTER(lang(?countryLabel)="en")
      FILTER(lang(?langLabel)="en")
    } LIMIT 100
  type: no-text
- query: Show all Dutch municipalities that share a border with Alphen aan den Rijn
    (Q213246), ignoring rank
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?muni ?muniLabel WHERE {
      ?muni p:P31 ?plholder1.
      ?plholder1 ps:P31 wd:Q2039348 .
      ?muni wdt:P47 wd:Q213246.
    ?muni rdfs:label ?muniLabel . FILTER (LANG(?muniLabel) = "en") .
    }
  type: no-text
- query: Border cities of the world
  sparql: |-
    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 ?border_city ?border_cityLabel ?countryLabel ?coords WHERE {
      ?border_city wdt:P31 wd:Q902814.
      OPTIONAL { ?border_city wdt:P17 ?country. }
      OPTIONAL { ?border_city wdt:P625 ?coords. }
    ?border_city rdfs:label ?border_cityLabel . FILTER (LANG(?border_cityLabel) = "en") .
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    }
    GROUP BY ?border_city ?border_cityLabel ?countryLabel ?coords
    ORDER BY ?countryLabel ?border_cityLabel
  type: no-text
- query: Longest rivers
  sparql: |-
    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 ?item ?itemLabel ?length ?pic ?location WHERE {
      ?item wdt:P31/wdt:P279* wd:Q4022 .
      ?item wdt:P2043 ?length .
      ?item wdt:P18 ?pic .
      ?item wdt:P625 ?location.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    } ORDER BY DESC(?length) ?itemLabel
    LIMIT 50
  type: no-text
- query: Longest river of each continent
  sparql: |-
    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 ?continent ?river ?continentLabel ?riverLabel WHERE {
      {
        SELECT ?continent (MAX(?length) AS ?length)
        WHERE
        {
          ?river wdt:P31/wdt:P279* wd:Q355304;
                 wdt:P2043 ?length;
                 wdt:P30 ?continent.
        }
        GROUP BY ?continent
      }
      ?river wdt:P31/wdt:P279* wd:Q355304;
             wdt:P2043 ?length;
             wdt:P30 ?continent.
    ?continent rdfs:label ?continentLabel . FILTER (LANG(?continentLabel) = "en") .
    ?river rdfs:label ?riverLabel . FILTER (LANG(?riverLabel) = "en") .
    }
    ORDER BY ?continentLabel
  type: no-text
- query: Rivers in Antarctica
  sparql: |-
    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 ?river ?riverLabel ?location WHERE {
      ?river wdt:P31/wdt:P279* wd:Q355304;
             wdt:P30 wd:Q51.
      OPTIONAL { ?river wdt:P625 ?location. }
    ?river rdfs:label ?riverLabel . FILTER (LANG(?riverLabel) = "en") .
    }
  type: no-text
- query: Body of water with the most watercourses ending in it
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?mouth (COUNT(?watercourse) AS ?count) WHERE {
      ?watercourse wdt:P403+ ?mouth.
    }
    GROUP BY ?mouth
    ORDER BY DESC(?count)
    LIMIT 10
  type: no-text
- query: Bridges over rivers in Leipzig
  sparql: |-
    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/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    SELECT ?bridge (SAMPLE(?bridgeLabel) AS ?bridgeLabel)
           ?watercourse (SAMPLE(?watercourseLabel) AS ?watercourseLabel)
           (SAMPLE(?loc) AS ?loc) (SAMPLE(?pic) AS ?pic)
           (SAMPLE(?s) AS ?start)
    WHERE {
      {
        SELECT ?bridge ?watercourse WHERE {
          ?bridge wdt:P31/wdt:P279* wd:Q12280;
                  wdt:P177 ?watercourse .
          ?watercourse wdt:P31/wdt:P279* wd:Q355304 .
        }
      }
      ?bridge wdt:P131+ wd:Q2079 .
      OPTIONAL { ?bridge wdt:P625 ?loc. }
      OPTIONAL { ?bridge wdt:P18 ?pic. }
      OPTIONAL { ?bridge wdt:P571 ?s. }
      ?bridge rdfs:label ?bridgeLabel. FILTER(LANG(?bridgeLabel)="en")
      ?watercourse rdfs:label ?watercourseLabel. FILTER(LANG(?watercourseLabel)="en")
    }
    GROUP BY ?bridge ?watercourse
  type: no-text
- query: Mountains, with coordinates, not located on Earth
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?item ?name ?coord ?lat ?lon ?globe WHERE {
      ?item wdt:P31 wd:Q8502 ;
            p:P625 ?plholder1.
      ?plholder1 psv:P625 ?plholder2 .
      ?plholder2 wikibase:geoLatitude ?lat ;
                 wikibase:geoLongitude ?lon ;
                 wikibase:geoGlobe ?globe .
      ?plholder1 ps:P625 ?coord .
      FILTER ( ?globe != wd:Q2 ).
      ?item rdfs:label ?name . FILTER(lang(?name) = "en")
    }
    ORDER BY ASC (?name)
  type: no-text
- query: Highest mountains in the universe
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?subj ?label ?coord ?elev WHERE {
       ?subj wdt:P2044 ?elev .  FILTER(?elev > 8000) .
       ?subj wdt:P625 ?coord .
    }
  type: no-text
- query: Mountains over 8000 elevation
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?subj ?label ?coord ?elev WHERE {
       ?subj wdt:P2044 ?elev .  FILTER(?elev > 8000) .
       ?subj wdt:P625 ?coord .
    }
  type: no-text
- query: Italian mountains higher than 4000 m
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
    SELECT ?item ?itemLabel ?coord ?elev ?picture WHERE {
      ?item p:P2044/psn:P2044/wikibase:quantityAmount ?elev ;
            wdt:P625 ?coord ;
            wdt:P17 wd:Q38 ;
            wdt:P18 ?picture .
      FILTER(?elev > 4000).
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Metro stations in Paris
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?item ?itemLabel ?adjacent ?adjacentL ?coords WHERE {
      ?item wdt:P31/wdt:P279* wd:Q928830 ;
            wdt:P81 wd:Q13224 ;
            wdt:P625 ?coords .
      OPTIONAL {
        ?item p:P197 ?plholder1  .
    ?plholder1 ps:P197 ?adjacent .
    ?plholder1 pq:P5051 wd:Q585752 .
    ?plholder1 pq:P81 wd:Q13224 .
        ?adjacent rdfs:label ?adjacentL . FILTER (lang(?adjacentL) = "en")
      }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    } ORDER BY ?itemLabel
  type: no-text
- query: How many states this US state borders
  sparql: |-
    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 ?state ?stateLabel ?borders WHERE {
      {
        SELECT ?state (COUNT(?otherState) AS ?borders)
        WHERE
        {
        ?state wdt:P31 wd:Q35657 .
        ?otherState wdt:P47 ?state .
        ?otherState wdt:P31 wd:Q35657 .
        }
        GROUP BY ?state
      }
    ?state rdfs:label ?stateLabel . FILTER (LANG(?stateLabel) = "en") .
    }
    ORDER BY DESC(?borders)
  type: no-text
- query: Places that are below 10 meters above sea level
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
    SELECT ?place ?location ?elev ?image WHERE {
      ?place p:P2044/psv:P2044 ?placeElev.
      ?placeElev wikibase:quantityAmount ?elev.
      ?placeElev wikibase:quantityUnit ?unit.
      FILTER ( ?elev < 10 ) .
      FILTER ( ?unit = wd:Q11573 ) .
      ?place wdt:P625 ?location.
      OPTIONAL { ?place wdt:P18 ?image }
    }
  type: no-text
- query: Globes used to represent coordinates
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    SELECT (COUNT(?v) AS ?c) ?globe WHERE {
      ?v wikibase:geoGlobe ?globe
    }
    GROUP BY ?globe
    ORDER BY DESC(?c)
  type: no-text
- query: Select French municipalities by INSEE code (select by identifier)
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?item ?itemLabel ?inseeCode WHERE {
      ?item wdt:P374 ?inseeCode .
      # Removed FILTER.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Map and list of municipalities in The Netherlands
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?muni ?muniLabel ?location WHERE {
      ?muni p:P31 ?instanceOf;
            wdt:P625 ?location.
      ?instanceOf ps:P31 wd:Q2039348.
      MINUS { ?muni wdt:P31 wd:Q7265977. }
      MINUS { ?instanceOf pq:P582 ?endTime. }
    ?muni rdfs:label ?muniLabel . FILTER (LANG(?muniLabel) = "en") .
    }
  type: no-text
- query: Emergency numbers by population using them
  sparql: |-
    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 ?emergencyNumber ?emergencyNumberLabel ?tel ?population ?countries WHERE {
     ?emergencyNumber wdt:P31 wd:Q694554 .
      {SELECT ?emergencyNumber (COUNT(?state) AS ?countries) (SUM(?pop) AS ?population) WHERE {
         ?state wdt:P2852 ?emergencyNumber .
         OPTIONAL{?state wdt:P1082 ?pop} .
         ?state wdt:P31/wdt:P279* wd:Q6256
      } GROUP BY ?emergencyNumber } .
      OPTIONAL{?emergencyNumber wdt:P1329 ?tel }
    ?emergencyNumber rdfs:label ?emergencyNumberLabel . FILTER (LANG(?emergencyNumberLabel) = "en") .
    }
    ORDER BY DESC(?population)
  type: no-text
- query: German states, ordered by the number of company headquarters per million
    inhabitants
  sparql: |-
    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    ?state ?stateLabel    ?companies    ?population   WHERE {
       { SELECT ?state (COUNT(?company) AS ?companies) WHERE {
          {SELECT DISTINCT ?company ?state WHERE {
             ?state wdt:P31 wd:Q1221156 .
             ?company wdt:P31/wdt:P279* wd:Q4830453 .
             ?company wdt:P159/wdt:P131* ?state .
             # Removed FILTER
          } }
       } GROUP BY ?state  }
        ?state wdt:P1082 ?population.
    ?state rdfs:label ?stateLabel . FILTER (LANG(?stateLabel) = "en") .
    }
  type: no-text
- query: Popular names per birthplace
  sparql: |-
    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 ?cid ?firstname (COUNT(?firstname) AS ?count) WHERE {
      ?pid wdt:P19 wd:Q64.
      ?pid wdt:P735 ?cid.
      OPTIONAL {
        ?cid rdfs:label ?firstname .
        FILTER(LANG(?firstname) = "en")
      }
    }
    GROUP BY ?cid ?firstname
    ORDER BY DESC(?count) ?firstname
    LIMIT 50
  type: no-text
- query: Map of places mentioned in travel stories with text in French accessible
    online
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?ed ?edLabel ?auteurLabel ?dateCreation ?lieuLabel ?coord ?lien WHERE {
      ?item wdt:P136 wd:Q1164267 .
      ?item  wdt:P31 wd:Q47461344 .
      OPTIONAL{
        ?item wdt:P50 ?auteur .
      }
      OPTIONAL{
        ?item wdt:P571 ?dateCreation.
      }
      ?item  wdt:P840 ?lieu .
      MINUS{ ?item wdt:P840 wd:Q933 }
      ?lieu wdt:P625 ?coord .
      {
        ?item wdt:P953 ?lien .
        ?item wdt:P407 wd:Q150
      }UNION{
        ?ed wdt:P629 ?item .
        ?ed wdt:P953 ?lien .
        ?ed wdt:P407 wd:Q150
      }
    ?auteur rdfs:label ?auteurLabel . FILTER (LANG(?auteurLabel) = "en") .
    ?ed rdfs:label ?edLabel . FILTER (LANG(?edLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?lieu rdfs:label ?lieuLabel . FILTER (LANG(?lieuLabel) = "en") .
    } ORDER BY ?dateCreation
  type: no-text
- query: French communes with names ending in ac
  sparql: |-
    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 ?item ?itemLabel ?coord WHERE {
      ?item wdt:P31/wdt:P279* wd:Q484170;
            wdt:P17 wd:Q142;
            rdfs:label ?itemLabel;
            wdt:P625 ?coord;
      FILTER (lang(?itemLabel) = "fr").
      # Removed FILTER.
      # Removed FILTER
    }
  type: no-text
- query: Buildings in more than one country
  sparql: |-
    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 ?item ?itemLabel ?count WHERE {
      {
        SELECT ?item (COUNT(DISTINCT ?country) AS ?count) WHERE {
          ?item wdt:P31/wdt:P279* wd:Q41176 .
          ?item wdt:P17 ?country .
          # Removed FILTER
        }
        GROUP BY ?item
      }
      FILTER ( ?count > 1 ).
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    ORDER BY DESC(?count)
  type: no-text
- query: Streets named after a person
  sparql: |-
    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 ?street ?streetLabel ?cityLabel ?personLabel WHERE {
        ?street wdt:P31 wd:Q79007 .
        ?street wdt:P17 wd:Q142 .
        ?street wdt:P131 ?city .
        ?street wdt:P138 ?person .
        ?person wdt:P31 wd:Q5.
    ?city rdfs:label ?cityLabel . FILTER (LANG(?cityLabel) = "en") .
    ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
    ?street rdfs:label ?streetLabel . FILTER (LANG(?streetLabel) = "en") .
    }
    ORDER BY ?city
  type: no-text
- query: Streets in France without a city
  sparql: |-
    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 ?street ?streetLabel WHERE {
        ?street wdt:P31/wdt:P279* wd:Q79007 .
        ?street wdt:P17 wd:Q142 .
        MINUS { ?street wdt:P131 ?plholder1 } .
    ?street rdfs:label ?streetLabel . FILTER (LANG(?streetLabel) = "en") .
    }
    ORDER BY ?streetLabel
  type: no-text
- query: Ten largest islands in the world
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
    SELECT DISTINCT ?island ?islandLabel ?islandImage WHERE {
      ?island wdt:P31/wdt:P279* wd:Q23442.
      OPTIONAL { ?island wdt:P18 ?islandImage. }
      ?island p:P2046/psn:P2046/wikibase:quantityAmount ?islandArea.
    ?island rdfs:label ?islandLabel . FILTER (LANG(?islandLabel) = "en") .
    }
    ORDER BY DESC(?islandArea)
    LIMIT 10
  type: no-text
- query: City gates in the Dutch province of Zeeland
  sparql: |-
    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 ?town ?townLabel ?gate ?gateLabel WHERE {
      ?muni wdt:P31 wd:Q2039348;
            wdt:P131 wd:Q705.
      ?gate wdt:P31 wd:Q82117;
            wdt:P131 ?muni;
            wdt:P276 ?town.
    ?gate rdfs:label ?gateLabel . FILTER (LANG(?gateLabel) = "en") .
    ?town rdfs:label ?townLabel . FILTER (LANG(?townLabel) = "en") .
    }
  type: no-text
- query: Birthplaces of humans named Antoine
  sparql: |-
    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 ?item ?itemLabel ?coord WHERE {
      ?item wdt:P31 wd:Q5 .
      ?item wdt:P735 wd:Q15235674.
      ?item wdt:P19 ?place.
      ?place wdt:P625 ?coord.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Items with the most birth dates
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?person (COUNT(?date) AS ?dateC) WHERE {
      ?person wdt:P569 ?date
    }
    GROUP BY ?person
    HAVING (?dateC > 2)
    ORDER BY DESC (?dateC)
    LIMIT 100
  type: no-text
- query: Things/people with most children
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?parent ?parentLabel ?count WHERE {
      {
        SELECT ?parent (COUNT(?child) AS ?count)
        WHERE
        {
          ?parent wdt:P40 ?child.
        }
        GROUP BY ?parent
        ORDER BY DESC(?count)
        LIMIT 10
      }
    ?parent rdfs:label ?parentLabel . FILTER (LANG(?parentLabel) = "en") .
    }
    ORDER BY DESC(?count)
    LIMIT 10
  type: no-text
- query: Population growth in Suriname from 1960 onward
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    SELECT ?year ?population WHERE {
      wd:Q730 p:P1082 ?p .
      ?p pq:P585 ?year ;
         ps:P1082 ?population .
    }
    ORDER BY ?year
  type: no-text
- query: Candidates for the Dutch general election in 2017
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?item ?itemLabel ?twitter ?politieke_partij ?politieke_partijLabel ?positie_op_lijst WHERE {
      ?item p:P3602 ?node .
        OPTIONAL { ?item wdt:P2002 ?twitter }
        ?node ps:P3602 wd:Q16061881 .
        OPTIONAL { ?node pq:P1545 ?positie_op_lijst }
        OPTIONAL { ?node pq:P1268 ?politieke_partij }
    ?politieke_partij rdfs:label ?politieke_partijLabel . FILTER (LANG(?politieke_partijLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Gender distribution in the candidates for the Dutch general election 2017
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?positie_op_lijst ?genderLabel ?politieke_partijLabel WHERE {
      ?item p:P3602 ?node.
      ?item wdt:P21 ?gender.
      ?node ps:P3602 wd:Q16061881 .
      ?node pq:P1545 ?positie_op_lijst.
      ?node pq:P1268 ?politieke_partij.
    ?gender rdfs:label ?genderLabel . FILTER (LANG(?genderLabel) = "en") .
    ?politieke_partij rdfs:label ?politieke_partijLabel . FILTER (LANG(?politieke_partijLabel) = "en") .
    }
  type: no-text
- query: Candidates for the Dutch general election 2017 living in Antwerp, Belgium
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?item ?itemLabel ?politieke_partij ?politieke_partijLabel WHERE {
      ?item p:P3602 ?node.
      ?item wdt:P551 wd:Q12892.
      ?node ps:P3602 wd:Q16061881.
      OPTIONAL { ?node pq:P1268 ?politieke_partij. }
    ?politieke_partij rdfs:label ?politieke_partijLabel . FILTER (LANG(?politieke_partijLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Candidates for the Dutch general election 2017 living abroad
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?item ?itemLabel ?coordinates WHERE {
      ?item p:P3602 ?node.
      ?item wdt:P551 ?residence .
      ?residence wdt:P17 ?country ;
                 wdt:P625 ?coordinates .
      ?node ps:P3602 wd:Q16061881.
      FILTER (?country != wd:Q55).
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Occupations of candidates of the Dutch general election 2017
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?positie_op_lijst ?genderLabel ?occupationLabel ?politieke_partijLabel WHERE {
      VALUES ?politieke_partij {wd:Q747910 wd:Q275441}
      ?item p:P3602 ?node.
      ?item wdt:P21 ?gender.
      ?item wdt:P106 ?occupation.
      ?node ps:P3602 wd:Q16061881.
      ?node pq:P1545 ?positie_op_lijst.
      ?node pq:P1268 ?politieke_partij.
    ?gender rdfs:label ?genderLabel . FILTER (LANG(?genderLabel) = "en") .
    ?occupation rdfs:label ?occupationLabel . FILTER (LANG(?occupationLabel) = "en") .
    ?politieke_partij rdfs:label ?politieke_partijLabel . FILTER (LANG(?politieke_partijLabel) = "en") .
    }
  type: no-text
- query: Gender balance of members of Irish parliament
  sparql: |-
    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 ?genderlabel (COUNT(?genderlabel) AS ?total) WHERE {
       ?subj wdt:P39 wd:Q654291  .
       ?subj wdt:P21 ?gender .
       ?gender rdfs:label ?genderlabel . FILTER (lang(?genderlabel) = "en") .
       ?subj rdfs:label ?label . FILTER (lang(?label) = "en")
    }
    GROUP BY ?genderlabel
  type: no-text
- query: Assemblies by number of seats
  sparql: |-
    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 DISTINCT ?item ?title ?seats ?jurisdiction ?inception ?dissolution WHERE {
      ?item wdt:P31/wdt:P279* wd:Q1752346 .
      OPTIONAL { ?item wdt:P1342 ?seats . }
      OPTIONAL {
        ?item wdt:P1001 ?j .
        ?j rdfs:label ?jurisdiction . FILTER (lang(?jurisdiction) = "en") .
      }
      OPTIONAL { ?item wdt:P571 ?inception . }
      OPTIONAL { ?item wdt:P576 ?dissolution . }
      OPTIONAL { ?item rdfs:label ?title . FILTER (lang(?title) = "en") . }
    }
    ORDER BY DESC(?seats) ?title
  type: no-text
- query: List of countries by age of the head of government
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?dob ?country ?countryLabel ?hgovernment ?hgovernmentLabel WHERE {
       ?country wdt:P31 wd:Q3624078 .
       # Removed FILTER
       ?country p:P6 ?statement .
       ?statement ps:P6 ?hgovernment .
       ?country wdt:P6 ?hgovernment .
       # Removed FILTER
       ?hgovernment wdt:P569 ?dob . # Removed BIND
       # Removed FILTER.
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    ?hgovernment rdfs:label ?hgovernmentLabel . FILTER (LANG(?hgovernmentLabel) = "en") .
    }
    ORDER BY ?dob
  type: no-text
- query: Number of ministers who are themselves children of a minister, per country
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?cc (COUNT(DISTINCT ?child) AS ?number) WHERE {
      ?child wdt:P31 wd:Q5 ;
             wdt:P39/wdt:P279* wd:Q83307 ;
             wdt:P22|wdt:P25 ?plholder1 ;
             wdt:P27/wdt:P901 ?cc .
      ?plholder1 wdt:P39/wdt:P279* wd:Q83307 .
    }
    GROUP BY ?cc
    ORDER BY DESC(?number)
  type: no-text
- query: Members of the French National Assembly born out of France
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?placeLabel ?countryLabel WHERE {
      ?item wdt:P39 wd:Q3044918 .
      ?item wdt:P19 ?place .
      ?place wdt:P17 ?country .
      # Removed FILTER
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?place rdfs:label ?placeLabel . FILTER (LANG(?placeLabel) = "en") .
    }
    ORDER BY ?countryLabel ?itemLabel
  type: no-text
- query: List of parliament buildings with pictures by country
  sparql: |-
    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 ?building ?buildingLabel ?country ?countryLabel ?picture WHERE {
      ?building wdt:P31 wd:Q7138926 .
      ?building wdt:P18 ?picture .
      OPTIONAL { ?building wdt:P17 ?country } .
    ?building rdfs:label ?buildingLabel . FILTER (LANG(?buildingLabel) = "en") .
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    }
    ORDER BY ?countryLabel
    LIMIT 188
  type: no-text
- query: Number of jurisdictions by driving side
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?sideLabel (COUNT(?jurisdiction) AS ?count) WHERE {
      ?jurisdiction wdt:P1622 ?side.
    ?side rdfs:label ?sideLabel . FILTER (LANG(?sideLabel) = "en") .
    }
    GROUP BY ?sideLabel
    ORDER BY ?sideLabel
  type: no-text
- query: Timeline of mayors of Amsterdam, the Netherlands
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?mayor ?mayorLabel ?start ?end WHERE {
      ?mayor p:P39 ?position.
      ?position ps:P39 wd:Q13423495;
                pq:P580 ?start;
                pq:P582 ?end.
    ?mayor rdfs:label ?mayorLabel . FILTER (LANG(?mayorLabel) = "en") .
    }
  type: no-text
- query: Current U.S. members of the Senate with district, party and date they assumed
    office
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?senator ?senatorLabel ?districtLabel ?partyLabel ?assumedOffice (sample(?image) AS ?image) WHERE {
      ?senator p:P39 ?posheld;
               p:P102 ?partystatement.
      ?partystatement ps:P102 ?party.
      MINUS { ?partystatement pq:P582 ?partyEnd. }
      MINUS { ?party wdt:P361 ?partOf. }
      ?posheld ps:P39 wd:Q4416090;
               pq:P768 ?district;
               pq:P580 ?assumedOffice.
      MINUS { ?posheld pq:P582 ?endTime. }
      OPTIONAL { ?senator wdt:P18 ?image. }
    ?district rdfs:label ?districtLabel . FILTER (LANG(?districtLabel) = "en") .
    ?party rdfs:label ?partyLabel . FILTER (LANG(?partyLabel) = "en") .
    ?senator rdfs:label ?senatorLabel . FILTER (LANG(?senatorLabel) = "en") .
    } GROUP BY ?senator ?senatorLabel ?districtLabel ?partyLabel ?assumedOffice ORDER BY ?senatorLabel
  type: no-text
- query: Map of places of birth of dead economists, colour-coded by era
  sparql: |-
    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 DISTINCT ?person ?name ?birthplace ?dob ?coord WHERE {
    {?person wdt:P106 wd:Q188094} UNION {?person wdt:P101 wd:Q8134}
    ?person wdt:P570 ?dod;
       wdt:P19 ?place .
    ?place wdt:P625 ?coord .
    OPTIONAL { ?person wdt:P569 ?dob }
    # Removed BIND
    # Removed BIND
    ?person rdfs:label ?name . FILTER (lang(?name) = "en")
    ?place rdfs:label ?birthplace . FILTER (lang(?birthplace) = "en")
    } ORDER BY ?dob
  type: no-text
- query: Distinct Billionaires
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?locationLabel ?item ?itemLabel (MAX(?worth) AS ?worth) WHERE {
      ?item wdt:P2218 ?worth.
      ?item wdt:P19 ?location .
      FILTER(?worth>1000000000).
      # Removed BIND.
    ?location rdfs:label ?locationLabel . FILTER (LANG(?locationLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    GROUP BY ?locationLabel ?item ?itemLabel
    ORDER BY DESC(?worth)
  type: no-text
- query: The number of existing translations for diseases in Wikidata
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?disease ?doid ?enLabel (COUNT(?language) AS ?languages) WHERE {
       ?disease wdt:P699 ?doid ;
                 rdfs:label ?label ;
                 rdfs:label ?enLabel .
        FILTER (lang(?enLabel) = "en")
        BIND (?label AS ?language)
    }
    GROUP BY ?disease ?doid ?enLabel
    ORDER BY desc(?languages)
  type: no-text
- query: 'A network of Drug-disease interactions on infectious diseases (Source: Disease
    Ontology, NDF-RT and ChEMBL)'
  sparql: |-
    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 DISTINCT ?disease ?diseaseLabel ?drug ?drugLabel WHERE {
      # VALUES ?toggle { true false }
      ?disease wdt:P699 ?doid;
               wdt:P279+ wd:Q18123741;
               wdt:P2176 ?drug.
      ?drug rdfs:label ?drugLabel.
          FILTER(LANG(?drugLabel) = "en").
      ?disease rdfs:label ?diseaseLabel.
          FILTER(LANG(?diseaseLabel) = "en").
      # Removed BIND.
      # Removed BIND.
      # Removed BIND.
      # Removed BIND.
    }
  type: no-text
- query: The number of Wikidata items on Diseases and the percentage of those with
    a pointer to the Disease Ontology
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    SELECT (COUNT(?disease) AS ?total) WHERE {
      {?disease wdt:P31 wd:Q12136 }
      UNION
      {?disease wdt:P279 wd:Q12136 .}
      OPTIONAL {
        ?disease p:P699 ?statement.
        # Removed BIND.
      }
    }
  type: no-text
- query: Human genes updated this week
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX schema: <http://schema.org/>
    SELECT DISTINCT ?item ?ncbi_gene ?date_modified WHERE {
      ?item wdt:P351 ?ncbi_gene ;
            wdt:P703 wd:Q15978631 .
       ?x   schema:about ?item ;
            schema:dateModified ?date_modified .
      FILTER(?date_modified >= "2020-10-16T00:00:00"^^xsd:dateTime)
      FILTER(?date_modified < "2020-10-23T00:00:00"^^xsd:dateTime)
    }
  type: no-text
- query: Counts of gene-variant types sourced from the CIViC database
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT  ?variant_typeLabel (COUNT(?variant_typeLabel) AS ?counts) WHERE {
      ?item wdt:P3329 ?civic_id ;
              wdt:P31 ?variant_type .
    ?variant_type rdfs:label ?variant_typeLabel . FILTER (LANG(?variant_typeLabel) = "en") .
    }
    GROUP BY ?variant_typeLabel
    ORDER BY ?counts
  type: no-text
- query: Which variant of which gene predicts a positive prognosis in colorectal cancer
  sparql: |-
    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 ?geneLabel ?variantLabel WHERE {
      VALUES ?disease {wd:Q188874}
        ?variant wdt:P3358 ?disease ;
              wdt:P3433 ?gene .
    ?gene rdfs:label ?geneLabel . FILTER (LANG(?geneLabel) = "en") .
    ?variant rdfs:label ?variantLabel . FILTER (LANG(?variantLabel) = "en") .
    }
  type: no-text
- query: Variants that are associated with renal cell carcinoma
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?civic_id ?item ?itemLabel WHERE {
       VALUES ?property {
                          wdt:P3356
                          wdt:P3357
                          wdt:P3358
                          wdt:P3359
                         }
        ?item wdt:P3329 ?civic_id .
        {?item  ?property wd:Q1164529.}
        UNION
        {
        {?item p:P3354 ?o .
         ?o pq:P2175 wd:Q1164529 .}
        UNION
        {?item p:P3354 ?o .
         ?o pq:P2175 wd:Q1164529 .}
        }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: PubMed references in CIViCdb
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT DISTINCT  ?reference ?referenceLabel ?pmid WHERE {
      ?item wdt:P3329 ?civicId ;
              ?property  ?object .
        ?object prov:wasDerivedFrom ?provenance .
        ?provenance pr:P248 ?reference .
        ?reference wdt:P31 wd:Q13442814 ;
                   wdt:P698 ?pmid .
    ?reference rdfs:label ?referenceLabel . FILTER (LANG(?referenceLabel) = "en") .
    }
  type: no-text
- query: Variant counts by predictor type
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT  ?propertyLabel (COUNT(?prognostic_type) AS ?counts) WHERE {
      VALUES ?prognostic_type {wdt:P3354 wdt:P3355 wdt:P3356 wdt:P3357 wdt:P3358 wdt:P3359}
        ?item wdt:P3329 ?civic_id ;
              ?prognostic_type ?prognostic_value .
        ?property wikibase:directClaim ?prognostic_type .
    ?property rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = "en") .
    }
    GROUP BY ?propertyLabel ?prognostic_type
    ORDER BY ?counts
  type: no-text
- query: Get Wikidata - UniprotId mappings for homo sapiens
  sparql: |-
    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 ?item ?itemLabel ?uniprotid ?tax_node WHERE {
      ?item wdt:P352 ?uniprotid ;
              wdt:P703 wd:Q15978631 .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Metabolites and the species where they are found in
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT ?compound ?compoundLabel ?speciesLabel ?sourceLabel ?doi ?wpid WHERE {
      ?compound wdt:P31 wd:Q11173.
      MINUS { ?compound wdt:P31 wd:Q8054. }
      ?compound p:P703 ?statement.
      ?statement rdf:type wikibase:BestRank.
      ?statement ps:P703 ?species.
      OPTIONAL {
        ?statement prov:wasDerivedFrom/pr:P248 ?source.
        OPTIONAL { ?source wdt:P2410 ?wpid. }
        OPTIONAL { ?source wdt:P356 ?doi. }
      }
    ?compound rdfs:label ?compoundLabel . FILTER (LANG(?compoundLabel) = "en") .
    ?source rdfs:label ?sourceLabel . FILTER (LANG(?sourceLabel) = "en") .
    ?species rdfs:label ?speciesLabel . FILTER (LANG(?speciesLabel) = "en") .
    }
    ORDER BY ASC(?compound)
  type: no-text
- query: All human pathways from Wikipathways
  sparql: |-
    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 ?pathway ?pathwayLabel ?wpid WHERE {
       ?pathway wdt:P2410 ?wpid ;
                wdt:P703 wd:Q15978631 .
    ?pathway rdfs:label ?pathwayLabel . FILTER (LANG(?pathwayLabel) = "en") .
    }
  type: no-text
- query: Ranking of most cited work in WikiPathways
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?citation ?citationLabel (COUNT(?pathway) AS ?times_cited) WHERE {
      ?pathway wdt:P2410 ?WikiPathwaysID ;
               wdt:P2860 ?citation .
    ?citation rdfs:label ?citationLabel . FILTER (LANG(?citationLabel) = "en") .
      }
    GROUP BY ?pathway ?citation ?citationLabel
  type: no-text
- query: Gene and metabolite counts per pathway
  sparql: |-
    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 ?path ?genes ?metabolites ?pathway WHERE {
      {SELECT DISTINCT ?path (COUNT(?pwPart) AS ?genes) WHERE {
          ?path wdt:P2410 ?WikipathsID.
          ?path wdt:P527 ?pwPart.
          ?pwPart wdt:P31 wd:Q7187.
        }
        GROUP BY ?path
      }
      {SELECT DISTINCT ?path (COUNT(?pwPart) AS ?metabolites) WHERE {
          ?path wdt:P2410 ?WikipathsID.
          ?path wdt:P527 ?pwPart.
          ?pwPart wdt:P31 wd:Q11173.
        }
        GROUP BY ?path
      }
      OPTIONAL { ?path rdfs:label ?pathway. }
    }
    ORDER BY DESC(?genes)
  type: no-text
- query: Biological pathways with protein structures in the PDB database
  sparql: |-
    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 ?pathway ?pathwayLabel ?WikiPathways ?Reactome (COUNT(DISTINCT ?protein) AS ?count) WHERE {
      VALUES ?pathwayType { wd:Q4915012 wd:Q2996394 }
      ?pathway wdt:P31 ?pathwayType .
      { ?pathway wdt:P527/wdt:P688 ?protein . } UNION { ?pathway wdt:P527 ?protein . }
      ?protein wdt:P638 ?PDBID .
      OPTIONAL { ?pathway wdt:P2410 ?WikiPathways }
      OPTIONAL { ?pathway wdt:P3937 ?Reactome }
    ?pathway rdfs:label ?pathwayLabel . FILTER (LANG(?pathwayLabel) = "en") .
    } GROUP BY ?pathway ?pathwayLabel ?WikiPathways ?Reactome
      ORDER BY DESC(?count)
  type: no-text
- query: 'Get known variants reported in CIViC database (Q27612411) of genes reported
    in a Wikipathways pathway: Bladder Cancer (Q30230812)'
  sparql: |-
    PREFIX p: <http://www.wikidata.org/prop/>
    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 DISTINCT ?pathway ?pathwayLabel ?pwpart ?pwpartLabel ?variant ?variantLabel ?disease ?diseaseLabel WHERE {
      VALUES ?predictor {p:P3354 p:P3355 p:P3356 p:P3357 p:P3358 p:P3359}
      VALUES ?wpID {"WP2828"}
      ?pathway wdt:P2410 ?wpID ;
               wdt:P527 ?pwpart .
      ?disease wdt:P279+ wd:Q504775 .
      ?variant wdt:P3329 ?civicID ;
               ?predictor ?node ;
               wdt:P3433 ?pwpart .
      ?node ?predictorStatement ?disease .
      ?disease rdfs:label ?diseaseLabel . FILTER(LANG(?diseaseLabel)="en")
      ?pathway rdfs:label ?pathwayLabel . FILTER(LANG(?pathwayLabel)="en")
      ?pwpart rdfs:label ?pwpartLabel . FILTER(LANG(?pwpartLabel)="en")
      ?variant rdfs:label ?variantLabel . FILTER(LANG(?variantLabel)="en")
    }
  type: no-text
- query: Find drugs for cancers that target genes related to cell proliferation
  sparql: |-
    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 ?drugLabel ?geneLabel ?biological_processLabel ?diseaseLabel WHERE {
      ?drug wdt:P129 ?gene_product .
      ?gene wdt:P688 ?gene_product .
      ?disease   wdt:P2293 ?gene .
      ?disease wdt:P279+  wd:Q12078 .
      ?gene_product wdt:P682 ?biological_process .
       ?biological_process wdt:P361/wdt:P279* wd:Q189101 .
    ?disease rdfs:label ?diseaseLabel . FILTER (LANG(?diseaseLabel) = "en") .
    ?gene rdfs:label ?geneLabel . FILTER (LANG(?geneLabel) = "en") .
    ?biological_process rdfs:label ?biological_processLabel . FILTER (LANG(?biological_processLabel) = "en") .
    ?drug rdfs:label ?drugLabel . FILTER (LANG(?drugLabel) = "en") .
    }
    LIMIT 1000
  type: no-text
- query: Parent taxons of Blue Whale
  sparql: |-
    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 ?item ?itemLabel ?pic ?linkTo WHERE {
      wd:Q42196 wdt:P171+ ?item .
      OPTIONAL { ?item wdt:P171 ?linkTo }
      OPTIONAL { ?item wdt:P18 ?pic }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Mosquito species
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?item ?taxonname WHERE {
      ?item wdt:P31 wd:Q16521 ;
            wdt:P105 wd:Q7432 ;
            wdt:P171+ wd:Q7367 ;
            wdt:P225 ?taxonname .
    }
  type: no-text
- query: Taxons and what they are named after
  sparql: |-
    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 ?taxon ?eponym ?taxonName ?eponymLabel WHERE {
      ?taxon wdt:P31 wd:Q16521;
             wdt:P225 ?taxonName;
             wdt:P138 ?eponym.
    ?eponym rdfs:label ?eponymLabel . FILTER (LANG(?eponymLabel) = "en") .
    }
    ORDER BY ?eponym
  type: no-text
- query: Biologists with Twitter accounts
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?personLabel ?twitterName ?pic WHERE {
      ?person wdt:P2002 ?twitterName ;
        wdt:P106 ?occupation .
      OPTIONAL { ?person wdt:P18 ?pic . }
      ?occupation wdt:P279+ wd:Q864503 .
    ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
    }
  type: no-text
- query: Cell lines with names that could also be URLs (Internet of Cell Lines).
  sparql: |-
    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 ?cell_line ?cell_line_name ?tld ?tld_name ?url WHERE {
      {
        SELECT ?cell_line ?cell_line_name WHERE {
          ?cell_line wdt:P31 wd:Q21014462;
                     rdfs:label ?cell_line_name.
          FILTER(LANG(?cell_line_name) = "en").
        }
      }
      ?tld wdt:P31/wdt:P279* wd:Q14296;
           rdfs:label ?tld_name.
      FILTER(LANG(?tld_name) = "en").
      # Removed FILTER
      # Removed BIND
    }
  type: no-text
- query: List of pharmaceutical drugs with picture
  sparql: |-
    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 ?moleculeLabel ?formule ?picture ?molecule WHERE {
      ?molecule  wdt:P31 wd:Q12140
      ; wdt:P274 ?formule
      ; wdt:P117 ?picture.
    ?molecule rdfs:label ?moleculeLabel . FILTER (LANG(?moleculeLabel) = "en") .
    }
    ORDER BY ?moleculeLabel
  type: no-text
- query: Organisms that are located in the female urogential tract and that have a
    gene with product indole
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?organism_name
    WHERE
    {
      ?organism_item wdt:P2974 wd:Q5880;
      rdfs:label ?organism_name .
      ?gene wdt:P703 ?organism_item;
      wdt:P1056 wd:Q319541 .
      FILTER (LANG(?organism_name) = "en") .
    }
  type: no-text
- query: List of computer files formats
  sparql: |-
    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 DISTINCT ?idExtension ?extension ?mediaType ?idExtensionLabel WHERE {
      ?idExtension wdt:P31 wd:Q235557
      ; wdt:P1195 ?extension .
      OPTIONAL { ?idExtension wdt:P1163 ?mediaType }
    ?idExtension rdfs:label ?idExtensionLabel . FILTER (LANG(?idExtensionLabel) = "en") .
    }
    ORDER BY ?extension ?mediaType
  type: no-text
- query: List of W3C standards
  sparql: |-
    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 DISTINCT ?standard ?standardLabel ?website WHERE {
            ?standard wdt:P1462 wd:Q37033 .
            OPTIONAL{ ?standard wdt:P856 ?website }
    ?standard rdfs:label ?standardLabel . FILTER (LANG(?standardLabel) = "en") .
    }
    ORDER BY ?standardLabel
  type: no-text
- query: Oldest software
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?software ?softwareLabel ?date WHERE {
      ?software wdt:P31/wdt:P279* wd:Q7397.
      OPTIONAL { ?software wdt:P571 ?date. }
      OPTIONAL { ?software p:P348/pq:P577 ?date. }
      # Removed FILTER.
    ?software rdfs:label ?softwareLabel . FILTER (LANG(?softwareLabel) = "en") .
    }
    ORDER BY ?date
    LIMIT 10
  type: no-text
- query: Universities of main programming language authors
  sparql: |-
    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 ?lang ?langLabel ?human ?humanLabel ?educatedat ?educatedatLabel ?coords WHERE {
      ?lang wdt:P31/wdt:P279* wd:Q9143 .
      ?human wdt:P31 wd:Q5 .
      { ?lang wdt:P287 ?human } UNION {{ ?lang wdt:P170 ?human } UNION { ?lang wdt:P178 ?human }} .
      ?human wdt:P69 ?educatedat .
      ?educatedat wdt:P625 ?coords .
    ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en") .
    ?educatedat rdfs:label ?educatedatLabel . FILTER (LANG(?educatedatLabel) = "en") .
    ?lang rdfs:label ?langLabel . FILTER (LANG(?langLabel) = "en") .
    }
    LIMIT 100
  type: no-text
- query: Websites with OpenAPI endpoints
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?database ?databaseLabel ?license ?licenseLabel ?value WHERE {
      ?wds pq:P31 wd:Q27075870.
      ?database ?p ?wds .
      ?database wdt:P275 ?license .
      ?wds ?v ?value.
      ?wdP wikibase:statementProperty ?v.
      ?wdP wikibase:claim ?p.
    ?database rdfs:label ?databaseLabel . FILTER (LANG(?databaseLabel) = "en") .
    ?license rdfs:label ?licenseLabel . FILTER (LANG(?licenseLabel) = "en") .
    } ORDER BY ASC(?databaseLabel)
  type: no-text
- query: E-Readers that support the mobipocket file format
  sparql: |-
    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 ?ereader ?ereaderLabel WHERE {
      ?ereader wdt:P31  wd:Q726235 .
      ?ereader wdt:P1072 wd:Q1941622 .
    ?ereader rdfs:label ?ereaderLabel . FILTER (LANG(?ereaderLabel) = "en") .
      }
  type: no-text
- query: Software applications ranked in descending order by the number of writable
    file formats
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?app ?appLabel (COUNT(?format) AS ?count) WHERE {
      ?app p:P31/ps:P31/wdt:P279 wd:Q7397 .
      ?app wdt:P1072 ?format .
    ?app rdfs:label ?appLabel . FILTER (LANG(?appLabel) = "en") .
      }
    GROUP BY ?app ?appLabel
    ORDER BY DESC(?count)
  type: no-text
- query: Return a bubble chart of mediatypes by count of file formats
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT DISTINCT ?mediaType (COUNT (?ff) AS ?count) WHERE {
      ?ff wdt:P31/wdt:P279* wd:Q235557.
      ?ff wdt:P1163 ?mediaType.
    }
    GROUP BY ?mediaType
    ORDER BY DESC (?count)
  type: no-text
- query: Erdos Numbers and images of people who have oral histories in the Computer
    History Museum's collection
  sparql: |-
    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  ?personLabel  ?image ?Erdos WHERE {
      ?person wdt:P485 wd:Q964035 .
      ?person wdt:P18 ?image .
      ?person wdt:P2021 ?Erdos.
    ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
      }
  type: no-text
- query: Chemical elements and their properties
  sparql: |-
    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 ?elementLabel ?_boiling_point ?_melting_point ?_electronegativity ?_density ?_mass WHERE {
      ?element wdt:P31 wd:Q11344.
      ?element wdt:P2102 ?_boiling_point.
      ?element wdt:P2101 ?_melting_point.
      ?element wdt:P1108 ?_electronegativity.
      ?element wdt:P2054 ?_density.
      ?element wdt:P2067 ?_mass.
    ?element rdfs:label ?elementLabel . FILTER (LANG(?elementLabel) = "en") .
    }
    LIMIT 100
  type: no-text
- query: Chemical elements and their isotopes by number of neutrons (min/max)
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?element (SAMPLE(?symbol) AS ?symbol) (SAMPLE(?protons) AS ?protons) (MIN(?neutrons) AS ?minNeutrons) (MAX(?neutrons) AS ?maxNeutrons) WHERE {
      ?element wdt:P31 wd:Q11344;
               wdt:P1086 ?protons;
               wdt:P246 ?symbol.
      ?isotope wdt:P279 ?element;
               wdt:P1148 ?neutrons.
    }
    GROUP BY ?element
    ORDER BY ?protons
  type: no-text
- query: Colors of chemical compounds
  sparql: |-
    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 ?rgb ?colorLabel (COUNT(?compound) AS ?count) WHERE {
      ?compound wdt:P31 wd:Q11173;
                wdt:P462 ?color.
      OPTIONAL { ?color wdt:P465 ?rgb. }
      # Removed BIND.
    ?color rdfs:label ?colorLabel . FILTER (LANG(?colorLabel) = "en") .
    }
    GROUP BY ?rgb ?colorLabel
  type: no-text
- query: All pKa data in Wikidata and the source titles
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT ?compound ?compoundLabel ?pKa ?source ?sourceLabel ?doi WHERE {
      ?compound wdt:P31 wd:Q11173 ; p:P1117 ?statement .
      ?statement rdf:type wikibase:BestRank ;
        ps:P1117 ?pKa .
      OPTIONAL {
        ?statement prov:wasDerivedFrom/pr:P248 ?source .
        OPTIONAL { ?source wdt:P356 ?doi . }
      }
    ?compound rdfs:label ?compoundLabel . FILTER (LANG(?compoundLabel) = "en") .
    ?source rdfs:label ?sourceLabel . FILTER (LANG(?sourceLabel) = "en") .
    }
  type: no-text
- query: All CAS registry numbers in Wikidata
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?compound ?compoundLabel ?cas WHERE {
      ?compound wdt:P231 ?cas .
    ?compound rdfs:label ?compoundLabel . FILTER (LANG(?compoundLabel) = "en") .
    }
  type: no-text
- query: Chemical compounds in Wikidata sharing the same CAS registry number
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?cas ?compound1 ?compound1Label ?compound2 ?compound2Label WHERE {
      ?compound1 wdt:P231 ?cas .
      ?compound2 wdt:P231 ?cas .
      FILTER (?compound1 != ?compound2).
    ?compound1 rdfs:label ?compound1Label . FILTER (LANG(?compound1Label) = "en") .
    ?compound2 rdfs:label ?compound2Label . FILTER (LANG(?compound2Label) = "en") .
    }
  type: no-text
- query: The number of Chemical compounds in Wikidata sharing the same CAS registry
    number
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?cas ?items WHERE {
      {SELECT DISTINCT ?cas (COUNT(?compound) AS ?items) WHERE {
          ?compound wdt:P231 ?cas .
      }
        GROUP BY ?cas }
        FILTER (?items >1)
    }
    ORDER BY desc(?items)
  type: no-text
- query: Awarded Chemistry Nobel Prizes
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?item ?itemLabel ?when ?pic WHERE {
      ?item p:P166 ?awardStat .
      ?awardStat ps:P166 wd:Q44585 .
      ?awardStat pq:P585 ?when .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    OPTIONAL { ?item wdt:P18 ?pic }
    }
  type: no-text
- query: Images of organic acids
  sparql: |-
    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 ?compound ?compoundLabel ?image WHERE {
      ?compound wdt:P31/wdt:P279* wd:Q421948 ;
                wdt:P18|wdt:P117 ?image .
    ?compound rdfs:label ?compoundLabel . FILTER (LANG(?compoundLabel) = "en") .
    }
  type: no-text
- query: Boiling points of alkanes
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
    SELECT DISTINCT ?comp ?compLabel ?formula ?bp ?bpUnit ?bpUnitLabel WHERE {
      ?comp wdt:P31/wdt:P279* wd:Q41581 ;
            wdt:P274 ?formula ;
            p:P2102 ?plholder1  .
    ?plholder1 ps:P2102 ?bp ;
               psv:P2102/wikibase:quantityUnit ?bpUnit .
    ?comp rdfs:label ?compLabel . FILTER (LANG(?compLabel) = "en") .
    ?bpUnit rdfs:label ?bpUnitLabel . FILTER (LANG(?bpUnitLabel) = "en") .
    } ORDER BY DESC(?bpUnit) ASC(?bp)
  type: no-text
- query: Solubilities of chemicals
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX pqv: <http://www.wikidata.org/prop/qualifier/value/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX owl: <http://www.w3.org/2002/07/owl#>
    SELECT DISTINCT ?chemical ?chemicalLabel ?value ?units ?unitsLabel ?solvent ?solventLabel ?temperature ?temperatureUnit ?temperatureUnitLabel ?source ?sourceLabel ?doi WHERE {
      {
        SELECT DISTINCT ?chemical ?value ?units ?source ?doi ?solvent ?temperature ?temperatureUnit WHERE {
          ?property wikibase:claim ?propp ;
                    wikibase:statementValue ?proppsv ;
                    wdt:P1629 wd:Q170731 ;
                    wdt:P31 wd:Q21077852 .
          ?statement rdf:type wikibase:BestRank ;
                     ?proppsv ?plholder1  .
          ?plholder1 wikibase:quantityAmount ?value .
          ?plholder1 wikibase:quantityUnit ?units .
          OPTIONAL {
            ?statement prov:wasDerivedFrom/pr:P248 ?source .
            OPTIONAL { ?source wdt:P356 ?doi . }
          }
          ?chemical ?propp ?statement .
          OPTIONAL {
            ?statement pqv:P2076 ?temperatureNode .
            ?temperatureNode wikibase:quantityAmount ?temperature ;
                             wikibase:quantityUnit ?temperatureUnit .
          }
          OPTIONAL {
            wd:P2178 wikibase:qualifier ?qualifierS .
            ?qualifierS rdf:type owl:ObjectProperty .
            ?statement ?qualifierS ?solvent .
          }
        }
        GROUP BY ?chemical ?value ?units ?temperature ?temperatureUnit ?solvent ?source ?doi
      }
    ?chemical rdfs:label ?chemicalLabel . FILTER (LANG(?chemicalLabel) = "en") .
    ?solvent rdfs:label ?solventLabel . FILTER (LANG(?solventLabel) = "en") .
    ?source rdfs:label ?sourceLabel . FILTER (LANG(?sourceLabel) = "en") .
    ?temperatureUnit rdfs:label ?temperatureUnitLabel . FILTER (LANG(?temperatureUnitLabel) = "en") .
    ?units rdfs:label ?unitsLabel . FILTER (LANG(?unitsLabel) = "en") .
    }
  type: no-text
- query: Who discovered the most asteroids?
  sparql: |-
    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 ?discoverer ?name (COUNT(?asteroid) AS ?count) WHERE {
       ?asteroid wdt:P31 wd:Q3863 .
       ?asteroid wdt:P61 ?discoverer .
       ?discoverer rdfs:label ?name . FILTER (LANG(?name) = "en") .
    }
    GROUP BY ?discoverer ?name
    ORDER BY DESC(?count)
    LIMIT 20
  type: no-text
- query: Who discovered the most planets? (with list)
  sparql: |-
    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    ?discoverer ?discovererLabel    (COUNT(DISTINCT ?planet) AS ?count)    (GROUP_CONCAT(?planetLabel; SEPARATOR=", ") AS ?planets) WHERE {
       ?ppart wdt:P279+ wd:Q634 .
       ?planet wdt:P31 ?ppart .
       ?planet wdt:P61 ?discoverer .
    ?planet rdfs:label ?planetLabel . FILTER (LANG(?planetLabel) = "en") .
    ?discoverer rdfs:label ?discovererLabel . FILTER (LANG(?discovererLabel) = "en") .
    }
    GROUP BY ?discoverer ?discovererLabel
    ORDER BY DESC(?count)
  type: no-text
- query: List of space probes with pictures
  sparql: |-
    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 ?spaceProbeLabel ?date ?picture WHERE {
      ?spaceProbe wdt:P31 wd:Q26529;
            wdt:P18 ?picture;
            wdt:P619 ?date .
    ?spaceProbe rdfs:label ?spaceProbeLabel . FILTER (LANG(?spaceProbeLabel) = "en") .
    }
    ORDER BY ?date
    LIMIT 88
  type: no-text
- query: Birthplaces of astronauts
  sparql: |-
    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 ?astronaut ?astronautLabel ?image ?birthdate ?birthplace ?coord WHERE {
      ?astronaut ?x1 wd:Q11631;
      wdt:P18 ?image;
      wdt:P569 ?birthdate;
      wdt:P19 ?birthplace.
      ?birthplace wdt:P625 ?coord.
    ?astronaut rdfs:label ?astronautLabel . FILTER (LANG(?astronautLabel) = "en") .
    }
    ORDER BY DESC(?birthdate)
  type: no-text
- query: (Artist) Images of Exoplanets
  sparql: |-
    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 ?exoplanet ?exoplanetLabel ?image WHERE {
      ?exoplanet wdt:P31 wd:Q44559 ;
                 wdt:P18 ?image .
    ?exoplanet rdfs:label ?exoplanetLabel . FILTER (LANG(?exoplanetLabel) = "en") .
    }
  type: no-text
- query: Number of scientists per gender
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?gender (COUNT(DISTINCT ?human) AS ?number) WHERE {
      ?human wdt:P31 wd:Q5
      ; wdt:P21 ?gender
      ; wdt:P106/wdt:P279* wd:Q901 .
    }
    GROUP BY ?gender
    LIMIT 10
  type: no-text
- query: Most eponymous mathematicians
  sparql: |-
    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 ?eponym ?eponymLabel ?count ?sample ?sampleLabel WHERE {
      {
      SELECT ?eponym (COUNT(?item) AS ?count) (SAMPLE(?item) AS ?sample)
      WHERE
      {
        ?item wdt:P138 ?eponym.
        ?eponym wdt:P106 wd:Q170790.
      }
      GROUP BY ?eponym
      }
    ?eponym rdfs:label ?eponymLabel . FILTER (LANG(?eponymLabel) = "en") .
    ?sample rdfs:label ?sampleLabel . FILTER (LANG(?sampleLabel) = "en") .
    }
    ORDER BY DESC(?count)
  type: no-text
- query: Authors of scientific articles by occupation
  sparql: |-
    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 ?occupationLabel (COUNT(DISTINCT ?author) AS ?count) WHERE {
            ?object wdt:P31 wd:Q13442814
            ; wdt:P50 ?author .
            ?author wdt:P106 ?occupation .
    ?occupation rdfs:label ?occupationLabel . FILTER (LANG(?occupationLabel) = "en") .
    }
    GROUP BY ?occupationLabel
    ORDER BY DESC(?count)
  type: no-text
- query: Authors of scientific articles who received a Nobel prize
  sparql: |-
    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 ?item ?itemLabel ?person ?personLabel ?_image ?award ?awardLabel WHERE {
      ?person wdt:P166 ?award ;
              wdt:P31 wd:Q5 .
      ?award wdt:P361 wd:Q7191 .
      ?item wdt:P50 ?person ;
            wdt:P31 wd:Q13442814 .
    ?award rdfs:label ?awardLabel . FILTER (LANG(?awardLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
    OPTIONAL { ?person wdt:P18 ?_image. }
    }
  type: no-text
- query: Using VALUES for extracting scientific articles of specific authors
  sparql: |-
    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 ?entity ?entityLabel ?authorLabel WHERE {
      VALUES ?author {wd:Q18016466}
      ?entity wdt:P31 wd:Q13442814.
      ?entity wdt:P50 ?author.
    ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = "en") .
    ?entity rdfs:label ?entityLabel . FILTER (LANG(?entityLabel) = "en") .
    }
  type: no-text
- query: Female scientists with most number of sitelinks (but not English Wikipedia)
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?item ?itemLabel ?linkcount WHERE {
        ?item wdt:P31 wd:Q5 .
        ?item wdt:P21 wd:Q6581072 .
        ?item wdt:P106 wd:Q901 .
        ?item ^schema:about/wikibase:sitelinks ?linkcount .
      FILTER (?linkcount >= 1) .
      # Removed FILTER
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    GROUP BY ?item ?itemLabel ?linkcount
    ORDER BY DESC(?linkcount)
  type: no-text
- query: Inventors killed by their own invention
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?inventor ?inventorLabel ?gadget ?gadgetLabel WHERE {
      ?inventor wdt:P157 ?gadget.
      ?gadget wdt:P61 ?inventor.
    ?gadget rdfs:label ?gadgetLabel . FILTER (LANG(?gadgetLabel) = "en") .
    ?inventor rdfs:label ?inventorLabel . FILTER (LANG(?inventorLabel) = "en") .
    }
  type: no-text
- query: Most cited female authors
  sparql: |-
    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 ?author ?authorLabel (COUNT(?publication) AS ?count) WHERE {
        ?author wdt:P21 wd:Q6581072.
        ?item wdt:P2860 ?publication .
        ?publication wdt:P50 ?author .
    ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = "en") .
    }
    GROUP BY ?author ?authorLabel
    ORDER BY DESC(?count)
  type: no-text
- query: Scientists who have worked together but whose Erdos numbers don’t reflect
    that
  sparql: |-
    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 ?paper ?author1 ?author2 ?title ?paperLabel ?author1Label ?erdos1 ?author2Label ?erdos2 WHERE {
      ?paper wdt:P31/wdt:P279* wd:Q13442814;
               wdt:P50 ?author1;
               wdt:P50 ?author2.
      OPTIONAL { ?paper wdt:P1476 ?title. }
      ?author1 wdt:P2021 ?erdos1.
      ?author2 wdt:P2021 ?erdos2.
      # Removed BIND.
    ?author1 rdfs:label ?author1Label . FILTER (LANG(?author1Label) = "en") .
    ?author2 rdfs:label ?author2Label . FILTER (LANG(?author2Label) = "en") .
    ?paper rdfs:label ?paperLabel . FILTER (LANG(?paperLabel) = "en") .
    }
    ORDER BY ?author1Label ?author2Label
  type: no-text
- query: Map of institutions where Canadian citizens got their PhD
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?institution ?institutionLabel ?academics ?academicsLabel ?degree ?degreeLabel ?geoloc  ?image WHERE {
      ?academics wdt:P31 wd:Q5 ;
                 wdt:P27 wd:Q16 ;
                 p:P69 ?statement .
      OPTIONAL { ?academics wdt:P18 ?image }.
      ?statement ps:P69 ?institution .
      ?institution wdt:P625 ?geoloc .
      ?statement pq:P512 ?degree .
      ?degree wdt:P31/wdt:P279* wd:Q849697 .
    ?academics rdfs:label ?academicsLabel . FILTER (LANG(?academicsLabel) = "en") .
    ?degree rdfs:label ?degreeLabel . FILTER (LANG(?degreeLabel) = "en") .
    ?institution rdfs:label ?institutionLabel . FILTER (LANG(?institutionLabel) = "en") .
    }
  type: no-text
- query: PMID-DOI mappings
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT DISTINCT ?pmid ?doi WHERE {
      ?item wdt:P698 ?pmid ;
                  wdt:P356 ?doi .
    }
  type: no-text

- query: number of statements backed by a reference with a DOI
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT (COUNT (?statement) AS ?statements) WHERE {
      ?statement prov:wasDerivedFrom/pr:P248/wdt:P356 ?doi .
      ?entry ?p ?statement .
    }
  type: no-text
- query: Statements originating from a specific DOI
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT ?entryRes ?entry ?statement WHERE {
      ?statement prov:wasDerivedFrom/pr:P248/wdt:P356 "10.1021/JA01577A030" .
      ?entryRes ?p ?statement ;
                rdfs:label ?entry .
      FILTER(lang(?entry) = "en")
    }
  type: no-text
- query: Translations of the Disease Ontology term DOID:399 (Tuberculosis)
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?English ?label WHERE {
       ?disease wdt:P699 "DOID:399";
                 rdfs:label ?English;
                 rdfs:label ?label .
       # Removed BIND
       # ?wdLanguage wdt:P424 ?languageCode;
       #             rdfs:label ?language .
        # Removed FILTER
       FILTER (LANG(?English)="en")
       # FILTER (LANG(?language)="en")
    } # ORDER BY ?language
  type: no-text
- query: Library and Information Science journals
  sparql: |-
    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 DISTINCT ?journal ?name WHERE {
        ?journal wdt:P31 wd:Q5633421 .
                { ?journal wdt:P921 wd:Q199655 }
          UNION {{ ?journal wdt:P921 wd:Q16387 }
          UNION { ?journal wdt:P921 wd:Q13420675 }}
        ?journal rdfs:label ?name . FILTER (LANG(?name) = "en") .
    }
  type: no-text
- query: Most popular subjects of scientific articles
  sparql: |-
    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 (COUNT(?work) AS ?count) ?subject ?subjectLabel WHERE {
      ?work wdt:P31 wd:Q13442814;
            wdt:P921 ?subject .
    ?subject rdfs:label ?subjectLabel . FILTER (LANG(?subjectLabel) = "en") .
    }
    GROUP BY ?subject ?subjectLabel
    ORDER BY desc(?count)
    LIMIT 200
  type: no-text
- query: Scientific journals with editors on Twitter
  sparql: |-
    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 ?journal ?journalLabel ?editor ?editorLabel ?twitter ?ex_publisher ?ex_publisherLabel WHERE {
      {
        SELECT ?journal ?editor ?twitter (SAMPLE(?publisher) AS ?ex_publisher) WHERE {
          ?journal wdt:P31 wd:Q5633421 ; wdt:P98 ?editor .
          OPTIONAL { ?journal wdt:P123 ?publisher }
          ?editor wdt:P2002 ?twitter .
        } GROUP BY ?journal ?editor ?twitter
      }
      ?journal rdfs:label ?journalLabel . FILTER(lang(?journalLabel) = "en")
      ?editor rdfs:label ?editorLabel . FILTER(lang(?editorLabel) = "en")
      ?ex_publisher rdfs:label ?ex_publisherLabel . FILTER(lang(?ex_publisherLabel) = "en")
    } ORDER BY ?journalLabel
  type: no-text
- query: Mathematical proofs
  sparql: |-
    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 ?proof ?proofLabel WHERE {
      ?proof wdt:P31 wd:Q11538.
    ?proof rdfs:label ?proofLabel . FILTER (LANG(?proofLabel) = "en") .
    }
  type: no-text
- query: Timeline of death of mathematicans and their theorems
  sparql: |-
    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   ?genderLabel   ?theorem   ?theoremLabel   ?nameLabel   ?death   ?formula WHERE {
    ?gender rdfs:label ?genderLabel . FILTER (LANG(?genderLabel) = "en") .
    ?name rdfs:label ?nameLabel . FILTER (LANG(?nameLabel) = "en") .
    ?theorem rdfs:label ?theoremLabel . FILTER (LANG(?theoremLabel) = "en") .
      ?theorem wdt:P31  wd:Q65943;
               wdt:P138 ?name.
      ?name    wdt:P570 ?death;
               wdt:P21  ?gender .
      ?theorem wdt:P2534 ?formula.
    }
    ORDER BY DESC(?death)
    LIMIT 100
  type: no-text
- query: Databases listed in Wikidata and if available applicable licenses
  sparql: |-
    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 DISTINCT ?item ?name ?licenseItem ?license WHERE {
       ?item    wdt:P31 wd:Q8513 ;
          rdfs:label ?name .
       OPTIONAL {   ?item  wdt:P275 ?licenseItem .
             ?licenseItem rdfs:label ?license .
             FILTER (LANG(?license) = "en")}
       FILTER (LANG(?name) = "en")
    }
  type: no-text
- query: Fictional universes with most fictional planets
  sparql: |-
    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 ?universe (SAMPLE(?label) AS ?label) (COUNT(?planet) AS ?count) WHERE {
      ?planet wdt:P31 wd:Q2775969;
              wdt:P1080 ?universe.
      ?universe rdfs:label ?label.
      FILTER(LANG(?label) = "en").
    }
    GROUP BY ?universe
    ORDER BY DESC(?count)
  type: no-text
- query: Objects with most mass
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
    SELECT ?object ?objectLabel ?mass WHERE {
      {
        SELECT ?object (MAX(?mass) AS ?mass) WHERE {
          ?object p:P2067/psn:P2067/wikibase:quantityAmount ?mass.
        }
        GROUP BY ?object
        ORDER BY DESC(?mass)
        LIMIT 100
      }
    ?object rdfs:label ?objectLabel . FILTER (LANG(?objectLabel) = "en") .
    }
    ORDER BY DESC(?mass)
  type: no-text
- query: Biological databases listed in Wikidata and, if available, applicable licenses
  sparql: |-
    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 ?item ?itemLabel ?url ?licence ?licenceLabel WHERE {
      ?item wdt:P31 wd:Q4117139.
      OPTIONAL { ?item wdt:P856 ?url }
      OPTIONAL { ?item wdt:P275 ?licence }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?licence rdfs:label ?licenceLabel . FILTER (LANG(?licenceLabel) = "en") .
    } ORDER BY ?itemLabel
  type: no-text
- query: American universities founded before the states they reside in were created
  sparql: |-
    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 ?uLabel ?founded ?stateLabel ?stateStart WHERE {
      ?u wdt:P31/wdt:P279* wd:Q3918 ;
           wdt:P131+ ?state ;
           wdt:P571 ?founded .
      ?state wdt:P31 wd:Q35657 ;
               wdt:P571 ?stateStart .
      FILTER (?founded < ?stateStart) .
    ?state rdfs:label ?stateLabel . FILTER (LANG(?stateLabel) = "en") .
    ?u rdfs:label ?uLabel . FILTER (LANG(?uLabel) = "en") .
    }
    LIMIT 10
  type: no-text
- query: US presidents and spouses
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?p ?pLabel ?ppicture ?w ?wLabel ?wpicture WHERE {
      wd:Q30 p:P6/ps:P6 ?p.
      ?p wdt:P26 ?w.
      OPTIONAL {
        ?p wdt:P18 ?ppicture.
      }
      OPTIONAL {
        ?w wdt:P18 ?wpicture.
      }
    ?p rdfs:label ?pLabel . FILTER (LANG(?pLabel) = "en") .
    ?w rdfs:label ?wLabel . FILTER (LANG(?wLabel) = "en") .
    }
  type: no-text
- query: List of presidents with causes of death
  sparql: |-
    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 ?h ?hLabel ?cause ?causeLabel ?date WHERE {
    ?h wdt:P39 wd:Q11696;
       wdt:P509 ?cause;
       wdt:P570 ?date.
    ?h rdfs:label ?hLabel . FILTER (LANG(?hLabel) = "en") .
    ?cause rdfs:label ?causeLabel . FILTER (LANG(?causeLabel) = "en") .
    } ORDER BY ?date
  type: no-text
- query: Presidents and their causes of death ranking
  sparql: |-
    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 ?cid ?cause (COUNT(?pid) AS ?count) WHERE {
       ?pid wdt:P39 wd:Q11696 .
       ?pid wdt:P509 ?cid .
       OPTIONAL {
          ?cid rdfs:label ?cause . FILTER (lang(?cause) = "en") .
       }
    }
    GROUP BY ?cid ?cause
    ORDER BY DESC(?count) ASC(?cause)
  type: no-text
- query: Politicians who died of cancer (of any type)
  sparql: |-
    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 ?politician ?cause ?politician_label ?cause_of_death_label WHERE {
       ?politician wdt:P106 wd:Q82955 .
       ?politician wdt:P509 ?cause .
       ?cause wdt:P279+ wd:Q12078 .
       OPTIONAL {?politician rdfs:label ?politician_label . FILTER (lang(?politician_label) = "en") .}
       OPTIONAL {?cause rdfs:label ?cause_of_death_label . FILTER (lang(?cause_of_death_label) = "en").}
    }
    ORDER BY ASC (?politician)
  type: no-text
- query: List of popes
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?link ?linkLabel ?picture ?age WHERE {
      ?link wdt:P31 wd:Q5 ;
              p:P39 ?plholder1  .
    ?plholder1 ps:P39 wd:Q19546 .
    ?plholder1 pq:P580 ?startTime .
      OPTIONAL { ?link wdt:P569 ?dateOfBirth }
      OPTIONAL { ?link wdt:P18 ?picture }
      OPTIONAL { ?link wdt:P570 ?dateOfDeath }
      # Removed BIND.
    ?link rdfs:label ?linkLabel . FILTER (LANG(?linkLabel) = "en") .
    }
    ORDER BY DESC(?startTime)
  type: no-text
- query: Popes with children
  sparql: |-
    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  (SAMPLE(?father) AS ?father) ?fatherLabel  (SAMPLE(?picture) AS ?picture) (COUNT(?father) AS ?children) WHERE {
      ?subj wdt:P22 ?father .
        ?father wdt:P31 wd:Q5 .
        ?father wdt:P39 wd:Q19546 .
      OPTIONAL {
        ?father wdt:P18 ?picture .
        }
    ?father rdfs:label ?fatherLabel . FILTER (LANG(?fatherLabel) = "en") .
    }
    GROUP BY ?fatherLabel
    ORDER BY DESC(?children)
    LIMIT 50
  type: no-text
- query: French heads of government by length of service
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?item ?itemLabel ?positionLabel ?picture ?start ?end WHERE {
      ?item wdt:P31 wd:Q5 ;
            p:P39 ?position_statement .
      ?position_statement ps:P39 ?position ;
                          pq:P580 ?start . FILTER (?start >= "1815-01-01T00:00:00Z"^^xsd:dateTime) .
      ?position wdt:P279+ wd:Q15135541 .
      OPTIONAL { ?position_statement pq:P582 ?x }
      OPTIONAL { ?item wdt:P18 ?picture }
      # bind(if(bound(?x), ?x, NOW()) AS ?end )
      # bind(floor(?end - ?start) AS ?days).
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?position rdfs:label ?positionLabel . FILTER (LANG(?positionLabel) = "en") .
    }
    ORDER BY ?itemLabel
  type: no-text
- query: List of countries in 1754
  sparql: |-
    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 ?h ?hLabel ?inception ?dissolved ?coor WHERE {
      VALUES ?countryclass { wd:Q3024240 wd:Q6256 }
        ?h wdt:P31 ?countryclass  .
      ?h wdt:P571 ?inception .
      OPTIONAL { ?h wdt:P576 ?dissolved } .
      # Removed FILTER
      # Removed FILTER.
    ?h rdfs:label ?hLabel . FILTER (LANG(?hLabel) = "en") .
      OPTIONAL { ?h wdt:P625 ?coor } .
    }
    ORDER BY ?inception
  type: no-text
- query: Population in Europe after 1960
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT  ?objectLabel  ?date     ?population   WHERE {
            wd:Q458 wdt:P150 ?object .
            ?object p:P1082 ?populationStatement .
            ?populationStatement    ps:P1082 ?population
            ;   pq:P585 ?date .
    ?object rdfs:label ?objectLabel . FILTER (LANG(?objectLabel) = "en") .
       # Removed FILTER
    }
    ORDER BY ?objectLabel ?date
  type: no-text
- query: Locations of air accidents
  sparql: |-
    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 ?label ?coord ?place WHERE {
       ?subj wdt:P31 wd:Q744913  .
       ?subj wdt:P625 ?coord .
       ?subj rdfs:label ?label . FILTER (lang(?label) = "en")
    }
  type: no-text
- query: Most prolific fathers
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT  (SAMPLE(?father) AS ?father) ?fatherLabel  (SAMPLE(?picture) AS ?picture) (COUNT(?father) AS ?children) WHERE {
      ?subj wdt:P22 ?father .
      OPTIONAL {
        ?father wdt:P18 ?picture .
        }
    ?father rdfs:label ?fatherLabel . FILTER (LANG(?fatherLabel) = "en") .
    }
    GROUP BY ?fatherLabel
    ORDER BY DESC(?children)
    LIMIT 50
  type: no-text
- query: List of suicide attacks
  sparql: |-
    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 ?h ?hLabel ?location ?injured ?dead ?date ?image WHERE {
            ?h wdt:P31 ?attack.
        VALUES (?attack) {
          (wd:Q18493502)
          (wd:Q217327)
        }
        OPTIONAL {    ?h wdt:P1339 ?injured . }
        OPTIONAL {    ?h wdt:P1120 ?dead. }
        OPTIONAL {    ?h wdt:P276?/wdt:P625 ?location }
        OPTIONAL {    ?h wdt:P585 ?date }
        OPTIONAL {    ?h wdt:P18 ?image }
    ?h rdfs:label ?hLabel . FILTER (LANG(?hLabel) = "en") .
    }
  type: no-text
- query: People who died by burning - on a timeline
  sparql: |-
    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 ?person ?personLabel ?date WHERE {
      ?person wdt:P31 wd:Q5;
              wdt:P509 wd:Q468455;
              wdt:P570 ?date.
    ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
    }
    ORDER BY ?date
  type: no-text
- query: People who lived in the same period as another person
  sparql: |-
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?person ?personLabel ?personDescription ?birth ?death WHERE {
      ?person wdt:P31 wd:Q5.
      ?person wdt:P569 ?birth .
      ?person wdt:P570 ?death .
      FILTER (?birth > "1452-04-15"^^xsd:dateTime)
      FILTER (?death < "1519-05-02"^^xsd:dateTime)
      ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
      ?person schema:description ?personDescription . FILTER (LANG(?personDescription) = "en") .
    }
  type: no-text
- query: People elevated in the public domain in 2020 "life+50 years"
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?item ?itemLabel ?genderLabel (GROUP_CONCAT(DISTINCT ?occupationLabel; SEPARATOR=", ") AS ?occupations) (GROUP_CONCAT(DISTINCT ?countryLabel; SEPARATOR=", ") AS ?countries) ?death ?articles WHERE {
      VALUES ?target_country { wd:Q16 wd:Q142 wd:Q39 wd:Q31 wd:Q30 } .
      VALUES ?occ { wd:Q2500638 wd:Q20826540 wd:Q215627 } .
       ?item wdt:P31 wd:Q5;
                   wdt:P21 ?gender;
                   wdt:P27 ?target_country;
                   wdt:P27 ?country;
                   wdt:P106/wdt:P279* ?occ ;
                   wdt:P106 ?occupation;
                   ^schema:about/wikibase:sitelinks ?articles .
       ?item wdt:P570 ?death .
       FILTER( ?death >= "1969-01-01T00:00:00"^^xsd:dateTime)
       FILTER( ?death < "1970-01-01T00:00:00"^^xsd:dateTime )
       ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
       ?gender rdfs:label ?genderLabel . FILTER (LANG(?genderLabel) = "en") .
       ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
       ?occupation rdfs:label ?occupationLabel . FILTER (LANG(?occupationLabel) = "en") .
    }
    GROUP BY ?item ?itemLabel ?genderLabel ?death ?articles
    ORDER BY DESC (?articles)
  type: no-text
- query: List of torture devices
  sparql: |-
    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 ?thing ?thingLabel ?image WHERE {
      ?thing wdt:P366 wd:Q132781 .
      ?thing wdt:P18 ?image .
    ?thing rdfs:label ?thingLabel . FILTER (LANG(?thingLabel) = "en") .
    }
  type: no-text
- query: Animals that were executed
  sparql: |-
    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 ?animal ?animalLabel ?died ?mannerOfDeathLabel ?image WHERE {
      ?animal wdt:P31/wdt:P31 wd:Q16521;
              wdt:P509 ?mannerOfDeath.
      ?mannerOfDeath wdt:P279+ wd:Q8454.
      OPTIONAL { ?animal wdt:P570 ?died. }
      OPTIONAL { ?animal wdt:P18 ?image. }
    ?animal rdfs:label ?animalLabel . FILTER (LANG(?animalLabel) = "en") .
    ?mannerOfDeath rdfs:label ?mannerOfDeathLabel . FILTER (LANG(?mannerOfDeathLabel) = "en") .
    }
    ORDER BY ?died
  type: no-text
- query: People who were stateless for some time
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
    SELECT ?person ?personLabel ?start ?end WHERE {
      ?person wdt:P31 wd:Q5;
              p:P27 ?plholder1 .
    ?plholder1 rdf:type wdno:P27 .
    ?plholder1 pq:P580 ?start .
    ?plholder1 pq:P582 ?end .
    ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") .
    }
    ORDER BY DESC(?start)
  type: no-text
- query: Poets who were through An Lushan Rebellion
  sparql: |-
    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#>
    PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
    SELECT ?poet ?poetLabel WHERE {
     # wd:Q253774 wdt:P580 ?battleStartTime.
     # wd:Q253774 wdt:P582 ?battleEndTime.
     ?poet wdt:P106 wd:Q49757.
     ?poet rdfs:label ?poetLabel . FILTER (LANG(?poetLabel) = "en") .
     ?poet wdt:P497 ?cbdbId.
     ?poet wdt:P569 ?birthDate.
      FILTER(?birthDate < "755-12-16T00:00:00Z"^^xsd:dateTime).
      ?poet wdt:P570 ?deathDate.
      FILTER(?deathDate > "763-02-17T00:00:00Z"^^xsd:dateTime).
    }
  type: no-text
- query: Periods of Japanese history and what they were named after
  sparql: |-
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?era ?eraLabel ?start_time ?end_time ?namedLabel ?namedDescription WHERE {
      ?era wdt:P31 wd:Q11514315;
           wdt:P361 wd:Q130436;
           wdt:P580 ?start_time.
      MINUS { ?era wdt:P2348/wdt:P361 wd:Q130436 }
      OPTIONAL { ?era wdt:P582 ?end_time }
      OPTIONAL {
        ?era wdt:P138 ?named .
        ?named rdfs:label ?namedLabel . FILTER(LANG(?namedLabel)="en")
        ?named schema:description ?namedDescription . FILTER(LANG(?namedDescription)="en")
      }
      ?era rdfs:label ?eraLabel . FILTER(LANG(?eraLabel)="en")
    } ORDER BY ?start_time DESC(?end_time)
  type: no-text
- query: Ancestors of Willem-Alexander of the Netherlands
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?dateofbirth WHERE {
      wd:Q154952 (wdt:P22|wdt:P25)+ ?item .
      OPTIONAL { ?item wdt:P569 ?dateofbirth } .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    } ORDER BY ?itemLabel
  type: no-text
- query: Cathedrals in Paris
  sparql: |-
    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 ?item ?itemLabel ?placeLabel ?coords ?image WHERE {
      ?item wdt:P31 wd:Q2977 .
      ?item wdt:P131 ?place .
      ?place wdt:P131 wd:Q90 .
      OPTIONAL { ?item wdt:P625 ?coords . }
      OPTIONAL { ?item wdt:P18 ?image . }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?place rdfs:label ?placeLabel . FILTER (LANG(?placeLabel) = "en") .
    } ORDER BY ?placeLabel ?itemLabel
  type: no-text
- query: Churches in church district Wittenberg
  sparql: |-
    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 ?item ?itemLabel ?pbLabel (SAMPLE(?cat) AS ?cat) (SAMPLE(?coord) AS ?coord) (SAMPLE(?img) AS ?img) WHERE {
      wd:Q75849591 wdt:P527 ?plholder1 .
    ?plholder1 wdt:P527 ?item .
    ?plholder1 wdt:P361 ?pb .
      ?pb wdt:P31 wd:Q76598130.
      ?item wdt:P625 ?coord.
      OPTIONAL { ?item wdt:P373 ?cat. }
      OPTIONAL { ?item wdt:P18 ?img. }
    ?pb rdfs:label ?pbLabel . FILTER (LANG(?pbLabel) = "de") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "de") .
    } GROUP BY ?item ?itemLabel ?pbLabel
  type: no-text
- query: Museums in Brittany
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?museumLabel ?museumDescription ?villeId ?villeIdLabel ?coord ?lat ?lon WHERE {
      ?museum wdt:P539 ?museofile.
      ?museum wdt:P131+ wd:Q12130.
      ?museum wdt:P131 ?villeId.
      OPTIONAL {?museum wdt:P856 ?link.}
      OPTIONAL {?museum wdt:P625 ?coord .}
      OPTIONAL {
        ?museum p:P625 ?statement.
        ?statement psv:P625 ?node.
        ?node wikibase:geoLatitude ?lat.
        ?node wikibase:geoLongitude ?lon.
       }
    ?museum rdfs:label ?museumLabel . FILTER (LANG(?museumLabel) = "en") .
    ?villeId rdfs:label ?villeIdLabel . FILTER (LANG(?villeIdLabel) = "en") .
    }
    ORDER BY  ?villeIdLabel
  type: no-text
- query: All museums in Barcelona with coordinates
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?item ?name ?coord ?lat ?lon WHERE {
     # hint:Query hint:optimizer "None" .
     ?item wdt:P131+ wd:Q1492 .
     ?item wdt:P31/wdt:P279* wd:Q33506 .
     ?item wdt:P625 ?coord .
     ?item p:P625 ?coordinate .
     ?coordinate psv:P625 ?coordinate_node .
     ?coordinate_node wikibase:geoLatitude ?lat .
     ?coordinate_node wikibase:geoLongitude ?lon .
     ?item rdfs:label ?name . FILTER (LANG(?name) = "en") .
    }
    ORDER BY ASC (?name)
  type: no-text
- query: Museums in Antwerp
  sparql: |-
    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 ?item ?itemLabel ?coordinates WHERE {
      ?item wdt:P31/wdt:P279* wd:Q33506 ;
            wdt:P131 wd:Q12892 ;
            wdt:P625 ?coordinates .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
      }
  type: no-text
- query: Louvre artworks in display cases
  sparql: |-
    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 ?item ?itemLabel ?itemDescription ?image WHERE {
      ?item wdt:P276             ?case     .
      ?case wdt:P31            wd:Q3561331 .
      ?case wdt:P276             ?room     .
      ?room wdt:P31/wdt:P279*  wd:Q180516  .
      ?room wdt:P466             ?dep      .
      ?dep  wdt:P361+          wd:Q19675 .
      OPTIONAL { ?item wdt:P18 ?image }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Characters portrayed by most actors
  sparql: |-
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?character ?characterLabel (COUNT(?actor) AS ?count) WHERE {
      {
        SELECT DISTINCT ?character ?actor
        WHERE {
          ?film p:P161 ?plholder1 .
    ?plholder1 ps:P161 ?actor .
    ?plholder1 pq:P453 ?character .
        }
      }
    ?character rdfs:label ?characterLabel . FILTER (LANG(?characterLabel) = "en") .
    }
    GROUP BY ?character ?characterLabel
    ORDER BY DESC(?count)
    LIMIT 25
  type: no-text
- query: List of theatre plays
  sparql: |-
    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 ?play ?playLabel WHERE {
      ?play wdt:P31 wd:Q25379 .
    ?play rdfs:label ?playLabel . FILTER (LANG(?playLabel) = "en") .
    }
    LIMIT 1000
  type: no-text
- query: List of actors with pictures with year of birth and/or death
  sparql: |-
    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 ?human ?humanLabel ?yob ?yod ?picture WHERE {
      ?human wdt:P31 wd:Q5
      ; wdt:P106 wd:Q33999 .
      ?human wdt:P18 ?picture .
      OPTIONAL { ?human wdt:P569 ?dob . ?human wdt:P570 ?dod }.
      # Removed BIND .
      # Removed BIND .
    ?human rdfs:label ?humanLabel . FILTER (LANG(?humanLabel) = "en") .
    }
    LIMIT 88
  type: no-text
- query: Actors who played the same role more than 40 years apart
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?actor ?actorLabel ?characterLabel ?movie1Label ?movie2Label WHERE {
      ?movie1 p:P161 ?plholder1 .
      ?plholder1 ps:P161 ?actor;
                 pq:P453 ?character.
      ?movie1 wdt:P577 ?movie1Publication.
      ?movie2 p:P161 ?plholder2 .
      ?plholder2 ps:P161 ?actor;
                 pq:P453 ?character .
      ?movie2 wdt:P577 ?movie2Publication.
      MINUS{?movie1 wdt:P31/wdt:P279? wd:Q24856} # Not a series
      MINUS{?movie2 wdt:P31/wdt:P279? wd:Q24856} # Not a series
      FILTER(?character != wd:Q18086706).
      FILTER(?movie1Publication < ?movie2Publication)
      ?actor rdfs:label ?actorLabel . FILTER (LANG(?actorLabel) = "en") .
      ?character rdfs:label ?characterLabel . FILTER (LANG(?characterLabel) = "en") .
      ?movie1 rdfs:label ?movie1Label . FILTER (LANG(?movie1Label) = "en") .
      ?movie2 rdfs:label ?movie2Label . FILTER (LANG(?movie2Label) = "en") .
    }
  type: no-text
- query: Authors, writers and poets ranked by sitelink and also includes "country
    of citizenship"
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT DISTINCT ?writer ?place ?linkcount WHERE {
      {?s wdt:P106 wd:Q36180 .} UNION {{ ?s wdt:P106 wd:Q482980 . } UNION { ?s wdt:P106 wd:Q49757 . }}
      ?s wdt:P27 ?pl .
      ?s ^schema:about/wikibase:sitelinks ?linkcount .
      OPTIONAL {
         ?s rdfs:label ?writer . FILTER (lang(?writer) = "en").
       }
        OPTIONAL {
         ?pl rdfs:label ?place . FILTER (lang(?place) = "en").
       }
    } GROUP BY ?place ?writer ?linkcount HAVING (?linkcount > 10) ORDER BY DESC(?linkcount)
  type: no-text
- query: Birth places of German poets
  sparql: |-
    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 ?subj ?subjLabel ?place ?placeLabel ?coord ?birthyear WHERE {
       ?subj wdt:P106 wd:Q49757 .
       ?subj wdt:P19 ?place .
       ?place wdt:P17 wd:Q183 .
       ?place wdt:P625 ?coord .
       OPTIONAL { ?subj wdt:P569 ?dob }
       # Removed BIND.
    ?place rdfs:label ?placeLabel . FILTER (LANG(?placeLabel) = "en") .
    ?subj rdfs:label ?subjLabel . FILTER (LANG(?subjLabel) = "en") .
    }
  type: no-text
- query: Books or literary works published before 1830 with place of publication or
    narrative location coordinates
  sparql: |-
    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 ?item ?label ?coord ?place WHERE {
      VALUES ?type {wd:Q571 wd:Q7725634}
      ?item wdt:P31 ?type .
      ?item wdt:P577 ?date . # Removed FILTER .
      ?item rdfs:label ?label . FILTER (lang(?label) = "en")
      OPTIONAL {
        ?item (wdt:P291|wdt:P840) ?place .
        ?place wdt:P625 ?coord
      }
    }
  type: no-text
- query: Books by a given Author including genres and year of first publication
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?book ?bookLabel ?authorLabel (GROUP_CONCAT(?genre_label) AS ?genres) (MIN(?publicationDate) AS ?firstPublication) WHERE {
      ?author rdfs:label "Ernest Hemingway"@en .
      ?book wdt:P50 ?author .
      OPTIONAL {
        ?book wdt:P136 ?genre .
        ?genre rdfs:label ?genre_label . FILTER (lang(?genre_label) = "en").
      }
      OPTIONAL {
        ?book wdt:P577 ?publicationDate .
      }
    ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = "en") .
    ?book rdfs:label ?bookLabel . FILTER (LANG(?bookLabel) = "en") .
    ?genre_ rdfs:label ?genre_label . FILTER (LANG(?genre_label) = "en") .
    } GROUP BY ?book ?bookLabel ?authorLabel
  type: no-text
- query: Text by author containing case-insensitive title with optional cover image
  sparql: |-
    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 DISTINCT ?item ?authorLabel ?itemLabel ?image WHERE {
      ?item wdt:P31/wdt:P279* wd:Q234460.
      ?author ?label 'Bram Stoker'.
      ?item wdt:P50 ?author.
      ?item rdfs:label ?itemLabel.
      # Removed FILTER.
      OPTIONAL {?item wdt:P18 ?image.}
    ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    } LIMIT 50
  type: no-text
- query: Literary works by label count
  sparql: |-
    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 ?s ?desc (COUNT(DISTINCT ?label) AS ?labelcount) WHERE {
      ?s wdt:P31 wd:Q7725634 .
      ?s rdfs:label ?label .
      OPTIONAL {
         ?s rdfs:label ?desc . FILTER (lang(?desc) = "en").
       }
     } GROUP BY ?s ?desc ORDER BY DESC(?labelcount)
  type: no-text
- query: All subclasses of "Literary Work"
  sparql: |-
    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 ?s ?desc WHERE {
      ?s wdt:P279 wd:Q7725634 .
      OPTIONAL {
         ?s rdfs:label ?desc . FILTER (lang(?desc) = "en").
       }
     }
  type: no-text
- query: Epic poems by label count
  sparql: |-
    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 ?s ?desc (COUNT(DISTINCT ?label) AS ?labelcount) WHERE {
      ?s wdt:P31 wd:Q37484 .
      ?s rdfs:label ?label .
      OPTIONAL {
         ?s rdfs:label ?desc . FILTER (lang(?desc) = "en").
       }
     } GROUP BY ?s ?desc ORDER BY DESC(?labelcount)
  type: no-text
- query: Epic poems by sitelink count
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?s ?desc ?linkcount WHERE {
      ?s wdt:P31 wd:Q37484 .
      ?s ^schema:about/wikibase:sitelinks ?linkcount .
      OPTIONAL {
         ?s rdfs:label ?desc . FILTER (lang(?desc) = "en").
       }
     } GROUP BY ?s ?desc ?linkcount ORDER BY DESC(?linkcount)
  type: no-text
- query: Instance of Book by sitelink count
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?s ?desc ?linkcount WHERE {
      ?s wdt:P31 wd:Q571 .
      ?s ^schema:about/wikibase:sitelinks ?linkcount .
      OPTIONAL {
         ?s rdfs:label ?desc . FILTER (lang(?desc) = "en").
       }
     } GROUP BY ?s ?desc ?linkcount ORDER BY DESC(?linkcount)
  type: no-text
- query: Poets and monarchs
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?poetLabel ?image ?yob ?yod ?start ?end ?monarchLabel WHERE {
      ?poet p:P39 ?positionStat.
      ?positionStat ps:P39 wd:Q877838;
                    pq:P580 ?start;
                    pq:P748 ?monarch.
      OPTIONAL {
        ?positionStat pq:P582 ?end.
      }
      OPTIONAL {
        ?poet wdt:P18 ?image;
              wdt:P569 ?dob;
              wdt:P570 ?dod.
      }
      # Removed BIND.
      # Removed BIND.
    ?monarch rdfs:label ?monarchLabel . FILTER (LANG(?monarchLabel) = "en") .
    ?poet rdfs:label ?poetLabel . FILTER (LANG(?poetLabel) = "en") .
    }
    ORDER BY ?start DESC(?monarchLabel)
  type: no-text
- query: List of digital libraries in the world
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?website WHERE {
    ?item wdt:P31/wdt:P279* wd:Q212805 .
    OPTIONAL { ?item wdt:P856 ?website }
    MINUS { ?item wdt:P576 ?x }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    ORDER BY ?itemLabel
  type: no-text
- query: Map of Libraries in Canada
  sparql: |-
    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 ?library ?libraryLabel ?coords WHERE {
      ?library wdt:P31/wdt:P279* wd:Q7075 .
      ?library wdt:P17 wd:Q16 .
      ?library wdt:P625 ?coords .
      ?library rdfs:label ?libraryLabel . FILTER (LANG(?libraryLabel) = "en") .
    }
    LIMIT 100
  type: no-text
- query: List of authors unsuccessfully nominated for Nobel prize in literature
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?nominee ?nomineeLabel (SAMPLE(?citizenshipLabel) AS ?country) (COUNT(DISTINCT ?time) AS ?timesNominated) WHERE {
        ?nominee p:P1411 ?plholder1 .
        ?plholder1 ps:P1411 wd:Q37922;
                   pq:P585 ?time .
        # Removed BIND
        OPTIONAL {
          ?nominee wdt:P27 ?plholder2 .
          ?plholder2 rdfs:label ?citizenshipLabel .
          FILTER (lang(?citizenshipLabel) = "en") .
        }
        # Removed FILTER
    ?nominee rdfs:label ?nomineeLabel . FILTER (LANG(?nomineeLabel) = "en") .
    }
    GROUP BY ?nominee ?nomineeLabel
    ORDER BY DESC(?timesNominated) ?nomineeLabel
  type: no-text
- query: Authors whose works enter the public domain in 2017 (died in 1946)
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT DISTINCT ?item WHERE {
      ?item wdt:P31 wd:Q5 ;
      wdt:P106/wdt:P279* wd:Q482980 .
      ?item wdt:P570 ?time0 .
      # Removed FILTER
    }
  type: no-text
- query: Authors with United States citizenship without a Goodreads identifier
  sparql: |-
    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 ?item ?itemLabel WHERE {
      ?item wdt:P31 wd:Q5.
      ?item wdt:P27 wd:Q30.
      ?item wdt:P106 wd:Q36180.
      MINUS { ?item wdt:P2963 ?plholder1 } .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: All events that occured on 2001/09/11
  sparql: |-
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
    SELECT ?item ?itemLabel WHERE {
      ?item  p:P585/ps:P585 "2001-09-11T00:00:00Z"^^xsd:dateTime.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Works by women that were born between 1800 and 1900, are in the WomenWriters
    database and are translated
  sparql: |-
    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 ?translator ?translatorLabel ?work ?workLabel ?author ?authorLabel WHERE {
        ?work wdt:P655 ?translator;
              wdt:P50 ?author.
        ?author wdt:P2533 ?wid;
                wdt:P21 wd:Q6581072;
                wdt:P569 ?birth .
        FILTER (?birth > "1800-01-01"^^xsd:dateTime)
        FILTER (?birth < "1900-01-01"^^xsd:dateTime)
        ?work rdfs:label ?workLabel . FILTER (LANG(?workLabel) = "en") .
        ?translator rdfs:label ?translatorLabel . FILTER (LANG(?translatorLabel) = "en") .
        ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = "en") .
    }
  type: no-text
- query: Timeline of albums by Manu Chao and Mano Negra
  sparql: |-
    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 ?album ?performerLabel ?albumLabel ?publication_date WHERE {
      VALUES ?performer {
          wd:Q936474
          wd:Q207898
        }
       ?album wdt:P175 ?performer ;
          wdt:P577 ?publication_date .
    ?album rdfs:label ?albumLabel . FILTER (LANG(?albumLabel) = "en") .
    ?performer rdfs:label ?performerLabel . FILTER (LANG(?performerLabel) = "en") .
    }
  type: no-text
- query: Most popular tonality
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?tonalityLabel (COUNT(?tonalityLabel) AS ?count) WHERE {
      ?work wdt:P826 ?tonality.
    ?tonality rdfs:label ?tonalityLabel . FILTER (LANG(?tonalityLabel) = "en") .
    }
    GROUP BY ?tonalityLabel
    ORDER BY DESC(?count)
  type: no-text
- query: Music composers by birth place
  sparql: |-
    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 ?item ?itemLabel ?_coordinates ?_image WHERE {
      ?item wdt:P106 wd:Q36834;
            wdt:P18 ?_image;
            wdt:P19/wdt:P625 ?_coordinates.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Composers and their most-used tonality
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?composerLabel ?tonalityLabel ?count WHERE {
      {
        SELECT ?composer (MAX(?count) AS ?count)
        WHERE
        {
          {
            SELECT ?composer ?tonality (COUNT(?composition) AS ?count)
            WHERE
            {
              ?composition wdt:P86 ?composer;
                           wdt:P826 ?tonality.
            }
            GROUP BY ?composer ?tonality
            HAVING(?count > 1)
          }
        }
        GROUP BY ?composer
      }
      {
        SELECT ?composer ?tonality (COUNT(?composition) AS ?count)
        WHERE
        {
          ?composition wdt:P86 ?composer;
                       wdt:P826 ?tonality.
        }
        GROUP BY ?composer ?tonality
        HAVING(?count > 1)
      }
    ?composer rdfs:label ?composerLabel . FILTER (LANG(?composerLabel) = "en") .
    ?tonality rdfs:label ?tonalityLabel . FILTER (LANG(?tonalityLabel) = "en") .
    }
    ORDER BY DESC(?count)
  type: no-text
- query: Songs with longest melody
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?song ?songLabel ?code WHERE {
      ?song wdt:P1236 ?code.
    ?song rdfs:label ?songLabel . FILTER (LANG(?songLabel) = "en") .
    }
    ORDER BY DESC(?code)
    LIMIT 10
  type: no-text
- query: How many musicians dies at certain age
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
        SELECT (COUNT (DISTINCT ?a) AS ?count) WHERE {
            ?a wdt:P31 wd:Q5 .
            ?a wdt:P106/wdt:P279 wd:Q639669 .
            ?a p:P569/psv:P569 ?birth_date_node .
            ?a p:P570/psv:P570 ?death_date_node .
            ?birth_date_node wikibase:timeValue ?birth_date .
            ?death_date_node wikibase:timeValue ?death_date .
            # Removed FILTER .
            # Removed BIND
        }
        #GROUP BY ?age
        #ORDER BY ?age
  type: no-text
- query: Musicians born in Rotterdam (the Netherlands)
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?itemDescription WHERE {
        ?item wdt:P106/wdt:P279* wd:Q639669 .
        ?item wdt:P19/wdt:P131* wd:Q34370 .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Paintings depicting woodwind instruments
  sparql: |-
    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 ?item ?itemLabel ?object ?objectLabel ?image WHERE {
      ?item wdt:P31/wdt:P279* wd:Q3305213 .
      ?item wdt:P180 ?object .
      ?object wdt:P279+ wd:Q181247 .
      ?item wdt:P18 ?image .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?object rdfs:label ?objectLabel . FILTER (LANG(?objectLabel) = "en") .
    }
  type: no-text
- query: Paintings depicting musical instruments with some connection to Hamburg
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT DISTINCT ?item ?image WHERE {
      # hint:Query hint:optimizer "None" .
      ?object wdt:P279+ wd:Q34379 .
      ?item wdt:P180 ?object .
      ?item wdt:P31/wdt:P279* wd:Q3305213 .
      ?item wdt:P18 ?image .
      ?item ?prop ?hhlink .
      ?hhlink ?prop2 wd:Q1055 .
    }
  type: no-text
- query: Public sculptures in Paris
  sparql: |-
    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 DISTINCT ?item  ?Titre ?createur ?date ?image ?coord WHERE {
       ?item wdt:P31/wdt:P279* wd:Q860861.
       ?item wdt:P136 wd:Q557141 .
       {?item wdt:P131 wd:Q90.}
       UNION
       {?item wdt:P131 ?arr.
       ?arr wdt:P131 wd:Q90. }
       ?item rdfs:label ?Titre . FILTER (lang(?Titre) = "fr").
       OPTIONAL {?item wdt:P170 ?Qcreateur.
       ?Qcreateur rdfs:label ?createur . FILTER (lang(?createur) = "fr") .}
       OPTIONAL {?item wdt:P571 ?date.}
       OPTIONAL {?item wdt:P18  ?image.}
       OPTIONAL {?item wdt:P625 ?coord.}
    }
  type: no-text
- query: Locations of Pablo Picasso works
  sparql: |-
    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 ?label ?coord ?subj WHERE {
       ?subj wdt:P170 wd:Q5593 .
      OPTIONAL {?subj wdt:P276 ?loc .
        ?loc wdt:P625 ?coord } .
       ?subj rdfs:label ?label . FILTER (lang(?label) = "en")
    }
  type: no-text
- query: Eiffel Tower in art
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?instanceLabel ?creatorLabel ?date ?image WHERE {
      ?item wdt:P180 wd:Q243 .
      ?item wdt:P31 ?instance .
      OPTIONAL { ?item wdt:P170 ?creator }
      OPTIONAL { ?item wdt:P571 ?date }
      OPTIONAL { ?item wdt:P18 ?image }
    ?instance rdfs:label ?instanceLabel . FILTER (LANG(?instanceLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?creator rdfs:label ?creatorLabel . FILTER (LANG(?creatorLabel) = "en") .
    }
    ORDER BY ?itemLabel
  type: no-text
- query: Paintings by Gustav Klimt
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?item ?pic WHERE {
      ?item wdt:P31 wd:Q3305213 .
      ?item wdt:P170 wd:Q34661 .
      ?item wdt:P18 ?pic .
    }
  type: no-text
- query: Map of all the paintings for which we know a location with the count per
    location
  sparql: |-
    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 ?locationLabel ?coord (COUNT(?painting) AS ?count) WHERE {
        ?painting wdt:P31 wd:Q3305213 .
        ?painting wdt:P276 ?location .
       ?location wdt:P625 ?coord.
    ?location rdfs:label ?locationLabel . FILTER (LANG(?locationLabel) = "en") .
    }
    GROUP BY ?locationLabel ?coord
  type: no-text
- query: Versions of The Scream
  sparql: |-
    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 ?item ?itemL ?date ?typeL ?collectionL ?img ?materialL
    WHERE {
      ?item wdt:P179 wd:Q471379 .
      ?item wdt:P18 ?img .
      ?item wdt:P571 ?date .
      ?item wdt:P31 ?instance .
      ?item rdfs:label ?itemL . FILTER (lang(?itemL) = "en").
      ?instance rdfs:label ?typeL . FILTER (lang(?typeL) = "en").
      OPTIONAL {
        ?item wdt:P195 ?collection .
        ?collection rdfs:label ?collectionL . FILTER (lang(?collectionL) = "en").
      }
      OPTIONAL {
        ?item wdt:P186 ?material .
        ?material rdfs:label ?materialL . FILTER (lang(?materialL) = "en").
      }
    }
    ORDER BY ?date ?item ?itemL
  type: no-text
- query: Depicted objects in art work
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?depicts (SAMPLE(?dL) AS ?depictsLabel) (COUNT(DISTINCT ?item) AS ?count) WHERE {
       ?item wdt:P180 ?depicts .
       OPTIONAL { ?depicts rdfs:label ?dL . FILTER (lang(?dL) = "en")  }
    }
    GROUP BY ?depicts
    ORDER BY DESC(?count) ?depictsLabel
  type: no-text
- query: Monuments historiques in Loire-Atlantique
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT   ?item   ?itemLabel   ?communeLabel   (GROUP_CONCAT(DISTINCT ?merimee ; SEPARATOR = ", ") AS ?merimee)   ?coords   ?image WHERE {
      {
        SELECT DISTINCT ?item ?merimee WHERE {
          ?item wdt:P1435/wdt:P279* wd:Q916475 .
          ?item p:P1435 ?heritage_statement .
          # Removed FILTER
          ?item wdt:P380 ?merimee.
        }
        ORDER BY ?merimee
      }
      ?item wdt:P131/wdt:P131* wd:Q3068 .
      ?item wdt:P131 ?commune .
      OPTIONAL { ?item wdt:P625 ?coords . }
      OPTIONAL { ?item wdt:P18 ?image . }
    ?commune rdfs:label ?communeLabel . FILTER (LANG(?communeLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    GROUP BY ?item ?itemLabel ?communeLabel ?coords ?image
    ORDER BY ?communeLabel ?itemLabel
  type: no-text
- query: Sculptures by Max Bill
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?countryLabel ?placeLabel ?date ?coords ?image WHERE {
      ?item wdt:P31/wdt:P279* wd:Q860861 .
      ?item wdt:P170 wd:Q123454 .
      OPTIONAL { ?item wdt:P17 ?country . }
      OPTIONAL { ?item wdt:P131 ?place . }
      OPTIONAL { ?item wdt:P571 ?date . }
      OPTIONAL { ?item wdt:P625 ?coords . }
      OPTIONAL { ?item wdt:P18 ?image . }
    ?country rdfs:label ?countryLabel . FILTER (LANG(?countryLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?place rdfs:label ?placeLabel . FILTER (LANG(?placeLabel) = "en") .
    }
    ORDER BY ?itemLabel ?placeLabel
  type: no-text
- query: Paintings by Rembrandt in the Louvre or the Rijkmuseum
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?itemDescription ?image ?collection WHERE {
        ?item wdt:P31 wd:Q3305213 ;
              wdt:P170 wd:Q5598 ;
              wdt:P195/wdt:P361* ?collection .
        # Removed FILTER
        OPTIONAL { ?item wdt:P18 ?image }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Authority control properties usage for paintings
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?propertyLabel ?propertyDescription (COUNT(?propertyclaim) AS ?count) WHERE {
      ?item wdt:P31 wd:Q3305213 .
      ?property wikibase:propertyType wikibase:ExternalId .
      ?property wdt:P31 wd:Q44847669 .
      ?property wikibase:claim ?propertyclaim .
      ?item ?propertyclaim ?plholder1 .
      ?property rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = "en") .
      ?property schema:description ?propertyDescription . FILTER (LANG(?propertyDescription) = "en") .
    } GROUP BY ?propertyLabel ?propertyDescription ORDER BY DESC (?count)
    LIMIT 100
  type: no-text
- query: Authority control properties usage for painters
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    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#>
    PREFIX schema: <http://schema.org/>
    SELECT ?propertyLabel ?propertyDescription ?count WHERE {
      {
        SELECT ?propertyclaim (COUNT(?item) AS ?count) WHERE {
          ?item wdt:P106 wd:Q1028181 .
          ?item wdt:P31 wd:Q5 .
          ?item ?propertyclaim ?plholder1 .
        } GROUP BY ?propertyclaim
      }
      ?property wikibase:propertyType wikibase:ExternalId .
      ?property wdt:P31 wd:Q19595382 .
      ?property wikibase:claim ?propertyclaim .
      ?property rdfs:label ?propertyLabel . FILTER (LANG(?propertyLabel) = "en") .
      ?property schema:description ?propertyDescription . FILTER (LANG(?propertyDescription) = "en") .
    } ORDER BY DESC (?count)
    LIMIT 100
  type: no-text
- query: Ten random painting images
  sparql: |-
    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 ?item ?itemLabel ?image  WHERE {
      ?item wdt:P31 wd:Q3305213.
      ?item wdt:P18 ?image.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    } LIMIT 10
  type: no-text
#- query: Painters related to anonymous works
#  sparql: |-
#    PREFIX wikibase: <http://wikiba.se/ontology#>
#    PREFIX wd: <http://www.wikidata.org/entity/>
#    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#    PREFIX p: <http://www.wikidata.org/prop/>
#    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
#    SELECT ?creatorqualifierLabel (COUNT(?creatorqualifier) AS ?count) WHERE {
#      ?item wdt:P31 wd:Q3305213 .
#      ?item wdt:P170 wd:Q4233718 .
#      OPTIONAL { ?item p:P170 ?creatorstatement .
#                 ?creatorstatement rdf:type wikibase:BestRank .
#                 ?creatorstatement ?qualifier ?creatorqualifier .
#                 ?qualifierproperty wikibase:qualifier ?qualifier }
#    ?creatorqualifier rdfs:label ?creatorqualifierLabel . FILTER (LANG(?creatorqualifierLabel) = "en") .
#      } GROUP BY ?creatorqualifierLabel
#    HAVING (?count > 2)
#    LIMIT 20000
#  type: no-text
#- query: Painters type of relations with anonymous works
#  sparql: |-
#    PREFIX wikibase: <http://wikiba.se/ontology#>
#    PREFIX wd: <http://www.wikidata.org/entity/>
#    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#    PREFIX p: <http://www.wikidata.org/prop/>
#    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
#    SELECT ?qualifierpropertyLabel (COUNT(?creatorqualifier) AS ?count) WHERE {
#      ?item wdt:P31 wd:Q3305213 .
#      ?item wdt:P170 wd:Q4233718 .
#      OPTIONAL { ?item p:P170 ?creatorstatement .
#                 ?creatorstatement rdf:type wikibase:BestRank .
#                 ?creatorstatement ?qualifier ?creatorqualifier .
#                 ?qualifierproperty wikibase:qualifier ?qualifier }
#    ?qualifierproperty rdfs:label ?qualifierpropertyLabel . FILTER (LANG(?qualifierpropertyLabel) = "en") .
#      } GROUP BY ?qualifierpropertyLabel
#    HAVING (?count > 2)
#    LIMIT 2000
#  type: no-text
- query: Using formatter url to construct links in SPARQL
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?item ?image WHERE {
      # wd:P350 wdt:P1630 ?formatterurl .
      ?item wdt:P31 wd:Q3305213 .
      ?item wdt:P18 ?image .
      ?item wdt:P350 ?rkdid .
      # Removed BIND.
      } LIMIT 10
  type: no-text
- query: Map of the locations of all paintings by Johannes Vermeer with an image
  sparql: |-
    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 ?location ?image WHERE {
      ?painting wdt:P276 ?collection;
                wdt:P170 wd:Q41264;
                wdt:P18 ?image.
      ?collection wdt:P625 ?location.
    ?painting rdfs:label ?paintingLabel . FILTER (LANG(?paintingLabel) = "en") .
    }
  type: no-text
- query: Public art in Paris
  sparql: |-
    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   ?item   (SAMPLE (?titleL) AS ?title)   (GROUP_CONCAT(DISTINCT ?creatorL ; SEPARATOR = ", ") AS ?creator)   (GROUP_CONCAT(DISTINCT ?genreL ; SEPARATOR = ", ") AS ?genre)   (GROUP_CONCAT(DISTINCT ?placeL ; SEPARATOR = ", ") AS ?place)   (GROUP_CONCAT(DISTINCT ?arrL ; SEPARATOR = ", ") AS ?arrondissement)   (SAMPLE (?img) AS ?image)   (SAMPLE (?coord) AS ?coordinates) WHERE {
        {
          SELECT DISTINCT ?item WHERE { {
            ?item wdt:P136 wd:Q557141 ;
                  wdt:P131 wd:Q90
          } UNION {
            ?item wdt:P136 wd:Q557141 ;
                  wdt:P131/wdt:P131* wd:Q90
          } }
        }
        OPTIONAL { ?item rdfs:label ?titleL . FILTER (lang(?titleL) = "fr") }
        OPTIONAL { ?item wdt:P170 ?plholder1 .
                   ?plholder1 rdfs:label ?creatorL.
                   FILTER (lang(?creatorL) = "fr") }
        OPTIONAL {
          {
            ?item wdt:P136 ?g . # Removed FILTER
          } UNION {
            ?item wdt:P31 ?g .
          }
          ?g rdfs:label ?genreL . FILTER (lang(?genreL) = "fr") .
        }
        OPTIONAL {
          ?item wdt:P276 ?plholder2 .
          ?plholder2 rdfs:label ?placeL.
          FILTER (lang(?placeL) = "fr") .
        }
        OPTIONAL {
          ?item wdt:P131 ?plholder3 .
          ?plholder3 wdt:P131 wd:Q90 ; rdfs:label ?arrL .
          FILTER (lang(?arrL) = "fr").
          # Removed BIND
        }
        OPTIONAL { ?item wdt:P18 ?img }
        OPTIONAL { ?item wdt:P625 ?coord }
    } GROUP BY ?item
  type: no-text
- query: Works of art where the name might be a rhyme
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?work ?title WHERE {
      ?work wdt:P31/wdt:P279* wd:Q838948;
            wdt:P1476 ?title.
      # Removed FILTER.
    }
    ORDER BY ?title
  type: no-text
- query: Works of art where the title is an alliteration
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    SELECT ?work ?title WHERE {
      ?work wdt:P31/wdt:P279* wd:Q838948;
            wdt:P1476 ?title.
      # Removed FILTER.
    }
    ORDER BY ?title
  type: no-text
- query: Distribution of public art by place
  sparql: |-
    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 ?place ?placeLabel (COUNT(?item) AS ?count) WHERE {
      ?item wdt:P136 wd:Q557141 .
      ?item wdt:P131 ?place .
    ?place rdfs:label ?placeLabel . FILTER (LANG(?placeLabel) = "en") .
    }
    GROUP BY ?place ?placeLabel
    ORDER BY DESC(?count) ?placeLabel
  type: no-text
- query: Birthplaces of Europeana280 artists
  sparql: |-
    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 ?creator ?creatorLabel ?placebirthLabel ?geoloc WHERE {
      ?item wdt:P31/wdt:P279* wd:Q838948 .
      ?item wdt:P608 wd:Q20980830 .
      ?item wdt:P170 ?creator .
      ?creator wdt:P19 ?placebirth .
      ?placebirth wdt:P625 ?geoloc .
    ?creator rdfs:label ?creatorLabel . FILTER (LANG(?creatorLabel) = "en") .
    ?placebirth rdfs:label ?placebirthLabel . FILTER (LANG(?placebirthLabel) = "en") .
    }
  type: no-text
- query: Female artists
  sparql: |-
    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 DISTINCT ?women ?womenLabel WHERE {
           ?women wdt:P31 wd:Q5 .
           ?women wdt:P21 wd:Q6581072 .
           ?women wdt:P106/wdt:P279* wd:Q483501 .
    ?women rdfs:label ?womenLabel . FILTER (LANG(?womenLabel) = "en") .
    }
    LIMIT 500
  type: no-text
- query: Common phrases
  sparql: |-
    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 ?q ?qLabel WHERE {
      ?q wdt:P31 wd:Q15841920.
    ?q rdfs:label ?qLabel . FILTER (LANG(?qLabel) = "en") .
    }
  type: no-text
- query: German breweries
  sparql: |-
    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 ?breweryLabel ?breweryDescription ?coord WHERE {
      ?brewery wdt:P31/wdt:P279* wd:Q131734 ;
        wdt:P17 wd:Q183 ;
        wdt:P625 ?coord .
    ?brewery rdfs:label ?breweryLabel . FILTER (LANG(?breweryLabel) = "en") .
    }
  type: no-text
- query: Sandwiches
  sparql: |-
    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 ?item ?itemLabel ?_image WHERE {
      ?item wdt:P279 wd:Q28803.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    OPTIONAL { ?item wdt:P18 ?_image. }
    }
    LIMIT 100
  type: no-text
- query: Sandwich ingredients
  sparql: |-
    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 ?sandwich ?ingredient ?sandwichLabel ?ingredientLabel WHERE {
      { ?sandwich wdt:P279+ wd:Q28803 .}
      UNION
      { ?sandwich wdt:P31/wdt:P279* wd:Q28803 .}
      ?sandwich wdt:P527 ?ingredient.
      MINUS { ?ingredient wdt:P279+ wd:Q7802. }
      ?sandwich rdfs:label ?sandwichLabel . FILTER (LANG(?sandwichLabel) = "en") .
      ?ingredient rdfs:label ?ingredientLabel . FILTER (LANG(?ingredientLabel) = "en") .
    }
    ORDER BY ?sandwichLabel
  type: no-text
- query: Mushers with neither a ranking in a race nor a reason for not finishing it
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT DISTINCT ?race ?raceLabel ?musherLabel WHERE {
      { ?race wdt:P31/wdt:P279* wd:Q1968664 . }
      UNION { ?race wdt:P31/wdt:P641* wd:Q1968664 . }
      ?race p:P710 ?musherS .
      ?musherS ps:P710 ?musher .
      # Removed FILTER
      # Removed FILTER
    ?musher rdfs:label ?musherLabel . FILTER (LANG(?musherLabel) = "en") .
    ?race rdfs:label ?raceLabel . FILTER (LANG(?raceLabel) = "en") .
    }
    ORDER BY ?raceLabel
  type: no-text
- query: What is the relation between Terrell Buckley and Miami Dolphins?
  sparql: |-
    PREFIX wikibase: <http://wikiba.se/ontology#>
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    SELECT ?l WHERE {
      wd:Q5571382 ?p wd:Q223243 .
      ?property ?ref ?p .
      ?property rdf:type wikibase:Property .
      ?property rdfs:label ?l . FILTER (lang(?l) = "en")
    }
  type: no-text
- query: The awards received by Cristiano Ronaldo by year
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?entity ?desc ?date WHERE {
      wd:Q11571 p:P166 ?plholder1 .
      ?plholder1 ps:P166 ?entity ;
                 pq:P585 ?date .
      OPTIONAL { ?entity rdfs:label ?desc . FILTER(LANG(?desc) = "en") }
    } ORDER BY ?date
  type: no-text
- query: Women mushers
  sparql: |-
    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 DISTINCT ?musher ?musherLabel WHERE {
        ?musher wdt:P31 wd:Q5 .
        ?musher wdt:P106 wd:Q500097 .
        ?musher wdt:P21 wd:Q6581072.
    ?musher rdfs:label ?musherLabel . FILTER (LANG(?musherLabel) = "en") .
    }
  type: no-text
- query: Female brewer
  sparql: |-
    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 ?item ?itemLabel ?itemDescription WHERE {
      ?item wdt:P31 wd:Q5
      ; wdt:P21 wd:Q6581072
      ; wdt:P106 wd:Q836904.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
    ORDER BY ?itemLabel
  type: no-text
- query: Female scientists
  sparql: |-
    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 ?item ?itemLabel ?lastnameLabel ?birthdate ?deathdate ?nationalityLabel ?itemDescription WHERE {
        ?item wdt:P31 wd:Q5 .
        ?item wdt:P21 wd:Q6581072 .
        ?item wdt:P106/wdt:P279* wd:Q901 .
        OPTIONAL { ?item wdt:P734 ?lastname . }
        OPTIONAL { ?item wdt:P569 ?birthdate . }
        OPTIONAL { ?item wdt:P570 ?deathdate . }
        OPTIONAL { ?item wdt:P27 ?nationality . }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?lastname rdfs:label ?lastnameLabel . FILTER (LANG(?lastnameLabel) = "en") .
    ?nationality rdfs:label ?nationalityLabel . FILTER (LANG(?nationalityLabel) = "en") .
    }
    ORDER BY ?itemLabel
  type: no-text
- query: Verify women descriptions
  sparql: |-
    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 ?item ?itemLabel ?occupationLabel ?itemDescription WHERE {
      ?item wdt:P31 wd:Q5.
      ?item wdt:P21 wd:Q6581072.
      ?item wdt:P27 wd:Q31.
      OPTIONAL{ ?item wdt:P106 ?occupation. }
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?occupation rdfs:label ?occupationLabel . FILTER (LANG(?occupationLabel) = "en") .
    }
  type: no-text
- query: Streets in France named after a woman
  sparql: |-
    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 ?street ?streetLabel ?cityLabel ?namedLabel WHERE {
        ?street wdt:P31 wd:Q79007 .
        ?street wdt:P17 wd:Q142 .
        ?street wdt:P131 ?city .
        ?street wdt:P138 ?named .
        ?named wdt:P21 wd:Q6581072.
    ?city rdfs:label ?cityLabel . FILTER (LANG(?cityLabel) = "en") .
    ?named rdfs:label ?namedLabel . FILTER (LANG(?namedLabel) = "en") .
    ?street rdfs:label ?streetLabel . FILTER (LANG(?streetLabel) = "en") .
    }
    ORDER BY ?city
  type: no-text
- query: Wikidata statements with a reference to data in Figshare
  sparql: |-
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT ?doi (COUNT(?doi) AS ?counts) WHERE {
       ?statement prov:wasDerivedFrom ?ref .
       ?ref pr:P356 ?doi .
       # Removed FILTER
    }
    GROUP BY ?doi
    ORDER BY DESC(?counts)
  type: no-text
- query: Wikidata statement with a reference to data in Figshare of which a Wikicite
    item exists
  sparql: |-
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT DISTINCT ?wikiciteLabel ?doi  WHERE {
       ?wikicite p:P356/ps:P356 ?doi .
       ?statement prov:wasDerivedFrom ?ref .
       ?ref pr:P356 ?doi .
       # Removed FILTER.
    ?wikicite rdfs:label ?wikiciteLabel . FILTER (LANG(?wikiciteLabel) = "en") .
    }
  type: no-text
- query: Wikidata statements with a reference to a Figshare DOI (Mapping file of InChIStrings,
    InChIKeys and DTXSIDs for the EPA CompTox Dashboard (Q28061352))
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT DISTINCT ?item ?itemLabel WHERE {
       ?ref ?prop wd:Q28061352 .
       ?statement prov:wasDerivedFrom ?ref .
       ?item ?p ?statement.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Scholarly articles with "Zika" in the item label
  sparql: |-
    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 DISTINCT ?item ?itemLabel ?_PubMed_ID WHERE {
      ?item wdt:P31 wd:Q13442814 ;
            rdfs:label ?itemLabel .
      OPTIONAL { ?item wdt:P698 ?_PubMed_ID. }
      # Removed FILTER
      FILTER (LANG(?itemLabel)="en")
    }
  type: no-text
- query: Most common Zika author
  sparql: |-
    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 ?short_author ?short_authorLabel (COUNT(?item) AS ?count) WHERE {
      { ?item wdt:P921 wd:Q202864 . } UNION { ?item wdt:P921 wd:Q8071861 . }
      {?item wdt:P2093 ?short_author .} UNION {?item wdt:P50 ?short_author .}
    ?short_author rdfs:label ?short_authorLabel . FILTER (LANG(?short_authorLabel) = "en") .
    }
    GROUP BY ?short_author ?short_authorLabel
    ORDER BY DESC(?count)
  type: no-text
- query: Scientific articles that have subject Zika virus or fever and that are used
    as a reference in another item
  sparql: |-
    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 ?item ?itemLabel ?reference  ?referenceType WHERE {
      ?item wdt:P31 wd:Q13442814 .
      { ?item wdt:P921 wd:Q202864 }
      UNION
      { ?item wdt:P921 wd:Q8071861 }
      ?reference ?referenceType ?item.
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Get the CIViC citation corpus
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pr: <http://www.wikidata.org/prop/reference/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX prov: <http://www.w3.org/ns/prov#>
    SELECT DISTINCT ?pmid ?citation ?citationLabel WHERE {
       VALUES ?predictor {p:P3354 p:P3355 p:P3356 p:P3357 p:P3358 p:P3359 }
        ?item p:P3329 ?civicId  ;
              ?predictor ?predictor_value .
        ?civicId ps:P3329 ?id .
        ?predictor_value prov:wasDerivedFrom ?reference .
        ?reference pr:P248 ?citation .
        ?citation wdt:P698 ?pmid .
    ?citation rdfs:label ?citationLabel . FILTER (LANG(?citationLabel) = "en") .
    }
  type: no-text
- query: Get the Pathways citation corpus
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?id ?item ?itemLabel ?referenceLabel WHERE {
      {?item wdt:P3937 ?id } UNION
            {?item wdt:P2410 ?id }
            ?item wdt:P2860 ?reference .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    ?reference rdfs:label ?referenceLabel . FILTER (LANG(?referenceLabel) = "en") .
    }
  type: no-text
- query: Get the Wikipathways citation corpus
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?wpid ?item ?itemLabel ?referenceLabel WHERE {
       ?item wdt:P2410 ?wpid ;
              wdt:P2860 ?reference .
    ?reference rdfs:label ?referenceLabel . FILTER (LANG(?referenceLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Get the Reactome citation corups
  sparql: |-
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?reactome_id ?item ?itemLabel ?referenceLabel WHERE {
       ?item wdt:P3937  ?reactome_id ;
              wdt:P2860 ?reference .
    ?reference rdfs:label ?referenceLabel . FILTER (LANG(?referenceLabel) = "en") .
    ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") .
    }
  type: no-text
- query: Suriname citation corpora
  sparql: |-
    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 ?item ?itemLabel ?_PubMed_ID WHERE {
      ?item wdt:P31 wd:Q13442814 ;
            rdfs:label ?itemLabel .
      # FILTER (LANG(?itemLabel) = "en")  # Should be add this??
      FILTER regex(?itemLabel, ".*suriname.*", "i")
      OPTIONAL { ?item wdt:P698 ?_PubMed_ID. }
    }
  type: no-text
- query: English common names and information for animals given their scientific names
  sparql: |-
    PREFIX wd: <http://www.wikidata.org/entity/>
    PREFIX wdt: <http://www.wikidata.org/prop/direct/>
    PREFIX p: <http://www.wikidata.org/prop/>
    PREFIX ps: <http://www.wikidata.org/prop/statement/>
    PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
    SELECT DISTINCT ?item ?scientific_name ?common_name ?length ?life_expectency ?height ?wing_span ?mass WHERE {
      ?item wdt:P225 ?scientific_name;
        wdt:P1843 ?common_name.
      OPTIONAL { ?item wdt:P2043 ?length. }
      OPTIONAL { ?item wdt:P2250 ?life_expectency. }
      OPTIONAL { ?item wdt:P2048 ?height. }
      OPTIONAL { ?item wdt:P2050 ?wing_span. }
      OPTIONAL {
        ?item p:P2067 ?mass_statement_node.
        ?mass_statement_node pq:P642 wd:Q78101716;
          ps:P2067 ?mass.
      }
      FILTER(LANG(?common_name) = "en")
      FILTER regex(?scientific_name, "mustela erminea|aquila adalberti|vespula germanica|accipiter nisus|buteo buteo", "i")
    }
  type: no-text
