The following two graphs clearly express a similar intent, one using RDF-star (soon to be incorporated into the RDF standard as RDF 1.2), and one using RDF reification.
:bob :asserts <<:earth :hasShape :flat>>
:bob :asserts _b1
_b1 rdf:subject…
I understand that RDF* solves the issue of properties and attributes and internal structure missing in RDF. But I wonder what are some use cases when RDF* are better than LPG? And what are the main advantages of RDF* over LPGs?
How to convert this simple query to Jena java query builder?
SELECT ?city
WHERE { <<:athens :connected ?city >> :distance 500}
I tried this in Clojure and it didn't work.
No need to write Clojure i just need the Java code.
I created a TipleNode…
https://graphdb.ontotext.com/documentation/standard/exploring-data.html#create-your-own-visual-graph describes the ability to create a visual graph using SPARQL queries, and for the "Edge Basics" step it says:
Edge basics: This query SELECT the…
Can I use a SPARQL* query to query a classic RDF model that uses reification?
To me, the Jena documentation is a bit vague here.
The code below creates a reified statement:
<< …
I am trying to add a simple rule to the builtin RDFSPlus (Optimized) ruleset to be able to have GraphDB generate inferred (implicit) statements from RDF* assertions.
Specifically, referring to GraphDB example here…
why is it not allowed to include a nested triple like <> ?x ?y within the where clause of a insert/delete statement. It immediatelly returns an 500 error.
Following simple statement returns this error.
delete {
}
insert {
…
I have a .ttls file . i want to read it with python and extract some information. I googled a bit. there is the library rdflib. but I think it doesn't support the .ttls file. does anyone have any idea how i can read this .ttls file with python?
Using RDF-star, say I have:
?couple :isA :Couple .
and ?couple takes values such as this one:
<< :Bill :marriedTo :Mary >> :isA :Couple .
Is there any way to extract :Bill and :Mary from the triples variable ?couple, and bind them to variables…
Apache Jena is not able to query RDF Star Triples that have a double data type in them. Here is the code for reproduction of the issue with Jena 3.17 (it can be reproduced on other versions too).
Dataset dataset = TDB2Factory.createDataset();
Model…