FoaF Tools > Topic Finder

Topic Finder

A web service for guesstimating the primary FoaF "thing" described in an RDF/XML file.

FoaF is most commonly used as a way of self-description, akin to a machine readable homepage. But FoaF is also about describing relationships between people, so most FoaF files include (minimal) descriptions of other people as well. As such, it can be hard -- sometimes even impossible -- to determine who is the primary "topic" of a FoaF file.

This service attempts to determine which "thing" (person, organization, etc.) is the primary topic, returning a minimal RDF/XML document describing only that "thing". Currently, the following ways of locating the primary topic are tried in order, based on a transformation of the FoaF Schema and the definitions of properties that are declared as having an rdf:type of owl:InverseFunctionalProperty:

  1. A statement about the foaf:topic of the page, referencing another node using rdf:nodeID or rdf:resource.
  2. A statement about the foaf:topic of the page, containing the node in question.
  3. Only one "thing" is described.
  4. Only one "thing" is described using owl:InverseFunctionalProperties.
  5. Only one "thing" is described using more than half of the used owl:InverseFunctionalProperties.
  6. Only one "thing" described with more properties than the total number of "things" described.
  7. Only one "thing" described with more than average number of properties.
  8. The first "thing" described with more properties than the total number of "things" described.
  9. The first "thing" described with more than average number of properties.
  10. The first "thing" described.

If no "things" are found, a document without statements is returned, otherwise the statements involving properties that are declared as having an rdf:type of owl:InverseFunctionalProperty or declared as an rdfs:subPropertyOf rdfs:label are returned.

Update: This service now supports autodiscovery - supply the URI of a homepage with an embedded link, and the FoaF file will be examined.

Guess topic of FoaF RDF/XML file
[RDF Metadata]
creator:
[FoaF]
name:
Morten Frederiksen
mbox_sha1sum:
65b983bb397fb71849da910996741752ace8369b
homepage:
http://www.wasab.dk/morten/
publisher:
[FoaF]
name:
MFD Consult
homepage:
http://www.mfd-consult.dk/
created:
2003-06-25
modified:
2003-07-02
license:
http://www.gnu.org/licenses/gpl