turtle-rdf Questions
4
I have a file in .ttl form. It has 4 attributes/columns containing quadruples of the following form:
(id, student_name, student_address, student_phoneno).
(id, faculty_name, faculty_address, fac...
Tollgate asked 2/3, 2013 at 7:3
1
Solved
In the following minimal test case:
from rdflib import Graph, Namespace, Literal, RDF
base = "http://test.com/ns"
foobar = Namespace("http://test.com/ns#")
g = Graph(base=base)...
Elamitic asked 20/1, 2021 at 22:7
2
Solved
I have a file which has a structure, but I don't know what format it is, nor how to parse it. The file extension is ttl, but I have never encountered this before.
Some lines from the file looks li...
Yellowbird asked 21/4, 2018 at 14:0
2
Solved
I have just imported jena libraries to eclipse to work on rdf-s and it is my first try, but I cannot read a turtle (.ttl) file.
I tried it in the following way:
import java.io.*;
import java.util...
Willis asked 2/2, 2014 at 17:5
1
Solved
In RDF-Turtle, what is the difference between using a @base prefix and empty prefix (with just :)?
Petrinapetrine asked 8/12, 2015 at 1:59
1
Solved
I want to create a property defining a rdf:Seq as a rdfs:range of an object :
eg:myProperty a rdf:Property;
rdfs:range rdf:Seq;
.
I'm looking for a way to define the type of the elements store...
Appendectomy asked 29/5, 2015 at 12:42
2
Solved
Take this graph:
:thing1 a :Foo ;
:has :A ;
:has :B .
:thing2 a :Foo ;
:has :B ;
:has :A .
:thing3 a :Foo ;
:has :A ;
:has :B ;
:has :C .
I want to select :thing1 and :thing2, but NOT :...
Lombard asked 15/3, 2015 at 19:32
1
Solved
I'm looking for a turtle syntax for calling the anonymous node who call an other anonymous node.
For example, I want to reproduce this code :
:Instance0 a Class0;
:property0 :Instance1.
:Instan...
Kaveri asked 23/2, 2015 at 14:58
2
I am pretty new to SPARQL and RDF and I was wondering what exactly does the below mean in SPARQL?
[] vc:n ?vcard .
The complete query is
PREFIX vc: <http://www.w3.org/2006/vcard/ns#>
SEL...
Lumbricalis asked 13/8, 2014 at 4:25
2
I am doing some experiments with importing triples formulated in the turtle language
within the openrdf-workbench webapp in Tomcat, which has incorporated a SPARQL endpoint.
I wonder if with turtl...
Flanch asked 6/3, 2014 at 15:33
2
Solved
I am working on a project for my studies right now and I need some help.
Basically, I need to convert the following RDF to representations of a Java class. I read the RDF to a model and from ther...
Pagurian asked 8/12, 2013 at 11:53
2
Solved
Consider the following instance of SomeClass:
instances:some_thing1
a semapi:SomeClass ;
semapi:hasChainTo (
[ ... ] [ ... ] [ ... ]
) .
I need every instance (some_thing2, some_thing3, etc...
Murrain asked 27/6, 2013 at 7:38
2
Solved
Here is how I know to create a class in N3:
:Person a rdfs:Class.
And here is how to specify that a specific ressource is an instance of that class:
:Pat a :Person.
Problem: I want to create ...
Endosteum asked 29/8, 2012 at 0:44
1
I'm trying to filter this database written in Turtle
@prefix : <http://www.essepuntato.it/resource/> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix cs: <http://cs.un...
Lanilaniard asked 18/1, 2012 at 12:57
1
Solved
I'm trying to encode some botanical data in Turtle format, and read this data from Python using RDFLib. However, I'm having trouble, and I'm not sure if it's because my Turtle is malformed or I'm m...
Doradorado asked 24/8, 2010 at 14:33
1
© 2022 - 2024 — McMap. All rights reserved.