diff --git a/webapp/web/WEB-INF/ontologies/app/ApplicationConfiguration.n3 b/webapp/web/WEB-INF/ontologies/app/ApplicationConfiguration.n3 new file mode 100644 index 000000000..b543e9f6c --- /dev/null +++ b/webapp/web/WEB-INF/ontologies/app/ApplicationConfiguration.n3 @@ -0,0 +1,278 @@ +@prefix xsd: . +@prefix owl: . +@prefix : . +@prefix xml: . +@prefix rdf: . +@prefix rdfs: . +@prefix datagetter: . +@base . + + rdf:type owl:Ontology . + +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Classes +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:ApplicationConfig rdf:type owl:Class ; + rdfs:subClassOf owl:Thing . + +:DisplayConfig rdf:type owl:Class ; + rdfs:subClassOf :ApplicationConfig . + +:ClassDisplayConfig rdf:type owl:Class ; + rdfs:subClassOf :DisplayConfig . + +:PropertyDisplayConfig rdf:type owl:Class ; + rdfs:subClassOf :DisplayConfig . + +:ObjectPropertyDisplayConfig rdf:type owl:Class ; + rdfs:subClassOf :PropertyDisplayConfig . + +:DatatypePropertyDisplayConfig rdf:type owl:Class ; + rdfs:subClassOf :PropertyDisplayConfig . + +:EditConfig rdf:type owl:Class ; + rdfs:subClassOf :ApplicationConfig . + +:ClassEditConfig rdf:type owl:Class ; + rdfs:subClassOf :EditConfig . + +:PropertyEditConfig rdf:type owl:Class ; + rdfs:subClassOf :EditConfig . + +:ObjectPropertyEditConfig rdf:type owl:Class ; + rdfs:subClassOf :PropertyEditConfig . + +:DatatypePropertyEditConfig rdf:type owl:Class ; + rdfs:subClassOf :PropertyEditConfig . + +:ConfigContext rdf:type owl:Class . + +:EditControl rdf:type owl:Class . + +:AddControl rdf:type owl:Class ; + rdfs:subClassOf :EditControl . + +:ChangeControl rdf:type owl:Class ; + rdfs:subClassOf :EditControl . + +:DeleteControl rdf:type owl:Class ; + rdfs:subClassOf :EditControl . + +:DisplayView rdf:type owl:Class . + +:ListDisplayView rdf:type owl:Class ; + rdfs:subClassOf :DisplayView . + +:ShortDisplayView rdf:type owl:Class ; + rdfs:subClassOf :DisplayView . + +:Page rdf:type owl:Class . + +:ProfilePage rdf:type owl:Class ; + rdfs:subClassOf :Page . + +:SearchPage rdf:type owl:Class ; + rdfs:subClassOf :Page . + +:MenuPage rdf:type owl:Class ; + rdfs:subClassOf :Page . + +:IndexPage rdf:type owl:Class ; + rdfs:subClassOf :Page . + +:Application rdf:type owl:Class ; + rdfs:subClassOf owl:Thing . + +:SparqlQuery rdf:type owl:Class . + +:SparqlSelectQuery rdf:type owl:Class ; + rdfs:subClassOf :SparqlQuery . + +:SparqlConstructQuery rdf:type owl:Class ; + rdfs:subClassOf :SparqlQuery . + +:Template rdf:type owl:Class ; + rdfs:subClassOf owl:Thing . + +:FreemarkerTemplate rdf:type owl:Class ; + rdfs:subClassOf :Template . + +:OfferEditOption rdf:type owl:Class . + +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Object Properties +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:hasConfiguration rdf:type owl:ObjectProperty ; + rdfs:range :ApplicationConfig ; + rdfs:domain :ConfigContext . + +:configContextFor rdf:type owl:ObjectProperty ; + rdfs:domain :ConfigContext . + +:inheritingConfigContextFor rdf:type owl:ObjectProperty ; + rdfs:domain :ConfigContext ; + rdfs:subPropertyOf :configContextFor . + +:nonInheritingConfigContextFor rdf:type owl:ObjectProperty ; + rdfs:domain :ConfigContext ; + rdfs:subPropertyOf :configContextFor . + +:qualifiedBy rdf:type owl:ObjectProperty ; + rdfs:domain :ConfigContext . + +:inheritingQualifiedBy rdf:type owl:ObjectProperty ; + rdfs:domain :ConfigContext ; + rdfs:subPropertyOf :qualifiedBy . + +:nonInheritingQualifiedBy rdf:type owl:ObjectProperty ; + rdfs:domain :ConfigContext ; + rdfs:subPropertyOf :qualifiedBy . + +:hasListView rdf:type owl:ObjectProperty ; + rdfs:range :ListDisplayView ; + rdfs:domain :PropertyDisplayConfig ; + rdfs:subPropertyOf :hasDisplayView . + +:hasDisplayView rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf :hasDisplayView . + + +:hasShortView rdf:type owl:ObjectProperty ; + rdfs:domain :ClassDisplayConfig ; + rdfs:range :ShortDisplayView ; + rdfs:subPropertyOf :hasDisplayView . + + +:dataSelector rdf:type owl:ObjectProperty ; + rdfs:domain :DisplayView ; + rdfs:range :SparqlSelectQuery . + +:modelConstructor rdf:type owl:ObjectProperty ; + rdfs:domain :DisplayView ; + rdfs:range :SparqlConstructQuery . + +:templateFile rdf:type owl:ObjectProperty ; + rdfs:domain :DisplayView ; + rdfs:range :FreemarkerTemplate . + +:dataGetter rdf:type owl:ObjectProperty ; + rdfs:domain :ShortDisplayView ; + rdfs:range datagetter:DataGetter . + +:entryForm rdf:type owl:ObjectProperty ; + rdfs:domain :PropertyEditConfig . + + +:offerEdit rdf:type owl:ObjectProperty ; + rdfs:range :OfferEditOption ; + rdfs:domain :PropertyEditConfig . + + +:suppressEditControl rdf:type owl:ObjectProperty ; + rdfs:range :EditControl ; + rdfs:domain :PropertyEditConfig . + +:valuesOfType rdf:type owl:ObjectProperty ; + rdfs:domain :ObjectPropertyEditConfig . + +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Data properties +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:publicDescription rdf:type owl:DatatypeProperty ; + rdfs:comment "range is intended to be plain literal with language tag." ; + rdfs:domain :ApplicationConfig . + +:displayName rdf:type owl:DatatypeProperty ; + rdfs:comment "range is intended to be plain literal with language tag." ; + rdfs:domain :DisplayConfig . + +:displayRank rdf:type owl:DatatypeProperty ; + rdfs:domain :DisplayConfig ; + rdfs:range xsd:nonNegativeInteger . + + +:displayLimit rdf:type owl:DatatypeProperty ; + rdfs:range xsd:nonNegativeInteger ; + rdfs:domain [ rdf:type owl:Class ; + owl:unionOf ( :ClassDisplayConfig + :PropertyDisplayConfig + ) + ] . + +:suppressDisplay rdf:type owl:DatatypeProperty ; + rdfs:domain :DisplayConfig ; + rdfs:range xsd:boolean . + + +:mediaType rdf:type owl:DatatypeProperty ; + rdfs:comment "range is intended to be plain literal with a language tag." , + "'text/html' for html content" ; + rdfs:domain :DatatypePropertyDisplayConfig . + +:collateBySubclass rdf:type owl:DatatypeProperty ; + rdfs:domain :ObjectPropertyDisplayConfig ; + rdfs:range xsd:boolean . + +:entryLimit rdf:type owl:DatatypeProperty ; + rdfs:domain :EditConfig ; + rdfs:range xsd:nonNegativeInteger . + +:aggregateEdit rdf:type owl:DatatypeProperty ; + rdfs:domain :PropertyEditConfig ; + rdfs:range xsd:boolean . + +:offerCreate rdf:type owl:DatatypeProperty ; + rdfs:domain :ObjectPropertyEditConfig ; + rdfs:range xsd:boolean . + +:selectFromExisting rdf:type owl:DatatypeProperty ; + rdfs:domain :ObjectPropertyEditConfig ; + rdfs:range xsd:boolean . + +:queryString rdf:type owl:DatatypeProperty ; + rdfs:comment "range is intended to be plain literal with language tag." ; + rdfs:domain :SparqlQuery . + +:fileName rdf:type owl:DatatypeProperty ; + rdfs:comment "range is intended to be plain literal with language tag." ; + rdfs:domain :Template . + +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# OfferEditOption individuals - range of the +# offerEdit object property +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:defer rdf:type :OfferEditOption , + owl:NamedIndividual . + +:false rdf:type :OfferEditOption , + owl:NamedIndividual . + +:ifStatement rdf:type :OfferEditOption , + owl:NamedIndividual . + +:true rdf:type :OfferEditOption , + owl:NamedIndividual . + +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# DataGetter classes +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +datagetter:DataGetter rdf:type owl:Class . + +datagetter:BrowseDataGetter rdf:type owl:Class ; + rdfs:subClassOf datagetter:DataGetter . + +datagetter:ClassGroupPageData rdf:type owl:Class ; + rdfs:subClassOf datagetter:DataGetter . + +datagetter:SparqlQueryDataGetter rdf:type owl:Class ; + rdfs:subClassOf datagetter:DataGetter . + +datagetter:individualsForClassesDataGetter rdf:type owl:Class ; + rdfs:subClassOf datagetter:DataGetter . + + diff --git a/webapp/web/WEB-INF/ontologies/app/ApplicationConfiguration.owl b/webapp/web/WEB-INF/ontologies/app/ApplicationConfiguration.owl deleted file mode 100644 index 87ef684d3..000000000 --- a/webapp/web/WEB-INF/ontologies/app/ApplicationConfiguration.owl +++ /dev/null @@ -1,595 +0,0 @@ - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - range is intended to be plain literal with language tag. - - - - - - - - - - - - - - - - - - - - - - - - - - - range is intended to be plain literal with language tag. - - - - - - - - - 'text/html' for html content - range is intended to be plain literal with a language tag. - - - - - - - - - - - - - - - - - - range is intended to be plain literal with language tag. - - - - - - - - - range is intended to be plain literal with language tag. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -