Questions tagged [apache-jena]

Apache Jena is a free and open source Java framework for building Semantic Web and Linked Data applications.

This is a synonym for the Jena tag.

Apache Jena Homepage

Links

185 questions
-1
votes
3 answers

How to make Filter when querying turtle file using sparql

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:…
Anis Elloumi
  • 23
  • 1
  • 4
-1
votes
2 answers

SERVICE keyword not working for SPARQL query?

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…
Badman
  • 407
  • 5
  • 17
-1
votes
2 answers

couldn't resolve jena class

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…
sunxd
  • 743
  • 1
  • 9
  • 24
-2
votes
2 answers

parameterized SPARQL Query

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…
-2
votes
1 answer

what is wrong with SPARQL query?

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 } }
hala
  • 29
  • 5
1 2 3
12
13