query-54610dbf1d2b606fd445d7f008fb1c5a
Show me all disciplies and their number of the DFG Fachsystematik!
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
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 ?dfgdisciplineID ?dfgdisciplineName ?discipline ?disciplineLabel
WHERE {
?discipline p:P10287 ?statement .
?statement ps:P10287 ?dfgdisciplineID .
OPTIONAL {?statement pq:P1810 ?dfgdisciplineName}
SERVICE wikibase:label {bd:serviceParam wikibase:language "de, en"}
} ORDER BY ASC(?dfgdisciplineID)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dfgdisciplineID"):::projected
v4("?dfgdisciplineName"):::projected
v2("?discipline"):::projected
v3("?statement")
c5(["bd:serviceParam"]):::iri
c7(["de, en"]):::literal
v2 --"p:P10287"--> v3
v3 --"p:statement/P10287"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:qualifier/P1810".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end