Questions tagged [triples]

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.

More Information

List of subject-predicate-object databases

141 questions
0
votes
1 answer

Programatically add custom rule in Stardog

I'm able to add custom rules to a named graph in Stardog with the following CLI command: stardog data add db_name -g "http://graph_name"/path/to/rules/test.ttl Is there a possibility to do this via the Java API, for instance with the…
tstorms
  • 4,941
  • 1
  • 25
  • 47
0
votes
1 answer

Does Freebase support indirect or predicate objects?

How are indirect objects represented in Freebase? I know google can give the answer to the question: Who did obama give the medal of freedom to? Washington (CNN) – President Barack Obama awarded the Presidential Medal of Freedom – the nation's…
John
  • 633
  • 6
  • 10
0
votes
2 answers

Combining identical subjects in DBpedia SPARQL query

I am using the following SPARQL query from PHP where $title is the same for all five query triples: SELECT * WHERE { { rdfs:label ?pageTitle . } UNION { owl:sameAs…
Nicholas Shanks
  • 10,623
  • 4
  • 56
  • 80
0
votes
1 answer

Duplicate Triples RDF

I have a question for you. I want to remove the duplicate triples in my file RDF. For example, I have these two RDF groups of triples: Triple 1= rdf:Description rdf:about="http://Group/row1" vocab:regione Campania /vocab:regione vocab:nome…
user3582433
  • 85
  • 2
  • 8
0
votes
1 answer

Lexical error while using MINUS keyword in a sparql query

I ran the following queries in SPARQL in Jena framework against an ontology ( The wasBornIn predicate is present in the ontology ) select ?p where { ?s ?p ?o FILTER NOT EXISTS { ?s :wasBornIn ?o } } and select ?p where { { ?s ?p ?o }…
galahad
  • 209
  • 1
  • 4
  • 14
0
votes
1 answer

How to find OWL Lite,DL,Full infer rules?

I want to find infer rules and rules information. But, W3C offered examples: http://www.w3.org/TR/2004/REC-owl-guide-20040210/#owl_sameAs (infer rule Exam) owl:sameAs(?a, ?b) ^ owl:sameAs(?b, ?c) ^ notEqual(?a, ?b) ^ notEqual(?b, ?c) ->…
isaac Lee
  • 111
  • 5
0
votes
2 answers

sparql query to get a triplet related to other triples

Supposing we have many RDF triples related as: 1: 2: 3: 4: I would like to get triple N° 2, 3 and 4 by just knowing triple number 1 because triple N° 2 and 3 share "O" with triple N°1 and…
BigNoob
  • 17
  • 3
0
votes
2 answers

How to convert the data in Android DBs to rdf data?

I'm trying to extract rdf data from android DB. It means that I want to get rdf data from contacts DB, callendar DB, and so on directly. I know that the current android platform have used SQLite DB. Is it available to extract rdf data? Surely, I…
0
votes
1 answer

i need away to write rdf triples with Time attributes and make sparql query to get the time

i have triples: Fadi eat Apple. (subject = Fadi, predicate = eat, object = Apple). and i have the Time when fadi eat the Apple, its: 00:00:13 and i have the time when fadi ate the apple, its: 00:00:50 how can i write a rdf-triples file for this with…
Hasan Sarraj
  • 92
  • 1
  • 8
0
votes
1 answer

sparql query about object to find another object

Given This RDF: ]>
Hasan Sarraj
  • 92
  • 1
  • 8
0
votes
1 answer

dotnetrdf Graph Sparql query

with rdf triples like this:
Hasan Sarraj
  • 92
  • 1
  • 8
0
votes
1 answer

using sparql with RDF Triples Files

Given This RDF: ]>
Hasan Sarraj
  • 92
  • 1
  • 8
0
votes
3 answers

SemWeb - Convert C# object into RDF triples

All i want is to convert a C# class instance into rdf triples using semweb, in order to fill my ontology with data. My class consists of both primitive properties and other classes and i have constructed an ontology with the same…
sstauross
  • 2,602
  • 2
  • 30
  • 50
0
votes
1 answer

Semantic web: populate a triplestore accessible from my Android application

Here the story: I was developing a mobile application for my MSc project. Thi application was relying on an open dataset on the website www.kasabi.com, a marketplace for open data. It was everything perfect until they ended up saying "we're gonna…
0
votes
0 answers

Function generation process in procedure-oriented programming

I have asked a question about converting a pile of RDF-triples to multiway array representation. My solution looks unwieldy and ...ugly. I try to use function in my solution but I find it is unnecessary since the advantages of using function are not…
fishiwhj
  • 819
  • 2
  • 11
  • 22
1 2 3
9
10