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
1
vote
1 answer
rdf triple dataset
I need a dataset for a project which has a decent number(around a million) of RDF triples. I found a number of datasets on the net but all of them had the data in the triples in the form of URI's. I need a dataset where the data is completely in the…

wizgen
- 19
- 1
- 4
1
vote
1 answer
convert triples into rdf uriref format
I have a python function that defines triples in subject, object and predicates and iterate through them but I need to convert the triples to a RDF URIRef data forma so that I can store it in my RDF store. How can I go about this?
I am using RDFLib…

user1466339
- 11
- 3
0
votes
0 answers
PHP Open Information extraction (relation extraction) to retrieve subject verb object triples by loading JAR file and passing arguments
I have searched for PHP based information extraction approach but I could not find. Several inquiries by others remain unanswered. For example: https://www.codeproject.com/Questions/996885/how-to-extract-triples-text-in-php
I am writing a PHP script…

Thomas
- 23
- 1
- 1
- 8
0
votes
0 answers
Getting an error when I try the Python wrapper for Stanford OpenIE
I am trying to run the wrapper given here. However, when I run the code given in the example I get:
OSError: [WinError 740] The requested operation requires elevation
I am using Windows 10 and Jupyter Notebook in Pycharm. Any idea why I may be…

abra-web
- 1
- 1
0
votes
0 answers
Triples that exist in the database not returned with SPARQL
I have triples ingested in a collection named (collec_1), and then I inserted triples using rdf-insert where those triples added to the same collection (collec_1).
When I use the estimate function to count how many doc in the collection I see that…

Sally Manasrah
- 1
- 2
0
votes
1 answer
SPARQL how to get all triples with Individuals?
I'm just getting started with SPARQL. I am not sure where the error is. I came across the error as I was testing out the reasoner.
i use Stardog as database and the reasoner is definitely on.
i have a simple model with two classes: Building and Room…

mikst
- 1
0
votes
0 answers
How jena SPARQL results in RDF XML format rather than triple
I wrote SPARQL in String queryString
"SELECT DISTINCT ?dog ?p ?o " +
"WHERE {" +
"?dog . " +
"?dog ?p ?o. " +
"}";
...
while…

user20297975
- 129
- 8
0
votes
0 answers
Is it possible to assign graphs/collection to TDE generated triples?
I know that TDE generates unmanaged triples, and unmanaged triples are not part of graphs by default. So is there any way to put these TDE generated triples in specific graphs or collections?

anuj_gupta
- 131
- 4
0
votes
1 answer
Transform and ingest graph RDF XML failure
Following previous post:
Graph data model to transform XML to RDF

Chris
- 123
- 9
0
votes
1 answer
Graph data model to transform XML to RDF
I am engineering a semantic graph system.
Raw /projects.xml
123859
Economic Development Fund
ABC, Inc
ABC,…

Chris
- 123
- 9
0
votes
0 answers
How can I extract triples from the Freebase dump?
I would like to collect a large knowledge base of triples as: subject, object, predicate, so I downloaded the Freebase dump from the developers page, which contains triples in RDF format, and I want to decode it to a readable format. How can I…

Faisal Mirza
- 1
- 1
0
votes
1 answer
Adding triples in a certain order using RDFLib Python
I am looking to add triples in a certain order using Python's RDFLib Library. I'm aware RDF triples have no ordering, however, I was hoping to add the triples in the order in which the add() function is called. For example,
If I add the following…

Alex
- 47
- 1
- 9
0
votes
1 answer
JSONLD context for duplicate keys at nested level
I have the following json merged with context below,
Currently I am facing 2 problems
1 the duplicate keys or properties that are present in the JSON at different levels how to deal with those so I can have the correct triples connected to each…

user3663894
- 115
- 1
- 1
- 9
0
votes
0 answers
How to get triples from an Image
I have an image of a Block Diagram and I want to extract all the triples from that image like HEAD RELATION OBJECT based on that block diagram image. How I will get that?
Like from the given block diagram I want to extract triples like JOHN LIKES…

Nerd
- 1
0
votes
1 answer
SSS version with lxml builder
I am using lxml builder Element, and I was wondering how I can change the sss version?
My code is the following for creating the .xml:
import lxml.etree
import lxml.builder
new_xml = lxml.builder.ElementMaker()
sss = new_xml.sss
date =…

owce
- 67
- 5