Questions tagged [rdf-star]

For questions related to RDF*, an RDF extension intended to reconcile the RDF and LPG graph data models.

Resources

Previously, RDF* was known as RDR (Reification Done Right).

12 questions
5
votes
0 answers

How can I parse rdf* files with python? does rdflib sopport rdf*?

does rdflib support rdf* now? how can I parse rdf* files in python? Thanks. Joylix
lix joy
  • 51
  • 1
3
votes
1 answer

In RDF-star, is there any formal relationship between a quoted triple and a reification of that triple?

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…
levand
  • 8,440
  • 3
  • 41
  • 54
3
votes
0 answers

What are the key advantages and use cases of RDF* graphs compared to LPG?

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?
kirgol
  • 367
  • 1
  • 3
  • 12
1
vote
0 answers

How to use the Jena query builder for RDF-star?

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…
Takis
  • 8,314
  • 2
  • 14
  • 25
1
vote
0 answers

GraphDB: Use RDF-star for edge labels in custom graph?

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…
1
vote
1 answer

Reification and SPARQL* in Jena: Compatibility

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: <<
Janothan
  • 446
  • 4
  • 16
1
vote
1 answer

GraphDB custom ruleset for inference over RDF* statements

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…
1
vote
0 answers

SPARQL* DELETE/INSERT returning error when using nested triples within where clause

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 { …
Greenfish
  • 358
  • 2
  • 5
  • 19
0
votes
2 answers

how to read th RDF-Turtle Star file with Python?

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?
0
votes
2 answers

How bind values within RDF-star triples to variables?

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…
gaspanic
  • 249
  • 1
  • 12
0
votes
1 answer

Does graphdb support rdf-star syntax?

Consider example2 from the W3C's RDF* specification: https://w3c.github.io/rdf-star/cg-spec/editors_draft.html @prefix : . :employee38 :familyName "Smith" ; :jobTitle "Assistant Designer" {| :accordingTo…
joylix
  • 95
  • 7
0
votes
1 answer

Double data type not working with RDF star query

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…
penguin2048
  • 1,303
  • 13
  • 25