query-14e4056a6a06ac4ecffed0ff23f6ff6b
All instances of the class "Knot" (Q1188853), recursively, removing duplicates
SELECT DISTINCT ?item ?itemDescription ?itemLabel ?crossing_number ?knotinfo_id ?knotatlas_id ?alexanderbriggs ?dt_name ?dt_notation ?alexander_polynomial ?conway_polynomial ?jones_polynomial ?gauss_notation
WHERE {
?item wdt:P31 ?sub0 .
?sub0 (wdt:P279)* wd:Q1188853 .
OPTIONAL{?item wdt:P11035 ?crossing_number .} # Crossing number
OPTIONAL{?item wdt:P11034 ?gauss_notation .} # Gauss notation
OPTIONAL{?item wdt:P8427 ?knotinfo_id .} # Knotinfo ID
OPTIONAL{?item wdt:P8426 ?knotatlas_id .} # Knot Atlas ID
OPTIONAL{?item wdt:P6432 ?alexanderbriggs .} # Alexander-Briggs notation
OPTIONAL{?item wdt:P8416 ?dt_name .} # Dowker-Thistlethwaite name
OPTIONAL{?item wdt:P8378 ?dt_notation .} # Dowker-Thistlethwaite notation
OPTIONAL{?item wdt:P5350 ?alexander_polynomial .} # Alexander polynomial
OPTIONAL{?item wdt:P5351 ?conway_polynomial .} # Conway polynomial
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
- 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 "Knot" (Q1188853), recursively, removing duplicates
SELECT DISTINCT ?item ?itemDescription ?itemLabel ?crossing_number ?knotinfo_id ?knotatlas_id ?alexanderbriggs ?dt_name ?dt_notation ?alexander_polynomial ?conway_polynomial ?jones_polynomial ?gauss_notation
WHERE {
?item wdt:P31 ?sub0 .
?sub0 (wdt:P279)* wd:Q1188853 .
OPTIONAL{?item wdt:P11035 ?crossing_number .} # Crossing number
OPTIONAL{?item wdt:P11034 ?gauss_notation .} # Gauss notation
OPTIONAL{?item wdt:P8427 ?knotinfo_id .} # Knotinfo ID
OPTIONAL{?item wdt:P8426 ?knotatlas_id .} # Knot Atlas ID
OPTIONAL{?item wdt:P6432 ?alexanderbriggs .} # Alexander-Briggs notation
OPTIONAL{?item wdt:P8416 ?dt_name .} # Dowker-Thistlethwaite name
OPTIONAL{?item wdt:P8378 ?dt_notation .} # Dowker-Thistlethwaite notation
OPTIONAL{?item wdt:P5350 ?alexander_polynomial .} # Alexander polynomial
OPTIONAL{?item wdt:P5351 ?conway_polynomial .} # Conway polynomial
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;
v10("?alexander_polynomial"):::projected
v7("?alexanderbriggs"):::projected
v11("?conway_polynomial"):::projected
v3("?crossing_number"):::projected
v8("?dt_name"):::projected
v9("?dt_notation"):::projected
v4("?gauss_notation"):::projected
v1("?item"):::projected
v12("?jones_polynomial"):::projected
v6("?knotatlas_id"):::projected
v5("?knotinfo_id"):::projected
v2("?sub0")
c17(["en,en"]):::literal
c15(["bd:serviceParam"]):::iri
c3(["wd:Q1188853"]):::iri
v1 --"wdt:P31"--> v2
v2 --"wdt:P279"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P11035".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P11034".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P8427".-> 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 optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P8416".-> v8
end
subgraph optional6["(optional)"]
style optional6 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P8378".-> v9
end
subgraph optional7["(optional)"]
style optional7 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P5350".-> v10
end
subgraph optional8["(optional)"]
style optional8 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P5351".-> v11
end
subgraph optional9["(optional)"]
style optional9 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P5352".-> v12
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c15 --"wikibase:language"--> c17
end