278 lines
10 KiB
Text
278 lines
10 KiB
Text
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationConfiguration#> .
|
|
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
|
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
@prefix datagetter: <java:edu/cornell/mannlib/vitro/webapp/utils/datagetter/> .
|
|
@base <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationConfiguration> .
|
|
|
|
<http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationConfiguration> 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 .
|
|
|
|
: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 .
|
|
|
|
:inheritingConfigurationFor rdf:type owl:ObjectProperty ;
|
|
rdfs:domain :ConfigContext ;
|
|
rdfs:subPropertyOf :configContextFor .
|
|
|
|
:nonInheritingConfigurationFor rdf:type owl:ObjectProperty ;
|
|
rdfs:domain :ConfigContext ;
|
|
rdfs:subPropertyOf :configContextFor .
|
|
|
|
: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 .
|
|
|
|
:doNotOfferForEdit rdf:type :OfferEditOption ,
|
|
owl:NamedIndividual .
|
|
|
|
:ifStatement rdf:type :OfferEditOption ,
|
|
owl:NamedIndividual .
|
|
|
|
:offerForEdit 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 .
|
|
|
|
|