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

123 questions
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
  • 9,417
  • 3
  • 51
  • 73
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
  • 55
  • 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
  • 13
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…
0
votes
1 answer

sparql query about object to find another object

Given This RDF: ]>
0
votes
1 answer

dotnetrdf Graph Sparql query

with rdf triples like this:
0
votes
1 answer

using sparql with RDF Triples Files

Given This RDF: ]>
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,056
  • 1
  • 24
  • 48
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
  • 779
  • 2
  • 8
  • 21
0
votes
2 answers

Representing a couple of RDF-triples using tensor. How to programming this modeling process using Python?

A question about representing a couple of RDF-triples using tensor. Scenario: A RDF-triple is used to express simple statements about resources, formatting (subject, predicate, object). Suppose I have two predicates, one is play_for, the other is…
fishiwhj
  • 779
  • 2
  • 8
  • 21
-1
votes
2 answers

Translate ">" in XML RDF Triple

I have JSON String value > which is a special character in XML. After the data ingestion, the XML String becomes \u003e. How can I preserve > in the XML String?
Fiona Chen
  • 875
  • 3
  • 15
1 2 3
8
9