[foaf-protocols] badges

Pierre-Antoine Champin swlists-040405 at champin.net
Sun Dec 19 23:14:19 CET 2010


On 12/16/2010 03:12 AM, Melvin Carvalho wrote:
> I've been seeing 'badges' used more and more on the social web.  For Example:
>
> http://www.andfriend.jp/top/badges
>
> I was wondering how easy this is to model in RDF?  Maybe in FOAF?

or with some inference/rule language, such as OWL, RIF or SPIN ?

e.g.

   [
     a owl:Restriction ;
     owl:onProperty :hasBadge ;
     owl:hasValue   :badgeX
   ]
   rdfs:subClassOf
   [
     a owl:Restriction ;
     owl:onProperty foaf:knows ;
     owl:minCardinality 5
   ]

or

   CONSTRUCT { ?p :hasBadge :hasBadge }
   WHERE {
     ?p foaf:knows ?p1, ?p2, ?p3, ?p4, ?p5 .
     FILTER (?p1 != ?p2 && ?p2 != ?p3 && ...)
   }


pa


More information about the foaf-protocols mailing list