From: <joh...@us...> - 2011-08-19 15:36:04
|
Revision: 14256 http://gate.svn.sourceforge.net/gate/?rev=14256&view=rev Author: johann_p Date: 2011-08-19 15:35:57 +0000 (Fri, 19 Aug 2011) Log Message: ----------- Additional entities for testing the representation and handling of different kinds of literals (plain literals with and without language tag, typed literals) Modified Paths: -------------- gate/trunk/plugins/Ontology/test/ontologies/test1.ttl Modified: gate/trunk/plugins/Ontology/test/ontologies/test1.ttl =================================================================== --- gate/trunk/plugins/Ontology/test/ontologies/test1.ttl 2011-08-19 01:27:05 UTC (rev 14255) +++ gate/trunk/plugins/Ontology/test/ontologies/test1.ttl 2011-08-19 15:35:57 UTC (rev 14256) @@ -137,3 +137,21 @@ :iClass99Intersection a :iClass99Intersection . # -> iClass99s1and2 must be member of class99intersection + +## Test the correct representation of literals +:Class100 a owl:Class . +:dp100a a owl:DatatypeProperty . +:iClass100I01 a :Class100 . +:iClass100I01 :dp100a "plain literal, no language tag" . + +:iClass100I02 a :Class100 . +:dp100b a owl:DatatypeProperty . +:iClass100I02 :dp100b "plain literal, lang tag es"@es . + +:iClass100I03 a :Class100 . +:dp100c a owl:DatatypeProperty . +:iClass100I03 :dp100c "typed literal, string"^^xsd:string . + +:iClass100I04 a :Class100 . +:dp100d a owl:DatatypeProperty . +:iClass100I04 :dp100d "12"^^xsd:int . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |