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

sttl.d3.edges.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.

The newest version!
template st:edges {
  "\"edges\":[\n"
  
  group { 
  
    format {
        '{"source": "%s", "target": "%s", "label": "%s", "id": "e%s", "class": "%s", "group": "%s" }'
        us:get(?s) us:get(?o) us:label(?p) kg:number() us:edgeClass(?g, ?p) us:edgeGroup(?g, ?p)
    }
    
    ; separator = ",\n"
  }
  
  "\n]\n"
} 
where {
    select * where {
        graph ?g { ?s ?p ?o }
        bind (us:triple(?s, ?p, ?o) as ?ss)
    } 
    order by ?p ?s ?o
    limit 5000
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy