All Downloads are FREE. Search and download functionalities are using the official Maven repository.

data.corese.property.properties Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

The newest version!
#
# Corese configuration 
# Property file interpreted by corese.core.util.Property
# java -jar corese-gui.jar    -init property.properties
# java -jar corese-server.jar -init property.properties
# Property.load("property.properties");
# Property.set(LOAD_IN_DEFAULT_GRAPH, true);
# Property.init(graph);
#

VARIABLE =  vis=fr.inria.corese.core.visitor.solver;home=./;fed=/user/corby/home/AADemoNew/federate;sys=/user/corby/home/AAData/query;db=/user/corby/home/AADemoNew/storage

IMPORT   = ./gui.properties

STORAGE_MODE = dataset
#STORAGE_MODE = db
#STORAGE_MODE = db_all

# manager handle edge index i with kg:rule_i
RULE_DATAMANAGER_OPTIMIZE = true

# replace kg:rule_i by kg:rule
RULE_DATAMANAGER_CLEAN = false

# transitive closure rule computed by function
RULE_TRANSITIVE_FUNCTION = true

# edge iterator filter integer edge index 
RULE_DATAMANAGER_FILTER_INDEX = true

RULE_TRACE = true

#STORAGE = jena_tdb1,jenaowl,/user/corby/home/AADemoNew/storage/go

STORAGE    = jena_tdb1,jenamap,/user/corby/home/AADemoNew/storage/map;java,mapdatamanager,mapdatamanager?path=/user/corby/home/AADemoNew/map/insert.rq¶m=/user/corby/home/AADemoNew/map/map.json&load=/user/corby/home/AADemoNew/map/schema.ttl

#;java,loaddm,loaddm?path=/user/corby/home/AADemoNew/db/load.rq;java,mapjson,mapjson?mode=ldscript&path=/user/corby/home/AADemoNew/map/ldscript.rq;jena_tdb1,$db/map,$db/map;jena_tdb1,$db/indexcard,$db/indexcard;jena_tdb1,$db/indexprop,$db/indexprop;jena_tdb1,$db/indexmore,$db/indexmore

# ==== USAGE ====
# STORAGE = TYPE_BD1,ID_DB1,PARAM_BD1;TYPE_BD2,ID_DB2,PARAM_BD2
#
# Chaque BD est définie de la manière suivante : 
# – Un type de BD (eg: jena_tdb1, rdf4j_model, corese_graph, java)
# – Un ID, identifie la BD dans les requêtes SPARQL
# – (Optionel) les paramètres passés au constructeur du DataManager
# ===============

# ==== EXAMPLE ====
# STORAGE = jena_tdb1,jena,$db_path/music;rdf4j_model,rdf4j;corese_graph,corese
# =================


# STORAGE    = rdf4j_model=$db/human
#$db/human
#/tmp/tmp

BLANK_NODE              = _:b

# display ex:test vs 
DISPLAY_URI_AS_PREFIX   = true

# rdf star reference node displayed as nested triple
DISPLAY_AS_TRIPLE = true

# Graph node is instance of IDatatype (one object) or Node(IDatatype) (two objects)
GRAPH_NODE_AS_DATATYPE  = false

# graph ?g { } iterate external named graph
EXTERNAL_NAMED_GRAPH    = true


# load in kg:default
LOAD_IN_DEFAULT_GRAPH   = true

# skolemize bnode as URI
SKOLEMIZE               = false

GRAPH_INDEX_END = true

# run corese with rdf* prototype extension
RDF_STAR                = false
RDF_STAR_TRIPLE         = false

# select target nested triple for asserted triple pattern
RDF_STAR_SELECT = false

# physically delete triple with reference
RDF_STAR_DELETE = false

# clean OWL graph before OWL RL using update queries
OWL_CLEAN               = true

# Disable owl auto import
DISABLE_OWL_AUTO_IMPORT = false

# constraint rule entailment in kg:constraint named graph
CONSTRAINT_NAMED_GRAPH  = true

# constraint rule entailment in external kg:constraint named graph
CONSTRAINT_GRAPH        = true

# Specific processing of transitive rule
RULE_TRANSITIVE_OPTIMIZE = true




# additional queries for cleaning OWL
#OWL_CLEAN_QUERY         = /user/corby/home/AAData/query/clean/test.rq

# user defined OWL RL rule base
#OWL_RL                  = /user/corby/home/AAData/rule/owlrl.rul

# when true: distinct decimal and integer, distinct string and literal, ...
# used for w3c test case compliance
SPARQL_COMPLIANT        = false

# enable update during query for micro services 
REENTRANT_QUERY         = false

# rdf triples may be assigned access right
ACCESS_RIGHT            = false

# specify user access level
#ACCESS_LEVEL           = PUBLIC | RESTRICTED | PRIVATE

# corese trigger events that run ldscript functions
EVENT               = false

# Visitor for trace
#RULE_VISITOR        = $vis.QuerySolverVisitorRuleUser
#SOLVER_VISITOR      = $vis.QuerySolverVisitorUser
#TRANSFORMER_VISITOR = $vis.QuerySolverVisitorTransformerUser
#SERVER_VISITOR      = fr.inria.corese.server.webservice.QuerySolverVisitorServerUser

#
# Test, debug
#
VERBOSE        = false
SOLVER_DEBUG   = false
TRANSFORMER_DEBUG   = false

TRACE_MEMORY = false
LOG_NODE_INDEX = false
LOG_RULE_CLEAN = false

# draft: trace var in owl rl checker: trace_sttl_undo=true
LDSCRIPT_VARIABLE        = mapsize=maplarge;mapzoom=6

# generic property, not used
INTERPRETER_TEST = false
TRACE_GENERIC = false

# take property cardinality into account to sort query pattern
SOLVER_SORT_CARDINALITY   = false

# see fr.inria.corese.core.sparql.triple.function.term.TermEval term evaluator overload
SOLVER_OVERLOAD           = false

# enable advanced prototype query planner (todo)
# std | advanced
SOLVER_QUERY_PLAN = std

LDSCRIPT_DEBUG           = false

# check xsd datatype of arguments at function call
LDSCRIPT_CHECK_DATATYPE  = false

# check rdf:type of arguments at function call
LDSCRIPT_CHECK_RDFTYPE   = false

# ldscript function max number of parameters 
FUNCTION_PARAMETER_MAX = 15

# values filter
SERVICE_BINDING     = values 
# split variable bindings
SERVICE_SLICE       = 500
# limit added to service unless service has a limit
#SERVICE_LIMIT       = 5000
SERVICE_TIMEOUT     = 5000
# add parameter to service url
#SERVICE_PARAMETER   = mode=link;debug;show&transform=st:xml&format=json
# service may return RDF graph as result
# when true: execute service query locally on this graph
SERVICE_GRAPH       = false
# service parameter sent to endpoint
SERVICE_SEND_PARAMETER = true
# generate service evaluation report
SERVICE_REPORT = false
# max number of results displayed in debug/trace/log mode
SERVICE_DISPLAY_RESULT = 10
# when there is a parse error
SERVICE_DISPLAY_MESSAGE = true
# service http header recorded in log and displayed by logger
#SERVICE_HEADER = *
SERVICE_HEADER = X-SPARQL-MaxRows;Server;Content-Type

# define federation for federated query
#FEDERATION = /user/corby/home/AAData/data/corese/federation.ttl
# generate partition of connected bgp
FEDERATE_BGP = true
# do not split complete partition
FEDERATE_PARTITION = true
# complete with triple alone
FEDERATE_COMPLETE = false
# source selection with filter 
FEDERATE_FILTER = true
# filters used in source selection in adition to predefined list
FEDERATE_FILTER_ACCEPT = !=
# reject filters from predefined list
FEDERATE_FILTER_REJECT = test
#  source selection with bind (exists {t1 . t2} as ?b_i)
FEDERATE_JOIN = true
FEDERATE_JOIN_PATH = true
# exploit join on optional ; require FEDERATE_BGP = true 
FEDERATE_OPTIONAL = true
# exploit join on minus ; require FEDERATE_BGP = true 
FEDERATE_MINUS = true
# skip undefined arg of union optional minus
FEDERATE_UNDEFINED = true

FEDERATE_BLACKLIST        = http://ldf.fi/warsa/sparql;http://data.semanticweb.org/sparql;http://biordf.net/sparql
FEDERATE_BLACKLIST_EXCEPT = http://corese.inria.fr/sparql;http://prod-dekalog.inria.fr/sparql;https://dbpedia.org/sparql;https://query.wikidata.org/sparql;http://fr.dbpedia.org/sparql

# max number of endpoint url returned by source discovery 
FEDERATE_INDEX_LENGTH = 500
# success rate to accept endpoint url in source discovery
FEDERATE_INDEX_SUCCESS = 0.5

# query pattern for source discovery
FEDERATE_QUERY_PATTERN =     http://prod-dekalog.inria.fr/sparql=$sys/indexpatternendpointall.rq;store:/user/corby/home/AADemoNew/storage/indexcard=$fed/indexpattern/localindexpatternendpointall.rq;http://localhost:8080/index=$fed/testindex/indexpatternendpoint.rq;http://d2kab.fr=$fed/indexpattern/indexqueryd2kab.rq

# predicate pattern for source discovery
FEDERATE_PREDICATE_PATTERN = http://prod-dekalog.inria.fr/sparql=$sys/indexpredicate.rq;store:/user/corby/home/AADemoNew/storage/indexcard=$fed/indexpattern/localindexpredicate.rq;http://localhost:8080/index=$fed/testindex/indexpredicate.rq;http://d2kab.fr=$fed/indexpattern/indexpatternd2kab.rq;

# predicates used to split connected bgp in two subparts
FEDERATE_SPLIT = owl:sameAs

# predicates to be skipped during source discovery
#FEDERATE_INDEX_SKIP = http://rdfs.org/ns/void#

#
# Parser
#

# throw exception for all syntax error
STRICT_MODE = false

#
# Dataset
#


# limit number of triples loaded from any rdf document
#LOAD_LIMIT   = 100000

# load take ?format=rdfxml into account
#LOAD_WITH_PARAMETER = true

# header Accept for load http
#LOAD_FORMAT   = text/turtle;q=1.0, application/rdf+xml;q=0.9, application/ld+json;q=0.7; application/json;q=0.6
#LOAD_FORMAT   = application/rdf+xml







© 2015 - 2025 Weber Informatics LLC | Privacy Policy