query-a0f64bd7468ed7c02fb1a33b7970b3b9

rq turtle/ttl

All instances of the class "link" (Q1760728), recursively that have images

SELECT DISTINCT ?item ?itemLabel ?image ?itemDescription ?knotatlas_id ?alexanderbriggs ?jones_polynomial WHERE { ?item wdt:P31 ?sub0 .
?sub0 (wdt:P279)* wd:Q1760728 . ?item wdt:P18 ?image OPTIONAL{?item wdt:P8426 ?knotatlas_id .} # Knot Atlas ID OPTIONAL{?item wdt:P6432 ?alexanderbriggs .} # Alexander-Briggs notation OPTIONAL{?item wdt:P5352 ?jones_polynomial .} # Jones polynomial SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en" }
}

ORDER BY ASC(?item) LIMIT 10000

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# All instances of the class "link" (Q1760728), recursively that have images

SELECT DISTINCT ?item ?itemLabel ?image ?itemDescription ?knotatlas_id ?alexanderbriggs ?jones_polynomial
WHERE {
  ?item wdt:P31 ?sub0 .  
  ?sub0 (wdt:P279)* wd:Q1760728  .
        ?item wdt:P18 ?image
        OPTIONAL{?item wdt:P8426 ?knotatlas_id .}             # Knot Atlas ID
        OPTIONAL{?item wdt:P6432 ?alexanderbriggs .}          # Alexander-Briggs notation
        OPTIONAL{?item wdt:P5352 ?jones_polynomial .}             # Jones polynomial
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en"  }  
}

ORDER BY ASC(?item)
LIMIT 10000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?alexanderbriggs"):::projected v3("?image"):::projected v1("?item"):::projected v6("?jones_polynomial"):::projected v4("?knotatlas_id"):::projected v2("?sub0") c3(["wd:Q1760728"]):::iri c9(["bd:serviceParam"]):::iri c11(["en,en"]):::literal v1 --"wdt:P31"--> v2 v2 --"wdt:P279"--> c3 v1 --"wdt:P18"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P8426".-> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P6432".-> v5 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P5352".-> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end