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
3
votes
1 answer
What is the difference owl:oneof and onto:oneof support in owlim?
this is the builtin_owl2-rl.pie line 361
// Part 1 of cls_oo
Id: cls_oo_1
c x
------------------
c x [Context ]
// Part 2 of cls_oo
Id: cls_oo_2
c …

isaac Lee
- 111
- 5
2
votes
1 answer
SPARQL DELETE query Error: EOF while parsing
I'm trying to delete some triples using this query:
deleteQuery = """DELETE { ?a ?b ?c } WHERE { mynamespace:List mynamespace:Item ?c.
?a ?b ?c }"""
My namespace is already defined, so that's not an issue.
I'm not sure if I am using the correct…

John Thompson
- 1,674
- 1
- 20
- 35
2
votes
2 answers
Relational Database to Triple Store
I am trying to write a java program to transform the information from a MySQL table into triples, so I can later import them into a triple store. Is it possible to do so without creating an auxilliary RDF/XML file? How?

Dragos
- 2,911
- 12
- 39
- 55
2
votes
1 answer
SVC-CODEPOINT error loading triples to MarkLogic
When trying to load an ntriples file with about 7M triples in it, I get the following error from the REST-API:
{"errorResponse":{"statusCode":500, "status":"Internal Server Error",
"messageCode":"INTERNAL ERROR",
"message":"SVC-CODEPOINT:…

kefo
- 43
- 4
2
votes
1 answer
Extracting Postprocessed Triples from AllenNLP Open IE model
I would like to extract clean triples in tuple form of (subject,relation,object) from the Allen NLP Open IE predictor model.
Currently, I see that the steps are as follows
OIE_output = predictor_OIE.predict(sentence=sent)
for verb in…

Michael Potter
- 21
- 2
2
votes
9 answers
JavaScript for-loop question
Is it possible for a for-loop to repeat a number 3 times? For instance,
for (i=0;i<=5;i++)
creates this: 1,2,3,4,5.
I want to create a loop that does this: 1,1,1,2,2,2,3,3,3,4,4,4,5,5,5
Is that possible?

user713052
- 25
- 2
- 7
2
votes
2 answers
In TDE Marklogic how to escape null value triples?

AKG
- 31
- 2
2
votes
1 answer
Is there any limit on number of triples can be inserted in a single SPARQL query?
Using markLogic version 8.0-6.3
I am inserting and deleting triples in MarkLogic using
WITH <>
DELETE {}
INSERT {}
WHERE {}
clause.
In the insert clause there are almost 3000 triple patterns, on the running the query I am getting below…

amal srivastava
- 36
- 6
2
votes
1 answer
C-SPARQL query - match exact string literal
I am working with C-SPARQL and I want to query triples received from a stream. However I encountered an issue when using a query in which I want to match an exact string literal. I usually get a result with my queries (data is coming from the…

Agnes Fröschl
- 51
- 7
2
votes
1 answer
Sparql- Number Of Entities and Instances?
I'm doing small task on Sparql Query. I want to get the number of entities and number of instances. I have basic knowledge of Sparql and rdf. So I wrote sparql query to get the number of entities but i'm not 100% sure it's right. The endpoint i'm…

Aziz Mumtaz
- 95
- 1
- 6
2
votes
2 answers
SPARQL query for some kind of START WITH and CONNECT BY (Oracle)
I'm busy with a proof of concept working with a triple store. I have the following structure:
There are 2 relation types defined (triples). Top-down relation where the child is part of ("isPartOf" its parent and left-right where there are childs…

Jasper Huzen
- 1,513
- 12
- 26
2
votes
1 answer
Column name with spaces in tarql
I am using tarql (https://github.com/tarql/tarql) - uses sparql syntax - to transform CSV data into RDF triples.
I have a column name "web site". How can i bind to the variable using BIND function? I tried a lot of ways, but i didn't find the…

H.W.
- 343
- 1
- 5
- 21
2
votes
0 answers
How to extract freebase' data for triples(entity,relation,entity)?
I want to extract freebase'data for triples(entity,relation,entity),but the api of freebase is closed.

Aaron
- 21
- 3
2
votes
1 answer
Making OWL data and object properties sub-properties of the same property
Suppose I have the classes:
> Element
> ElementProperty
With the subclasses of elementProperty being:
> AtomicNumber
> AtomicMass
Also consider the following object properties and their domains and ranges:
> hasElementProperty
Domain:Element
…

sam_peels
- 71
- 1
- 4
2
votes
1 answer
Inferencing in embedded triples of Marklogic
I have the following 2 documents.
1 document has this data:
http://sector#Basic_Materials
…

Ankita Bhowmik
- 463
- 1
- 5
- 20