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

sttl.spin.update.copy.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
#
# SPARQL-based RDF AST Pretty-printer
# Olivier Corby, Wimmics Inria I3S, 2013
#
prefix sp:       .

template  {
  st:prolog() 
  str(?l) " " 
  if (bound(?s), "silent ", "")
  if (?f = sp:default, "default", concat("graph ", ?f)) " to "
  if (?t = sp:default, "default", ?t)
}
where {
  ?in a ?tt 
  
  values (?tt ?l) { 
     (sp:Move "move") (sp:Add "add") (sp:Copy "copy")
  }
  
  ?in sp:from ?f 
  ?in sp:to ?t 
  
  optional { ?in sp:silent ?s }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy