aboutsummaryrefslogtreecommitdiffstats
path: root/tests/validate/good-some-values-from.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validate/good-some-values-from.ttl')
-rw-r--r--tests/validate/good-some-values-from.ttl17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/validate/good-some-values-from.ttl b/tests/validate/good-some-values-from.ttl
new file mode 100644
index 00000000..1da49270
--- /dev/null
+++ b/tests/validate/good-some-values-from.ttl
@@ -0,0 +1,17 @@
+@prefix eg: <http://example.org/> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+
+eg:Thing
+ a rdfs:Class ;
+ rdfs:subClassOf [
+ a owl:Restriction ;
+ owl:onProperty rdfs:label ;
+ owl:someValuesFrom rdf:PlainLiteral
+ ] .
+
+eg:s
+ a eg:Thing ;
+ rdfs:label "not plain"^^rdf:XMLLiteral ,
+ "plain" .