graphdb

How do owl and rdfs property domain range work?

ε祈祈猫儿з 提交于 2019-12-07 02:34:26
I am trying to understand the semantics of rdfs domain and range. Because I am from an object oriented background, I am struggling to understand the semantics and how to validate data against the rdfs statements. Here is a sample file in turtle format: PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix tmpl: <http://template.example.com/> prefix data: <http://data.example.com/> tmpl:Thing a owl:Class. tmpl:Employment rdfs:subClassOf tmpl:TemporalThing. tmpl:Party rdfs:subClassOf tmpl

Wrong query evaluation with aggregation subquery

限于喜欢 提交于 2019-12-02 08:53:01
问题 Please refer to Factforge Endpoint to execute this query. The subquery doesn't return any results. ?myVar will be projected out to the containing query, and then joined with the triple pattern ?myVar ?p ?o. . But as there are no results from the inner select, the join should result in nothing. However, this is not the case when executing the query. Isn't this a bug? SELECT ?myVar ?p ?o WHERE { { SELECT ?myVar WHERE { ?myVar <http://www.example.com/arbitraryNonExistent> ?xx. } GROUP BY ?myVar

Wrong query evaluation with aggregation subquery

给你一囗甜甜゛ 提交于 2019-12-02 04:26:18
Please refer to Factforge Endpoint to execute this query. The subquery doesn't return any results. ?myVar will be projected out to the containing query, and then joined with the triple pattern ?myVar ?p ?o. . But as there are no results from the inner select, the join should result in nothing. However, this is not the case when executing the query. Isn't this a bug? SELECT ?myVar ?p ?o WHERE { { SELECT ?myVar WHERE { ?myVar <http://www.example.com/arbitraryNonExistent> ?xx. } GROUP BY ?myVar } ?myVar ?p ?o. } LIMIT 10 Damyan Ognyanov It is the expected behaviour. According to https://www.w3

Can GraphDB load 10 million statements with OWL reasoning?

给你一囗甜甜゛ 提交于 2019-12-01 23:44:32
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 of 2,000 or 20,000 statements instead of the suggested 200,000. I also added -Xmx470g to the loadrdf

SPARQL Speed up federated query

梦想与她 提交于 2019-11-30 18:04:42
问题 I have my own dataset and I want to perform a federated query in SPARQL. Here is the query: PREFIX : <http://myURIsNamespace#> PREFIX wd: <http://www.wikidata.org/entity/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX p: <http://www.wikidata.org/prop/> PREFIX ps: <http://www.wikidata.org/prop/statement/> PREFIX pq: <http://www.wikidata.org/prop/qualifier/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> select * where { ?bioentity :hasMutatedVersionOf ?gene . ?gene :partOf wd