Maven migration (first draft)
This commit is contained in:
parent
da79ac3e1d
commit
fee48b0b50
1711 changed files with 662 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
|||
# $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 core: <http://vivoweb.org/ontology/core#> .
|
||||
@prefix vivoweb: <http://vivoweb.org/ontology#> .
|
||||
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
|
||||
|
||||
# academic departments datagetter
|
||||
|
||||
<freemarker:lib-home-page.ftl> display:hasDataGetter display:academicDeptsDataGetter .
|
||||
|
||||
display:academicDeptsDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter> ;
|
||||
display:saveToVar "academicDeptDG" ;
|
||||
display:query """
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
SELECT DISTINCT ?theURI (str(?label) as ?name)
|
||||
WHERE
|
||||
{
|
||||
?theURI a vivo:AcademicDepartment .
|
||||
?theURI rdfs:label ?label
|
||||
}
|
||||
|
||||
""" .
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
|
||||
#
|
||||
# Associate the LocaleSelectionDataGetter with the languageSelector.ftl Freemarker template.
|
||||
#
|
||||
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
|
||||
<freemarker:languageSelector.ftl> display:hasDataGetter display:localeSelectorDataGetter .
|
||||
|
||||
display:localeSelectorDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.i18n.selection.LocaleSelectionDataGetter> .
|
|
@ -0,0 +1,18 @@
|
|||
# $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#> .
|
||||
|
||||
## The example below demonstrates how you can associate particular ModelChangePreprocessors
|
||||
## with the application as a whole. These preprocessors will be run with
|
||||
## every edit/addition in N3EditUtils.preprocessModels(changes, configuration, vreq);
|
||||
|
||||
## Defines the preprocessor class
|
||||
## Can extend this to define what the constructor arguments should be if required, and then N3EditUtils.java should be modified
|
||||
## to know it can pull out parameters based on what is defined in the display model
|
||||
|
||||
# Testing to see if this will be read in BECAUSE this has changed and should be read in
|
||||
# <java:edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.preprocessors.TestModelChangePreprocessor>
|
||||
# a <java:edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.preprocessors.ModelChangePreprocessor> .
|
|
@ -0,0 +1,14 @@
|
|||
# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
|
||||
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
|
||||
#
|
||||
# datagetter to fetch ORCID info for the person.
|
||||
#
|
||||
|
||||
<freemarker:individual-orcidInterface.ftl> display:hasDataGetter display:orcidIdDataGetter .
|
||||
|
||||
display:orcidIdDataGetter
|
||||
a <java:edu.cornell.mannlib.vivo.orcid.OrcidIdDataGetter> .
|
||||
|
|
@ -0,0 +1,152 @@
|
|||
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
|
||||
|
||||
#
|
||||
# Specify the SearchIndexExcluders, DocumentModifiers and IndexingUriFinders for VIVO.
|
||||
# These are in addition to the ones specified for VIVO.
|
||||
#
|
||||
|
||||
:vivoSearchExcluder_namespaceExcluder
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnNamespace> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> ;
|
||||
:excludes
|
||||
"http://purl.obolibrary.org/obo/" .
|
||||
|
||||
# ------------------------------------
|
||||
|
||||
# Most context nodes look like this: relatedBy ==> node ==> relates
|
||||
# relates <== node <== relatedBy
|
||||
:extension_forContextNodes
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ;
|
||||
rdfs:label "Labels across relatedBy/relates" ;
|
||||
:hasIncomingProperty "http://vivoweb.org/ontology/core#relatedBy" ;
|
||||
:hasOutgoingProperty "http://vivoweb.org/ontology/core#relates" .
|
||||
|
||||
# Some roles look like this: bearerOf ==> role ==> roleContributesTo
|
||||
# inheresIn <== role <== contributingRole
|
||||
:extension_forContextNodes_role_contributes_1
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ;
|
||||
rdfs:label "Labels across bearerOf/contributesTo" ;
|
||||
:hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ;
|
||||
:hasOutgoingProperty "http://vivoweb.org/ontology/core#roleContributesTo" .
|
||||
|
||||
:extension_forContextNodes_role_contributes_2
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ;
|
||||
rdfs:label "Labels across contributor/inheresIn" ;
|
||||
:hasIncomingProperty "http://vivoweb.org/ontology/core#contributingRole" ;
|
||||
:hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" .
|
||||
|
||||
# Other roles look like this: bearerOf ==> role ==> realizedIn
|
||||
# inheresIn <== role <== realizes
|
||||
:extension_forContextNodes_role_realizedIn_1
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ;
|
||||
rdfs:label "Labels across bearerOf/realizedIn" ;
|
||||
:hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ;
|
||||
:hasOutgoingProperty "http://purl.obolibrary.org/obo/BFO_0000054" .
|
||||
|
||||
:extension_forContextNodes_role_realizedIn_2
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ;
|
||||
rdfs:label "Labels across realizes/inheresIn" ;
|
||||
:hasIncomingProperty "http://purl.obolibrary.org/obo/BFO_0000055" ;
|
||||
:hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" .
|
||||
|
||||
# Roles on grants look like this: bearerOf ==> role ==> relatedBy
|
||||
# inheresIn <== role <== relates
|
||||
:extension_forContextNodes_roles_on_grants_1
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ;
|
||||
rdfs:label "Labels across bearerOf/relates" ;
|
||||
:hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ;
|
||||
:hasOutgoingProperty "http://vivoweb.org/ontology/core#relatedBy" .
|
||||
|
||||
:extension_forContextNodes_roles_on_grants_2
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ;
|
||||
rdfs:label "Labels across contributor/relatedBy" ;
|
||||
:hasIncomingProperty "http://vivoweb.org/ontology/core#relates" ;
|
||||
:hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" .
|
||||
|
||||
|
||||
# ------------------------------------
|
||||
|
||||
:vivodocumentModifier_calculateParameters
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.CalculateParameters> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> .
|
||||
|
||||
# ------------------------------------
|
||||
|
||||
:vivoUriFinder_VCard
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.SelectQueryUriFinder> ;
|
||||
rdfs:label "Preferred title" ;
|
||||
:hasPredicateRestriction "http://www.w3.org/2006/vcard/ns#title" ;
|
||||
:hasPredicateRestriction "http://www.w3.org/2006/vcard/ns#email" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
SELECT ?uri
|
||||
WHERE {
|
||||
?uri obo:ARG_2000028 ?card .
|
||||
?card a vcard:Individual .
|
||||
?card vcard:hasTitle ?subject .
|
||||
}
|
||||
""" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
SELECT ?uri
|
||||
WHERE {
|
||||
?uri obo:ARG_2000028 ?card .
|
||||
?card a vcard:Individual .
|
||||
?card vcard:hasEmail ?subject .
|
||||
}
|
||||
""" .
|
||||
|
||||
:vivodocumentModifier_PreferredTitle
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
||||
rdfs:label "Preferred title" ;
|
||||
:hasTargetField "ALLTEXT" ;
|
||||
:hasTargetField "ALLTEXTUNSTEMMED" ;
|
||||
:hasTargetField "PREFERRED_TITLE" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
SELECT ?title
|
||||
WHERE {
|
||||
?uri obo:ARG_2000028 ?card .
|
||||
?card a vcard:Individual .
|
||||
?card vcard:hasTitle ?titleHolder .
|
||||
?titleHolder vcard:title ?title .
|
||||
}
|
||||
""" .
|
||||
|
||||
:vivodocumentModifier_EmailAddress
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
||||
rdfs:label "Email address" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
SELECT ?email
|
||||
WHERE {
|
||||
?uri obo:ARG_2000028 ?card .
|
||||
?card a vcard:Individual .
|
||||
?card vcard:hasEmail ?emailHolder .
|
||||
?emailHolder vcard:email ?email .
|
||||
}
|
||||
""" .
|
||||
|
|
@ -0,0 +1,103 @@
|
|||
# $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 core: <http://vivoweb.org/ontology/core#> .
|
||||
@prefix vivoweb: <http://vivoweb.org/ontology#> .
|
||||
|
||||
|
||||
#### n3 for research areas ####
|
||||
|
||||
## associate the classes with the datagetter ##
|
||||
|
||||
<http://www.w3.org/2004/02/skos/core#Concept> display:hasDataGetter display:getDepartmentDataGetter .
|
||||
<http://www.w3.org/2004/02/skos/core#Concept> display:hasDataGetter display:getVocabServiceDataGetter .
|
||||
|
||||
## define the datagetter ##
|
||||
|
||||
display:getDepartmentDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||
display:saveToVar "departmentsResults";
|
||||
display:query
|
||||
"""
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
SELECT DISTINCT (str(?departmentLabel) AS ?deptLabel) ?dept
|
||||
WHERE {
|
||||
?individualURI vivo:researchAreaOf ?person .
|
||||
?person vivo:relatedBy ?posn .
|
||||
?posn a vivo:Position .
|
||||
?posn vivo:relates ?dept .
|
||||
?dept a foaf:Organization .
|
||||
?dept rdfs:label ?departmentLabel
|
||||
OPTIONAL { ?posn vivo:dateTimeInterval ?dti
|
||||
OPTIONAL { ?dti vivo:end ?end .
|
||||
?end vivo:dateTime ?endDate
|
||||
}
|
||||
}
|
||||
FILTER ( !bound(?endDate) ||
|
||||
substr(str(?endDate), 1, 4) >= substr(str(now()), 1, 4) )
|
||||
}
|
||||
ORDER BY ?deptLabel
|
||||
""" .
|
||||
|
||||
display:getVocabServiceDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||
display:saveToVar "vocabularyService";
|
||||
display:query
|
||||
"""
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
SELECT DISTINCT (str(?vocabularySourceName) AS ?vocabService)
|
||||
WHERE {
|
||||
?individualURI rdfs:isDefinedBy ?vocabularySource .
|
||||
?vocabularySource rdfs:label ?vocabularySourceName .
|
||||
}
|
||||
""" .
|
||||
|
||||
## detail page for dept research areas ##
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/default/page#AffiliatedDepartments>
|
||||
a <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#Page> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasDataGetter> <http://vitro.mannlib.cornell.edu/ns/default/datagetter#AffiliatedDepartmentsDG> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#requiresBodyTemplate> "individual-affiliated-dept-details.ftl" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#title> "Affiliated Departments" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#urlMapping> "/affiliatedDepartments" .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/default/datagetter#AffiliatedDepartmentsDG>
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#query>
|
||||
"""
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
SELECT DISTINCT (str (?prsnLabel) AS ?personLabel)
|
||||
?person
|
||||
(Str(?researchAreaLabel) AS ?raLabel)
|
||||
(str(?departmentLabel) AS ?orgLabel)
|
||||
?ra
|
||||
?org
|
||||
WHERE {
|
||||
?orgURI vivo:relatedBy ?posn .
|
||||
?posn a vivo:Position .
|
||||
?orgURI rdfs:label ?departmentLabel .
|
||||
?posn vivo:relates ?person .
|
||||
?person a foaf:Person .
|
||||
?person rdfs:label ?prsnLabel .
|
||||
?person vivo:hasResearchArea ?raURI .
|
||||
?raURI rdfs:label ?researchAreaLabel
|
||||
BIND(?raURI AS ?ra)
|
||||
BIND(?orgURI AS ?org)
|
||||
|
||||
}
|
||||
ORDER BY ?personLabel
|
||||
""" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#saveToVar>
|
||||
"deptResearchAreas" .
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,133 @@
|
|||
<?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://vivoweb.org/ontology/core#researchAreaOf">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-researchAreaOf.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/BFO_0000055">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-relatedRole.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#contributingRole">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-relatedRole.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#dateTimeInterval">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-dateTimeInterval.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#dateTimeValue">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-dateTimeValue.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#dateFiled">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-dateTimeValue.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#dateIssued">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-dateTimeValue.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#expirationDate">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-dateTimeValue.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#start">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-dateTimeValue.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#end">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-dateTimeValue.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#webpage">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-webpage.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#hasAssociatedConcept">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasAssociatedConcept.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#hasSubjectArea">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasAssociatedConcept.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#hasResearchArea">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasAssociatedConcept.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#publisherOf">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-publisherOf.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#publicationVenueFor">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-publicationVenueFor.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#orcidId">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-orcidId.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<!--
|
||||
***********************************************************************
|
||||
these properties have a range that is the union of 1 or more classes
|
||||
***********************************************************************
|
||||
-->
|
||||
|
||||
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000029">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000031">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000038">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000390">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/ERO_0000398">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#translatorOf">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#documentationFor">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#protocolRealizedBy">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://www.w3.org/2006/vcard/ns#hasMember">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-rangeUnion.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<!--
|
||||
******************************************************************
|
||||
data property custom list views
|
||||
******************************************************************
|
||||
-->
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#scopusId">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-scopusId.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://purl.org/ontology/bibo/doi">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-doi.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
</rdf:RDF>
|
|
@ -0,0 +1,200 @@
|
|||
# $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 core: <http://vivoweb.org/ontology/core#> .
|
||||
@prefix vivoweb: <http://vivoweb.org/ontology#> .
|
||||
|
||||
|
||||
#### n3 for research areas ####
|
||||
|
||||
## associate the classes with the datagetter ##
|
||||
|
||||
<http://vivoweb.org/ontology/core#Department> display:hasDataGetter display:getResearchAreaDataGetter .
|
||||
<http://vivoweb.org/ontology/core#Center> display:hasDataGetter display:getResearchAreaDataGetter .
|
||||
<http://vivoweb.org/ontology/core#ClinicalOrganization> display:hasDataGetter display:getResearchAreaDataGetter .
|
||||
<http://vivoweb.org/ontology/core#Institute> display:hasDataGetter display:getResearchAreaDataGetter .
|
||||
<http://vivoweb.org/ontology/core#Laboratory> display:hasDataGetter display:getResearchAreaDataGetter .
|
||||
<http://vivoweb.org/ontology/core#Library> display:hasDataGetter display:getResearchAreaDataGetter .
|
||||
<http://vivoweb.org/ontology/core#ResearchOrganization> display:hasDataGetter display:getResearchAreaDataGetter .
|
||||
|
||||
|
||||
## define the datagetter ##
|
||||
|
||||
display:getResearchAreaDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||
display:saveToVar "researchAreaResults";
|
||||
display:query
|
||||
"""
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
SELECT DISTINCT (str(?researchAreaLabel) AS ?raLabel) ?ra
|
||||
WHERE {
|
||||
?individualURI vivo:relatedBy ?posn .
|
||||
?posn a vivo:Position .
|
||||
?posn vivo:relates ?person .
|
||||
?person a foaf:Person .
|
||||
?person vivo:hasResearchArea ?ra .
|
||||
?ra rdfs:label ?researchAreaLabel
|
||||
OPTIONAL { ?posn vivo:dateTimeInterval ?dti
|
||||
OPTIONAL { ?dti vivo:end ?end .
|
||||
?end vivo:dateTime ?endDate
|
||||
}
|
||||
}
|
||||
FILTER ( !bound(?endDate) ||
|
||||
substr(str(?endDate), 1, 4) >= substr(str(now()), 1, 4) )
|
||||
}
|
||||
ORDER BY ?raLabel
|
||||
""" .
|
||||
|
||||
## detail page for non-academic department research areas ##
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/default/page#AffiliatedResearchAreas>
|
||||
a <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#Page> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasDataGetter> <http://vitro.mannlib.cornell.edu/ns/default/datagetter#AffiliatedResearchAreasDG> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#requiresBodyTemplate> "individual-affiliated-res-area-details.ftl" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#title> "Affiliated Research Areas" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#urlMapping> "/affiliatedResearchAreas" .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/default/datagetter#AffiliatedResearchAreasDG>
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#query>
|
||||
"""
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
SELECT DISTINCT (str (?prsnLabel) AS ?personLabel)
|
||||
?person
|
||||
(str(?researchAreaLabel) AS ?raLabel)
|
||||
(str(?organizationLabel) AS ?orgLabel)
|
||||
?ra
|
||||
?org
|
||||
WHERE {
|
||||
?orgURI vivo:relatedBy ?posn .
|
||||
?posn a vivo:Position .
|
||||
?orgURI rdfs:label ?organizationLabel .
|
||||
?posn vivo:relates ?person .
|
||||
?person a foaf:Person .
|
||||
?person rdfs:label ?prsnLabel .
|
||||
?person vivo:hasResearchArea ?raURI .
|
||||
?raURI rdfs:label ?researchAreaLabel
|
||||
BIND(?raURI AS ?ra)
|
||||
BIND(?orgURI AS ?org)
|
||||
}
|
||||
ORDER BY ?personLabel
|
||||
""" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#saveToVar> "affiliatedResearchAreas" .
|
||||
|
||||
## detail page for academic department research areas ##
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/default/page#DepartmentalResearchAreas>
|
||||
a <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#Page> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasDataGetter> <http://vitro.mannlib.cornell.edu/ns/default/datagetter#DepartmentalResearchAreasDG> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#requiresBodyTemplate> "individual-dept-res-area-details.ftl" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#title> "Departmental Research Areas" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#urlMapping> "/deptResearchAreas" .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/default/datagetter#DepartmentalResearchAreasDG>
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#query>
|
||||
"""
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
SELECT DISTINCT (str (?prsnLabel) AS ?personLabel)
|
||||
?person
|
||||
(Str(?researchAreaLabel) AS ?raLabel)
|
||||
(str(?organizationLabel) AS ?orgLabel)
|
||||
?ra
|
||||
WHERE {
|
||||
?orgURI vivo:relatedBy ?posn .
|
||||
?posn a vivo:Position .
|
||||
?orgURI rdfs:label ?organizationLabel .
|
||||
?posn vivo:relates ?person .
|
||||
?person a foaf:Person .
|
||||
?person rdfs:label ?prsnLabel .
|
||||
?person vivo:hasResearchArea ?raURI .
|
||||
?raURI rdfs:label ?researchAreaLabel
|
||||
BIND(?raURI AS ?ra)
|
||||
|
||||
}
|
||||
ORDER BY ?personLabel
|
||||
""" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#saveToVar>
|
||||
"deptResearchAreas" .
|
||||
|
||||
|
||||
#### n3 for grants ####
|
||||
|
||||
## associate the classes with the datagetter ##
|
||||
|
||||
<http://vivoweb.org/ontology/core#AcademicDepartment> display:hasDataGetter display:getGrantsDataGetter .
|
||||
|
||||
## data getter to see if the department has any grants ##
|
||||
|
||||
display:getGrantsDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||
display:saveToVar "getGrantResults";
|
||||
display:query
|
||||
"""
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
SELECT DISTINCT ?grant
|
||||
WHERE {
|
||||
?individualURI vivo:relatedBy ?posn .
|
||||
?posn a vivo:Position .
|
||||
?posn vivo:relates ?person .
|
||||
?person a foaf:Person .
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000053> ?role .
|
||||
?role a vivo:ResearcherRole .
|
||||
?role vivo:relatedBy ?grant .
|
||||
?grant a vivo:Grant .
|
||||
?grant vivo:dateTimeInterval ?dti .
|
||||
?dti vivo:end ?end.
|
||||
?end vivo:dateTime ?dt
|
||||
FILTER (?dt > now())
|
||||
}
|
||||
LIMIT 1
|
||||
""" .
|
||||
|
||||
## data getter for the grants detail page ##
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/default/page#DepartmentalGrants>
|
||||
a <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#Page> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasDataGetter> <http://vitro.mannlib.cornell.edu/ns/default/datagetter#DepartmentalGrantsDG> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#requiresBodyTemplate> "individual-dept-active-grants.ftl" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#title> "Departmental Grants" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#urlMapping> "/deptGrants" .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/default/datagetter#DepartmentalGrantsDG>
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#query>
|
||||
"""
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
SELECT DISTINCT (str (?gLabel) AS ?grantLabel) ?dt (str(?departmentLabel) AS ?deptLabel) ?grant
|
||||
WHERE {
|
||||
?individualURI vivo:relatedBy ?posn .
|
||||
?posn a vivo:Position .
|
||||
?individualURI rdfs:label ?departmentLabel .
|
||||
?posn vivo:relates ?person .
|
||||
?person a foaf:Person .
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000053> ?role .
|
||||
?role a vivo:ResearcherRole .
|
||||
?role vivo:relatedBy ?grant .
|
||||
?grant a vivo:Grant .
|
||||
?grant rdfs:label ?gLabel .
|
||||
?grant vivo:dateTimeInterval ?dti .
|
||||
?dti vivo:end ?end.
|
||||
?end vivo:dateTime ?dt
|
||||
FILTER (?dt > now())
|
||||
}
|
||||
ORDER BY ?gLabel
|
||||
""" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#saveToVar> "deptGrants" .
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
# $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 core: <http://vivoweb.org/ontology/core#> .
|
||||
@prefix vivoweb: <http://vivoweb.org/ontology#> .
|
||||
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
|
||||
|
||||
|
||||
#### Check to see if the person being viewed has a first and last name. ####
|
||||
#### If so, the page will display the QR code icon link. ####
|
||||
|
||||
## associate the classes with the datagetter (COUNT(?vIndividual) AS ?theCount)##
|
||||
|
||||
<http://xmlns.com/foaf/0.1/Person> display:hasDataGetter display:checkNamesForQrCodeDG .
|
||||
|
||||
|
||||
## define the datagetter ##
|
||||
|
||||
display:checkNamesForQrCodeDG
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||
display:saveToVar "checkNamesResult";
|
||||
display:query
|
||||
"""
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
||||
SELECT DISTINCT ?vIndividual
|
||||
WHERE {
|
||||
?individualURI obo:ARG_2000028 ?vIndividual .
|
||||
?vIndividual vcard:hasName ?vName .
|
||||
?vName vcard:givenName ?firstName .
|
||||
?vName vcard:familyName ?lastName .
|
||||
}
|
||||
""" .
|
||||
|
|
@ -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 vitroDisplay: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||
@prefix core: <http://vivoweb.org/ontology/core#> .
|
||||
@prefix localNav: <http://vitro.mannlib.cornell.edu/ns/localnav#> .
|
||||
@prefix bibo: <http://purl.org/ontology/bibo/> .
|
||||
@prefix obo: <http://purl.obolibrary.org/obo/> .
|
||||
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
|
||||
|
||||
# See vitroSearchProhibited.n3 for more information about files in this directory.
|
||||
|
||||
vitroDisplay:SearchIndex
|
||||
rdf:type owl:Thing ;
|
||||
vitroDisplay:excludeClass obo:BFO_0000023 ;
|
||||
vitroDisplay:excludeClass core:AdvisingRelationship ;
|
||||
vitroDisplay:excludeClass core:Editorship ;
|
||||
vitroDisplay:excludeClass core:Authorship ;
|
||||
vitroDisplay:excludeClass core:Position ;
|
||||
vitroDisplay:excludeClass core:AwardReceipt ;
|
||||
vitroDisplay:excludeClass core:AwardedDegree ;
|
||||
vitroDisplay:excludeClass core:ResearchActivity ;
|
||||
vitroDisplay:excludeClass core:EducationalProcess ;
|
||||
vitroDisplay:excludeClass bibo:DocumentStatus ;
|
||||
vitroDisplay:excludeClass core:DateTimeValue ;
|
||||
vitroDisplay:excludeClass core:DateTimeValuePrecision ;
|
||||
vitroDisplay:excludeClass core:DateTimeInterval ;
|
||||
vitroDisplay:excludeClass core:AcademicDegree ;
|
||||
vitroDisplay:excludeClass vcard:URL ;
|
||||
vitroDisplay:excludeClass vcard:Communication ;
|
||||
vitroDisplay:excludeClass vcard:Code ;
|
||||
vitroDisplay:excludeClass vcard:Explanatory ;
|
||||
vitroDisplay:excludeClass vcard:Addressing ;
|
||||
vitroDisplay:excludeClass vcard:Identification ;
|
||||
vitroDisplay:excludeClass vcard:Kind ;
|
||||
vitroDisplay:excludeClass <http://vitro.mannlib.cornell.edu/ns/vitro/public#File> ;
|
||||
vitroDisplay:excludeClass <http://vitro.mannlib.cornell.edu/ns/vitro/public#FileByteStream> .
|
1989
home/src/main/resources/rdf/display/firsttime/PropertyConfig.n3
Normal file
1989
home/src/main/resources/rdf/display/firsttime/PropertyConfig.n3
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,25 @@
|
|||
@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 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 datagetter: <java:edu/cornell/mannlib/vitro/webapp/utils/datagetter/> .
|
||||
@prefix vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> .
|
||||
@prefix role: <http://vitro.mannlib.cornell.edu/ns/vitro/role#> .
|
||||
@prefix local: <http://vitro.mannlib.cornell.edu/ns/vitro/siteConfig/> .
|
||||
@prefix vivo: <http://vivoweb.org/ontology/core#> .
|
||||
|
||||
@base <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationConfiguration> .
|
||||
|
||||
|
||||
# warning: don't use blank nodes; the display model doesn't currently support them.
|
||||
|
||||
local:authorInAuthorshipConfig a :ObjectPropertyDisplayConfig ;
|
||||
:deleteLinkSuppressed "true"^^xsd:boolean .
|
||||
|
||||
local:informationResourceInAuthorshipConfig a :ObjectPropertyDisplayConfig ;
|
||||
:deleteLinkSuppressed "true"^^xsd:boolean .
|
||||
|
||||
local:informationResourceInEditorshipConfig a :ObjectPropertyDisplayConfig ;
|
||||
:deleteLinkSuppressed "true"^^xsd:boolean .
|
24
home/src/main/resources/rdf/display/firsttime/aboutPage.n3
Normal file
24
home/src/main/resources/rdf/display/firsttime/aboutPage.n3
Normal file
|
@ -0,0 +1,24 @@
|
|||
# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
|
||||
@prefix about: <http://vitro.mannlib.cornell.edu/ns/default/about#> .
|
||||
|
||||
about:ABOUTDG
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.FixedHTMLDataGetter> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#htmlValue>
|
||||
"""<h2>About VIVO</h2>
|
||||
<div class=\"pageGroupBody\" id=\"aboutText\"><p>The VIVO application enables the discovery of researchers across institutions. Participants in the network include institutions with local installations of VIVO or those with research discovery and profiling applications that can provide semantic web-compliant data. The information accessible through VIVO's search and browse capability will therefore reside and be controlled locally, within institutional VIVOs or other semantic web-compliant applications.</p>
|
||||
|
||||
<p>VIVO is an open source semantic web application originally developed and implemented at Cornell. When installed and populated with content at an institution, it enables the discovery of research and scholarship across disciplines at that institution. VIVO supports browsing and a search function which returns faceted results for rapid retrieval of desired information. Content in any local VIVO installation may be maintained manually or brought into the database in automated ways from local systems of record, such as human resources, scholarships, grants, course, and faculty activity databases.</p>
|
||||
|
||||
<p>See more information on the <a href=\"http://vivoweb.org\">VIVO Project</a>.</p></div>
|
||||
"""@en ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#saveToVar>
|
||||
"aboutPage" .
|
||||
about:ABOUTPAGE
|
||||
a <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#Page> ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasDataGetter>
|
||||
about:ABOUTDG ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#title>
|
||||
"About Page" ;
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#urlMapping>
|
||||
"/about" .
|
120
home/src/main/resources/rdf/display/firsttime/menu.n3
Normal file
120
home/src/main/resources/rdf/display/firsttime/menu.n3
Normal file
|
@ -0,0 +1,120 @@
|
|||
# $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 core: <http://vivoweb.org/ontology/core#> .
|
||||
@prefix vivoweb: <http://vivoweb.org/ontology#> .
|
||||
|
||||
### This file defines the default menu for vivo. ###
|
||||
### It overrides the menu.n3 from vitro.
|
||||
|
||||
#### Default Menu ####
|
||||
|
||||
display:DefaultMenu
|
||||
a display:MainMenu ;
|
||||
rdfs:label "Default Menu" ;
|
||||
display:hasElement display:EventsMenuItem ;
|
||||
display:hasElement display:HomeMenuItem ;
|
||||
display:hasElement display:OrganizationsMenuItem ;
|
||||
display:hasElement display:PeopleMenuItem ;
|
||||
display:hasElement display:ResearchMenuItem .
|
||||
|
||||
#### Menu Items for Default Menu ####
|
||||
|
||||
display:HomeMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 1;
|
||||
display:linkText "Home";
|
||||
display:toPage display:Home .
|
||||
|
||||
display:PeopleMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 2;
|
||||
display:linkText "People";
|
||||
display:toPage display:People .
|
||||
|
||||
display:OrganizationsMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 3;
|
||||
display:linkText "Organizations";
|
||||
display:toPage display:Organizations .
|
||||
|
||||
display:ResearchMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 4;
|
||||
display:linkText "Research";
|
||||
display:toPage display:Research .
|
||||
|
||||
display:EventsMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 5;
|
||||
display:linkText "Events";
|
||||
display:toPage display:Events .
|
||||
|
||||
display:Home
|
||||
a display:HomePage ;
|
||||
a display:Page ;
|
||||
display:title "Home" ;
|
||||
display:urlMapping "/" ;
|
||||
display:hasDataGetter display:homeDataGetter;
|
||||
display:cannotDeletePage "true" .
|
||||
|
||||
display:Events
|
||||
a display:Page ;
|
||||
a display:ClassGroupPage;
|
||||
display:forClassGroup vivoweb:vitroClassGroupevents ;
|
||||
display:title "Events" ;
|
||||
display:urlMapping "/events" ;
|
||||
display:hasDataGetter display:eventsDataGetter .
|
||||
|
||||
display:Organizations
|
||||
a display:Page ;
|
||||
a display:ClassGroupPage;
|
||||
display:forClassGroup vivoweb:vitroClassGrouporganizations ;
|
||||
display:title "Organizations" ;
|
||||
display:urlMapping "/organizations";
|
||||
display:hasDataGetter display:organizationsDataGetter .
|
||||
|
||||
display:People
|
||||
a display:Page ;
|
||||
a display:ClassGroupPage;
|
||||
display:forClassGroup vivoweb:vitroClassGrouppeople ;
|
||||
display:title "People" ;
|
||||
display:urlMapping "/people" ;
|
||||
display:hasDataGetter display:peopleDataGetter .
|
||||
|
||||
display:Research
|
||||
a display:Page ;
|
||||
a display:ClassGroupPage;
|
||||
display:forClassGroup vivoweb:vitroClassGrouppublications ;
|
||||
display:title "Research" ;
|
||||
display:urlMapping "/research" ;
|
||||
display:hasDataGetter display:researchDataGetter .
|
||||
|
||||
|
||||
|
||||
#The data getter objects used above
|
||||
display:peopleDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.ClassGroupPageData>;
|
||||
display:forClassGroup
|
||||
vivoweb:vitroClassGrouppeople .
|
||||
|
||||
display:researchDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.ClassGroupPageData>;
|
||||
display:forClassGroup
|
||||
vivoweb:vitroClassGrouppublications .
|
||||
|
||||
display:organizationsDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.ClassGroupPageData>;
|
||||
display:forClassGroup
|
||||
vivoweb:vitroClassGrouporganizations .
|
||||
|
||||
display:eventsDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.ClassGroupPageData>;
|
||||
display:forClassGroup
|
||||
vivoweb:vitroClassGroupevents .
|
||||
|
||||
display:homeDataGetter
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> .
|
Loading…
Add table
Add a link
Reference in a new issue