Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data (like csv file content) representations in Atomese #14

Open
ngeiswei opened this issue Jun 28, 2018 · 0 comments
Open

Data (like csv file content) representations in Atomese #14

ngeiswei opened this issue Jun 28, 2018 · 0 comments

Comments

@ngeiswei
Copy link
Member

This issue is to complement the Section "Represent Problem Data in AtomSpace" of issue #3 as well as much of what has been discussed in issue #12 (from comment #12 (comment) and on). I prefer to create a separate issue for it rather than continuing growing #12 .

Here's yet another way to represent the data (not saying we should implement it, it's just worth considering)

(Execution
  (CurriedFunMapLink (Schema "f"))
  (List
    (Node "r1")
    ...
    (Node "rn"))
  (List
    (Number 1)
    ...
    (Number 0))))

where CurriedFunMapLink is the same thing as in #11 but instead of taking 2 arguments, a function and a list, it takes a single function and turns it into a function from list of inputs to list of outputs.

CurriedFunMapLink could obviously be decomposed into smaller parts, like a say using a CurryLink and a FunMapLink. But since we have none at this point there is no point bothering. And obviously PutLink could probably be used instead of FunMapLink, as @kasimebrahim would probably have pointed out.

@ngeiswei ngeiswei changed the title Data (typically csv file content, etc) representations in Atomese Data (like csv file content) representations in Atomese Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant