Merge pull request #59 from j2blake/feature/1408-java-rdf-namespaces

VIVO-1408 java rdf namespaces
This commit is contained in:
hudajkhan 2018-04-03 15:42:33 -04:00 committed by GitHub
commit 73c205ddf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 57 additions and 55 deletions

View file

@ -11,6 +11,7 @@
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> . @prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
@prefix vitroWebapp: <java:edu.cornell.mannlib.vitro.webapp#> .
# ---------------------------- # ----------------------------
# #
@ -19,8 +20,8 @@
# #
:application :application
a <java:edu.cornell.mannlib.vitro.webapp.application.ApplicationImpl> , a vitroWebapp:application.ApplicationImpl ,
<java:edu.cornell.mannlib.vitro.webapp.modules.Application> ; vitroWebapp:modules.Application ;
:hasSearchEngine :instrumentedSearchEngineWrapper ; :hasSearchEngine :instrumentedSearchEngineWrapper ;
:hasSearchIndexer :basicSearchIndexer ; :hasSearchIndexer :basicSearchIndexer ;
:hasImageProcessor :iioImageProcessor ; :hasImageProcessor :iioImageProcessor ;
@ -35,8 +36,8 @@
# #
:iioImageProcessor :iioImageProcessor
a <java:edu.cornell.mannlib.vitro.webapp.imageprocessor.imageio.IIOImageProcessor> , a vitroWebapp:imageprocessor.imageio.IIOImageProcessor ,
<java:edu.cornell.mannlib.vitro.webapp.modules.imageProcessor.ImageProcessor> . vitroWebapp:modules.imageProcessor.ImageProcessor .
# ---------------------------- # ----------------------------
# #
@ -46,8 +47,8 @@
# #
:ptiFileStorage :ptiFileStorage
a <java:edu.cornell.mannlib.vitro.webapp.filestorage.impl.FileStorageImplWrapper> , a vitroWebapp:filestorage.impl.FileStorageImplWrapper ,
<java:edu.cornell.mannlib.vitro.webapp.modules.fileStorage.FileStorage> . vitroWebapp:modules.fileStorage.FileStorage .
# ---------------------------- # ----------------------------
# #
@ -58,13 +59,13 @@
# #
:instrumentedSearchEngineWrapper :instrumentedSearchEngineWrapper
a <java:edu.cornell.mannlib.vitro.webapp.searchengine.InstrumentedSearchEngineWrapper> , a vitroWebapp:searchengine.InstrumentedSearchEngineWrapper ,
<java:edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchEngine> ; vitroWebapp:modules.searchEngine.SearchEngine ;
:wraps :solrSearchEngine . :wraps :solrSearchEngine .
:solrSearchEngine :solrSearchEngine
a <java:edu.cornell.mannlib.vitro.webapp.searchengine.solr.SolrSearchEngine> , a vitroWebapp:searchengine.solr.SolrSearchEngine ,
<java:edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchEngine> . vitroWebapp:modules.searchEngine.SearchEngine .
# ---------------------------- # ----------------------------
# #
@ -74,8 +75,8 @@
# #
:basicSearchIndexer :basicSearchIndexer
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.SearchIndexerImpl> , a vitroWebapp:searchindex.SearchIndexerImpl ,
<java:edu.cornell.mannlib.vitro.webapp.modules.searchIndexer.SearchIndexer> ; vitroWebapp:modules.searchIndexer.SearchIndexer ;
:threadPoolSize "10" . :threadPoolSize "10" .
# ---------------------------- # ----------------------------
@ -89,26 +90,26 @@
# #
:sdbContentTripleSource :sdbContentTripleSource
a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.sdb.ContentTripleSourceSDB> , a vitroWebapp:triplesource.impl.sdb.ContentTripleSourceSDB ,
<java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> . vitroWebapp:modules.tripleSource.ContentTripleSource .
#:tdbContentTripleSource #:tdbContentTripleSource
# a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.tdb.ContentTripleSourceTDB> , # a vitroWebapp:triplesource.impl.tdb.ContentTripleSourceTDB ,
# <java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> ; # vitroWebapp:modules.tripleSource.ContentTripleSource ;
# # May be an absolute path, or relative to the Vitro home directory. # # May be an absolute path, or relative to the Vitro home directory.
# :hasTdbDirectory "tdbContentModels" . # :hasTdbDirectory "tdbContentModels" .
#:sparqlContentTripleSource #:sparqlContentTripleSource
# a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.sparql.ContentTripleSourceSPARQL> , # a vitroWebapp:triplesource.impl.sparql.ContentTripleSourceSPARQL ,
# <java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> ; # vitroWebapp:modules.tripleSource.ContentTripleSource ;
# # The URI of the SPARQL endpoint for your triple-store. # # The URI of the SPARQL endpoint for your triple-store.
# :hasEndpointURI "PUT_YOUR_SPARQL_ENDPOINT_URI_HERE" ; # :hasEndpointURI "PUT_YOUR_SPARQL_ENDPOINT_URI_HERE" ;
# # The URI to use for SPARQL UPDATE calls against your triple-store. # # The URI to use for SPARQL UPDATE calls against your triple-store.
# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" . # :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" .
#:virtuosoContentTripleSource #:virtuosoContentTripleSource
# a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.virtuoso.ContentTripleSourceVirtuoso> , # a vitroWebapp:triplesource.impl.virtuoso.ContentTripleSourceVirtuoso ,
# <java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> ; # vitroWebapp:modules.tripleSource.ContentTripleSource ;
# # The URI where Virtuoso can be accessed: don't include the /sparql path. # # The URI where Virtuoso can be accessed: don't include the /sparql path.
# :hasBaseURI "http://localhost:8890" ; # :hasBaseURI "http://localhost:8890" ;
# # The name and password of a Virtuoso account that has the SPARQL_UPDATE role. # # The name and password of a Virtuoso account that has the SPARQL_UPDATE role.
@ -124,8 +125,8 @@
# #
:tdbConfigurationTripleSource :tdbConfigurationTripleSource
a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.tdb.ConfigurationTripleSourceTDB> , a vitroWebapp:triplesource.impl.tdb.ConfigurationTripleSourceTDB ,
<java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ConfigurationTripleSource> . vitroWebapp:modules.tripleSource.ConfigurationTripleSource .
# ---------------------------- # ----------------------------
# #
@ -135,5 +136,5 @@
# #
:jfactTBoxReasonerModule :jfactTBoxReasonerModule
a <java:edu.cornell.mannlib.vitro.webapp.tboxreasoner.impl.jfact.JFactTBoxReasonerModule> , a vitroWebapp:tboxreasoner.impl.jfact.JFactTBoxReasonerModule ,
<java:edu.cornell.mannlib.vitro.webapp.modules.tboxreasoner.TBoxReasonerModule> . vitroWebapp:modules.tboxreasoner.TBoxReasonerModule .

View file

@ -1,5 +1,6 @@
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> . @prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @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 :vivoSearchExcluder_namespaceExcluder
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnNamespace> , a searchIndex:exclusions.ExcludeBasedOnNamespace ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> ; searchIndex:exclusions.SearchIndexExcluder ;
:excludes :excludes
"http://purl.obolibrary.org/obo/" . "http://purl.obolibrary.org/obo/" .
@ -18,9 +19,9 @@
# Most context nodes look like this: relatedBy ==> node ==> relates # Most context nodes look like this: relatedBy ==> node ==> relates
# relates <== node <== relatedBy # relates <== node <== relatedBy
:extension_forContextNodes :extension_forContextNodes
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> , a searchIndex:indexing.IndexingUriFinder ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> , searchIndex:documentBuilding.DocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ; searchIndex:extensions.LabelsAcrossContextNodes ;
rdfs:label "Labels across relatedBy/relates" ; rdfs:label "Labels across relatedBy/relates" ;
:hasIncomingProperty "http://vivoweb.org/ontology/core#relatedBy" ; :hasIncomingProperty "http://vivoweb.org/ontology/core#relatedBy" ;
:hasOutgoingProperty "http://vivoweb.org/ontology/core#relates" . :hasOutgoingProperty "http://vivoweb.org/ontology/core#relates" .
@ -28,17 +29,17 @@
# Some roles look like this: bearerOf ==> role ==> roleContributesTo # Some roles look like this: bearerOf ==> role ==> roleContributesTo
# inheresIn <== role <== contributingRole # inheresIn <== role <== contributingRole
:extension_forContextNodes_role_contributes_1 :extension_forContextNodes_role_contributes_1
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> , a searchIndex:indexing.IndexingUriFinder ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> , searchIndex:documentBuilding.DocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ; searchIndex:extensions.LabelsAcrossContextNodes ;
rdfs:label "Labels across bearerOf/contributesTo" ; rdfs:label "Labels across bearerOf/contributesTo" ;
:hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ; :hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ;
:hasOutgoingProperty "http://vivoweb.org/ontology/core#roleContributesTo" . :hasOutgoingProperty "http://vivoweb.org/ontology/core#roleContributesTo" .
:extension_forContextNodes_role_contributes_2 :extension_forContextNodes_role_contributes_2
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> , a searchIndex:indexing.IndexingUriFinder ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> , searchIndex:documentBuilding.DocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ; searchIndex:extensions.LabelsAcrossContextNodes ;
rdfs:label "Labels across contributor/inheresIn" ; rdfs:label "Labels across contributor/inheresIn" ;
:hasIncomingProperty "http://vivoweb.org/ontology/core#contributingRole" ; :hasIncomingProperty "http://vivoweb.org/ontology/core#contributingRole" ;
:hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" . :hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" .
@ -46,17 +47,17 @@
# Other roles look like this: bearerOf ==> role ==> realizedIn # Other roles look like this: bearerOf ==> role ==> realizedIn
# inheresIn <== role <== realizes # inheresIn <== role <== realizes
:extension_forContextNodes_role_realizedIn_1 :extension_forContextNodes_role_realizedIn_1
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> , a searchIndex:indexing.IndexingUriFinder ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> , searchIndex:documentBuilding.DocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ; searchIndex:extensions.LabelsAcrossContextNodes ;
rdfs:label "Labels across bearerOf/realizedIn" ; rdfs:label "Labels across bearerOf/realizedIn" ;
:hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ; :hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ;
:hasOutgoingProperty "http://purl.obolibrary.org/obo/BFO_0000054" . :hasOutgoingProperty "http://purl.obolibrary.org/obo/BFO_0000054" .
:extension_forContextNodes_role_realizedIn_2 :extension_forContextNodes_role_realizedIn_2
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> , a searchIndex:indexing.IndexingUriFinder ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> , searchIndex:documentBuilding.DocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ; searchIndex:extensions.LabelsAcrossContextNodes ;
rdfs:label "Labels across realizes/inheresIn" ; rdfs:label "Labels across realizes/inheresIn" ;
:hasIncomingProperty "http://purl.obolibrary.org/obo/BFO_0000055" ; :hasIncomingProperty "http://purl.obolibrary.org/obo/BFO_0000055" ;
:hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" . :hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" .
@ -64,17 +65,17 @@
# Roles on grants look like this: bearerOf ==> role ==> relatedBy # Roles on grants look like this: bearerOf ==> role ==> relatedBy
# inheresIn <== role <== relates # inheresIn <== role <== relates
:extension_forContextNodes_roles_on_grants_1 :extension_forContextNodes_roles_on_grants_1
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> , a searchIndex:indexing.IndexingUriFinder ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> , searchIndex:documentBuilding.DocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ; searchIndex:extensions.LabelsAcrossContextNodes ;
rdfs:label "Labels across bearerOf/relates" ; rdfs:label "Labels across bearerOf/relates" ;
:hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ; :hasIncomingProperty "http://purl.obolibrary.org/obo/RO_0000053" ;
:hasOutgoingProperty "http://vivoweb.org/ontology/core#relatedBy" . :hasOutgoingProperty "http://vivoweb.org/ontology/core#relatedBy" .
:extension_forContextNodes_roles_on_grants_2 :extension_forContextNodes_roles_on_grants_2
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> , a searchIndex:indexing.IndexingUriFinder ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> , searchIndex:documentBuilding.DocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.extensions.LabelsAcrossContextNodes> ; searchIndex:extensions.LabelsAcrossContextNodes ;
rdfs:label "Labels across contributor/relatedBy" ; rdfs:label "Labels across contributor/relatedBy" ;
:hasIncomingProperty "http://vivoweb.org/ontology/core#relates" ; :hasIncomingProperty "http://vivoweb.org/ontology/core#relates" ;
:hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" . :hasOutgoingProperty "http://purl.obolibrary.org/obo/RO_0000052" .
@ -83,14 +84,14 @@
# ------------------------------------ # ------------------------------------
:vivodocumentModifier_calculateParameters :vivodocumentModifier_calculateParameters
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.CalculateParameters> , a searchIndex:documentBuilding.CalculateParameters ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> . searchIndex:documentBuilding.DocumentModifier .
# ------------------------------------ # ------------------------------------
:vivoUriFinder_VCard :vivoUriFinder_VCard
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> , a searchIndex:indexing.IndexingUriFinder ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.SelectQueryUriFinder> ; searchIndex:indexing.SelectQueryUriFinder ;
rdfs:label "Preferred title" ; rdfs:label "Preferred title" ;
:hasPredicateRestriction "http://www.w3.org/2006/vcard/ns#title" ; :hasPredicateRestriction "http://www.w3.org/2006/vcard/ns#title" ;
:hasPredicateRestriction "http://www.w3.org/2006/vcard/ns#email" ; :hasPredicateRestriction "http://www.w3.org/2006/vcard/ns#email" ;
@ -116,8 +117,8 @@
""" . """ .
:vivodocumentModifier_PreferredTitle :vivodocumentModifier_PreferredTitle
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> , a searchIndex:documentBuilding.SelectQueryDocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ; searchIndex:documentBuilding.DocumentModifier ;
rdfs:label "Preferred title" ; rdfs:label "Preferred title" ;
:hasTargetField "ALLTEXT" ; :hasTargetField "ALLTEXT" ;
:hasTargetField "ALLTEXTUNSTEMMED" ; :hasTargetField "ALLTEXTUNSTEMMED" ;
@ -135,8 +136,8 @@
""" . """ .
:vivodocumentModifier_EmailAddress :vivodocumentModifier_EmailAddress
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> , a searchIndex:documentBuilding.SelectQueryDocumentModifier ,
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ; searchIndex:documentBuilding.DocumentModifier ;
rdfs:label "Email address" ; rdfs:label "Email address" ;
:hasSelectQuery """ :hasSelectQuery """
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#> PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>