A triple is an assertion of the form subject-predicate-object, for example [JohnSmith-brotherOf-JaneSmith], and [JaneSmith-hasAge-"34"]. Assertions (binary relations) of this type form the basis of the Semantic Web languages RDF and OWL. Triples can be interlinked if the object of one triple is the subject of another. Databases designed to manage such assertions are often called triplestores.
Questions tagged [triples]
141 questions
23
votes
2 answers
selecting using sparql based on 'triple does not exist'
I need a little help selecting the right triples from my store....
a .
a .
a .
a .
i want to select only elements which are type/1 and not type/2
What is the best way to achieve this using a…

significance
- 4,797
- 8
- 38
- 57
11
votes
2 answers
What does "reify" and "reification" mean in relation to RDF?
I do think I understand the meaning of these words in programming languages, but it is not clear in regards to RDF and triples. Is there an example that will help me to understand?
Thank you

Eli Schneider
- 4,903
- 3
- 28
- 50
7
votes
2 answers
Writing RDF/XML file from rdf Triples in rdflib
I have got rdf triples with me, now I am interested in generating RDF/XML file using rdflib in Python. Could you please give me some sample code to start.
Thanks

Muhammad Imran
- 1,051
- 1
- 9
- 6
7
votes
3 answers
RDF, Triples, and Semantic Web in everyday apps
Vague, uninformed questions:
1: Why do nearly 100% of app developers, app development communities and literature (books, tutorials, etc) take for-granted that you want to express data using either a relational database or a key-value store?
2: Why…

themirror
- 9,963
- 7
- 46
- 79
6
votes
1 answer
How can generalized RDF triples easier show "the completeness of the RDFS entailment rules", and what does that even mean?
The W3C Recommendation RDF 1.1 Concepts and Abstract Syntax defines what a generalized RDF triple is (i.e., a non-standard triple where each of subject/predicate/object can be a IRI/bnode/literal).
About its possible use, it gives this example:
It…

unor
- 92,415
- 26
- 211
- 360
6
votes
2 answers
Explanation for reification in RDF
I am have understand the basics of reification in RDF. Two clearly explanations are given here: explanation 1
and explanation 2. If you observe carefully, actually we can present in the sentence "Earth is round" RDF triple where as "Scientist…

Nusrat
- 699
- 1
- 5
- 16
5
votes
1 answer
MarkLogic triple objects language
I'm in a tricky situation and I can't seem to find any information in the MarkLogic documentation about it.
The problem I'm having is that I am using triples from different sources and they are using different ways of describing string objects…

John Smith
- 1,559
- 1
- 12
- 18
4
votes
2 answers
Triples in Java
Possible Duplicate:
Does Java need tuples?
Does Java support triples or at least pairs? Does Java support tuples? I am trying to find a way to make a list so that it has a triple with initial point as first, terminal point at last, and distance…

D347th
- 697
- 1
- 10
- 16
4
votes
1 answer
Deleting/Updating BiTemporal Triples in MarkLogic 8
With the introduction of new BiTemporal features in MarkLogic8, you can track changes in two time axes: valid and system times. These features are also supported for triples. So you can go back in time along those two axes and possibly see the…

user5552435
- 51
- 5
4
votes
2 answers
is this a valid xsd:dateTime? if so, why?
I'm looking through some of the triples contained within the Freebase data dump, and some of the date times look like this:
"T12:00"^^
Which is ingestible by some triplestores, but not by others.
So, is…

Kristian
- 21,204
- 19
- 101
- 176
3
votes
0 answers
How to extract triples from a sentence, and the triples should be existant in Wikidata
I have a sentence, and I want to use some tools to automatically extract a triple (triples) from the sentence. The triple(s) should be already existant in Wikidata. Is there any tool from Wikidata that can automatically do this, better in a Python…

Daniel Yao
- 31
- 1
3
votes
2 answers
Translating a complex Sentence into set of SPO triple (RDF) (maybe with reification)
Having just started out in RDF and ontology, mainly in converting unstructured text to RDF (maybe manually), I found many examples for converting simple sentences to RDF triples 1 2 3, but not much about complex sentences (using adjectives or…

solyarist
- 424
- 3
- 17
3
votes
1 answer
RDF triples to a table
I have a triple store with RDF triples and I want to export the data to a table where columns represent the predicates. For example, if I have the following triples
:s1 :p1 "v11"
:s1 :p2 "v12"
:s2 :p2 "v22"
:s2 :p3 "v23"
I want it to be as…

Mostafa abdo
- 616
- 1
- 8
- 21
3
votes
1 answer
MarkLogic 8 - What is the Preferred Way to Triplify Data
Say I have a table from a relational database.
What is the preferred method for mapping these into triples/RDF in MarkLogic 8?
So instead of:
1
Sam Smith
....
I end up…

Tutan Ramen
- 1,234
- 1
- 8
- 27
3
votes
1 answer
SPARQL query which triggers Stardog rules
I'm trying out a custom Stardog rule. The custom rule basically looks like the following:
@prefix rule: .
[] a rule:SPARQLRule ;
rule:content """
PREFIX :
IF {
?x a :Person; :has_yob ?yob.
…

tstorms
- 4,941
- 1
- 25
- 47