ProjetPP / Documentation

Documentation and protocol specification of the Projet Pensées Profondes
Creative Commons Zero v1.0 Universal
7 stars 1 forks source link

Fix sort, first and last serialization #39

Closed Tpt closed 9 years ago

Tpt commented 9 years ago

The list parameter gets only one node, not a list of node.

It's needed in order to do things like sort((?, office held, president of the US), default) because with the current serialization we would sort the list with only one element that would be the list of the US presidents.

Tpt commented 9 years ago

@yhamoudi @ProgVal requires to update the data model Python

yhamoudi commented 9 years ago

Sort has still a parameter list but implicitely this list must contain only 1 element?

Tpt commented 9 years ago

Sort has a parameter list that should contains a node that would finally ends up to be a list through reductions. So this naming makes sense I think.

yhamoudi commented 9 years ago

OK, nothing to change in question parsing algo

Tpt commented 9 years ago

Yes, it's only a fix is serialization to match the abstract data model