query-e030207a6dbc83e426176158ffcbe59c
All instances of the class "prime link" (Q77347966), recursively
SELECT DISTINCT ?item ?itemLabel ?itemDescription ?has_part ?crossing_number ?gauss_notation ?knotatlas_id ?alexanderbriggs
WHERE {
?item wdt:P31 ?sub0 .
?sub0 (wdt:P279)* wd:Q77347966 .
OPTIONAL{?item wdt:P527 ?has_part .}
OPTIONAL{?item wdt:P11035 ?crossing_number .} # Crossing number
OPTIONAL{?item wdt:P11034 ?gauss_notation .} # Gauss notation
OPTIONAL{?item wdt:P8426 ?knotatlas_id .} # Knot Atlas ID
OPTIONAL{?item wdt:P6432 ?alexanderbriggs .} # Alexander-Briggs notation
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en" }
}
ORDER BY ASC(?item) LIMIT 10000
Use at
- https://query.wikidata.org/sparql
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 "prime link" (Q77347966), recursively
SELECT DISTINCT ?item ?itemLabel ?itemDescription ?has_part ?crossing_number ?gauss_notation ?knotatlas_id ?alexanderbriggs
WHERE {
?item wdt:P31 ?sub0 .
?sub0 (wdt:P279)* wd:Q77347966 .
OPTIONAL{?item wdt:P527 ?has_part .}
OPTIONAL{?item wdt:P11035 ?crossing_number .} # Crossing number
OPTIONAL{?item wdt:P11034 ?gauss_notation .} # Gauss notation
OPTIONAL{?item wdt:P8426 ?knotatlas_id .} # Knot Atlas ID
OPTIONAL{?item wdt:P6432 ?alexanderbriggs .} # Alexander-Briggs notation
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;
v7("?alexanderbriggs"):::projected
v4("?crossing_number"):::projected
v5("?gauss_notation"):::projected
v3("?has_part"):::projected
v1("?item"):::projected
v6("?knotatlas_id"):::projected
v2("?sub0")
c10(["bd:serviceParam"]):::iri
c3(["wd:Q77347966"]):::iri
c12(["en,en"]):::literal
v1 --"wdt:P31"--> v2
v2 --"wdt:P279"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P527".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P11035".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P11034".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P8426".-> v6
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P6432".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end