normativeai / frontend

GNU General Public License v3.0
5 stars 3 forks source link

Change the input language for queries #6

Closed matteo-si closed 5 years ago

shaolintl commented 5 years ago

Hi @matteo-si, which change exactly do you have in mind?

matteo-si commented 5 years ago

In the sense that queries should be formulated in some natural-language-close normalized syntax.

shaolintl commented 5 years ago

I agree, but it will also make sense to have the same language for the legislations, no?

matteo-si commented 5 years ago

Yes, indeed it would be good to change everything at some point. However, for the time being, it would be useful to add a description of the Fact Base at least

lex-lex commented 5 years ago

(Increasingly nice) Reconstruction of formulas as natural-language-close syntax is definitely a goal and will be addressed in further work.
As a first, naive, step, I will add description column in the Assumption table for queries (this is what you meant, right?). @shaolintl Will the back end support this when I just add more fields to the JSON object?

shaolintl commented 5 years ago

Maybe it would be useful to have instead just the vocabulary of the legislation shown somehow on the query view? Once can easily reconstruct the assumptions meaning when facing the vocabulary,

@lex-lex The back end will probably just ignore them. I will need to add the properties specifically. Just tell me which ones in case you add them.

lex-lex commented 5 years ago

I guess this is obsolete now as queries and formalizations are constructed from natural language text. Reopen if you disagree.