query-d50806312f6be97d0b32c5482bf7be8d
Linear Multistep MethodsShow all linear multistep methods sorted by the number of steps.
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select distinct
?method
?methodLabel
?formula
?steps
?orderOfConvergence
where {
?method wdt:P31*/wdt:P279* wd:Q1462003.
optional{?method wdt:P2534 ?formula .}
optional{?method p:P1552 [ps:P1552 wd:Q98293869; pq:P1114 ?steps].}
optional{?method p:P1552 [ps:P1552 wd:Q97940482; pq:P1181 ?orderOfConvergence].}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} ORDER BY (!bound(?steps)) ASC(?steps) ASC(?orderOfConvergence)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?formula"):::projected
v3("?method"):::projected
v2("?orderOfConvergence"):::projected
v1("?steps"):::projected
a1((" "))
a2((" "))
a3((" "))
c9(["wd:Q97940482"]):::iri
c6(["wd:Q98293869"]):::iri
c12(["bd:serviceParam"]):::iri
c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q1462003"]):::iri
v3 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:direct/P2534".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
a2 -."p:statement/P1552".-> c6
a2 --"p:qualifier/P1114"--> v1
v3 --"p:P1552"--> a2
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
a3 -."p:statement/P1552".-> c9
a3 --"p:qualifier/P1181"--> v2
v3 --"p:P1552"--> a3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end