Skip to content

An inconsistence of ."/build.gradle file" between tutortial 4.3 and repository kepler16b-example #6

@xyf-sw

Description

@xyf-sw

Description

The "owlLoad" task inside the "./build.gradle" file created in tutortial 2 is different from the corresponding file in repository > kepler16b-example , where as

The default "./build.gradle" file created in tutortial 2:

task owlLoad(type:io.opencaesar.owl.load.OwlLoadTask, group:"oml", dependsOn: owlReason) {
    inputs.files(startFuseki.outputFolderPath) // rerun when fuseki restarts
    catalogPath = file('build/owl/catalog.xml')
    endpointURL = "http://localhost:3030/$dataset".toString()
    fileExtensions = ['owl', 'ttl']
    iris = [
        "$rootIri/classes".toString(),
        "$rootIri/properties".toString(),
        "$rootIri/individuals".toString()
    ]
}

And the "./build.gradle" file in kepler16b-example repository:

task owlLoad(type:io.opencaesar.owl.load.OwlLoadTask, group:"oml", dependsOn: [owlReason, startFuseki]) {
    inputs.files(startFuseki.outputFolderPath) // rerun when fuseki restarts
    catalogPath = file('build/owl/catalog.xml')
    endpointURL = "http://localhost:3030/$dataset".toString()
    fileExtensions = ['owl', 'ttl']
    iris = [
        "$rootIri/classes".toString(),
        "$rootIri/properties".toString(),
        "$rootIri/individuals".toString()
    ]
}

The problem it causes

In tutorial 4.3.2, by using the default "./build.gradle" file in ".github/workflows/ci.yml", "Query" runs failed like:
image

Suggestions

Since the user of Rosetta may not good at coding and software enginnnering, please refine the tutorial document(Similar problems arise at 5.6, I can hardly reproduce the > https://github.com/opencaesar/basicfamily-example ) and the Rosetta OML project configuration in order to move the barriers. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions