# A logic_mapping propulation procedure.
#
# TODO Transform this code in an iterator to enable unit testing
#
# Author: Daniel Couto Vale <danielvale@uni-bremen.de>
#
# A triple store with logic_mappings
end
comment_iri = 'http://www.w3.org/2000/01/rdf-schema#comment'
defined_iri = 'http://www.w3.org/2000/01/rdf-schema#isDefinedBy'
mapping_type_iri = 'http://purl.net/dol/1.0/rdf#LogicMapping'
default_iri = 'http://purl.net/dol/1.0/rdf#DefaultMapping'
maps_from_iri = 'http://purl.net/dol/1.0/rdf#mapsFrom'
maps_to_iri = 'http://purl.net/dol/1.0/rdf#mapsTo'
status_iri = 'http://purl.net/dol/1.0/standardization#standardizationStatus'
'http://purl.net/dol/1.0/rdf#UnfaithfulMapping',
'http://purl.net/dol/1.0/rdf#FaithfulMapping',
'http://purl.net/dol/1.0/rdf#ModelExpansiveMapping',
'http://purl.net/dol/1.0/rdf#ModelBijectiveMapping',
'http://purl.net/dol/1.0/rdf#EmbeddingMapping',
'http://purl.net/dol/1.0/rdf#SubLogic'
]
'http://purl.net/dol/1.0/rdf#PlainMapping',
'http://purl.net/dol/1.0/rdf#SimpleTheoroidalMapping',
'http://purl.net/dol/1.0/rdf#TheoroidalMapping',
'http://purl.net/dol/1.0/rdf#GeneralizedMapping'
]
exactness_iris = [
'http://purl.net/dol/1.0/rdf#InexactMapping',
'http://purl.net/dol/1.0/rdf#WeaklyMonoExactMapping',
'http://purl.net/dol/1.0/rdf#WeaklyExactMapping',
'http://purl.net/dol/1.0/rdf#ExactMapping'
]
default = false
faithfulness_i = 0
theoroidalness_i = 0
exactness_i = 0
mapping_types.each do |type|
end
if faithfulness_i > 2 then
exactness_i = 3
end
:iri => mapping_iri,
#:name => mapping_name,
:defined_by => mapping_defi,
:source => mapping_source,
:target => mapping_target,
end
end
end