Maven migration (first draft)

This commit is contained in:
Graham Triggs 2015-11-19 23:47:12 +00:00
parent 5e0329908c
commit e1ff94ccaf
2866 changed files with 1112 additions and 616 deletions

View file

@ -0,0 +1,175 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix auth: <http://vitro.mannlib.cornell.edu/ns/vitro/authorization#> .
@prefix simplePermission: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
@prefix displayByRole: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.DisplayByRolePermission#> .
@prefix editByRole: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.EditByRolePermission#> .
@prefix publishByRole: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.PublishByRolePermission#> .
auth:ADMIN
a auth:PermissionSet ;
rdfs:label "Site Admin" ;
# ADMIN-only permissions
auth:hasPermission simplePermission:AccessSpecialDataModels ;
auth:hasPermission simplePermission:EnableDeveloperPanel ;
auth:hasPermission simplePermission:LoginDuringMaintenance ;
auth:hasPermission simplePermission:ManageMenus ;
auth:hasPermission simplePermission:ManageProxies ;
auth:hasPermission simplePermission:ManageSearchIndex ;
auth:hasPermission simplePermission:ManageUserAccounts ;
auth:hasPermission simplePermission:RefreshVisualizationCache ;
auth:hasPermission simplePermission:SeeConfiguration ;
auth:hasPermission simplePermission:SeeStartupStatus ;
auth:hasPermission simplePermission:UseAdvancedDataToolsPages ;
auth:hasPermission simplePermission:UseMiscellaneousAdminPages ;
auth:hasPermission simplePermission:UseSparqlQueryPage ;
auth:hasPermission simplePermission:PageViewableAdmin ;
# Uncomment the following permission line to enable the SPARQL update API.
# Before enabling, be sure that the URL api/sparqlUpdate is secured by HTTPS,
# so passwords will not be sent in clear text.
#auth:hasPermission simplePermission:UseSparqlUpdateApi ;
# permissions for CURATOR and above.
auth:hasPermission simplePermission:EditOntology ;
auth:hasPermission simplePermission:EditSiteInformation ;
auth:hasPermission simplePermission:SeeVerbosePropertyInformation ;
auth:hasPermission simplePermission:UseMiscellaneousCuratorPages ;
auth:hasPermission simplePermission:PageViewableCurator ;
# permissions for EDITOR and above.
auth:hasPermission simplePermission:DoBackEndEditing ;
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
auth:hasPermission simplePermission:SeeRevisionInfo ;
auth:hasPermission simplePermission:SeeSiteAdminPage ;
auth:hasPermission simplePermission:UseIndividualControlPanel ;
auth:hasPermission simplePermission:PageViewableEditor ;
# permissions for ANY logged-in user.
auth:hasPermission simplePermission:DoFrontEndEditing ;
auth:hasPermission simplePermission:EditOwnAccount ;
auth:hasPermission simplePermission:ManageOwnProxies ;
auth:hasPermission simplePermission:QueryUserAccountsModel ;
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
auth:hasPermission simplePermission:UseMiscellaneousPages ;
auth:hasPermission simplePermission:PageViewableLoggedIn ;
# permissions for ANY user, even if they are not logged in.
auth:hasPermission simplePermission:QueryFullModel ;
auth:hasPermission simplePermission:PageViewablePublic ;
# role-based permissions for ADMIN
auth:hasPermission displayByRole:Admin ;
auth:hasPermission editByRole:Admin ;
auth:hasPermission publishByRole:Admin ;
.
auth:CURATOR
a auth:PermissionSet ;
rdfs:label "Curator" ;
# permissions for CURATOR and above.
auth:hasPermission simplePermission:EditOntology ;
auth:hasPermission simplePermission:EditSiteInformation ;
auth:hasPermission simplePermission:SeeVerbosePropertyInformation ;
auth:hasPermission simplePermission:UseMiscellaneousCuratorPages ;
auth:hasPermission simplePermission:PageViewableCurator ;
# permissions for EDITOR and above.
auth:hasPermission simplePermission:DoBackEndEditing ;
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
auth:hasPermission simplePermission:SeeRevisionInfo ;
auth:hasPermission simplePermission:SeeSiteAdminPage ;
auth:hasPermission simplePermission:UseIndividualControlPanel ;
auth:hasPermission simplePermission:PageViewableEditor ;
# permissions for ANY logged-in user.
auth:hasPermission simplePermission:DoFrontEndEditing ;
auth:hasPermission simplePermission:EditOwnAccount ;
auth:hasPermission simplePermission:ManageOwnProxies ;
auth:hasPermission simplePermission:QueryUserAccountsModel ;
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
auth:hasPermission simplePermission:UseMiscellaneousPages ;
auth:hasPermission simplePermission:PageViewableLoggedIn ;
# permissions for ANY user, even if they are not logged in.
auth:hasPermission simplePermission:QueryFullModel ;
auth:hasPermission simplePermission:PageViewablePublic ;
# role-based permissions for CURATOR
auth:hasPermission displayByRole:Curator ;
auth:hasPermission editByRole:Curator ;
auth:hasPermission publishByRole:Curator ;
.
auth:EDITOR
a auth:PermissionSet ;
rdfs:label "Editor" ;
# permissions for EDITOR and above.
auth:hasPermission simplePermission:DoBackEndEditing ;
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
auth:hasPermission simplePermission:SeeRevisionInfo ;
auth:hasPermission simplePermission:SeeSiteAdminPage ;
auth:hasPermission simplePermission:UseIndividualControlPanel ;
auth:hasPermission simplePermission:PageViewableEditor ;
# permissions for ANY logged-in user.
auth:hasPermission simplePermission:DoFrontEndEditing ;
auth:hasPermission simplePermission:EditOwnAccount ;
auth:hasPermission simplePermission:ManageOwnProxies ;
auth:hasPermission simplePermission:QueryUserAccountsModel ;
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
auth:hasPermission simplePermission:UseMiscellaneousPages ;
auth:hasPermission simplePermission:PageViewableLoggedIn ;
# permissions for ANY user, even if they are not logged in.
auth:hasPermission simplePermission:QueryFullModel ;
auth:hasPermission simplePermission:PageViewablePublic ;
# role-based permissions for EDITOR
auth:hasPermission displayByRole:Editor ;
auth:hasPermission editByRole:Editor ;
auth:hasPermission publishByRole:Editor ;
.
auth:SELF_EDITOR
a auth:PermissionSet ;
a auth:PermissionSetForNewUsers ;
rdfs:label "Self Editor" ;
# permissions for ANY logged-in user.
auth:hasPermission simplePermission:DoFrontEndEditing ;
auth:hasPermission simplePermission:EditOwnAccount ;
auth:hasPermission simplePermission:ManageOwnProxies ;
auth:hasPermission simplePermission:QueryUserAccountsModel ;
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
auth:hasPermission simplePermission:UseMiscellaneousPages ;
auth:hasPermission simplePermission:PageViewableLoggedIn ;
# permissions for ANY user, even if they are not logged in.
auth:hasPermission simplePermission:QueryFullModel ;
auth:hasPermission simplePermission:PageViewablePublic ;
# role-based permissions for SELF_EDITOR
# For role-based display and editing, SelfEditor is like Public.
# SelfEditor uses its special permissions to edit/display its own values.
auth:hasPermission displayByRole:Public ;
auth:hasPermission publishByRole:Public ;
.
auth:PUBLIC
a auth:PermissionSet ;
a auth:PermissionSetForPublic ;
rdfs:label "Public" ;
# permissions for ANY user, even if they are not logged in.
auth:hasPermission simplePermission:QueryFullModel ;
auth:hasPermission simplePermission:PageViewablePublic ;
# role-based permissions for PUBLIC
auth:hasPermission displayByRole:Public ;
auth:hasPermission publishByRole:Public ;
.

View file

@ -0,0 +1,14 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
#Data getter type labels
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.ClassGroupPageData> rdfs:label "Class Group Page" .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> rdfs:label "Browse Page" .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.IndividualsForClassesDataGetter> rdfs:label "Class Group Page - Selected Classes" .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter> rdfs:label "Sparql Query Results" .

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF [
<!ENTITY display "http://vitro.mannlib.cornell.edu/ontologies/display/1.1#">
<!ENTITY owl "http://www.w3.org/2002/07/owl#">
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
]>
<rdf:RDF xml:base="http://vitro.mannlib.cornell.edu/ontologies/display/1.1/"
xmlns:display="&display;"
xmlns:owl="&owl;"
xmlns:rdf="&rdf;"
xmlns:rdfs="&rdfs;"
xmlns:vitro="&vitro;">
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasElement">
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasElement.xml</display:listViewConfigFile>
</rdf:Description>
</rdf:RDF>

View file

@ -0,0 +1,16 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
# This file is for the portions of the pageList that should not be editable, i.e.#
# that it cannot be deleted and that it requires certain permissions #
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix action: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
### This file defines the page list menu for vitro. ###
display:pageListPage
display:requiresAction <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#ManageMenus> ;
display:cannotDeletePage "true" .

View file

@ -0,0 +1,164 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix action: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
# These are the reqired action objects from the SimplePermission.java.
action:AccessSpecialDataModels
a display:RequiredAction ;
rdfs:label "ACCESS_SPECIAL_DATA_MODELS" .
action:DoBackEndEditing
a display:RequiredAction ;
rdfs:label "DO_BACK_END_EDITING" .
action:DoFrontEndEditing
a display:RequiredAction ;
rdfs:label "DO_FRONT_END_EDITING" .
action:EditOntology
a display:RequiredAction ;
rdfs:label "EDIT_ONTOLOGY" .
action:EditOwnAccount
a display:RequiredAction ;
rdfs:label "EDIT_OWN_ACCOUNT" .
action:EditSiteInformation
a display:RequiredAction ;
rdfs:label "EDIT_SITE_INFORMATION" .
action:LoginDuringMaintenance
a display:RequiredAction ;
rdfs:label "LOGIN_DURING_MAINTENANCE" .
action:ManageMenus
a display:RequiredAction ;
rdfs:label "MANAGE_MENUS" .
action:ManageOwnProxies
a display:RequiredAction ;
rdfs:label "MANAGE_OWN_PROXIES" .
action:ManageProxies
a display:RequiredAction ;
rdfs:label "MANAGE_PROXIES" .
action:ManageSearchIndex
a display:RequiredAction ;
rdfs:label "MANAGE_SEARCH_INDEX" .
action:ManageUserAccounts
a display:RequiredAction ;
rdfs:label "MANAGE_USER_ACCOUNTS" .
action:QueryFullModel
a display:RequiredAction ;
rdfs:label "QUERY_FULL_MODEL" .
action:QueryUserAccountsModel
a display:RequiredAction ;
rdfs:label "QUERY_USER_ACCOUNTS_MODEL" .
action:RefreshVisualizationCache
a display:RequiredAction ;
rdfs:label "REFRESH_VISUALIZATION_CACHE" .
action:SeeIndividualEditingPanel
a display:RequiredAction ;
rdfs:label "SEE_INDVIDUAL_EDITING_PANEL" .
action:SeeRevisionInfo
a display:RequiredAction ;
rdfs:label "SEE_REVISION_INFO" .
action:SeeSiteAdminPage
a display:RequiredAction ;
rdfs:label "SEE_SITE_ADMIN_PAGE" .
action:SeeStartupStatus
a display:RequiredAction ;
rdfs:label "SEE_STARTUP_STATUS" .
action:SeeVerbosePropertyInformation
a display:RequiredAction ;
rdfs:label "SEE_VERBOSE_PROPERTY_INFORMATION" .
action:UseAdvancedDataToolsPages
a display:RequiredAction ;
rdfs:label "USE_ADVANCED_DATA_TOOLS_PAGES" .
action:UseSparqlQueryPage
a display:RequiredAction ;
rdfs:label "USE_SPARQL_QUERY_PAGE" .
action:UseBasicAjaxControllers
a display:RequiredAction ;
rdfs:label "USE_BASIC_AJAX_CONTROLLERS" .
action:UseMiscellaneousAdminPages
a display:RequiredAction ;
rdfs:label "USE_MISCELLANEOUS_ADMIN_PAGES" .
action:UseMiscellaneousCuratorPages
a display:RequiredAction ;
rdfs:label "USE_MISCELLANEOUS_CURATOR_PAGES" .
action:UseIndividualControlPanel
a display:RequiredAction ;
rdfs:label "USE_INDIVIDUAL_CONTROL_PANEL" .
action:UseMiscellaneousPages
a display:RequiredAction ;
rdfs:label "USE_MISCELLANEOUS_PAGES" .
##Page specific permissions
action:PageViewableAdmin
a display:RequiredAction ;
rdfs:label "PAGE_VIEWABLE_ADMIN" .
action:PageViewableCurator
a display:RequiredAction ;
rdfs:label "PAGE_VIEWABLE_CURATOR" .
action:PageViewableEditor
a display:RequiredAction ;
rdfs:label "PAGE_VIEWABLE_EDITOR" .
action:PageViewableLoggedIn
a display:RequiredAction ;
rdfs:label "PAGE_VIEWABLE_LOGGEDIN" .
action:PageViewablePublic
a display:RequiredAction ;
rdfs:label "PAGE_VIEWABLE_PUBLIC" .

View file

@ -0,0 +1,83 @@
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
#
# configure the SearchIndexer
#
# Individuals with these types will be excluded from the search index
:searchExcluder_typeExcluder
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnType> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> ;
:excludes
"http://www.w3.org/2002/07/owl#AnnotationProperty" ,
"http://www.w3.org/2002/07/owl#DatatypeProperty" ,
"http://www.w3.org/2002/07/owl#ObjectProperty" .
# Individuals with types from these namespaces will be excluded from the search index.
:searchExcluder_namespaceExcluder
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnNamespace> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> ;
:excludes
"http://vitro.mannlib.cornell.edu/ns/vitro/0.7#" ,
"http://vitro.mannlib.cornell.edu/ns/vitro/public#" ,
"http://vitro.mannlib.cornell.edu/ns/bnode#" ,
"http://www.w3.org/2002/07/owl#" .
# Individuals with URIs in these namespaces will be excluded from the search index.
:searchExcluder_typeNamespaceExcluder
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnTypeNamespace> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> ;
:excludes
"http://vitro.mannlib.cornell.edu/ns/vitro/role#public" .
:searchExcluder_syncingTypeExcluder
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SyncingExcludeBasedOnType> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> .
# ------------------------------------
:uriFinder_forDataProperties
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.AdditionalURIsForDataProperties> .
:uriFinder_forObjectProperties
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.AdditionalURIsForObjectProperties> .
:uriFinder_forTypeStatements
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.AdditionalURIsForTypeStatements> .
:uriFinder_forClassGroupChange
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.URIsForClassGroupChange> .
# ------------------------------------
:documentModifier_AllNames
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
rdfs:label "All labels are added to name fields." ;
:hasTargetField "nameRaw" ;
:hasSelectQuery """
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?label
WHERE {
?uri rdfs:label ?label .
}
""" .
:documentModifier_NameFieldBooster
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.FieldBooster> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
:hasTargetField "nameRaw" ;
:hasTargetField "nameLowercase" ;
:hasTargetField "nameUnstemmed" ;
:hasTargetField "nameStemmed" ;
:hasBoost "1.2"^^xsd:float .
:documentModifier_thumbnailImageUrl
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.ThumbnailImageURL> ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> .

View file

@ -0,0 +1,25 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
# All instances of a class can be excluded from the search index by adding a
# vitroDisplay:excludeClass property between vitroDisplay:SearchIndex and the
# URI of the class that you would like to exclude.
# .n3 or .rdf files can be created in this directory to configure the search
# exclusions. Each file must be a valid file in the format specified by its
# extension. Each file will be loaded individually and must be a complete
# stand alone example of its format. Each file must contain all the necessary
# prefixes, namespaces and preambles required by the format specified by its
# extension.
# If you would like to add classes to the exclusions, add a file to this
# directory ending in .n3 with N3 statements similar to this example.
#
# @prefix owl: <http://www.w3.org/2002/07/owl#> .
# @prefix vitroDisplay: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
# @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
# @prefix example: <http://example/ns/> .
#
# vitroDisplay:SearchIndex
# rdf:type owl:Thing ;
# vitroDisplay:excludeClass example:classToExclude ;

View file

@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF [
<!ENTITY display "http://vitro.mannlib.cornell.edu/ontologies/display/1.1#">
<!ENTITY owl "http://www.w3.org/2002/07/owl#">
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
]>
<rdf:RDF xml:base="http://vitro.mannlib.cornell.edu/ontologies/display/1.1/"
xmlns:display="&display;"
xmlns:owl="&owl;"
xmlns:rdf="&rdf;"
xmlns:rdfs="&rdfs;"
xmlns:vitro="&vitro;">
<!-- Ontology Information -->
<owl:Ontology rdf:about=""
rdfs:label="Vitro display ontology"
owl:versionInfo="1.1"/>
<!-- Classes -->
<owl:Class rdf:about="#Menu"/>
<owl:Class rdf:about="#parameter"/>
<owl:Class rdf:about="&display;ExternallyLinkedNamespace"
rdfs:label="Externally Linked Namespace"/>
<owl:Class rdf:about="&display;NavigationElement"
rdfs:label="Navigation Element">
<rdfs:comment>This represents a menu item or other general navigation item.</rdfs:comment>
</owl:Class>
<owl:Class rdf:about="&display;Page"
rdfs:comment="Class of pages."
rdfs:label="Page"/>
<owl:Class rdf:about="&rdfs;subPropertyOf"/>
<owl:Class rdf:about="&owl;NamedIndividual"/>
<owl:Class rdf:about="&owl;DatatypeProperty"/>
<owl:Class rdf:about="&owl;ObjectProperty"/>
<owl:Class rdf:about="&owl;AnnotationProperty"/>
<owl:Class rdf:about="&owl;Class"/>
<owl:Class rdf:about="&display;MainMenu">
<vitro:customDisplayViewAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string">
individual-menu.ftl
</vitro:customDisplayViewAnnot>
</owl:Class>
<owl:Class rdf:about="&owl;Ontology"/>
<!-- types of pages -->
<owl:Class rdf:about="&display;HomePage"/>
<owl:Class rdf:about="&display;ClassGroupPage"/>
<owl:Class rdf:about="&display;IndividualsForClassesPage"/>
<owl:Class rdf:about="&display;InternalClassesPage"/>
<!-- For permissions -->
<owl:Class rdf:about="&display;RequiredAction"/>
<!-- Annotation Properties -->
<owl:AnnotationProperty rdf:about="&rdfs;comment"/>
<owl:AnnotationProperty rdf:about="&rdfs;label"/>
<owl:AnnotationProperty rdf:about="&owl;versionInfo"/>
<!-- Datatype Properties -->
<owl:DatatypeProperty rdf:about="&owl;DatatypeProperty"/>
<owl:DatatypeProperty rdf:about="&owl;topDataProperty"/>
<!--Originall generated - check if need these-->
<owl:DatatypeProperty rdf:about="&rdfs;comment"/>
<owl:DatatypeProperty rdf:about="&rdfs;label"/>
<owl:DatatypeProperty rdf:about="&owl;versionInfo"/>
<!--end originally generated -->
<owl:DatatypeProperty rdf:about="&display;linkText"
rdfs:comment="Text to display to a link.">
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&display;menuPosition"
rdfs:label="menu position">
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&display;parameterName"
rdfs:label="parameter name"/>
<owl:DatatypeProperty rdf:about="&display;parameterValue"
rdfs:label="parameter value"/>
<owl:DatatypeProperty rdf:about="&display;requiresBodyTemplate"
rdfs:label="Body Template">
<rdfs:comment>Indicates that a page requires a body template.</rdfs:comment>
<rdfs:domain rdf:resource="&display;Page"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&display;title"
rdfs:comment="Value for HTML title element."
rdfs:label="title">
<rdfs:domain rdf:resource="&display;Page"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&display;urlMapping">
<rdfs:comment>Values from HttpRequest.getPathInfo() will be mapped to values from urlMapping.</rdfs:comment>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&display;listViewConfigFile"/>
<owl:DatatypeProperty rdf:about="&display;restrictResultsByInternalClass"/>
<!-- Object Properties -->
<owl:ObjectProperty rdf:about="&owl;topObjectProperty"/>
<owl:ObjectProperty rdf:about="&rdfs;domain"/>
<owl:ObjectProperty rdf:about="&rdfs;range"/>
<owl:ObjectProperty rdf:about="&display;hasElement">
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="#hasParameter">
<rdfs:domain rdf:resource="&display;Page"/>
<rdfs:range rdf:resource="#parameter"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="excludeClass">
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="includeClass">
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="&display;toPage">
<rdfs:domain rdf:resource="&display;NavigationElement"/>
<rdfs:range rdf:resource="&display;Page"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="&display;forClassGroup"/>
<owl:ObjectProperty rdf:about="&display;excludeClass"/>
<owl:ObjectProperty rdf:about="&display;restrictResultsByClass"/>
<owl:ObjectProperty rdf:about="&display;getIndividualsForClass"/>
<owl:ObjectProperty rdf:about="&display;hasDataGetter"/>
<owl:ObjectProperty rdf:about="&display;requiresAction">
</owl:ObjectProperty>
<!--Custom properties-->
</rdf:RDF>

View file

@ -0,0 +1,38 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix action: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
### This file defines the default menu for vitro. ###
#### Default Menu ####
display:DefaultMenu
a display:MainMenu ;
display:hasElement display:HomeMenuItem .
#### Menu Items for Default Menu ####
display:HomeMenuItem
a display:NavigationElement ;
display:menuPosition 1;
display:linkText "Home";
display:toPage display:Home .
########## Pages ############
display:Home
a display:HomePage ;
a display:Page ;
display:title "Home" ;
display:urlMapping "/" ;
display:hasDataGetter display:homeDataGetter;
display:cannotDeletePage "true" .
########## Data Getter ############
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#homeDataGetter>
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> .

View file

@ -0,0 +1,36 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix action: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#> .
### This file defines the page list menu for vitro. These statements can be edited through the interface.###
display:pageListPage
a display:Page ;
display:title "Pages" ;
display:urlMapping "/pageList" ;
display:requiresBodyTemplate "pageList.ftl" ;
display:hasDataGetter display:pageListData.
display:pageListData
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
display:saveToVar "pages" ;
display:queryModel <vitro:requestDisplayModel> ;
display:query """
PREFIX display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?listedPageUri ?listedPageTitle ?listedPageUrlMapping ?listedPageTemplate ?listedPageMenuItem ?listedPageCannotDeletePage
WHERE {
?listedPageUri a display:Page .
OPTIONAL{ ?listedPageUri display:urlMapping ?listedPageUrlMapping. }
OPTIONAL{ ?listedPageUri display:title ?listedPageTitle. }
OPTIONAL {?listedPageUri display:requiresBodyTemplate ?listedPageTemplate .}
OPTIONAL {?listedPageMenuItem display:toPage ?listedPageUri .}
OPTIONAL {?listedPageUri display:cannotDeletePage ?listedPageCannotDeletePage .}
} ORDER BY ?listedPageTitle """ .
###Page Management and Data Getters

View file

@ -0,0 +1,25 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
@base <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
display:ProfilePageType rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Class ;
owl:oneOf ( display:standard
display:quickView
)
] .
display:quickView rdf:type display:ProfilePageType ,
owl:NamedIndividual .
display:standard rdf:type display:ProfilePageType ,
owl:NamedIndividual .
display:hasDefaultProfilePageType rdf:type owl:ObjectProperty .
display:hasDefaultProfilePageType rdfs:range display:ProfilePageType .

View file

@ -0,0 +1,28 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
rdf:type
a owl:ObjectProperty ;
rdfs:label "RDF Type"@en-US ;
rdfs:range owl:Class;
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customEntryFormAnnot>
"edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.RdfTypeGenerator"^^xsd:string ;
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#offerCreateNewOptionAnnot>
"true"^^xsd:boolean ;
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#selectFromExistingAnnot>
"true"^^xsd:boolean .
display:requiresAction
a owl:ObjectProperty ;
rdfs:label "Required Action"@en-US ;
rdfs:comment "Indicates that a resource has a required action that may need to be authorized" ;
rdfs:range display:RequiredAction ;
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#offerCreateNewOptionAnnot>
"true"^^xsd:boolean ;
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#selectFromExistingAnnot>
"true"^^xsd:boolean .

View file

@ -0,0 +1,227 @@
# $This file is distributed under the terms of the license in /doc/license.txt$
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
@prefix vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> .
#########Classes#########
###Basic
owl:Class a owl:Class .
owl:Ontology a owl:Class .
owl:AnnotationProperty a owl:Class .
owl:DatatypeProperty a owl:Class .
owl:ObjectProperty a owl:Class .
###Display Model
display:MainMenu
a owl:Class ;
vitro:customDisplayViewAnnot "individual-menu.ftl"^^xsd:string .
display:NavigationElement a owl:Class .
display:Page a owl:Class .
display:HomePage a owl:Class .
display:ClassGroupPage a owl:Class .
display:IndividualsForClassesPage a owl:Class .
display:InternalClassesPage a owl:Class .
display:DataGetter a owl:Class .
display:RequiredAction a owl:Class ;
rdfs:comment "Represents a action that may need authorization to perform." .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>
a owl:Class ;
rdfs:comment "Data getter for running a SPARQL query." .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SearchIndividualsDataGetter>
a owl:Class ;
rdfs:comment "A data getter for a Class search, i.e. get individuals for VClass" .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlUpdate>
a owl:Class ;
rdfs:comment "A data getter that runs a SPARQL Update" .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter>
a owl:Class ;
rdfs:comment "A data getter for a standard Vitro browse page" .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.ClassGroupPageData>
a owl:Class ;
rdfs:comment "A data getter for a VClassGroup page" .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.FixedHTMLDataGetter>
a owl:Class ;
rdfs:comment "A data getter for a Fixed piece of HTML stored in RDF" .
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.IndividualsForClassesDataGetter>
a owl:Class .
## Class defining what N3 editing model preprocessors are associated with the system
## This is technically a JAVA interface but we can designate this as an owl:Class to indicate
## which classes are model change preprocessors
<java:edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.preprocessors.ModelChangePreprocessor> a owl:Class .
########Data Properties#########
###Basic
rdfs:comment
a owl:DatatypeProperty .
rdfs:label
a owl:DatatypeProperty .
owl:versionInfo
a owl:DatatypeProperty .
###Vitro model
vitro:modTime
a owl:DatatypeProperty .
vitro:displayRank
a owl:DatatypeProperty .
vitro:customDisplayViewAnnot
a owl:DatatypeProperty .
###Display model
display:listViewConfigFile
a owl:DatatypeProperty .
display:title
a owl:DatatypeProperty .
display:urlMapping
a owl:DatatypeProperty .
display:requiresBodyTemplate
a owl:DatatypeProperty .
display:isSelfContainedTemplate
a owl:DatatypeProperty .
display:menuPosition
a owl:DatatypeProperty ;
vitro:displayLimitAnnot
"1"^^xsd:int .
display:linkText
a owl:DatatypeProperty .
display:hasMenuText
a owl:DatatypeProperty .
display:usesDataGetterClass
a owl:DatatypeProperty .
display:query
a owl:DatatypeProperty .
display:saveToVar
a owl:DatatypeProperty.
display:queryModel
a owl:DatatypeProperty.
display:htmlValue
a owl:DatatypeProperty.
display:cannotDeletePage
a owl:DatatypeProperty.
######### Object Properties#########
###Basic
rdfs:range
a owl:ObjectProperty .
rdfs:domain
a owl:ObjectProperty .
owl:topObjectProperty
a owl:ObjectProperty .
display:hasVClassId
a owl:ObjectProperty ;
rdfs:comment "Object property defining class for search data getter" .
###Vitro properties without which individual templates throw errors as are required
<http://vitro.mannlib.cornell.edu/ns/vitro/public#mainImage>
a owl:ObjectProperty ;
rdfs:range <http://vitro.mannlib.cornell.edu/ns/vitro/public#File> ;
rdfs:subPropertyOf <http://vitro.mannlib.cornell.edu/ns/vitro/public#mainImage> , owl:topObjectProperty .
vitro:primaryLink
a owl:ObjectProperty ;
rdfs:label "Primary Link"@en-US ;
rdfs:range vitro:Link ;
rdfs:subPropertyOf vitro:primaryLink , owl:topObjectProperty ;
vitro:customEntryFormAnnot
"defaultLinkForm.jsp"^^xsd:string ;
vitro:forceStubDeletionAnnot
"true"^^xsd:boolean ;
vitro:offerCreateNewOptionAnnot
"true"^^xsd:boolean ;
vitro:selectFromExistingAnnot
"false"^^xsd:boolean ;
vitro:stubObjectPropertyAnnot
"true"^^xsd:boolean .
rdf:type
a owl:ObjectProperty ;
rdfs:label "RDF Type"@en-US ;
rdfs:range owl:Class ;
vitro:customEntryFormAnnot
"edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.RdfTypeGenerator"^^xsd:string ;
vitro:offerCreateNewOptionAnnot
"true"^^xsd:boolean ;
vitro:selectFromExistingAnnot
"true"^^xsd:boolean .
vitro:additionalLink
a owl:ObjectProperty ;
rdfs:label "Additional Link"@en-US ;
rdfs:range vitro:Link ;
rdfs:subPropertyOf vitro:additionalLink , owl:topObjectProperty ;
vitro:customEntryFormAnnot
"defaultLinkForm.jsp"^^xsd:string ;
vitro:forceStubDeletionAnnot
"true"^^xsd:boolean ;
vitro:offerCreateNewOptionAnnot
"true"^^xsd:boolean ;
vitro:selectFromExistingAnnot
"false"^^xsd:boolean ;
vitro:stubObjectPropertyAnnot
"true"^^xsd:boolean .
###Display model
display:hasElement
a owl:ObjectProperty .
display:excludeClass
a owl:ObjectProperty .
display:toPage
a owl:ObjectProperty .
display:forClassGroup
a owl:ObjectProperty .
display:hasDataGetter
a owl:ObjectProperty .
display:getIndividualsForClass
a owl:ObjectProperty .
display:restrictResultsByClass
a owl:ObjectProperty .
display:requiresAction
a owl:ObjectProperty .

View file

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf [
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
<!ENTITY list "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"> ]>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:vitro="&vitro;"
>
<!-- Vitro Application Ontology version 0.7 -->
<!-- This ontology is used internally by the Vitro 0.7 Java application. It is not user viewable or editable: editing this file could have various unintended consequences -->
<owl:Ontology rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7">
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Vitro internals</rdfs:label>
<owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.7</owl:versionInfo>
</owl:Ontology>
<!-- general Vitro constructs -->
<owl:AnnotationProperty rdf:about="&vitro;descriptionAnnot"/>
<owl:DatatypeProperty rdf:about="&vitro;displayLimit"/>
<owl:AnnotationProperty rdf:about="&vitro;displayLimitAnnot"/>
<owl:DatatypeProperty rdf:about="&vitro;displayRank"/>
<owl:AnnotationProperty rdf:about="&vitro;displayRankAnnot"/>
<owl:AnnotationProperty rdf:about="&vitro;exampleAnnot"/>
<owl:DatatypeProperty rdf:about="&vitro;hidden"/>
<owl:AnnotationProperty rdf:about="&vitro;hiddenAnnot"/>
<owl:AnnotationProperty rdf:about="&vitro;modTimeAnnot"/>
<owl:AnnotationProperty rdf:about="&vitro;shortDefAnnot"/>
<owl:AnnotationProperty rdf:about="&vitro;oldId"/>
<!-- VClassGroup-related constructs -->
<owl:Class rdf:about="&vitro;ClassGroup"/>
<!-- VClass-related constructs -->
<owl:AnnotationProperty rdf:about="&vitro;harvestId"/>
<owl:AnnotationProperty rdf:about="&vitro;inClassGroup"/>
<!-- ObjectProperty-related constructs -->
<owl:AnnotationProperty rdf:about="&vitro;fullPropertyNameAnnot"/>
<owl:AnnotationProperty rdf:about="&vitro;individualSortDirectionAnnot"/>
<!-- externalID-related constructs -->
<owl:AnnotationProperty rdf:about="&vitro;isExternalId"/>
<owl:AnnotationProperty rdf:about="&vitro;originalId"/>
<!-- other Individual-related -->
<owl:DatatypeProperty rdf:about="&vitro;modTime"/>
<owl:DatatypeProperty rdf:about="&vitro;moniker"/>
<!-- Portal-related constructs -->
<owl:Class rdf:about="&vitro;Portal"/>
<owl:ObjectProperty rdf:about="&vitro;rootTab"/>
<owl:DatatypeProperty rdf:about="&vitro;themeDir"/>
<owl:DatatypeProperty rdf:about="&vitro;bannerImage"/>
<owl:DatatypeProperty rdf:about="&vitro;contactMail"/>
<owl:DatatypeProperty rdf:about="&vitro;shortHand"/>
<owl:DatatypeProperty rdf:about="&vitro;aboutText"/>
<owl:DatatypeProperty rdf:about="&vitro;acknowledgeText"/>
<owl:DatatypeProperty rdf:about="&vitro;bannerWidth"/>
<owl:DatatypeProperty rdf:about="&vitro;bannerHeight"/>
<owl:DatatypeProperty rdf:about="&vitro;copyrightURL"/>
<owl:DatatypeProperty rdf:about="&vitro;copyrightAnchor"/>
<owl:DatatypeProperty rdf:about="&vitro;rootBreadCrumbURL"/>
<owl:DatatypeProperty rdf:about="&vitro;rootBreadCrumbAnchor"/>
<owl:DatatypeProperty rdf:about="&vitro;logotypeImage"/>
<owl:DatatypeProperty rdf:about="&vitro;logotypeHeight"/>
<owl:DatatypeProperty rdf:about="&vitro;logotypeWidth"/>
<owl:DatatypeProperty rdf:about="&vitro;imageThumbWidth"/>
<owl:DatatypeProperty rdf:about="&vitro;urlPrefix"/>
<!-- Application-related constructs -->
<owl:Class rdf:about="&vitro;Application"/>
<owl:DatatypeProperty rdf:about="&vitro;rootLogotypeImage"/>
<!-- User-related constructs -->
<owl:Class rdf:about="&vitro;User"/>
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#username"/>
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#md5password"/>
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#oldpassword"/>
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime"/>
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#firstTime"/>
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#loginCount"/>
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#roleURI"/>
<!-- Namespace metadata -->
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#namespaceURI"/>
<owl:Class rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#Namespace"/>
<!-- additions -->
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#hiddenFromDisplayBelowRoleLevelAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#hiddenFromPublishBelowRoleLevelAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#forceStubDeletionAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#offerCreateNewOptionAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customShortViewAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#objectIndividualSortProperty">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#PropertyGroup">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customEntryFormAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#inPropertyGroupAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#shortDef">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#publicDescriptionAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#prohibitedFromUpdateBelowRoleLevelAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#selectFromExistingAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customDisplayViewAnnot">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<owl:AnnotationProperty rdf:about="&vitro;mostSpecificType"/>
<owl:AnnotationProperty rdf:about="&vitro;extendedLinkedData"/>
<!--Institutional Internal class -->
<owl:AnnotationProperty rdf:about="&vitro;isMenuPageIntersectionClass"/>
</rdf:RDF>

View file

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf [
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
]>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns="http://vitro.mannlib.cornell.edu/ns/vitro/public#"
xml:base="http://vitro.mannlib.cornell.edu/ns/vitro/public"
>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Vitro Application Public Ontology
This ontology is used by the Vitro application.
It contains constructs that are available for public export and use.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<owl:Ontology rdf:about="">
<rdfs:label rdf:datatype="&xsd;string">Vitro public constructs</rdfs:label>
<owl:versionInfo rdf:datatype="&xsd;decimal">0.1</owl:versionInfo>
</owl:Ontology>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
File-related constructs
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<owl:Class rdf:about="#File"/>
<owl:Class rdf:about="#FileByteStream"/>
<owl:DatatypeProperty rdf:about="#filename">
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
<rdfs:range rdf:resource="&xsd;string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="#mimeType">
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
<rdfs:range rdf:resource="&xsd;string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="#attribution">
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
<rdfs:range rdf:resource="&xsd;string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="#directDownloadUrl">
<rdfs:domain><owl:Class rdf:about="#FileByteStream"/></rdfs:domain>
<rdfs:range rdf:resource="&xsd;string"/>
</owl:DatatypeProperty>
<owl:ObjectProperty rdf:about="#downloadLocation">
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
<rdfs:range><owl:Class rdf:about="#FileByteStream"/></rdfs:range>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="#thumbnailImage">
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="#mainImage">
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="#image">
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
</owl:ObjectProperty>
</rdf:RDF>