remaro-network / dlToPlanning

small tool to insert OWL axioms into PDDL files
Apache License 2.0
1 stars 0 forks source link

Derived predicates using "Inferred" data properties but there is no derived predicates for the "Inferred" data properties #12

Closed Rezenders closed 4 months ago

Rezenders commented 4 months ago

For example, the derived predicate inferred-Fd_realisability has in its logical expression (inferred-C_status ?c FALSE_string) but there is no derived predicate to infer (inferred-C_status ?c FALSE_string).

Example:

(:derived (inferred-Fd_realisability ?fd ?false_boolean) 
        (and
            (= ?false_boolean false_boolean)
            (exists (?c)
                (and
                    (inferred-C_status ?c FALSE_string)
                    (inferred-Component ?c)
                    (inferred-RequiresC ?fd ?c)
                )
            )
        )
    )

I guess we need something like:

(:derived (inferred-C_status ?c FALSE_string)
  (and
    (C_status ?c FALSE_string)
  )
)
tobiaswjohn commented 4 months ago

should be working now