Last active
June 28, 2019 14:15
-
-
Save ttm/d0ba028aeedb8426a4c544499d1f95b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trying to perform this simple query: | |
SELECT (COUNT(DISTINCT ?s) as ?c) WHERE { | |
?s ?p ?o | |
} | |
to Data.World without authentication. | |
the URL: | |
https://query.data.world/s/f222hh4smp4iwi4uidtbegtb72usts | |
was obtained for the file aairc.ttl (from rfabbri/linked-open-social-data). | |
These queries return nothing: | |
curl --request GET \ | |
--url 'https://query.data.world/s/f222hh4smp4iwi4uidtbegtb72usts?query=SELECT%20(COUNT(DISTINCT%20%3Fs)%20as%20%3Fc)%20WHERE%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D' | |
curl --request GET \ | |
--url 'https://query.data.world/s/f222hh4smp4iwi4uidtbegtb72usts?query=SELECT%20(COUNT(DISTINCT%20%3Fs)%20as%20%3Fc)%20WHERE%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D' \ | |
--header "authorization: Bearer $AUTHTOKEN" | |
although this query does: | |
curl --request GET \ | |
--url 'https://api.data.world/v0/sparql/rfabbri/linked-open-social-data?query=SELECT%20(COUNT(DISTINCT%20%3Fs)%20as%20%3Fc)%20WHERE%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D' \ | |
--header "authorization: Bearer $AUTHTOKEN" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment