Created
April 27, 2015 09:44
-
-
Save albertmeronyo/01f0f79f9bff52cecfc7 to your computer and use it in GitHub Desktop.
SCRY queries
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
# Standard deviation of matched observations | |
PREFIX qb: <http://purl.org/linked-data/cube#> | |
PREFIX cedar: <http://bit.ly/cedar#> | |
PREFIX scry: <http://www.scry.com/> | |
PREFIX math: <http://www.scry.com/math/> | |
PREFIX input: <http://www.scry.com/input?> | |
SELECT * | |
WHERE { | |
{ SELECT (GROUP_CONCAT(?pop;separator=",") AS ?pops) FROM <urn:graph:cedar-mini:release> WHERE { | |
?obs a qb:Observation . | |
?obs cedar:population ?pop . | |
} LIMIT 10 } | |
SERVICE <http://145.108.172.225:5000/scry/> { | |
math:sd scry:input ?pops . | |
math:sd scry:output ?sd . | |
math:sd scry:description ?desc . | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment