Skip to content

Instantly share code, notes, and snippets.

@Open-University-LOD
Created January 9, 2014 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Open-University-LOD/8332851 to your computer and use it in GitHub Desktop.
Save Open-University-LOD/8332851 to your computer and use it in GitHub Desktop.
Prices (ordered) with currency of OU level 1 courses in Arts and Humanities as available in France.
select ?course ?price ?cur
from <http://data.open.ac.uk/context/course>
where {
?course <http://data.open.ac.uk/saou/ontology#OUCourseLevel> "1"^^<http://www.w3.org/2001/XMLSchema#string>.
?course <http://purl.org/dc/terms/subject> <http://data.open.ac.uk/topic/arts_and_humanities>.
?off <http://purl.org/goodrelations/v1#includes> ?course.
?off <http://purl.org/goodrelations/v1#hasPriceSpecification> ?ps.
?course <http://purl.org/net/mlo/location> <http://sws.geonames.org/3017382/>.
?off <http://purl.org/goodrelations/v1#availableAtOrFrom> <http://sws.geonames.org/3017382/>.
?ps <http://purl.org/goodrelations/v1#hasCurrencyValue> ?price.
?ps <http://purl.org/goodrelations/v1#hasCurrency> ?cur
} order by ?price
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment