From 4dde9bc9491a47d72c4bda662319fd19da57c382 Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 27 Mar 2015 12:56:37 -0400 Subject: [PATCH] VIVO-997 Configure 4 different patterns for context nodes. relatedBy ==> node ==> relates bearerOf ==> role ==> roleContributesTo bearerOf ==> role ==> realizedIn bearerOf ==> role ==> relatedBy --- .../searchIndexerConfigurationVivo.n3 | 48 +++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/rdf/display/everytime/searchIndexerConfigurationVivo.n3 b/rdf/display/everytime/searchIndexerConfigurationVivo.n3 index 4c7d4df8..e71c39dc 100644 --- a/rdf/display/everytime/searchIndexerConfigurationVivo.n3 +++ b/rdf/display/everytime/searchIndexerConfigurationVivo.n3 @@ -15,15 +15,19 @@ # ------------------------------------ -:extension_forContextNodes_1 +# Most context nodes look like this: relatedBy ==> node ==> relates +# relates <== node <== relatedBy +:extension_forContextNodes a , , ; rdfs:label "Labels across relatedBy/relates" ; :hasIncomingProperty "http://vivoweb.org/ontology/core#relatedBy" ; :hasOutgoingProperty "http://vivoweb.org/ontology/core#relates" . - -:extension_forContextNodes_2 + +# Some roles look like this: bearerOf ==> role ==> roleContributesTo +# inheresIn <== role <== contributingRole +:extension_forContextNodes_role_contributes_1 a , , ; @@ -31,7 +35,7 @@ :hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ; :hasOutgoingProperty "http://vivoweb.org/ontology/core#roleContributesTo" . -:extension_forContextNodes_3 +:extension_forContextNodes_role_contributes_2 a , , ; @@ -39,6 +43,42 @@ :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 , + , + ; + 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 , + , + ; + 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 , + , + ; + 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 , + , + ; + rdfs:label "Labels across contributor/relatedBy" ; + :hasIncomingProperty "http://vivoweb.org/ontology/core#relates" ; + :hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" . + # ------------------------------------