VIVO-1408 Use prefix to simplify JAVA class URIs
This commit is contained in:
parent
5544b52712
commit
71dfb30530
2 changed files with 57 additions and 55 deletions
|
@ -1,5 +1,6 @@
|
|||
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
@prefix searchIndex: <java:edu.cornell.mannlib.vitro.webapp.searchindex#> .
|
||||
|
||||
|
||||
#
|
||||
|
@ -8,8 +9,8 @@
|
|||
#
|
||||
|
||||
:vivoSearchExcluder_namespaceExcluder
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnNamespace> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> ;
|
||||
a searchIndex:exclusions.ExcludeBasedOnNamespace ,
|
||||
searchIndex:exclusions.SearchIndexExcluder ;
|
||||
:excludes
|
||||
"http://purl.obolibrary.org/obo/" .
|
||||
|
||||
|
@ -18,9 +19,9 @@
|
|||
# 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> ;
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:documentBuilding.DocumentModifier ,
|
||||
searchIndex:extensions.LabelsAcrossContextNodes ;
|
||||
rdfs:label "Labels across relatedBy/relates" ;
|
||||
:hasIncomingProperty "http://vivoweb.org/ontology/core#relatedBy" ;
|
||||
:hasOutgoingProperty "http://vivoweb.org/ontology/core#relates" .
|
||||
|
@ -28,17 +29,17 @@
|
|||
# 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> ;
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:documentBuilding.DocumentModifier ,
|
||||
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> ;
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:documentBuilding.DocumentModifier ,
|
||||
searchIndex:extensions.LabelsAcrossContextNodes ;
|
||||
rdfs:label "Labels across contributor/inheresIn" ;
|
||||
:hasIncomingProperty "http://vivoweb.org/ontology/core#contributingRole" ;
|
||||
:hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" .
|
||||
|
@ -46,17 +47,17 @@
|
|||
# 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> ;
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:documentBuilding.DocumentModifier ,
|
||||
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> ;
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:documentBuilding.DocumentModifier ,
|
||||
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" .
|
||||
|
@ -64,17 +65,17 @@
|
|||
# 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> ;
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:documentBuilding.DocumentModifier ,
|
||||
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> ;
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:documentBuilding.DocumentModifier ,
|
||||
searchIndex:extensions.LabelsAcrossContextNodes ;
|
||||
rdfs:label "Labels across contributor/relatedBy" ;
|
||||
:hasIncomingProperty "http://vivoweb.org/ontology/core#relates" ;
|
||||
:hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" .
|
||||
|
@ -83,14 +84,14 @@
|
|||
# ------------------------------------
|
||||
|
||||
:vivodocumentModifier_calculateParameters
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.CalculateParameters> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> .
|
||||
a searchIndex:documentBuilding.CalculateParameters ,
|
||||
searchIndex:documentBuilding.DocumentModifier .
|
||||
|
||||
# ------------------------------------
|
||||
|
||||
:vivoUriFinder_VCard
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.SelectQueryUriFinder> ;
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
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" ;
|
||||
|
@ -116,8 +117,8 @@
|
|||
""" .
|
||||
|
||||
:vivodocumentModifier_PreferredTitle
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
||||
a searchIndex:documentBuilding.SelectQueryDocumentModifier ,
|
||||
searchIndex:documentBuilding.DocumentModifier ;
|
||||
rdfs:label "Preferred title" ;
|
||||
:hasTargetField "ALLTEXT" ;
|
||||
:hasTargetField "ALLTEXTUNSTEMMED" ;
|
||||
|
@ -135,8 +136,8 @@
|
|||
""" .
|
||||
|
||||
:vivodocumentModifier_EmailAddress
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
||||
a searchIndex:documentBuilding.SelectQueryDocumentModifier ,
|
||||
searchIndex:documentBuilding.DocumentModifier ;
|
||||
rdfs:label "Email address" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue