ontology.rb revision c882cce4bd468bb3ac48c4d816307dcccad380b3
# Ontohub Library Includes
# Ontology Model Includes
# Multiple Class Features
end
\A
.+?
:// # A uri has a separation between schema and hierarchy
.+
(?:/|\#)
\z
}x)
if match
else
end
end
end
end
self.logic ? (self.logic.name == logic_name) : false
end
end
end
# Title for mappings
end
end
end
import_mappings.map(&:source)
end
if parent
end
else
end
end
end
end
else
end
end
end
end
end
end
end
end
# list all sentences defined on this ontology,
# those who are self defined and those which
# are imported (ImpAxioms)
where(ontology_id: self).
end
where(ontology_id: self).
end
end
end
"#{basepath}#{file_extension}"
end
end
end
# Uses where in order to force a Relation as a result
where(ontologies: {id: self})
end
end
end
import_mappings.select { |l| l.target.repository != repository }
end
end