Code examples: curl
PREFIX wdt: <https://kg-ipclimatec-reports.wikibase.cloud/prop/direct/>
PREFIX wd: <https://kg-ipclimatec-reports.wikibase.cloud/entity/>
SELECT ?section ?sectionLabel WHERE {
?section wdt:P1 wd:Q18 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} ORDER BY ASC(?sectionLabel)
curl -s https://raw.githubusercontent.com/egonw/IPCC-Queries/master/sparql/allSections.rq \
| sed 's+<lang/>+en+' > allSections.rq
curl -H "Accept: text/tab-separated-values" \
-G https://kg-ipclimatec-reports.wikibase.cloud/query/sparql \
--data-urlencode query@allSections.rq
This SPARQL query is available under CCZero.