I trying to run a text search query with Jena via command line.
tdbquery --desc textsearch.ttl --query search.rq
The query return empty results with the messages:
17:23:46 WARN TextQueryPF :: Failed to find the text index : tried…
I am trying to road a foaf file:
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
public class Testbed {
public static void main(String[] args) {
Model model = ModelFactory.createDefaultModel();
…
I am new to Fuseki and Stardog, and I am trying to use a sparql SERVICE query to access some of the information in a Jena Fuseki (2.4.0) server with the Stardog (4.2) interface. The issue I am having is that every query I try ends up with an…
So I'm developing an API in Rails and using Jena Fuseki to store triples, and right now I'm trying to perform an INSERT in a named graph. The query is correct, since I ran it on Jena and worked perfectly. However, no matter what I do when using the…
I would like to set the base url when I load data into Fuseki using tdbloader or tdbloader2. Currently the local path is used as base, which is not what I want. Example:
# mytriple.ttl
@prefix owl: .
<#myitem> a…
Note: I am replacing http:// with http:/ in my Question because I haven't enough reputation to post link more than two times in my question.
I am explaining my problem step by step .To view exactly put the URL whatever I will tell in this console…
I'm getting the following exception when deploying my REST service in WildFly 10.
When using eclipse for deploying on wildfly, everything seems to be fine. But when I'm using maven, the deployment is ok, but when using it on startup I get this…
I am new to the ontology and semantic analysis. currently, I have one public ontology source which was from BBC website. the source is in " .ttl " format.
I was also to load the source in Jena by using eclipse. However, i was a little lost when i…
I want to use JWT for authentication purpose for information exchange. According to the JWT documentation documentation, I have to add a header with field Authorization : Bearer .
But in apache jena in HttpOp.java which execHttpGet(...)…
This is my first time using Apache Jena Fuseki 2.4.0. I'm trying to run my friend's ontology website, he said that he's using Apache Jena Fuseki so I need to install it first but, when I already installed it and then I ran a server and typed his…
Hi I have two ontologies and one other ontology that is alignment of them.
Now I want to run some sparql query on alignment ontology to get data from both ontologies. But I don't know what should be the PREFIX is sparql ?
and how I can Access to…
Hi friends I am a new one on semantic web and have some difficulties.I have queried to DBPedia and gotten property/value pairs for Paris. What I want to do is to write query results to rdf file. Below is my code:
import…
I am trying to serialize my class using Jackson in Binary Format and struggling with it after trying a number of different alternatives. I was hoping someone can help.
My custom class looks like:
package com.common;
import…
I'm using Jena (apache-jena-libs 3.0.1) in my java application to create RDF model and serialize to RDF/XML. I am using the same way that is documented in https://jena.apache.org/documentation/io/rdfxml_howto.html
FileOutputStream out = new…