|
Hi,
I am getting owlready2.rply.LexingError: (None, 200) error while using *member* built-in for list. I am attaching the code snippet below.
Imp().set_as_rule("""Country(?v), hasCity(?v , ?obs), hasCategory(?obs, ?cat), prefLabel(?cat, ?lbl), stringEqualIgnoreCase(?lbl,"New Delhi"),isAbout(?obs,?sem),prefLabel(?sem, ?semlbl), member(?semlbl,["Mueseum","Metro"]) -> UncertainSignificance(?v)""",[har,skos])
Regards,
Gopi
|