Both lines are equivalent, however the And([...]) version is possibly easier to use when creating classes dynamically.
MCF, LIMICS, Université Paris 13
> I want to write Descriptive Logic dynamically for several classes. I'm using
> intersection in the DL. I find some examples in owlapi but not in owlready.
> Can anyone help with this??
> If you reply to this email, your message will be added to the discussion below:
> http://owlready.8326.n8.nabble.com/Dynamic-Descriptive-Logic-Insertion-tp236.html > To start a new topic under Owlready, email [hidden email] > To unsubscribe from Owlready, visit
I have made a list L1 containing 100 properties(p1,p2...p100) and list L2 containing 100 objects(o1,o2...o100). Now I want to write the expression for a given subject(S); S = And([(p1,01), (
p2,o2)...(p100,o100)]). I've tried for a while and I couldn't find a way to do the same. I'm seeing "Error1", "Error2"... in the place of objects in the ontology. Can you show the script if it works for you?