Questions tagged [turtle-rdf]

Turtle is a textual syntax that allows RDF graphs to be written in a compact and natural text form, with abbreviations for common usage patterns and datatypes

About

Turtle (Terse RDF Triple Language) is a format for expressing data in the Resource Description Framework () data model with a syntax similar to . RDF, in turn, represents information using "triples", each of which consists of a subject, a predicate, and an object. Each of those items is expressed as a Web URI. Hence Turtle provides levels of compatibility with the existing and formats as well as the triple pattern syntax of .

Links

273 questions
0
votes
1 answer

Unicode characters (UTF-32) String encoding in NSRegularExpression

I'm writing a parser for RDF data in Turtle format in Swift. The Turtle Grammar defines the patter PN_CHARS_BASE as [163s] PN_CHARS_BASE ::= [A-Z] | [a-z] | [#x00C0-#x00D6] | [#x00D8-#x00F6] | [#x00F8-#x02FF] | [#x0370-#x037D] | [#x037F-#x1FFF] |…
0
votes
2 answers

Sparql delete all children of node

I have a question about the deletion of elements from a triplestore (fuseki) using SPARQL. I have stored the following elements in a graph: a keak-ev:ChargingRequest ; cnr:priority 2 ; keak-ev:chargingNeed [ …
user2431419
  • 53
  • 1
  • 1
  • 5
0
votes
1 answer

SPARQL query turtle file with blank nodes in the graph

I'm trying to understand blank nodes in turtle correctly, and I need to know if I have understood them correctly. Suppose we had a turtle file: @prefix sn: <....some uri...> . _:a sn:name "person1"; sn:email "email1@test.com" . _:b sn:name…
Daniel
  • 117
  • 4
0
votes
2 answers

How do you put binary data values into turtle?

I want to use encrypted data as a value for a property. I did something like this using Turtle : :s :p """<85>^A^L^C<88>-[Ä÷¯¨ç^A^Gý^]^\ä²tðáê½?­^Q<9f>6 <8b>ÏÂ43àñoú]:ëÜ^YÕþá>:³Æ÷ýé<8c>%¨6±<8b>^]oI^^^S"<96>^CiÓ­<95>Ë´Ú^X^D"""^^^xsd:base64Binary…
Interition
  • 381
  • 2
  • 15
0
votes
2 answers

Show Turtle-File on html page with line brakes

i am trying to show a turtle file on a very simple homepage i made.