fuseki

How to generate all triples that fit a particular node type or/and edge type using SPARQL query?

偶尔善良 提交于 2019-12-20 07:23:10
问题 It is a follow up question to : How to list and count the different types of node and edge entities in the graph data using SPARQL query? So assuming I have the different node entities and edge entities of a given graph, how do I go about listing all triples, given a node-edge-node pattern? And how do I generate ALL node-edge-node patterns given the node and edge entities? Example: If there is a network consisting of papers(nodes), authors(nodes), conferences(nodes), iswrittenby(edge),

How do I start a Fuseki server from Jena API Eclipse project?

做~自己de王妃 提交于 2019-12-20 05:58:13
问题 Hi I am new to the Semantic Web domain and Apache Jena enviroments too, which is why I am posting this question. I have a project that makes use of Jena API. And when I run it, it shows output in the console. I did run Fuseki server from cmd line and it ran as a local server and I could do some playing around with queries and all that. My question is, is it possible to run the project on the server through my project that makes use of the API, and if so, why it should be done? I am confused

How I can use Fuseki with Jena TDB

三世轮回 提交于 2019-12-19 04:05:01
问题 I have a question for you. I have a triplestore "Jena TDB" and I have read that I can set up a SPARQL endpoint for locally stored RDF data. In particular, I saw that in the literature together with Jena TDB is used Fuseki. I loaded my files rdf in Jena TDB in this way: public void store(){ String directory = "C:\\tdb"; String source = "C:\\file1.rdf"; String source1 = "C:\\file2.rdf"; Dataset dataset = openTDB(directory); Model tdb = loadModel(source, dataset); dataset.addNamedModel("File1",

Localhost error Fuseki-service Ubuntu

删除回忆录丶 提交于 2019-12-13 18:34:08
问题 We've installed Fuseki2 as a service at a Ubuntu-server and its works fine: sudo service fuseki status * Fuseki is running with pid: 915 I now can go to http://xyz:30303/manage.html (where xyz it the ip-address of the server) and it shows the Manage datasets screen, but nothing happens when I click add new dataset . Console browser (and also http://xyz:3030/$/server ) gives " Failed to load resource: the server responded with a status of 403 (Access denied : only localhost access allowed) "

JavaScript for Apache Jena TripleStore

杀马特。学长 韩版系。学妹 提交于 2019-12-13 17:19:01
问题 i've build a TDB-Store with Apache Jena and now i want to use the data from my store to implement some nice visualizations. So after all it's necessary to access my TDB with JavaScript. I guess, there are two possibilities to archieve this: No. 1: Run a Fuseki Server and run sparql queries on it's endpoint (i.e. http://localhost:3030/dataset/sparql ). How can i query this endpoint with js? No. 2: Access the TDB directly from js. Is this possible? Thanks in advance, FFoDWindow 回答1: I was able

Enable HTTPS/SSL on Fuseki server?

ぃ、小莉子 提交于 2019-12-13 07:16:51
问题 Is it possible to configure the Fuseki server to run over HTTPS? Currently: http://mylinuxbox:3030/ <-- OK Desired: https://mylinuxbox:3030/ <-- results in error 回答1: AndyS's comments, which seem like they probably answer the question: here is a discussion about this on the jena users list for Fuseki v2 (development). For Fuseki1, you define it via the Jetty configuration setup. --jetty-config= Another way is to put a reverse proxy in and put Fuseki behind that. If you already know how to set

Output format in Jena Fuseki server

浪子不回头ぞ 提交于 2019-12-13 01:02:37
问题 Given this command: prefix dm: <http://one.example/> SELECT ?pID WHERE { ?pID dm:hasDName "xxxvvvII" . } The arq engine outputs the following: ------------------- | pID | =================== | dm:C002172 | ------------------- The fuseki server outputs the following: { "head": { "vars": [ "pID" ] } , "results": { "bindings": [ { "pID": { "type": "uri" , "value": "http://one.example/C002172" } } ] } } First question: how can I make the Fuseki server output the result in a more readable way with

Fuseki 1.0.1 SPARQL Update returns 404

大兔子大兔子 提交于 2019-12-12 12:33:16
问题 I'm trying to learn to update data in Fuseki, but when I try I get a 404 error. I am clearly not doing something right. Perhaps it is my INSERT command? I've tried a ton of them though. I am using the web based SPARQL interface at /sparql.tpl. I can get SPARQL Queries to work on that same page just fine. But the second form, labeled SPARQL Updates is what I'm using for my update, and that gives me errors: PREFIX dbpedia-owl: <http://dbpedia.org/ontology/> PREFIX booklet: <http://www

Jena Fuseki assembler file + TDB + OWL reasoner

末鹿安然 提交于 2019-12-12 09:02:24
问题 I am having a problem configuring Jena Fuseki using an assembler file. Up until recently I had been starting the server from the command line as follows: sudo ./fuseki-server --loc=la --port=3032 --update /ds This creates a persistent TDB store located in the directory SERVER_ROOT/la. The server starts correctly and displays the following output: 14:30:55 INFO TDB dataset: directory=la 14:30:55 INFO Dataset path = /ds 14:30:55 INFO Fuseki 1.0.1 2014-01-18T19:01:20+0000 14:30:55 INFO Started

405 HTTP method PUT is not supported by this URL

拜拜、爱过 提交于 2019-12-12 03:46:35
问题 I started Fuseki server using this configuration: @prefix : <#> . @prefix fuseki: <http://jena.apache.org/fuseki#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . @prefix sdb: <http://jena.hpl.hp.com/2007/sdb#> . [] rdf:type fuseki:Server ; fuseki:services ( <#memory> <#tdb> #<#mysql> ) . # Custom code. [] ja