Execute query

Statement:Geographically located samples
A limit of results per pages (e.g.10)


  • Nid: 1128
    Body:
    Another query based on numerical values, to find samples associated to a latitude and longitude.
    Query:
    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 dc: <http://purl.org/dc/elements/1.1/> PREFIX dcterms: <http://purl.org/dc/terms/> PREFIX obo: <http://purl.obolibrary.org/obo/> PREFIX efo: <http://www.ebi.ac.uk/efo/> PREFIX biosd-terms: <http://rdf.ebi.ac.uk/terms/biosd/> PREFIX pav: <http://purl.org/pav/2.0/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX sio: <http://semanticscience.org/resource/> # # Samples reporting latitude and longitude # SELECT DISTINCT ?item ?latVal ?longVal WHERE { ?item biosd-terms:has-bio-characteristic ?latPv, ?longPv. ?latPv biosd-terms:has-bio-characteristic-type [ rdfs:label ?latLabel]; sio:SIO_000300 ?latVal. # sio:has value FILTER ( REGEX ( ?latLabel, "latitude", "i" ) ). ?longPv biosd-terms:has-bio-characteristic-type [ rdfs:label ?longLabel ]; sio:SIO_000300 ?longVal. # sio:has value FILTER ( REGEX ( ?longLabel, "longitude", "i" ) ). } limit ??number
    Statement:
    Geographically located samples
    A limit of results per pages $number$ (e.g.10)