graphdb

SPARQL: unable to use FactForge endpoint

情到浓时终转凉″ 提交于 2019-12-24 02:22:58
问题 I am using python to run some sparql queries. I want to extract information from http://factforge.net/sparql sparql = SPARQLWrapper("http://factforge.net/sparql") query = """ # F02: Big Cities in Eastern Europe PREFIX onto: <http://www.ontotext.com/> PREFIX gn: <http://www.geonames.org/ontology#> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> SELECT *

How to integrate tabular data into GraphDB automatically?

↘锁芯ラ 提交于 2019-12-23 03:36:26
问题 I want to import tabular (xls) data automatically into GraphDB. OntoRefine suits my case very will with the power of OpenRefine and SPARQL. Now, i am thinking about the following approach New tabular data is available as XLS file OntoRefine updates a project or creates a new project automatically SPARQL queries against RDFbridge to create new triples SPARQL Insert to add this triple Is there an alternative approach to automate it? If this is the best, how can i update or create a new

Can GraphDB load 10 million statements with OWL reasoning?

痴心易碎 提交于 2019-12-20 03:13:52
问题 I am struggling to load most of the Drug Ontology OWL files and most of the ChEBI OWL files into GraphDB free v8.3 repository with Optimized OWL Horst reasoning on. is this possible? Should I do something other than "be patient?" Details: I'm using the loadrdf offline bulk loader to populate an AWS r4.16xlarge instance with 488.0 GiB and 64 vCPUs Over the weekend, I played around with different pool buffer sizes and found that most of these files individually load fastest with a pool buffer

How can I access the API of OntoRefine?

半世苍凉 提交于 2019-12-13 03:28:50
问题 In our current project we have a lot of data in table form that we want to transform to RDF. OpenRefine offers the possibility to create projects or update data via an API (see: https://github.com/OpenRefine/OpenRefine/wiki/OpenRefine-API). Is it possible to use this API with OntoRefine and if so, how do I do it? Or are we better advised to use OpenRefine? This question was similarly asked a little over a year ago but had not received an answer. (How to integrate tabular data into GraphDB

How to create a custom AnalyzerFactory in GraphDB full text search?

北战南征 提交于 2019-12-12 04:45:23
问题 (Using GraphDB 8.1 free). http://graphdb.ontotext.com/documentation/free/full-text-search.html says that I can enable a custom AnalyzerFactory for GraphDB full-text search, using the luc:analyzer param, by implemeting the interface com.ontotext.trree.plugin.lucene.AnalyzerFactory . However I can't find this interface anywhere. It is not in the jar graphdb-free-runtime-8.1.0.jar. I checked the feature matrix at http://ontotext.com/products/graphdb/editions/#feature-comparison-table and it

Conflicts with using xsd:integer as rdfs:range

回眸只為那壹抹淺笑 提交于 2019-12-11 14:37:32
问题 I am defining a property with integer range as :hasIndex rdf:type owl:DatatypeProperty ; rdfs:range xsd:integer . My understanding is that it should only accept integers as object, anything else should be considered as inconsistent and throw errors. However, when I create instances with strings as objects in GraphDb as the following, both entries are successfully loaded into the database (as "asd"^^xsd:string) without any errors: :nodea :hasIndex "asd" . :nodeb :hasIndex "asd"^^xsd:string .

How to infer individual with more than 2 property in owl

蹲街弑〆低调 提交于 2019-12-11 10:46:20
问题 I have an ontology with Person and Animal_Lover classes. People are Animal_Lover if they have more than 2 pet. How can I do this in my ontology? <?xml version="1.0"?> <rdf:RDF xmlns="http://www.example.com/test" xml:base="http://www.example.com/test" xmlns:test="http://www.example.com/test#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdfs

Writing to Ontotext GraphDB using Jena

半腔热情 提交于 2019-12-11 00:00:02
问题 I am trying to use Jena to write to a local free standalone GraphDB (version 8.5.0) repository. What I have tried (1) Direct use from Jena I used this Jena 3.7.0 code snippet: String strInsert = "INSERT DATA {" + "<http://dbpedia.org/resource/Grace_Hopper> " + "<http://dbpedia.org/ontology/birthDate>" + " \"1906-12-9\"^^<http://www.w3.org/2001/XMLSchema#date> .}"; UpdateRequest updateRequest = UpdateFactory.create(strInsert); UpdateProcessor updateProcessor = UpdateExecutionFactory

Questions about Cloud + GraphDB

淺唱寂寞╮ 提交于 2019-12-10 22:58:39
问题 I'm working on a project and i need a triple-store database in cloud, which support SPARQL queries. GraphDB looks good and works fine in my desktop computer (localhost). But, when I try to use it in the cloud ( CloudDB ), REST requisitions doesn't work. Problem: I'm trying to query my repository using REST, by curl -X GET --header 'Accept: application/sparql-results+xml' . Repository ID: hermesiot Query: select * where {?s ?p ?o .} limit 100 Results: Response Code: 404 Response Body: {

GraphDB's Visual graph does not display all triples

自闭症网瘾萝莉.ら 提交于 2019-12-10 18:35:53
问题 In my graph I have the following assertions @prefix : <http://www.example.org/~joe/contact.rdf#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . :joesmith a foaf:Person ; foaf:givenname "Joe" ; foaf:family_name "Smith" ; foaf:homepage <http://www.example.org/~joe/> ; foaf:mbox <mailto:joe.smith@example.org> . I loaded the graph in GraphDB. If I point the GraphDB's Visual Graph to :joesmith , I would like to see all the triples but I