Skip to content

help me understand) #240

Answered by EvgSkv
KantorSerhiy asked this question in Q&A
Mar 24, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @KantorSerhiy !

Is it that for each name you want to find on which years it was the most popular?

If so, then assuming you have a predicate PopularAt(name:, year:) then a table like in the photo can be obtained with a rule:

NameToYears(name) List= year :- PopularAt(name:, year:);

If you are trying to achieve something else, please let me know, I'll be happy to help.

Thanks for trying out Logica!
Evgeny.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by KantorSerhiy
Comment options

You must be logged in to vote
1 reply
@EvgSkv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants