All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttl.datashape.path.generic2.rq Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

There is a newer version: 4.6.1
Show newest version
prefix sh:  

template (?shape, ?sh, ?vis, ?ls, ?p, ?o) {
  if (bound(?o), 
    st:call-template(?oper, ?shape, ?sh, ?vis, ?s, ?p, ?b, ?o),
    st:call-template(?oper, ?shape, ?sh, ?vis, ?s, ?p, ?b))
}
where {
  graph ?shape {  
    values ?oper { 
      sh:equals sh:maxCount sh:minCount sh:pattern sh:uniqueLang sh:hasValue sh:lessThanOrEquals sh:lessThan sh:disjoint 
      sh:and sh:or sh:xone sh:not 
      sh:qualifiedValueShape sh:sparql
    }
    ?sh ?oper ?b  
    filter if (?oper = sh:uniqueLang, sameTerm(?b, true), true)

  }
  
  values ?s { unnest(?ls) }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy