fuseki

Fuseki how to add Pellet reasoner

主宰稳场 提交于 2019-11-29 12:41:47
I want to use pellet reasoner with my Fuseki 2.3.1 First: I added Pellet reasoner to my config.ttl as this: ja:reasoner [ ja:reasonerClass "org.mindswap.pellet.jena.PelletReasonerFactory";] So now I have to add the jar for Pellet to fuseki This page explains how to add jars (not specificaly pellete) to fuseki https://jena.apache.org/documentation/permissions/example.html So I commet this line exec $JAVA $JVM_ARGS -jar "$JAR" "$@" and I uncommet this line java $JVM_ARGS -cp "$JAR:$APPJAR" org.apache.jena.fuseki.cmd.FusekiCmd "$@" and uncomment the line that starts with APPJAR= now I still need

SPARQL - Insert data from remote endpoint

不问归期 提交于 2019-11-28 11:33:22
问题 How can i query a remote endpoint (like endpoints of DBPedia or Wikidata) and insert resulting triples in a local graph? So far, i know that there are commands like INSERT, ADD, COPY etc. which can be used for such tasks. What i don't understand is how to address a remote endpoint while updating my local graph. Could someone provide a minimum example or the main steps? I'm using Apache Jena Fuseki v2 on Windows and this is my query so far: PREFIX wdt: <http://www.wikidata.org/prop/direct/>

Fuseki how to add Pellet reasoner

倾然丶 夕夏残阳落幕 提交于 2019-11-28 06:28:44
问题 I want to use pellet reasoner with my Fuseki 2.3.1 First: I added Pellet reasoner to my config.ttl as this: ja:reasoner [ ja:reasonerClass "org.mindswap.pellet.jena.PelletReasonerFactory";] So now I have to add the jar for Pellet to fuseki This page explains how to add jars (not specificaly pellete) to fuseki https://jena.apache.org/documentation/permissions/example.html So I commet this line exec $JAVA $JVM_ARGS -jar "$JAR" "$@" and I uncommet this line java $JVM_ARGS -cp "$JAR:$APPJAR" org

What is the SPARQL query to get the name of all graphs existing in my triplestore?

左心房为你撑大大i 提交于 2019-11-28 00:17:45
问题 I want to get the name of all existing graphs in my Fuseki server, it should return a message with a list of all graphs name. 回答1: I have tried the answer given by Joshua Taylor in Virtuoso, but got nothing. Maybe it's different between fuseki and virtuoso. So I provide a sparql for virtuoso users who just find the answer like me. SELECT DISTINCT ?g WHERE { GRAPH ?g { ?s ?p ?o } } 回答2: Without more context, we don't know whether you mean some additional metadata about the "name" of a graph,

Querying large RDF Datasets out of memory

三世轮回 提交于 2019-11-27 14:50:56
I want to download two or more datasets on my machine and be able to start a SPARQL endpoint for each. I tried Fuseki which is part of the Jena project. However, it loads the whole dataset in memory, which is not very much desired if I'm intending to query large datasets like DBpedia given that I intend to do other stuff (starting multiple SPARQL endpoints and use a federated query system over them). Just to give you a heads up, I intend to link multiple datasets using SILK , querying them using a FEDX federated query system. If you recommend any change of the systems I'm using, or can give me

SPARQL functions in CONSTRUCT/WHERE

时间秒杀一切 提交于 2019-11-27 09:43:47
I mostly use SPARQL SELECT while working on a query for debugging purposes but in the end I want to use the final result it in a CONSTRUCT way; as I want to work with a graph and not key/value query results. What I don't get yet (and can't seem to find with search engines/docs) is if I can use functions as well that way. As an example, I use a property path to concatenate titles I get into a "superstring", which I later use for building a Lucene index to increase plain text search quality: PREFIX dc: <http://purl.org/dc/elements/1.1/> SELECT (group_concat(?title ; separator = " ") AS

Fuseki SPARQL INSERT produces the “Error 400: SPARQL Query: No 'query=' parameter”

谁说我不能喝 提交于 2019-11-27 08:12:58
问题 I try to insert an individual into my ontology, but get the error: Error 400: SPARQL Query: No 'query=' parameter Fuseki - version 2.4.1 (Build date: 2016-11-04T18:59:20+0000) This is my SPARQL INSERT query #1: PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX oo: <http://www.test.com/test-ontology.owl#> INSERT { oo:cap_123 rdf:type oo:MyTours . oo:cap_123 oo:active true . oo:cap_123 oo

SPARQL functions in CONSTRUCT/WHERE

你说的曾经没有我的故事 提交于 2019-11-26 17:52:11
问题 I mostly use SPARQL SELECT while working on a query for debugging purposes but in the end I want to use the final result it in a CONSTRUCT way; as I want to work with a graph and not key/value query results. What I don't get yet (and can't seem to find with search engines/docs) is if I can use functions as well that way. As an example, I use a property path to concatenate titles I get into a "superstring", which I later use for building a Lucene index to increase plain text search quality:

Querying large RDF Datasets out of memory

。_饼干妹妹 提交于 2019-11-26 16:56:00
问题 I want to download two or more datasets on my machine and be able to start a SPARQL endpoint for each. I tried Fuseki which is part of the Jena project. However, it loads the whole dataset in memory, which is not very much desired if I'm intending to query large datasets like DBpedia given that I intend to do other stuff (starting multiple SPARQL endpoints and use a federated query system over them). Just to give you a heads up, I intend to link multiple datasets using SILK, querying them