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
{ | |
"Abrams----http://dbpedia.org/resource/J._J._Abrams": [ | |
"dbo_abstract", | |
"dbo_birthName", | |
"dbo_wikiPageWikiLinkText", | |
"dbo_wikiPageRedirects", | |
"rdfs_label", | |
"foaf_name" | |
], | |
"AlArabiya_Eng----http://dbpedia.org/resource/Al_Arabiya": [], |
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
SELECT DISTINCT ?event ?title ?description ?placeName ?img ?long ?lat ?cell ?seeAlso ?datetimeBegin ?datetimeEnd ?now ?score | |
WHERE { | |
{ | |
SELECT DISTINCT ?event ?title ?description ?img ?cell ?cellGeo ?datetimeBegin ?now ?datetimeEnd ?dateDiffBegin ?dateDiffEnd if(?now < ?datetimeBegin, ?dateDiffBegin, if(?datetimeEnd < ?now, ?dateDiffEnd, 0.0)) AS ?diff if(?diff = 0.0, 5.99, if(?diff > 0.0, 5.0+1.0/if(?diff/86400.0 < 1.0, 1.0, ?diff/86400.0), -1.0/if(?diff/86400.0 > -1.0, -1.0, ?diff/86400.0))) AS ?dateScore if(BOUND(?img), 1.0, 0.0) AS ?imageScore if(fn:string-length(?description) < 100, 0.0, if(fn:string-length(?description) < 800, 0.5, if(fn:string-length(?description) < 1400, 1.0, if(fn:string-length(?description) < 1800, 0.5, 0.0)))) AS ?descriptionScore (?imageScore + ?dateScore * 100000.0 + ?descriptionScore) AS ?score | |
WHERE { | |
GRAPH <http://3cixty.com/events> {?event a lode:Event .} | |
?event rdfs:label ?title . | |
?event locationOnt:cell ?cell . | |
?cell geo:location ?cellGeo . | |
OPTIONAL{?even |
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
SELECT DISTINCT ?event ?title ?description ?placeName ?img ?long ?lat ?cell ?seeAlso ?datetimeBegin ?datetimeEnd ?now ?score | |
WHERE { | |
{ | |
SELECT DISTINCT ?event ?title ?description ?img ?cell ?cellGeo ?datetimeBegin ?now ?datetimeEnd ?dateDiffBegin ?dateDiffEnd if(?now < ?datetimeBegin, ?dateDiffBegin, if(?datetimeEnd < ?now, ?dateDiffEnd, 0.0)) AS ?diff if(?diff = 0.0, 5.99, if(?diff > 0.0, 5.0+1.0/if(?diff/86400.0 < 1.0, 1.0, ?diff/86400.0), -1.0/if(?diff/86400.0 > -1.0, -1.0, ?diff/86400.0))) AS ?dateScore if(BOUND(?img), 1.0, 0.0) AS ?imageScore if(fn:string-length(?description) < 100, 0.0, if(fn:string-length(?description) < 800, 0.5, if(fn:string-length(?description) < 1400, 1.0, if(fn:string-length(?description) < 1800, 0.5, 0.0)))) AS ?descriptionScore (?imageScore + ?dateScore * 100000.0 + ?descriptionScore) AS ?score | |
WHERE { | |
GRAPH <http://3cixty.com/events> {?event a lode:Event .} | |
?event rdfs:label ?title . | |
?event locationOnt:cell ?cell . | |
?cell geo:location ?cellGeo . | |
OPTIONAL{?even |
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
SELECT ?place ?pub | |
WHERE { | |
?place a dul:Place . | |
?place dc:publisher ?pub . | |
{ | |
?place <http://data.linkedevents.org/def/location#businessType> <http://data.linkedevents.org/kos/3cixty/hotel> . | |
} UNION { | |
?place <http://data.linkedevents.org/def/location#businessType> <http://data.linkedevents.org/kos/3cixty/bar> . | |
} UNION { | |
?place <http://data.linkedevents.org/def/location#businessType> <http://data.linkedevents.org/kos/3cixty/restaurant> . |
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
SELECT DISTINCT ?s ?cat | |
WHERE { | |
{ | |
SELECT ?geoEvent | |
WHERE { | |
<http://data.linkedevents.org/event/247e69f0-ba4e-4423-92e6-17a9a8090344> lode:inSpace ?space . | |
?space geo:geometry ?geoEvent. | |
} | |
} | |
{ |
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
PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
PREFIX edm: <http://www.europeana.eu/schemas/edm/> | |
PREFIX ore: <http://www.openarchives.org/ore/terms/> | |
PREFIX dct: <http://purl.org/dc/terms/> | |
SELECT ?item ?mediaurl ?poster ?date1 ?date2 ?description ?publisher1 ?publisher2 WHERE { | |
?proxy ore:proxyFor ?item; | |
dc:title ?title; | |
dc:creator ?creator; | |
dc:description ?description; | |
dc:type ?type; |
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
PREFIX lgd:<http://linkedgeodata.org/> | |
PREFIX lgdo:<http://linkedgeodata.org/ontology/> | |
PREFIX geom:<http://geovocab.org/geometry#> | |
PREFIX ogc:<http://www.opengis.net/ont/geosparql#> | |
SELECT * { | |
?s rdf:type lgdo:School . | |
?s rdfs:label ?label . | |
?s geom:geometry ?geo . | |
?geo ogc:asWKT ?v . |