Questions tagged [semantic-web]

Representation of database record subjects (a/k/a keys, IDs, entities), predicates (a/k/a columns, attributes), and objects (a/k/a values) as triples, where the first two are always URIs, and the third is either a URI or a literal; enabling humans and machines to more easily share, merge, and evaluate data from heterogeneous origins.

The Semantic Web (Web 3.0) provides a common framework that allows data to be shared and reused across application, enterprise, and community boundaries. It is a collaborative effort led by the W3C with participation from a large number of researchers and industrial partners. It is based on the Resource Description Framework (RDF).

1956 questions
8
votes
1 answer

Adding multiple domains to objectProperty in Protege 5

I have created an ontology using Protege 5-beta-17. In my ontology I have some classes: Mountain, Lake, Location etc... I also have an object property: hasLocation. For this object property I have set the range the "Location" class, and the…
whitefang1993
  • 1,666
  • 3
  • 16
  • 27
8
votes
2 answers

Describe a film (entity and attribute) using the first order logic

Good morning, I want to understand how can I describe something using the first order logic. For example I want to describe what is a film (an entity) and what is an attribute (for example actor: Clooney) for the film. How can I describe that using…
Usi Usi
  • 2,967
  • 5
  • 38
  • 69
8
votes
2 answers

How to find similar content using SPARQL

I'm playing with the idea of using SPARQL to identify conceptual overlap between things. Take movies for example (LinkedMDB data), if I have a movie, "The Matrix" and my goal is to list movies that are similar to that movie, I would probably start…
Kristian
  • 21,204
  • 19
  • 101
  • 176
8
votes
1 answer

Difference between RDF Containers and Collections?

I have read from a book The difference between containers and collections lies in the fact that containers are always open (i.e., new members may be added through additional RDF statements) and collections may be closed. I don't understand this…
Haya Hallian
  • 153
  • 2
  • 11
8
votes
2 answers

How to get all of the subjects of a Jena Query?

Suppose I have some jena query object : String query = "SELECT * WHERE{ ?s ?o ...etc. }"; Query q = QueryFactory.create(query, Syntax.syntaxARQ); What would be the best way to get all of the subjects of the triples in the query?…
Nick Bartlett
  • 4,865
  • 2
  • 24
  • 37
8
votes
3 answers

What is the correct semantics for language switching navigation?

I am coding a multilingual site and I have following navigation: Can I…
mica
  • 500
  • 3
  • 13
8
votes
1 answer

How do I mix ontologies that describe the same object (using rdfa?)

Imagine I start using an ontology because it provides some useful vocabulary to describe an object I'm interested in, e.g. FOAF to describe a Person (me). I immediately run into two problems. I come across another ontology that also has vocabulary…
cboettig
  • 12,377
  • 13
  • 70
  • 113
8
votes
2 answers

Sparql Query Results without Namespace

I want to get results from sparql query and the results contain no namespace. ex: there is result in triple format like: "http://www.xyz.com#Raxit" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://www.xyz.com#Name" So i want to get only…
Raxit
  • 242
  • 3
  • 11
7
votes
4 answers

Is it possible to find out whether two instances are of the same RDF class, programmatically?

Is it possible to find out whether two instances are of the same class, programmatically (Using api such as JENA)
PCoder
  • 2,165
  • 3
  • 23
  • 32
7
votes
2 answers

Is it possible to use RDF storage also as a document-oriented database?

Suppose I have a large ammount of heterogeneous JSON documents (i.e. named key-value mappings) and a hierarchy of classes (i.e. named sets) that these documents are attached to. I need to set up a data structure that will allow: CRUD operations on…
martinthenext
  • 1,308
  • 1
  • 15
  • 28
7
votes
2 answers

Natural Language to Sparql

I'm building a small prototype of a Movies semantic search engine based on the data of LinkedIMDB I've defined some Query Types as an example of use cases search by entity name search by entity type search common features between two entities…
Hady Elsahar
  • 2,121
  • 4
  • 29
  • 47
7
votes
1 answer

RESTful Web Service usage of custom link relations - 'rel'

I'm working on a RESTful service and have been focusing on Discoverability, Link relations - 'rel' and microformats. I'm not clear about the values of 'rel' in the context of REST - am I allowed to make use of any custom value, to provide richer…
Eugen
  • 8,523
  • 8
  • 52
  • 74
7
votes
3 answers

Measuring distances among classes in RDF/OWL graphs

Maybe someone could give me a hint. Is it possible to measure the distance between 2 concepts/classes that belong to the same ontology? For example, let's suppose I have an ontology with the Astronomy class and the Telescope class. There is a link…
7
votes
11 answers

Visualize Friend of a Friend (foaf) graph

I wrote a script to export twitter friends as foaf rdf description. Now I'm looking for a tool to visualize the friend networks. I tried http://foafscape.berlios.de/ but for 300+ Nodes it is really slow and does a bad job on auto formatting. Any…
Peter Hoffmann
  • 56,376
  • 15
  • 76
  • 59
7
votes
3 answers

SPARQL query with COUNT and ORDER returns odd result

The following query counts all triples in a store SELECT count(*) where { ?s ?p } And returns the expected…
John McCrae
  • 487
  • 2
  • 5
  • 12