コード例: curl
SELECT DISTINCT ?vaccine ?vaccineLabel ?announcement WHERE {
?vaccine wdt:P279 wd:Q87719492 .
OPTIONAL { ?vaccine wdt:P6949 ?announcement . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en". }
} ORDER BY ASC(?vaccine) ASC(?announcement)
curl -s https://raw.githubusercontent.com/egonw/SARS-CoV-2-Queries/master/sparql/vaccines.rq | sed 's+<lang/>+ja+' > vaccines.rq
curl -H "Accept: text/tab-separated-values" -G https://query.wikidata.org/bigdata/namespace/wdq/sparql --data-urlencode query@vaccines.rq
本SPARQLクエリはCC0ライセンスで利用可能です。