@prefix rdfs: . @prefix rdf: . @prefix module: . @prefix joseki: . <> rdfs:comment "Server configuration and data source mapping". ## Server configuration <> a joseki:JosekiServer ; joseki:josekiSchema joseki: ; joseki:alsoInclude # Default content type if the client request does not # specify one exactly. # joseki:useContentType "application/rdf+xml" ; joseki:useContentType "application/n3" ; ## Server debug: # 1 - Must ask for exact MIME type else get text/plain # (i.e. from a web browser) # NB Browsers sniff the content anyway! # Try setting useContentType to "application/n3" # 2 - HTTP GET responses are set no cache. # Same as "--debug" to the rdfserver script. joseki:serverDebug "true" ; . # In the servlet interface HttpServletRequest.getURI() returns # a string WITHOUT the host name (its a relative URI). # so "http://server/" is replaced by "/" # This configuration system does not allow different # URIs to be support on different virtual servers (yet). a joseki:AttachedModel ; joseki:attachedModel ; joseki:hasQueryOperation joseki:BindingGET ; joseki:hasQueryOperation joseki:BindingFetchClosure ; joseki:hasQueryOperation joseki:BindingRDQL ; joseki:hasQueryOperation joseki:BindingSPO ; # Allow query over POST joseki:hasOperation joseki:BindingQueryModel ; joseki:isImmutable "true" ; # Not pingable joseki:namespacePrefix [ joseki:prefix "jd" ; joseki:nsURI ] ; rdfs:comment "Test data" ; . a joseki:AttachedModel ; joseki:attachedModel ; joseki:hasQueryOperation joseki:BindingRDQL ; joseki:hasQueryOperation joseki:BindingGET ; joseki:hasOperation joseki:BindingQueryModel ; joseki:hasOperation joseki:BindingAdd ; # Define the operation completely inline joseki:hasOperation [ joseki:operationName "ping" ; module:interface joseki:OpPing ; module:implementation [ module:className "org.joseki.server.processors.PingProcessor" ] ] ; rdfs:comment "Initially empty model" ; . a joseki:AttachedModel ; joseki:attachedModel ; joseki:hasQueryOperation joseki:BindingFetchClosure ; joseki:hasQueryOperation joseki:BindingRDQL ; joseki:hasQueryOperation joseki:BindingSPO ; joseki:hasQueryOperation joseki:BindingGET ; rdfs:comment "A collection of book details" ; . # Local Variables: # tab-width: 4 # indent-tabs-mode: nil # End: