Closed Tpt closed 9 years ago
You only added sort in the description of the serialization
@ProgVal You should read more carefully the diffs ;-)
I did
oh… oops…
it would be nice to have more generic connectors than first/last... For example, how can i get the 3rd president of France?
So, something like position(l, i) that would returns the ith element of l?
I think we should have first and last and maybe implement position later and make first(l) an alias for position(l, 1) et last(l) an alias of position(l, -1). But if you (ping @s-i-newton ) think that it would make the data model to heavy I'm ok to remove first and last and to implement position.
yes, position(l,i)
would be good, but it can be implemented later.
(i agree with the datamodel, you can merge)
Do you expect the Question Parsing modules to produce the sort
constructor with a sentence such as Who is the first president of the United States?
?
i don't if it's a question for me, but yes
No a question for Thomas. I know that we will never produce it...
? it's easy (no joke)
we get all US president with the subtree of root president
. Then the node FIRST
builds the sort node
@yhamoudi @Ezibenroc Feel free to merge the pull request if you are ok with it
Yes but you don't know what we sort. Birth date? Death date? First names?
Ok for me.
um, yes it's true
Default to no predicate, and let Wikidata handle it?
yes, i think wikidata could find a default predicate (the first date it finds for example)
:+1:
so how to allow connector with no predicate in the datamodel (default predicate)?
In the example:
+{
The predicate is missing?
"i think wikidata could find a default predicate": possible but far from easy. And I don't think to have time to support such thing before the presentation.
@yhamoudi @Ezibenroc : Please review