Events

From solab
Jump to navigation Jump to search
Do you think that items on this page are out of date? You can clean its cache to manually update all dynamic parts to the latest data from the wiki.


{{#gu_gen: sparql | http://llg:8000/sparql/ | root |

PREFIX wiki: <http://localhost/solab/index.php/Special:URIResolver/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX swivt: <http://semantic-mediawiki.org/swivt/1.0#>
PREFIX property: <http://localhost/solab/index.php/Special:URIResolver/Property-3A>
PREFIX events: <http://localhost/solab/index.php/Special:URIResolver/Category-3A>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT    ?b ?c ?d ?e WHERE {
?b  rdf:type <http://localhost/solab/index.php/Special:URIResolver/Category-3AEvent>.
?b rdfs:label ?c .
?b property:Start_date ?d .
?b property:End_date ?e.
FILTER ( xsd:dateTime(?d) < xsd:dateTime("2013-06-01Z" )) 
 }
ORDER BY desc(?d)
limit 1
   

|yes |WIKITABLE }}

FILTER ( ?d < "2013-06-01Z"^^xsd:dateTime ) 

{{#gu_gen: sparql | http://llg:8000/sparql/ | root |

PREFIX wiki: <http://localhost/solab/index.php/Special:URIResolver/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX swivt: <http://semantic-mediawiki.org/swivt/1.0#>
PREFIX property: <http://localhost/solab/index.php/Special:URIResolver/Property-3A>
PREFIX events: <http://localhost/solab/index.php/Special:URIResolver/Category-3A>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT    ?name ?start_date ?end_date WHERE {

<http://localhost/solab/index.php/Special:URIResolver/EnerSolar_Italy_2011> rdfs:label ?name. <http://localhost/solab/index.php/Special:URIResolver/EnerSolar_Italy_2011> property:Start_date ?start_date. <http://localhost/solab/index.php/Special:URIResolver/EnerSolar_Italy_2011> property:Start_date ?end_date.

} 

|yes |WIKITABLE }}