summaryrefslogtreecommitdiffstats
path: root/tests/mkr/rdf-schema.mkr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /tests/mkr/rdf-schema.mkr
parentInitial commit. (diff)
downloadraptor2-upstream.tar.xz
raptor2-upstream.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mkr/rdf-schema.mkr')
-rw-r--r--tests/mkr/rdf-schema.mkr155
1 files changed, 155 insertions, 0 deletions
diff --git a/tests/mkr/rdf-schema.mkr b/tests/mkr/rdf-schema.mkr
new file mode 100644
index 0000000..901b704
--- /dev/null
+++ b/tests/mkr/rdf-schema.mkr
@@ -0,0 +1,155 @@
+@base <http://www.w3.org/1999/02/22-rdf-syntax-ns> ;
+@prefix rdf: <#> ;
+@prefix : <../../2000/01/rdf-schema#> ;
+
+rdf:Alt has
+ rdf:type = [:Class],
+ :label = ["Alt"@en, "Choix"@fr],
+ :subClassOf = [:Container] ;
+
+rdf:Bag has
+ rdf:type = [:Class],
+ :label = ["Bag"@en, "Ensemble"@fr],
+ :subClassOf = [:Container] ;
+
+rdf:Property has
+ rdf:type = [:Class],
+ :comment = ["The concept of a property."],
+ :label = ["Property"@en, "Propriété"@fr],
+ :subClassOf = [:Resource] ;
+
+rdf:Seq has
+ rdf:type = [:Class],
+ :label = ["Sequence"@en, "Séquence"@fr],
+ :subClassOf = [:Container] ;
+
+rdf:Statement has
+ rdf:type = [:Class],
+ :comment = ["This represents the set of reified statements."],
+ :label = ["Déclaration"@fr, "Statement"@en],
+ :subClassOf = [:Resource] ;
+
+rdf:object has
+ rdf:type = [rdf:Property],
+ :domain = [rdf:Statement],
+ :label = ["object"@en, "objet"@fr] ;
+
+rdf:predicate has
+ rdf:type = [rdf:Property],
+ :domain = [rdf:Statement],
+ :label = ["predicate"@en, "prédicat"@fr],
+ :range = [rdf:Property] ;
+
+rdf:subject has
+ rdf:type = [rdf:Property],
+ :domain = [rdf:Statement],
+ :label = ["subject"@en, "sujet"@fr],
+ :range = [:Resource] ;
+
+rdf:type has
+ rdf:type = [rdf:Property],
+ :comment = ["Indicates membership of a class"],
+ :label = ["type"@en, "type"@fr],
+ :range = [:Class] ;
+
+rdf:value has
+ rdf:type = [rdf:Property],
+ :label = ["object"@en, "value"@fr] ;
+
+<../../2000/01/rdf-schema#> has
+ :seeAlso = [<../../2000/01/rdf-schema-more>] ;
+
+:Class has
+ rdf:type = [:Class],
+ :comment = ["The concept of Class"],
+ :label = ["Class"@en, "Classe"@fr],
+ :subClassOf = [:Resource] ;
+
+:ConstraintProperty has
+ rdf:type = [:Class],
+ :comment = ["Properties used to express RDF Schema constraints."],
+ :label = ["ConstraintProperty"@en, "PropriétéContrainte"@fr],
+ :subClassOf = [rdf:Property, :ConstraintResource] ;
+
+:ConstraintResource has
+ rdf:type = [:Class],
+ :comment = ["Resources used to express RDF Schema constraints."],
+ :label = ["ConstraintResource"@en, "RessourceContrainte"@fr],
+ :subClassOf = [:Resource] ;
+
+:Container has
+ rdf:type = [:Class],
+ :comment = ["This represents the set Containers."],
+ :label = ["Container"@en, "Enveloppe"@fr],
+ :subClassOf = [:Resource] ;
+
+:ContainerMembershipProperty has
+ rdf:type = [:Class],
+ :label = ["ContainerMembershipProperty"@en],
+ :subClassOf = [rdf:Property] ;
+
+:Literal has
+ rdf:type = [:Class],
+ :comment = ["This represents the set of atomic values, eg. textual strings."],
+ :label = ["Literal"@en, "Littéral"@fr] ;
+
+:Resource has
+ rdf:type = [:Class],
+ :comment = ["The most general class"],
+ :label = ["Resource"@en, "Ressource"@fr] ;
+
+:comment has
+ rdf:type = [rdf:Property],
+ :comment = ["Use this for descriptions"],
+ :domain = [:Resource],
+ :label = ["comment"@en, "commentaire"@fr],
+ :range = [:Literal] ;
+
+:domain has
+ rdf:type = [:ConstraintProperty],
+ :comment = ["This is how we associate a class with properties that its instances can have"],
+ :label = ["domain"@en, "domaine"@fr] ;
+
+:isDefinedBy has
+ rdf:type = [rdf:Property],
+ :comment = ["Indicates a resource containing and defining the subject resource."],
+ :domain = [:Resource],
+ :label = ["esDéfiniPar"@fr, "isDefinedBy"@en],
+ :range = [:Resource],
+ :subPropertyOf = [:seeAlso] ;
+
+:label has
+ rdf:type = [rdf:Property],
+ :comment = ["Provides a human-readable version of a resource name."],
+ :domain = [:Resource],
+ :label = ["label"@en, "label"@fr],
+ :range = [:Literal] ;
+
+:range has
+ rdf:type = [:ConstraintProperty],
+ :comment = ["Properties that can be used in a schema to provide constraints"],
+ :domain = [rdf:Property],
+ :label = ["range"@en, "étendue"@fr],
+ :range = [:Class] ;
+
+:seeAlso has
+ rdf:type = [rdf:Property],
+ :comment = ["Indicates a resource that provides information about the subject resource."],
+ :domain = [:Resource],
+ :label = ["seeAlso"@en, "voirAussi"@fr],
+ :range = [:Resource] ;
+
+:subClassOf has
+ rdf:type = [rdf:Property],
+ :comment = ["Indicates membership of a class"],
+ :domain = [:Class],
+ :label = ["sousClasseDe"@fr, "subClassOf"@en],
+ :range = [:Class] ;
+
+:subPropertyOf has
+ rdf:type = [rdf:Property],
+ :comment = ["Indicates specialization of properties"],
+ :domain = [rdf:Property],
+ :label = ["sousPropriétéDe"@fr, "subPropertyOf"@en],
+ :range = [rdf:Property] ;
+