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
33
votes
1 answer

What is the difference between DatatypeProperty, ObjectProperty, & FunctionalProperty, and when should I use them?

When writing an ontology, there are several very commonly used types, including: DatatypeProperty ObjectProperty FunctionalProperty InverseFunctionalProperty The first three kinda look like they'd be used in a particular set of ways, but I find my…
Kristian
  • 21,204
  • 19
  • 101
  • 176
12
votes
5 answers

SPARQL Negation: All foaf:Agents which aren't foaf:Persons

I am trying to write a SPARQL query which should give me all foaf:Agents which aren't foaf:Persons. I can't see a way to apply this OPTIONAL/BOUND construct to this problem, because all the properties like rdfs:subClassOf and rdf:type are transitive…
Juri Glass
  • 88,173
  • 8
  • 33
  • 46
11
votes
1 answer

Retrieving a DBpedia resource by its string name with SPARQL and without knowing its type

As shown in this question which has a similar title, I would like to retrieve a dbpedia resource by knowing a part of its name. I'm a beginner when it comes to SPARQL and such, but the example in the question helped me a lot, as the author searched…
Ged ort
  • 113
  • 1
  • 5
9
votes
2 answers

Using the 'GRAPH' keyword in SPARQL to fetch remote graphs

I'm looking to use SPARQL for a relatively basic task: Given a FOAF graph, I'd like to parse the elements I find in there, get their tags (if they exist) and then, use those as new graphs from which to find information about those people. So for…
Geoffroy
  • 105
  • 1
  • 2
  • 6
8
votes
1 answer

Retrieving a DBpedia resource by its string name with SPARQL

I am trying to get the resource describing country Romania by the country name with this query: PREFIX foaf: PREFIX : SELECT DISTINCT ?x WHERE { ?x foaf:name 'Romania' } SPARQL…
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
1 answer

How to query individuals in DL Manchester OWL Syntax?

I know this sounds like a very stupid question, but I've been trying to figure this out and I can't find anything on this, though it seems obvious that this should be doable. I'm developing something that queries an OWL file through its API using…
Rida Khan
  • 71
  • 3
4
votes
2 answers

Why am I geting an error while trying to use relation on FOAF?

I am trying to validate a foaf code on W3C RDF and the from following block it is causing problem. Here I am trying to show relation between Randy and Adil, please currect me why I can't use "rel" tag here or why is it causing problem?
Himalay
  • 131
  • 2
  • 13
4
votes
3 answers

Association Rule Mining on a FOAF dataset of social networks

I am working on a project called "association rule discovery from social network data: Introducing Data Mining to the Semantic Web". Can anyone suggest a good source for an algorithm (and its code. I heard that it can be implemented using Perl and…
4
votes
2 answers

dbpedia fetch entitites in language other than english

I'm trying to extract entity dictionary contains person name etc. from dbpedia using sparql. PREFIX owl: PREFIX dbpprop: SELECT ?name WHERE { ?person a owl:Person . ?person…
Tilney
  • 318
  • 2
  • 17
4
votes
2 answers

Friend-of-a-friend (FOAF) support in Facebook

Does Facebook support FOAF (friend-of-a-friend) networks? I think it had a plugin foaf-generator earlier, but it's now deprecated. Does FB Graph search use FOAF under the hood?
Dileepa Jayakody
  • 535
  • 1
  • 6
  • 19
3
votes
2 answers

How do I see the semantic data for a URL?

Let's say I have an URL for a website. How do I see if there is semantic content (FOAF, RDF, etc) associated? And what the URLs for these are? I just installed Semantic Radar, a Firefox plugin that will notify of semantic content for a website. E.g.…
Mads Skjern
  • 5,648
  • 6
  • 36
  • 40
3
votes
1 answer

Are foaf:Person and schema.org/Person compatible with each other? or better stick with one of them?

schema.org is better for SEO From https://lov.linkeddata.es/dataset/lov/ it seems FOAF has more adoption? I have used the ontology: @prefix dcterms: . @prefix foaf: . @prefix gr:…
Mzq
  • 1,796
  • 4
  • 30
  • 65
3
votes
1 answer

Where do I get the actual codes of FOAF vocabularies?

The page http://xmlns.com/foaf/spec/ discusses the FOAF vocabularies. Details of the terms are discussed in the same page (e.g. http://xmlns.com/foaf/spec/#term_Person). But if I am looking for the actual rdfs code of a class or property, where do I…
Masroor
  • 886
  • 1
  • 8
  • 23
3
votes
3 answers

How to encode a RDF/XML of simple interest

I am a beginner in writing a RDF schema and was wondering how should I make a good use of URI concept and create a RDFs doc of simple interest. I am trying to create a RDF of following statement- Jeffy is a Graduate student Jeffy likes yoga Jeffy is…
AKIWEB
  • 19,008
  • 67
  • 180
  • 294
1
2 3 4