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:
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.
![[RDF Metadata]](/images/rdf-metadata.png)