query-7fd280cf2db3ecc2ef50d3af7eb053a6
Currently listed symptoms of COVID-19, with qualifiers indicating their frequency
Use at
- https://query.wikidata.org/sparql
PREFIX gas: <http://www.bigdata.com/rdf/gas#>
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#>
#defaultView:Graph
SELECT ?item ?itemLabel ?pic ?linkTo
WHERE
{
SERVICE gas:service {
gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP" ;
gas:in wd:Q84263196;
gas:out ?item ;
gas:out1 ?depth ;
gas:maxIterations 3 ;
gas:linkType wdt:P780 .
}
OPTIONAL { ?item wdt:P780 ?linkTo }
OPTIONAL { ?item wdt:P18 ?pic }
SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?depth")
v1("?item"):::projected
v3("?linkTo"):::projected
v4("?pic"):::projected
c2(["gas:program"]):::iri
c6(["wd:Q84263196"]):::iri
c4(["com.bigdata.rdf.graph.analytics.SSSP"]):::literal
c17(["en"]):::literal
c12(["wdt:P780"]):::iri
c10(["3^^xsd:integer"]):::literal
c15(["bd:serviceParam"]):::iri
subgraph s1["http://www.bigdata.com/rdf/gas#service"]
style s1 stroke-width:4px;
c2 --"gas:gasClass"--> c4
c2 --"gas:in"--> c6
c2 --"gas:out"--> v1
c2 --"gas:out1"--> v2
c2 --"gas:maxIterations"--> c10
c2 --"gas:linkType"--> c12
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -->c12--> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v4
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c15 --"wikibase:language"--> c17
end