Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
UncleXie123 opened this issue May 15, 2024 · 0 comments

Comments

@UncleXie123
Copy link

UncleXie123 commented May 15, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant