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

query.demo.federateselectwimmics.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, Shacl. STTL. LDScript.

The newest version!
#
# Equivalent to wget
# method = post|get
# format = xml|json  rdfxml|jsonld|turtle
# sparql query & update
# fun:report(name) ::= xt:get(?_service_detail_0, name)
#
@log 
@report

select *
(coalesce(fun:report("message"), fun:report("info"), fun:report("error"))   as ?mes) 
(fun:report("size")   as ?size) 
(fun:report("server") as ?s) 
(fun:report("time")   as ?time)
(fun:report("date")   as ?date)
where {

values ?uri {
    
    
    
    
    
}

values ?method {"post" "get" }
values ?format {"xml" "json" "csv" "tsv" } 

bind (uri(xt:format("%s?method=%s&format=%s&mode=local", ?uri, ?method, ?format)) as ?url)


optional {
service ?url {
    select ?x where {
        ?x ?p ?y
    } limit 1
}
}
}
order by bound(?x) ?url




© 2015 - 2025 Weber Informatics LLC | Privacy Policy