# Ontohub Library Includes
# Ontology Model Includes
# Multiple Class Features
"#{Hostname.url_authority}#{locid}"
end
end
\A
.+?
:// # A uri has a separation between schema and hierarchy
.+
(?:/|\#)
\z
}x)
if match
else
end
end
elsif parent.nil?
# Distributed or parentless ontology
"/#{repository.path}/#{basepath}"
else
# Child ontology
end
end
end
self.logic ? (self.logic.name == logic_name) : false
end
end
end
# Title for mappings
end
if parent
end
else
end
end
end
end
else
end
end
end
end
end
end
# list all sentences defined on this ontology,
# those who are self defined and those which
# are imported (ImpAxioms)
end
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
# Checks if a file at the given commit (HEAD if nil) doesn't exist.
end
# alias_method doesn't work for this one.
end
else
end
end
end