Factgrid2024-09-19

From BITPlan cr Wiki
Revision as of 14:16, 19 September 2024 by Wf (talk | contribs) (Created page with "= Queries = <source lang='yaml'> # Queries # Wolfgang Fahl 2024-09-19 'IlluminatiNoImage': sparql: | # Query for items related to Illuminati without an associated image...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Queries

# Queries
# Wolfgang Fahl 2024-09-19
'IlluminatiNoImage':
  sparql: |
    # Query for items related to Illuminati without an associated image
    # 2024-09-19 Claude
    SELECT DISTINCT ?item ?itemLabel
    WHERE {
      ?item wdt:P611 wd:Q393235 .
      ?item rdfs:label ?itemLabel_de .
         SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
     FILTER NOT EXISTS { ?item wdt:P705 [] }.
    }
'AntonGraffPortraitsWithImages':
  sparql: |
    # Query for portraits by Anton Graff with optional image content and Wikimedia Commons links
    # 2024-09-19
    SELECT ?Portrait ?PortraitLabel ?depicting ?depictingLabel ?Wikimedia_Commons_Item_image ?careerLabel ?OhdabLabel WHERE {
      SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
      ?Portrait wdt:P121 wd:Q11225.
      ?Portrait wdt:P611 wd:Q393235.
      OPTIONAL { ?Portrait wdt:P705 ?depicting.
       OPTIONAL { ?depicting wdt:P165 ?career.
        OPTIONAL { ?career wdt:P1007 ?Ohdab . }
                }
               }
      OPTIONAL { ?Portrait wdt:P189 ?Wikimedia_Commons_Item_image. }
    }
    ORDER BY ?Portrait