
Untitled
By: a guest on
Jun 26th, 2012 | syntax:
None | size: 1.42 KB | hits: 8 | expires: Never
PREFIX dc: <http://purl.org/dc/terms/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX ghiqb: <http://data.kasabi.com/dataset/global-hunger-index/structure/> SELECT ?area ?ghi ?cuwValue ?cmValue ?punValue ?dataset WHERE { ?observation ghiqb:yearOfGHI ?year. ?observation ghiqb:refArea ?area. ?observation qb:measureType ghiqb:GHI. OPTIONAL {?observation ghiqb:GHI ?ghi.} ?observation ghiqb:refPeriod "1990". ?observation qb:dataSet ?dataset. ?area owl:sameAs <http://ontologi.es/place/JP> . ?cuwObs a qb:Observation. ?cuwObs qb:dataSet ?dataset. ?cuwObs qb:measureType ghiqb:supportingDataPUW. ?cuwObs ghiqb:refArea ?area. ?cuwObs ghiqb:yearOfGHI ?year. OPTIONAL { ?cuwObs ghiqb:supportingDataPUW ?cuwValue. } ?cmObs a qb:Observation. ?cmObs qb:dataSet ?dataset. ?cmObs qb:measureType ghiqb:supportingDataU5MR. ?cmObs ghiqb:refArea ?area. ?cmObs ghiqb:yearOfGHI ?year. OPTIONAL { ?cmObs ghiqb:supportingDataU5MR ?cmValue. } ?punObs a qb:Observation. ?punObs qb:dataSet ?dataset. ?punObs qb:measureType ghiqb:supportingDataPUN. ?punObs ghiqb:refArea ?area. ?punObs ghiqb:yearOfGHI ?year. OPTIONAL { ?punObs ghiqb:supportingDataPUN ?punValue.} } LIMIT 1