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

sttl.d3.hierarchy.rq Maven / Gradle / Ivy

prefix ft: 
template st:hierarchy {
  format {
      ft:hierarchy.html
      ?id
      us:plist(?list)
      us:plist(?plist)
      ?graph
  }
} 
where {
    bind (substr(replace(rand(), "\\.", ""), 0, 5) as ?id)
    bind (coalesce(st:get(st:hierarchy), xt:list(rdfs:subClassOf))    as ?list)
    bind (coalesce(st:get(st:nodePropertyDisplay), xt:list("url")) as ?plist)
    bind (st:call-template(st:graph) as ?graph)
    bind (if (st:get(st:trace, true), xt:print(?graph), true) as ?tmp)
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy