Bonjour,
j'ai créé une ontologie qui décrit les cours d'une université.
la structure est comme ça
1 2 3 4
| Cours
------------mathématique(hastime,"")
------------français(hastime,"")
cours |
mathématiques et français sont deux instances of (Cours).
hastime est une propriétés de type (date). les valeurs sont récupérés a partir d'un fichier XML qui décrit les cours.
je fais cette comparaison en SWRL mais je trouve des erreurs.
cours(mathématiques) ^cours(français) ^ hastime(mathématiques, ?time1) ^hastime(français, ?time2)^ swrlb:greaterThan(?time1, ?time2) → before(mathématiques, français) ^ after(français , mathématiques)
comme erreur je trouve ce message en SWRL :
1 2
| cf. http://protege.cim3.net/cgi-bin/wiki.pl?SWRLRuleEngineBridgeFAQ#nid6QL for more details.
Exception importing SWRL rules and OWL knowledge: edu.stanford.smi.protegex.owl.swrl.bridge.exceptions.SWRLBuiltInBridgeException: error importing OWL property assertion axiom for property http://www.owl-ontologies.com/Ontology1400577325.owl#hastime :edu.stanford.smi.protegex.owl.swrl.bridge.exceptions.OWLConversionFactoryException: error creating an OWLDataValue object for RDFS literal value 12:30 with type http://www.w3.org/2001/XMLSchema#dateTime: invalid xsd:DateTime '12:30' |
Merci beaucoup pour votre aide.
Partager