Questions tagged [foaf]

FOAF (an acronym of Friend of a friend) is a machine-readable ontology describing persons, their activities and their relations to other people and objects. Please do not use this tag for questions related to general friend-of-a-friend problem, use e. g. the 'social-network-friendship' tag instead.

FOAF (an acronym of Friend of a friend) is a machine-readable ontology describing persons, their activities and their relations to other people and objects.

FOAF is a descriptive vocabulary expressed using the Resource Description Framework (RDF) and the Web Ontology Language (OWL).

57 questions
2
votes
4 answers

Product Definitions Ontology

Does some know of an OWL ontology describing different products? I've tried to find it on http://linkeddata.org but to no avail (or maybe I am missing something)? Ideally, the ontology would be linked to FOAF
Vukasin Toroman
  • 636
  • 7
  • 21
2
votes
1 answer

Using Raptor RDF Parser Toolkit to generate a FOAF rdfxml file

I want to write a C/C++ program using the Raptor RDF Parser Toolkit to generate the following output (checked with RDF Validator):
Vertexwahn
  • 7,709
  • 6
  • 64
  • 90
2
votes
3 answers

Read RDF(FOAF) from JSP

i have an RDF File with FOAF vocabulary, and i want to display the file with a jsp. What do i need for this?? OK i just got the message from the tutor that i must use JSP and Jena...i can create the file and read with servjet&jena, but now is the…
user576914
  • 199
  • 1
  • 8
  • 22
2
votes
1 answer

Match FOAF, but constrain path by date; specifically in a sequential manner, in Neo4j

I am doing a 'friend of a friend'-type MATCH in Neo4j. The only thing about it that is throwing me off is an attempt to constrain all the relationships by date. The basic graph is like so: The 'real' version of the graph has 10 1st degree…
Monica Heddneck
  • 2,973
  • 10
  • 55
  • 89
2
votes
1 answer

How to encode long and multilingual personal names in RDF?

For example, full Jobs name is Steven Paul "Steve" Jobs while Queen singer was Freddie Mercury with born name of Farrokh Bulsara. Elton John is Sir Elton Hercules John and born Reginald Kenneth Dwight. How to store all this with RDF? What about same…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
2
votes
1 answer

Read RDF:foaf file with Apache Jena

I have a problem with reading RDF file, which is using foaf tags. I would like to read it with Apache Jena. Below is the snippet of the RDF file.
Salko
  • 43
  • 5
1
vote
1 answer

XSD Import to use foaf in the XSL-Schema

extending an rdf-vocabulary like FOAF is possible using XML-Schema but how can I use classes from such a vocabulary inside the definition? Basically I want to add new elements to the foaf:person and I want to make sure, that having those elements…
Lukas Ruge
  • 2,204
  • 3
  • 30
  • 42
1
vote
0 answers

RDF modelling of list of name elements

I am investigating transitioning an application to use RDF. One roadblock is how this application models names of persons. It supports straight-forward full names as a single string, but also supports decomposed names, e.g. person X has given name…
Frens Jan
  • 319
  • 2
  • 13
1
vote
3 answers

rdflib not parsing RDF/XML file

I am trying to load and parse a very simple rdf file in xml format using rdflib. I don't think, it is parsing correctly. Here is my rdf/xml file,
Laeeq Khan
  • 167
  • 10
1
vote
2 answers

Depiction vs. Depicts

I'm working with FOAF and RDFa, and struggling to figure out whether I should be using foaf:depiction or foaf:depicts and the correct way to use them. Here's what I've already established:

Employee Name:…

Scott
  • 6,411
  • 6
  • 39
  • 43
1
vote
1 answer

Represent relation between services in SOAF

I have some problem about SOAF; service of a friend (extension of FOAF). I want to create a SOAF file like this: December 1 s t 2008 December 21 s t…
hafsi.amal
  • 15
  • 5
1
vote
1 answer

Reading RDF does not work

I am trying to road a foaf file: import org.apache.jena.rdf.model.Model; import org.apache.jena.rdf.model.ModelFactory; public class Testbed { public static void main(String[] args) { Model model = ModelFactory.createDefaultModel(); …
Vertexwahn
  • 7,709
  • 6
  • 64
  • 90
1
vote
1 answer

OrientDB SQL recursivness

I have a working query, that returns all the co actors of Tom Hanks (basically a friend of a friend problem). SELECT COUNT(name) as name FROM ( SELECT expand(out('ACTS_IN').in('ACTS_IN')) FROM Actor WHERE name = 'Tom Hanks' ) WHERE name <>…
Blaž
  • 67
  • 4
1
vote
2 answers

Represent person/representative or writer/agent relationship with RDFa, schema.org and FOAF

I'm a little confused how to model a writer-agent relationship using RDFa (Lite), schema.org and FOAF. I'm not even sure if I need FOAF. Let's say I publish a book, me being the writer and represented by an agent. So we have two Persons, one is me…
Benny Bottema
  • 11,111
  • 10
  • 71
  • 96
1
vote
1 answer

Simple SPARQL query of foaf RDF not working

I'm new at semantic web, where I learn basics, but I'm stuck at the beginning. After reading this link: http://www.cambridgesemantics.com/semantic-university/sparql-by-example, I try some examples by myself, but without success. For example, using…
milic
  • 89
  • 2
  • 9