Skip to content

Commit

Permalink
change name of endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
melaasar committed Feb 28, 2024
1 parent 669f052 commit e84c987
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .fuseki.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PREFIX tdb: <http://jena.hpl.hp.com/2008/tdb#>

# Service 1: Assertions endpoint
:service1 a fuseki:Service ;
fuseki:name "tutorial2" ;
fuseki:name "tutorial2-tdb" ;
fuseki:dataset :assertions ;
fuseki:serviceQuery "" , "query", "sparql" ;
fuseki:serviceUpdate "" , "update" ;
Expand All @@ -14,7 +14,7 @@ PREFIX tdb: <http://jena.hpl.hp.com/2008/tdb#>

# Service 2: Inference endpoint
:service2 a fuseki:Service ;
fuseki:name "tutorial2-inf" ;
fuseki:name "tutorial2" ;
fuseki:dataset :inferences ;
fuseki:serviceQuery "" , "query", "sparql" ;
fuseki:serviceUpdate "" , "update" ;
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ task generateDocs(type: io.opencaesar.owl.doc.OwlDocTask, dependsOn: owlReason)
* Start the headless Fuseki server
* @seeAlso https://github.com/opencaesar/owl-tools/blob/master/owl-doc/README.md
*/
task startFuseki(type: io.opencaesar.owl.fuseki.StartFusekiTask, group:"oml", dependsOn: omlToOwl) {
task startFuseki(type: io.opencaesar.owl.fuseki.StartFusekiTask, group:"oml", dependsOn: owlReason) {
configurationPath = file('.fuseki.ttl')
outputFolderPath = file('.fuseki')
webUI = true
Expand All @@ -140,7 +140,7 @@ task stopFuseki(type: io.opencaesar.owl.fuseki.StopFusekiTask, group:"oml") {
task owlLoadTdb(type:io.opencaesar.owl.load.OwlLoadTask, group:"oml", dependsOn: startFuseki) {
inputs.files(startFuseki.outputFolderPath) // rerun when fuseki restarts
catalogPath = file('build/owl/catalog.xml')
endpointURL = "http://localhost:3030/$dataset".toString()
endpointURL = "http://localhost:3030/$dataset-tdb".toString()
fileExtensions = ['owl', 'ttl']
iris = ["$rootIri".toString()]
}
Expand All @@ -152,7 +152,7 @@ task owlLoadTdb(type:io.opencaesar.owl.load.OwlLoadTask, group:"oml", dependsOn:
task owlLoad(type:io.opencaesar.owl.load.OwlLoadTask, group:"oml", dependsOn: owlLoadTdb) {
inputs.files(startFuseki.outputFolderPath) // rerun when fuseki restarts
catalogPath = file('build/owl/catalog.xml')
endpointURL = "http://localhost:3030/$dataset-inf".toString()
endpointURL = "http://localhost:3030/$dataset".toString()
fileExtensions = ['owl', 'ttl']
iris = ["$rootIri/classes".toString(), "$rootIri/properties".toString()]
loadToDefaultGraph = true
Expand All @@ -164,7 +164,7 @@ task owlLoad(type:io.opencaesar.owl.load.OwlLoadTask, group:"oml", dependsOn: ow
*/
task owlQuery(type:io.opencaesar.owl.query.OwlQueryTask, group:"oml", dependsOn: owlLoad) {
inputs.files(owlLoad.inputs.files) // rerun when the dataset changes
endpointURL = "http://localhost:3030/$dataset-inf".toString()
endpointURL = "http://localhost:3030/$dataset".toString()
queryPath = file('src/sparql')
resultPath = file('build/results')
format = 'json'
Expand Down

0 comments on commit e84c987

Please sign in to comment.