VIVO-1408 Use prefix to simplify JAVA class URIs
This commit is contained in:
parent
7f8b16bc1b
commit
8cba661a0e
2 changed files with 49 additions and 46 deletions
|
@ -11,6 +11,7 @@
|
|||
# ------------------------------------------------------------------------------
|
||||
|
||||
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
|
||||
@prefix vitroWebapp: <java:edu.cornell.mannlib.vitro.webapp#> .
|
||||
|
||||
# ----------------------------
|
||||
#
|
||||
|
@ -19,8 +20,8 @@
|
|||
#
|
||||
|
||||
:application
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.application.ApplicationImpl> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.Application> ;
|
||||
a vitroWebapp:application.ApplicationImpl ,
|
||||
vitroWebapp:modules.Application ;
|
||||
:hasSearchEngine :instrumentedSearchEngineWrapper ;
|
||||
:hasSearchIndexer :basicSearchIndexer ;
|
||||
:hasImageProcessor :iioImageProcessor ;
|
||||
|
@ -35,8 +36,8 @@
|
|||
#
|
||||
|
||||
:iioImageProcessor
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.imageprocessor.imageio.IIOImageProcessor> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.imageProcessor.ImageProcessor> .
|
||||
a vitroWebapp:imageprocessor.imageio.IIOImageProcessor ,
|
||||
vitroWebapp:modules.imageProcessor.ImageProcessor .
|
||||
|
||||
# ----------------------------
|
||||
#
|
||||
|
@ -46,8 +47,8 @@
|
|||
#
|
||||
|
||||
:ptiFileStorage
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.filestorage.impl.FileStorageImplWrapper> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.fileStorage.FileStorage> .
|
||||
a vitroWebapp:filestorage.impl.FileStorageImplWrapper ,
|
||||
vitroWebapp:modules.fileStorage.FileStorage .
|
||||
|
||||
# ----------------------------
|
||||
#
|
||||
|
@ -58,13 +59,13 @@
|
|||
#
|
||||
|
||||
:instrumentedSearchEngineWrapper
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchengine.InstrumentedSearchEngineWrapper> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchEngine> ;
|
||||
a vitroWebapp:searchengine.InstrumentedSearchEngineWrapper ,
|
||||
vitroWebapp:modules.searchEngine.SearchEngine ;
|
||||
:wraps :solrSearchEngine .
|
||||
|
||||
:solrSearchEngine
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchengine.solr.SolrSearchEngine> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchEngine> .
|
||||
a vitroWebapp:searchengine.solr.SolrSearchEngine ,
|
||||
vitroWebapp:modules.searchEngine.SearchEngine .
|
||||
|
||||
# ----------------------------
|
||||
#
|
||||
|
@ -74,8 +75,8 @@
|
|||
#
|
||||
|
||||
:basicSearchIndexer
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.SearchIndexerImpl> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.searchIndexer.SearchIndexer> ;
|
||||
a vitroWebapp:searchindex.SearchIndexerImpl ,
|
||||
vitroWebapp:modules.searchIndexer.SearchIndexer ;
|
||||
:threadPoolSize "10" .
|
||||
|
||||
# ----------------------------
|
||||
|
@ -89,26 +90,26 @@
|
|||
#
|
||||
|
||||
:sdbContentTripleSource
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.sdb.ContentTripleSourceSDB> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> .
|
||||
a vitroWebapp:triplesource.impl.sdb.ContentTripleSourceSDB ,
|
||||
vitroWebapp:modules.tripleSource.ContentTripleSource .
|
||||
|
||||
#:tdbContentTripleSource
|
||||
# a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.tdb.ContentTripleSourceTDB> ,
|
||||
# <java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> ;
|
||||
# a vitroWebapp:triplesource.impl.tdb.ContentTripleSourceTDB ,
|
||||
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
||||
# # May be an absolute path, or relative to the Vitro home directory.
|
||||
# :hasTdbDirectory "tdbContentModels" .
|
||||
|
||||
#:sparqlContentTripleSource
|
||||
# a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.virtuoso.ContentTripleSourceSPARQL> ,
|
||||
# <java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> ;
|
||||
# a vitroWebapp:triplesource.impl.virtuoso.ContentTripleSourceSPARQL ,
|
||||
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
||||
# # The URI of the SPARQL endpoint for your triple-store.
|
||||
# :hasEndpointURI "PUT_YOUR_SPARQL_ENDPOINT_URI_HERE" ;
|
||||
# # The URI to use for SPARQL UPDATE calls against your triple-store.
|
||||
# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" .
|
||||
|
||||
#:virtuosoContentTripleSource
|
||||
# a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.virtuoso.ContentTripleSourceVirtuoso> ,
|
||||
# <java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> ;
|
||||
# a vitroWebapp:triplesource.impl.virtuoso.ContentTripleSourceVirtuoso ,
|
||||
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
||||
# # The URI of Virtuoso's SPARQL endpoint.
|
||||
# :hasEndpointURI "PUT_YOUR_VIRTUOSO_URI_HERE" ;
|
||||
# # The URI to use for SPARQL UPDATE calls against Virtuoso.
|
||||
|
@ -123,8 +124,8 @@
|
|||
#
|
||||
|
||||
:tdbConfigurationTripleSource
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.tdb.ConfigurationTripleSourceTDB> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ConfigurationTripleSource> .
|
||||
a vitroWebapp:triplesource.impl.tdb.ConfigurationTripleSourceTDB ,
|
||||
vitroWebapp:modules.tripleSource.ConfigurationTripleSource .
|
||||
|
||||
# ----------------------------
|
||||
#
|
||||
|
@ -134,5 +135,5 @@
|
|||
#
|
||||
|
||||
:jfactTBoxReasonerModule
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.tboxreasoner.impl.jfact.JFactTBoxReasonerModule> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.modules.tboxreasoner.TBoxReasonerModule> .
|
||||
a vitroWebapp:tboxreasoner.impl.jfact.JFactTBoxReasonerModule ,
|
||||
vitroWebapp:modules.tboxreasoner.TBoxReasonerModule .
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
||||
@prefix searchIndex: <java:edu.cornell.mannlib.vitro.webapp.searchindex#> .
|
||||
|
||||
|
||||
#
|
||||
# configure the SearchIndexer
|
||||
|
@ -8,8 +10,8 @@
|
|||
|
||||
# Individuals with these types will be excluded from the search index
|
||||
:searchExcluder_typeExcluder
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnType> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> ;
|
||||
a searchIndex:exclusions.ExcludeBasedOnType ,
|
||||
searchIndex:exclusions.SearchIndexExcluder ;
|
||||
:excludes
|
||||
"http://www.w3.org/2002/07/owl#AnnotationProperty" ,
|
||||
"http://www.w3.org/2002/07/owl#DatatypeProperty" ,
|
||||
|
@ -17,8 +19,8 @@
|
|||
|
||||
# Individuals with types from these namespaces will be excluded from the search index.
|
||||
:searchExcluder_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://vitro.mannlib.cornell.edu/ns/vitro/0.7#" ,
|
||||
"http://vitro.mannlib.cornell.edu/ns/vitro/public#" ,
|
||||
|
@ -27,38 +29,38 @@
|
|||
|
||||
# Individuals with URIs in these namespaces will be excluded from the search index.
|
||||
:searchExcluder_typeNamespaceExcluder
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnTypeNamespace> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> ;
|
||||
a searchIndex:exclusions.ExcludeBasedOnTypeNamespace ,
|
||||
searchIndex:exclusions.SearchIndexExcluder ;
|
||||
:excludes
|
||||
"http://vitro.mannlib.cornell.edu/ns/vitro/role#public" .
|
||||
|
||||
:searchExcluder_syncingTypeExcluder
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SyncingExcludeBasedOnType> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder> .
|
||||
a searchIndex:exclusions.SyncingExcludeBasedOnType ,
|
||||
searchIndex:exclusions.SearchIndexExcluder .
|
||||
|
||||
# ------------------------------------
|
||||
|
||||
:uriFinder_forDataProperties
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.AdditionalURIsForDataProperties> .
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:indexing.AdditionalURIsForDataProperties .
|
||||
|
||||
:uriFinder_forObjectProperties
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.AdditionalURIsForObjectProperties> .
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:indexing.AdditionalURIsForObjectProperties .
|
||||
|
||||
:uriFinder_forTypeStatements
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.AdditionalURIsForTypeStatements> .
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:indexing.AdditionalURIsForTypeStatements .
|
||||
|
||||
:uriFinder_forClassGroupChange
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.indexing.URIsForClassGroupChange> .
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:indexing.URIsForClassGroupChange .
|
||||
|
||||
# ------------------------------------
|
||||
|
||||
:documentModifier_AllNames
|
||||
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 "All labels are added to name fields." ;
|
||||
:hasTargetField "nameRaw" ;
|
||||
:hasSelectQuery """
|
||||
|
@ -70,8 +72,8 @@
|
|||
""" .
|
||||
|
||||
:documentModifier_NameFieldBooster
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.FieldBooster> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
||||
a searchIndex:documentBuilding.FieldBooster ,
|
||||
searchIndex:documentBuilding.DocumentModifier ;
|
||||
:hasTargetField "nameRaw" ;
|
||||
:hasTargetField "nameLowercase" ;
|
||||
:hasTargetField "nameUnstemmed" ;
|
||||
|
@ -79,5 +81,5 @@
|
|||
:hasBoost "1.2"^^xsd:float .
|
||||
|
||||
:documentModifier_thumbnailImageUrl
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.ThumbnailImageURL> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> .
|
||||
a searchIndex:documentBuilding.ThumbnailImageURL ,
|
||||
searchIndex:documentBuilding.DocumentModifier .
|
||||
|
|
Loading…
Add table
Reference in a new issue