foaf_user/commit
Assert the FOAF profile as an instance of foaf:Person
author | Jan Wielemaker |
---|---|
Fri Nov 19 12:15:03 2010 +0100 | |
committer | Jan Wielemaker |
Fri Nov 19 12:15:03 2010 +0100 | |
commit | 11b6f9d814c08b6cf8a31729aab76431f881295a |
tree | bb881572d243054417b6903b72aa56d87bb0ea72 |
parent | 0103ab4210de6bfee94f146553b775330cef7dd3 |
Diff style: patch stat
diff --git a/applications/foaf_user_profile.pl b/applications/foaf_user_profile.pl index d6131d7..10f567e 100644 --- a/applications/foaf_user_profile.pl +++ b/applications/foaf_user_profile.pl @@ -77,7 +77,7 @@ foaf_set_defaults(User) :- user_property(User, url(UserURI)), ( rdfs_individual_of(UserURI, foaf:'Person') -> true - ; rdf_assert(UserURI, rdf:type, foaf:'Person') + ; rdf_assert(UserURI, rdf:type, foaf:'Person', UserURI) ), ( rdf(UserURI, foaf:name, _) -> true