aboutsummaryrefslogtreecommitdiffstats
path: root/test/validate/good-some-values-from.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-09 14:07:46 +0100
committerDavid Robillard <d@drobilla.net>2021-03-08 23:35:30 -0500
commit7efaf2431b9c1a96f6ed2e28626aff4886efc749 (patch)
treeba84dfdb11c4e952ff39621a9b8fcf834e9592a5 /test/validate/good-some-values-from.ttl
parent1ba44998b0c5b8d76d574531d60b703ad56a2c8a (diff)
downloadserd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.tar.gz
serd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.tar.bz2
serd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.zip
Add validation to command line interface
Diffstat (limited to 'test/validate/good-some-values-from.ttl')
-rw-r--r--test/validate/good-some-values-from.ttl17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/validate/good-some-values-from.ttl b/test/validate/good-some-values-from.ttl
new file mode 100644
index 00000000..1da49270
--- /dev/null
+++ b/test/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" .