IDENTIFIERS = %w(OWL OWL2)
end
if is_annotation_sentence?(hash)
\s+
\s+
"(?<annotation>.*)" # The actual annotation
\s*
if m
case m['annotation_type']
when 'label'
when 'comment'
end if symbol
end
false
else
true
end
end
end
def ontology_end(hash, ontology)
rescue ActiveRecord::RecordNotFound => e
Rails.logger.warn "Could not create symbol tree for: #{ontology.name} (#{ontology.id}) caused #{e}"
end
end
return true if hash['kind'] == 'AnnotationProperty'
end
false
end
end
end