VIVO-731 Start to create the acceptance tests for SPARQL query API.

This commit is contained in:
j2blake 2014-04-15 13:38:41 -04:00
parent e01127bc11
commit b1c8c3939d
3 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,6 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix auth: <http://vitro.mannlib.cornell.edu/ns/vitro/authorization#> .
@prefix simplePermission: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
auth:ADMIN
auth:hasPermission simplePermission:UseSparqlQueryApi ;

View file

@ -0,0 +1,11 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> .
@prefix vivo: <http://vivoweb.org/ontology/core#> .
@prefix myDomain: <http://vivo.mydomain.edu/individual/> .
myDomain:SQapiPerson
a foaf:Person;
rdfs:label "Baker, Able "^^xsd:string ;
vitro:mostSpecificType foaf:Person;
vivo:overview "A simple bread-maker." .