diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d330400..b30d0ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,4 +31,6 @@ jobs: uses: actions/upload-artifact@v3 with: name: build - path: build/ \ No newline at end of file + path: build/ + - name: Generate Docs + run: ./gradlew generateDocs \ No newline at end of file diff --git a/.gradle/7.4.2/checksums/checksums.lock b/.gradle/7.4.2/checksums/checksums.lock index 046b85c..27e69df 100644 Binary files a/.gradle/7.4.2/checksums/checksums.lock and b/.gradle/7.4.2/checksums/checksums.lock differ diff --git a/.gradle/7.4.2/executionHistory/executionHistory.bin b/.gradle/7.4.2/executionHistory/executionHistory.bin index ed368ea..0b09049 100644 Binary files a/.gradle/7.4.2/executionHistory/executionHistory.bin and b/.gradle/7.4.2/executionHistory/executionHistory.bin differ diff --git a/.gradle/7.4.2/executionHistory/executionHistory.lock b/.gradle/7.4.2/executionHistory/executionHistory.lock index 15a776a..48e059e 100644 Binary files a/.gradle/7.4.2/executionHistory/executionHistory.lock and b/.gradle/7.4.2/executionHistory/executionHistory.lock differ diff --git a/.gradle/7.4.2/fileHashes/fileHashes.bin b/.gradle/7.4.2/fileHashes/fileHashes.bin index b077b62..980e5c2 100644 Binary files a/.gradle/7.4.2/fileHashes/fileHashes.bin and b/.gradle/7.4.2/fileHashes/fileHashes.bin differ diff --git a/.gradle/7.4.2/fileHashes/fileHashes.lock b/.gradle/7.4.2/fileHashes/fileHashes.lock index ef5509a..2269086 100644 Binary files a/.gradle/7.4.2/fileHashes/fileHashes.lock and b/.gradle/7.4.2/fileHashes/fileHashes.lock differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 1b8b5af..d91ac2c 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/build.gradle b/build.gradle index e181730..4609293 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,7 @@ buildscript { mavenCentral() } dependencies { + classpath 'io.opencaesar.owl:owl-doc-gradle:2.+' classpath 'io.opencaesar.owl:owl-fuseki-gradle:+' classpath 'io.opencaesar.owl:owl-query-gradle:+' classpath 'io.opencaesar.owl:owl-load-gradle:+' @@ -95,6 +96,24 @@ task owlReason(type:io.opencaesar.owl.reason.OwlReasonTask, group:"oml", depends reportPath = file('build/reports/reasoning.xml') } +/* + * A task to generate documentation for the OWL catalog + * @seeAlso https://github.com/opencaesar/owl-tools/blob/master/owl-doc/README.md + */ +task generateDocs(type: io.opencaesar.owl.doc.OwlDocTask, dependsOn: owlReason) { + // OWL catalog + inputCatalogPath = file('build/owl/catalog.xml') + // OWL catalog title + inputCatalogTitle = 'Kepler16b' + // OWL catalog version + inputCatalogVersion = project.version + // OWL Ontology Iris + inputOntologyIris = [ "$rootIri/classes", "$rootIri/properties", "$rootIri/individuals" ] + // Output folder + outputFolderPath = file('build/web/doc') + // Output case sensitivie path + outputCaseSensitive = org.gradle.internal.os.OperatingSystem.current().isLinux() +} /* * Start the headless Fuseki server diff --git a/build/owl/example.com/tutorial2/description/bundle/classes.ttl b/build/owl/example.com/tutorial2/description/bundle/classes.ttl index e5b493d..a0e5804 100644 --- a/build/owl/example.com/tutorial2/description/bundle/classes.ttl +++ b/build/owl/example.com/tutorial2/description/bundle/classes.ttl @@ -192,7 +192,7 @@ owl:Nothing rdf:type owl:Class . rdf:type owl:Class ; - rdfs:subClassOf , , . + rdfs:subClassOf , , . rdf:type owl:Class ; @@ -230,7 +230,7 @@ owl:Nothing rdf:type owl:Class . rdf:type owl:Class ; - rdfs:subClassOf , , , , , . + rdfs:subClassOf , , , , , . rdf:type owl:ObjectProperty . @@ -337,7 +337,7 @@ owl:topDataProperty rdf:type owl:DatatypeProperty . rdf:type owl:Ontology ; rdfs:comment "Generated by Owl Reason 2.8.1" ; owl:imports ; - owl:versionInfo "1715675170" . + owl:versionInfo "1715754800" . rdf:type owl:Class ; @@ -371,7 +371,7 @@ owl:topDataProperty rdf:type owl:DatatypeProperty . rdf:type owl:Class ; - rdfs:subClassOf , , , , . + rdfs:subClassOf , , , , . rdf:type owl:ObjectProperty . @@ -402,7 +402,7 @@ owl:topDataProperty rdf:type owl:DatatypeProperty . rdf:type owl:Class ; - rdfs:subClassOf , , . + rdfs:subClassOf , , . rdf:type owl:Class ; diff --git a/build/owl/example.com/tutorial2/description/bundle/individuals.ttl b/build/owl/example.com/tutorial2/description/bundle/individuals.ttl index a72b690..e26f18e 100644 --- a/build/owl/example.com/tutorial2/description/bundle/individuals.ttl +++ b/build/owl/example.com/tutorial2/description/bundle/individuals.ttl @@ -479,7 +479,7 @@ owl:topObjectProperty rdf:type owl:Class . - rdf:type , , , owl:Thing ; + rdf:type , , , owl:Thing ; "Mission Operations System" ; @@ -513,7 +513,7 @@ owl:topObjectProperty rdf:type owl:Ontology ; rdfs:comment "Generated by Owl Reason 2.8.1" ; owl:imports ; - owl:versionInfo "1715675170" . + owl:versionInfo "1715754800" . rdf:type owl:Class . @@ -760,7 +760,7 @@ owl:topObjectProperty rdf:type owl:Class . - rdf:type , , , owl:Thing ; + rdf:type , , , owl:Thing ; "Characterize the core shape of Kepler 16b" ; @@ -970,7 +970,7 @@ owl:Thing rdf:type owl:Class . owl:sameAs . - rdf:type , , , owl:Thing ; + rdf:type , , , owl:Thing ; "Characterize the core density of Kepler 16b" ; @@ -1100,7 +1100,7 @@ owl:Thing rdf:type owl:Class . rdf:type owl:FunctionalProperty , owl:DatatypeProperty . - rdf:type , , , owl:Thing ; + rdf:type , , , owl:Thing ; "Lander Ground Data System" ; diff --git a/build/owl/example.com/tutorial2/description/bundle/properties.ttl b/build/owl/example.com/tutorial2/description/bundle/properties.ttl index 85f8b18..a22841f 100644 --- a/build/owl/example.com/tutorial2/description/bundle/properties.ttl +++ b/build/owl/example.com/tutorial2/description/bundle/properties.ttl @@ -387,7 +387,7 @@ owl:topDataProperty rdf:type owl:DatatypeProperty . rdf:type owl:Ontology ; rdfs:comment "Generated by Owl Reason 2.8.1" ; owl:imports ; - owl:versionInfo "1715675170" . + owl:versionInfo "1715754800" . rdf:type owl:Class .