diff options
author | Abanoub Ghadban <abanoub.gdb@gmail.com> | 2021-06-21 20:53:23 +0200 |
---|---|---|
committer | Abanoub Ghadban <abanoub.gdb@gmail.com> | 2021-06-22 12:37:47 +0200 |
commit | df826db8c202edcf57b99660e43077c22fb4f9cb (patch) | |
tree | 3327aa7e3f4c708d8e993b10bcf002409b57c2f3 /tests/libtracker-data/turtle-comments/turtle-data-001.ttl | |
parent | 6e990629f83c2bf9e058051d3236fd8620dd4bc3 (diff) | |
download | tracker-df826db8c202edcf57b99660e43077c22fb4f9cb.tar.gz |
add tests for feature of supporting comments in ontology files
There are no special tests that should be carried out to test the feature of skipping comments in ontology file.
Just we need to use any ontology file that contains different types of comments and make sure that the ontology is parsed well.
That is done by applying different queries on the database created and make sure that the queries return the right data which means that the schema is parsed successfully.
Diffstat (limited to 'tests/libtracker-data/turtle-comments/turtle-data-001.ttl')
-rwxr-xr-x | tests/libtracker-data/turtle-comments/turtle-data-001.ttl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/libtracker-data/turtle-comments/turtle-data-001.ttl b/tests/libtracker-data/turtle-comments/turtle-data-001.ttl new file mode 100755 index 000000000..bf53d21f5 --- /dev/null +++ b/tests/libtracker-data/turtle-comments/turtle-data-001.ttl @@ -0,0 +1,10 @@ +# this is a complete turtle document +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix foo: <http://example.org/ns#> . +@prefix : <http://other.example.org/ns#> . + +foo:bar a rdfs:Resource . +:bar a rdfs:Resource . + +foo:bar foo: : . +:bar : foo:bar . |