I should mention I'm beginner in the semantic web world. My turtle file has following structure:
@prefix ns0: .
@prefix dc: .
@prefix gr: .
@prefix rdfs:…
I try to use SERVICE keyword in SPARQL query on website having this query link
I found about SERVICE keyword here : this link.
My query is which I already give link above to execute:
SELECT *
WHERE {
?x a ?name .
SERVICE ?name
{ ?p…
I clicked file->project structure->libraries and added apache-jena-3.0.0/lib,/libsrc and javadoc-core.
Then I copied the tutorial in the src-example folder to the src file of my intellij project, then
import com.hp.hpl.jena.rdf.model.*;
import…
I want to code a parameterized SPARQL Query in Java Jena where one of the triple in query be injected
so in the code below I need to inject value as a string the pass to the class
However, the SPARQL query is correct so when I replace "value" with…
I am trying to check if there are two individuals connected by the relation B , and have relation c with the same element
ASK{
{?x :B ?y}filter not exist{?x :c ?t1, ?y :c ?t2 ,t1 ≠ t2 }
}