From 46c2abe8fce53f979bcf1dd4724012aba1a05f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giovanni=20Alfredo=20Garciliano=20Di=CC=81az?= Date: Wed, 16 Feb 2022 07:34:31 +0000 Subject: Adding SPARQL media types --- data/freedesktop.org.xml.in | 17 +++++++++++++++++ tests/mime-detection/list | 4 ++++ tests/mime-detection/test.qs | 6 ++++++ tests/mime-detection/test.srx | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 tests/mime-detection/test.qs create mode 100644 tests/mime-detection/test.srx diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 57cbb3e5..49fb604c 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -7925,4 +7925,21 @@ command to generate the output files. + + SPARQL query + SPARQL + SPARQL Protocol and RDF Query Language + + + + + + + SPARQL query results + SPARQL + SPARQL Protocol and RDF Query Language + + + + diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 52c8c3f6..74257889 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -897,3 +897,7 @@ test.avifs image/avif test.org text/org ox # OpenZIM file test.zim application/x-openzim +# SPARQL query +test.qs application/sparql-query +# SPARQL query results +test.srx application/sparql-results+xml ox diff --git a/tests/mime-detection/test.qs b/tests/mime-detection/test.qs new file mode 100644 index 00000000..3ce9d2c6 --- /dev/null +++ b/tests/mime-detection/test.qs @@ -0,0 +1,6 @@ +PREFIX foaf: +SELECT ?name (COUNT(?friend) AS ?count) +WHERE { + ?person foaf:name ?name . + ?person foaf:knows ?friend . +} GROUP BY ?person ?name \ No newline at end of file diff --git a/tests/mime-detection/test.srx b/tests/mime-detection/test.srx new file mode 100644 index 00000000..3e998378 --- /dev/null +++ b/tests/mime-detection/test.srx @@ -0,0 +1,33 @@ + + + + + + + + + + Alice + + + 3 + + + + + Bob + + + 1 + + + + + Charlie + + + 1 + + + + \ No newline at end of file -- cgit v1.2.1