Commit f9f9019e authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

corrected minor bugs

parent b838b7a3
......@@ -241,7 +241,7 @@ public class Main {
}
if(!checkExamples) {
return;
continue;
}
File examplesDir = new File(version.getRepository().getDirectory(), "examples");
try {
......
......@@ -303,6 +303,7 @@ public class ReadOntology extends JobRunner {
model.add(DCTerms.title, RDF.type, OWL.AnnotationProperty);
model.add(DCTerms.title, RDF.type, OWL.AnnotationProperty);
model.add(DCTerms.abstract_, RDF.type, OWL.AnnotationProperty);
model.add(DCTerms.source, RDF.type, OWL.AnnotationProperty);
model.add(DCTerms.description, RDF.type, OWL.AnnotationProperty);
model.add(DCTerms.creator, RDF.type, OWL.AnnotationProperty);
model.add(DCTerms.contributor, RDF.type, OWL.AnnotationProperty);
......
......@@ -266,7 +266,7 @@ public class ReadRepositories extends JobRunner {
// compute priorVersion and nextVersion
for(int i = 0 ; i < repository.getVersions().size() ; i++) {
Version version = repository.getVersions().get(i);
if(i>1) {
if(i>0) {
Version priorVersion = repository.getVersions().get(i-1);
version.setPriorVersion(priorVersion);
}
......
......@@ -55,7 +55,7 @@ TEMPLATE <term/individual.rqg>( ?individual ) {
DISTINCT WHERE {
?individual ?p ?value
{ ?p a owl:ObjectProperty } UNION { ?p a owl:DatatypeProperty }
} GROUP BY ?p ORDER BY ?p .
} GROUP BY ?individual ?p ORDER BY ?p .
"\n</dl></div>"
......
......@@ -38,7 +38,7 @@ TEMPLATE <term/individualAndLiteralDescription.rqg>( ?object ) {
"\"" STR( ?object ) "\""
TEMPLATE {
"^^{ TEMPLATE <dataRangeDescription.rqg>( DATATYPE( ?object ) ) . }"
"^^{ TEMPLATE <term/dataRangeDescription.rqg>( DATATYPE( ?object ) ) . }"
} WHERE {
FILTER( DATATYPE(?object) != rdf:langString
&& DATATYPE(?object) != xsd:string )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment