SemioSearch/sparql semiosearch

From STLab

Jump to: navigation, search
#The rows with "#" are comment
#N.B. The query can have more than one literal output but must have only one resource output.
#Example
@Place_abstract
PREFIX  rdfs: <http://www.w2.org/2000/01/rdf-schema#>
PREFIX  owl:  <http://www.w2.org/2002/07/owl#>
PREFIX  rdf:  <http://www.w2.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT * FROM <dbpedia_instance_types_en> FROM <dbpedia_long_abstracts_en> 
WHERE {?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>   <http://dbpedia.org/ontology/PopulatedPlace>; 
<http://dbpedia.org/ontology/abstract> ?o } limit 20
@Place_coordinates
PREFIX  rdfs: <http://www.w2.org/2000/01/rdf-schema#>
PREFIX  owl:  <http://www.w2.org/2002/07/owl#>
PREFIX  rdf:  <http://www.w2.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT * FROM <dbpedia_instance_types_en> FROM <dbpedia_geo_coordinates_en>
WHERE { ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>  <http://dbpedia.org/ontology/PopulatedPlace>;
<http://www.georss.org/georss/point>  ?c} limit 20
#This query is created as template.
@Place_type
PREFIX  rdfs: <http://www.w2.org/2000/01/rdf-schema#>
PREFIX  owl:  <http://www.w2.org/2002/07/owl#>
PREFIX  rdf:  <http://www.w2.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT * FROM <dbpedia_instance_types_en> FROM <@dataset> 
WHERE { ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <@object>; <@property>  ?c} limit 20
Personal tools