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
1
vote
1 answer

How to query linked data with SPARQL

Is it possible to query linked data with SPARQL? For example, I have a RDF file (lets say this one) and a SPARQL query like this one: PREFIX rdf: PREFIX dc: PREFIX cc:…
Slevin
  • 4,268
  • 12
  • 40
  • 90
1
vote
1 answer

Meaning of rdf:type in Turtle snippet from Hebeler et al.'s Semantic Web Programming?

I’m a beginner in Semantic Web, I know a bit about what RDF does. Can someone kindly explain to me the following statements obtained from the book semantic web programming, Specially the syntax with semicolon (for example, rdf:type foaf:Person; and…
kzs
  • 1,111
  • 5
  • 20
  • 35
1
vote
2 answers

Adding extra fields to a FOAF file

I would like to store my personal data in a FOAF file on my own server. There is a group of us doing the same thing. We need a couple of custom fields that the standard FOAF implementation doesn't have, ie: availability. How can I add the…
skymook
  • 3,401
  • 35
  • 39
0
votes
1 answer

Extracting FOAF information from Jena

I'm new here,and i have some problem about FOAF. I use jena create a FOAF like this : 12312312312 L
PaulZhang
  • 23
  • 4
0
votes
0 answers

Depiction and thumbnail relationships in DBpedia

I have an earlier 2022 extraction of DBPedia and I am having a hard time finding even a fraction of the images/depictions/thumbnails present on the dbpedia.org resource pages. For example: https://dbpedia.org/page/John_F._Kennedy# has a thumbnail…
0
votes
1 answer

Rowlex - Getting only "root" individuals of a document

here is my rdf document which is generated by the rowlex library :
yazer
  • 5
  • 1
0
votes
2 answers

Foaf purpose in front of :firstName

the rdf triple “Picasso’s first name is Pablo” as http://example.org/Picasso foaf:firstName "Pablo" Why is needed foaf, in front of :firstName?.It seems clear enough that :firstName refer to Pablo. Can ":firstName" be understood to refer to…
Bogdan
  • 19
  • 2
0
votes
1 answer

How to specify a class property using foaf

I'd like to create an ontology which describe interactions between users in a social network and which I want to import in GraphDB. I have decided to use the vocabulary foaf in order to exploit the resources already defined inside it. I'm creating…
M.Morris
  • 147
  • 1
  • 12
0
votes
1 answer

XSL document() function does not get any Data

I am working on an XSL Stylsheet to view FOAF Files and wan't to show the names and (if available) pictures of the people a person knows. Since they may change their picture or name I would like to get this information from their Profile instead of…
Lukas Ruge
  • 2,204
  • 3
  • 30
  • 42
0
votes
0 answers

Add external property to OntModel

I want to create an ontology using Jena. In my OntModel, I defined a class Person which is equivalent to foaf:Person because my class Person could have foaf:Person's properties and also a property that I define myself (hasHairColor). String NS =…
Janny
  • 33
  • 6
0
votes
1 answer

How to add a remote namespace to OntClass with Jena

I'm new to Jena and the Semantic web. I'm now making a model having an OntClass "Person" using Jena. This is what I've tried: OntModel model = ModelFactory.createOntologyModel(); String NS = http://purl.org/ontology# model.setNsPrefix("Ont",…
Janny
  • 33
  • 6
0
votes
1 answer

how to join equivalent classes from 2 different ontologies in Protegé?

I'm new in Protegé. I've created a new Ontology and I would like to merge the Person class with Person class in foaf. How can I do that? I have tried with Equivalent to but I don't see both ontologies linked in http://www.visualdataweb.de/webvowl…
Rodolfo
  • 9
  • 1
  • 7
0
votes
1 answer

How to refer wikipedia categories in an ontology?

Is it perfectly alright to refer a category resource in an ontology by using wikipedia URI? Like http://en.wikipedia.org/wiki/Category:Cuisine for Cuisines? I want to define user interests using FOAF such as:…
wasimbhalli
  • 5,122
  • 8
  • 45
  • 63
0
votes
0 answers

Inserting self defined object properties

For a school project, we have to use RDF and OWL to create a vacancy/applicant service. We are writing this service with Spring and Apache Jena. This service will contain persons that have certain skills and vacancies of companies that require some…
0
votes
1 answer

How to use FOAF as part of another ontology?

I want to have a class Professor which will have some properties: name, surname and nationality. Now I just created a class Professor, a class Person and a class Nationality, and some data properties for name and surname and an object property…
moondaisy
  • 4,303
  • 6
  • 41
  • 70