diff --git a/utilities/acceptance-tests/suites/SparqlQueryApi/EnableSparqlQueryApi.n3 b/utilities/acceptance-tests/suites/SparqlQueryApi/EnableSparqlQueryApi.n3 new file mode 100644 index 00000000..5548d4b0 --- /dev/null +++ b/utilities/acceptance-tests/suites/SparqlQueryApi/EnableSparqlQueryApi.n3 @@ -0,0 +1,6 @@ +@prefix rdfs: . +@prefix auth: . +@prefix simplePermission: . + +auth:ADMIN + auth:hasPermission simplePermission:UseSparqlQueryApi ; diff --git a/utilities/acceptance-tests/suites/SparqlQueryApi/SparqlQueryTestData.n3 b/utilities/acceptance-tests/suites/SparqlQueryApi/SparqlQueryTestData.n3 new file mode 100644 index 00000000..4419cb5c --- /dev/null +++ b/utilities/acceptance-tests/suites/SparqlQueryApi/SparqlQueryTestData.n3 @@ -0,0 +1,11 @@ +@prefix rdfs: . +@prefix foaf: . +@prefix vitro: . +@prefix vivo: . +@prefix myDomain: . + +myDomain:SQapiPerson + a foaf:Person; + rdfs:label "Baker, Able "^^xsd:string ; + vitro:mostSpecificType foaf:Person; + vivo:overview "A simple bread-maker." . \ No newline at end of file diff --git a/utilities/acceptance-tests/testApp/TestSparqlQueryApi.html b/utilities/acceptance-tests/testApp/TestSparqlQueryApi.html new file mode 100644 index 00000000..5bcdd1ca --- /dev/null +++ b/utilities/acceptance-tests/testApp/TestSparqlQueryApi.html @@ -0,0 +1,75 @@ + + + + + + +

Test the Linked Open Data requests

+ +

Request data

+ + + + + + + + + + + + + + + + + + + + + +
User email
User password
Accept header
Query text
 
+ +

Response data

+
Response code is 000
+
MIME type is No type
+
Text is:
+
No text
\ No newline at end of file