2015-01-07 17:26:07 -05:00
|
|
|
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
|
2015-01-16 11:47:13 -05:00
|
|
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
|
|
|
2015-01-07 17:26:07 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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/" .
|
|
|
|
|
|
|
|
# ------------------------------------
|
|
|
|
|
2015-02-27 15:41:41 -05:00
|
|
|
:extension_forContextNodes_1
|
2015-01-16 11:47:13 -05:00
|
|
|
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
2015-02-06 15:22:28 -05:00
|
|
|
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ,
|
2015-02-27 15:41:41 -05:00
|
|
|
<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" .
|
|
|
|
|
|
|
|
:extension_forContextNodes_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 bearerOf/contributesTo" ;
|
|
|
|
:hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ;
|
|
|
|
:hasOutgoingProperty "http://vivoweb.org/ontology/core#roleContributesTo" .
|
|
|
|
|
|
|
|
:extension_forContextNodes_3
|
|
|
|
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" .
|
|
|
|
|
2015-01-16 11:47:13 -05:00
|
|
|
|
|
|
|
# ------------------------------------
|
|
|
|
|
2015-01-07 17:26:07 -05:00
|
|
|
:vivodocumentModifier_calculateParameters
|
|
|
|
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.CalculateParameters> ,
|
|
|
|
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> .
|
|
|
|
|
2015-02-06 15:22:28 -05:00
|
|
|
# ------------------------------------
|
|
|
|
|
|
|
|
: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 .
|
|
|
|
}
|
|
|
|
""" .
|
|
|
|
|
2015-01-16 16:53:43 -05:00
|
|
|
:vivodocumentModifier_PreferredTitle
|
2015-02-06 15:22:28 -05:00
|
|
|
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> ,
|
2015-01-16 16:53:43 -05:00
|
|
|
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
|
|
|
rdfs:label "Preferred title" ;
|
|
|
|
:hasTargetField "ALLTEXT" ;
|
|
|
|
:hasTargetField "ALLTEXTUNSTEMMED" ;
|
|
|
|
:hasTargetField "PREFERRED_TITLE" ;
|
2015-02-06 15:22:28 -05:00
|
|
|
:hasSelectQuery """
|
2015-01-16 16:53:43 -05:00
|
|
|
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
|
2015-02-06 15:22:28 -05:00
|
|
|
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> ,
|
2015-01-16 16:53:43 -05:00
|
|
|
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
|
|
|
rdfs:label "Email address" ;
|
2015-02-06 15:22:28 -05:00
|
|
|
:hasSelectQuery """
|
2015-01-16 16:53:43 -05:00
|
|
|
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 .
|
|
|
|
}
|
|
|
|
""" .
|
2015-01-07 17:26:07 -05:00
|
|
|
|