Cross Reference: owl.rb
xref
: /
ontohub
/
lib
/
parsing_callback
/
owl.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
owl.rb revision 29bee53fe5db437d7b8386cfa99d673ed9f68341
module
ParsingCallback
::
OWL
IDENTIFIERS
= %w
(
OWL
OWL2
)
def
self.defined
_for
?
(
logic_name
)
IDENTIFIERS.include
?
(
logic_name
)
end
class
Callback
<
ParsingCallback
::
GenericCallback
def
axiom
(
hash
,
axiom
)
end
private
def
is_annotation_sentence
?
(
axiom_hash
)
axiom_hash
[
'symbol_hashes'
].
each
do
|
hash
|
return
true
if
hash
[
'kind'
] ==
'AnnotationProperty'
end
false
end
end
end