Hi, could you help me on a problem i still stuck on ?
I've got an FOAF ontology merged with another one : photography.
People are linked with a "figureOnImage" object property and I
want to infere that they know (FOAF:Knows : object Property) each other.
1 - question :
With the rules files :
@prefix foaf: <http://xmlns.com/foaf/0.1/knows#>. (or @prefix
foaf: <http://xmlns.com/foaf/0.1#>.) same
@prefix exif: <http://www.w3.org/2003/12/exif/ns#>.
@prefix photo:
<http://www.photographyontology.org.uk/ontologies/photography/photography.owl#>.
[rule1: (?f photo:figureOnImage ?a) (?g photo:figureOnImage ?a) -> (?f
foaf:knows ?g) (?g foaf:knows ?f)]
[cid:[email protected]]
Result seems to be correct except that each people knows himself (not wrong ;o)
) but I would understand it with a rule like :
[rule1: (?f photo:figureOnImage ?a) (?g photo:figureOnImage ?a) -> (?f
foaf:knows ?f) ]
What's wrong with my rules ?
2 - question : I try to link
two persons with an "FOAF:knows" object property and not with an annotation.
How can I infer and use object properties ?
Thanks
Regards
Wilfrid Tourigny
Screenshots for question 1 :
[cid:[email protected]]
[cid:[email protected]]
Result expected in Question 2 :[cid:[email protected]]
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.