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

Serialization of Individuals #9

Open
giuliano-marinelli opened this issue Apr 27, 2022 · 0 comments
Open

Serialization of Individuals #9

giuliano-marinelli opened this issue Apr 27, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@giuliano-marinelli
Copy link
Collaborator

We need to define a serialization format for the individuals that must be drawed on crowd.

For example, with this OWL individual:

<owl:NamedIndividual rdf:about="http://crowd.fi.uncoma.edu.ar#Gonzalo">
    <rdf:type rdf:resource="http://crowd.fi.uncoma.edu.ar#persona"/>
    <crowd:nombre>Gonzalo</crowd:nombre>
    <crowd:edad>30</crowd:nombre>
</owl:NamedIndividual>

Can be generated tripletes like this:

[
  ["http://crowd.fi.uncoma.edu.ar#Gonzalo", "rdf:type", "http://crowd.fi.uncoma.edu.ar#persona"],
  ["http://crowd.fi.uncoma.edu.ar#Gonzalo", "crowd:nombre", "Gonzalo"],
  ["http://crowd.fi.uncoma.edu.ar#Gonzalo", "crowd:edad", 30]
]

With ERVT we need this data to be cuadripletes for allow the use of timestamps:

[
  ["http://crowd.fi.uncoma.edu.ar#Gonzalo", "rdf:type", "http://crowd.fi.uncoma.edu.ar#persona", 1],
  ["http://crowd.fi.uncoma.edu.ar#Gonzalo", "crowd:nombre", "Gonzalo", 1],
  ["http://crowd.fi.uncoma.edu.ar#Gonzalo", "crowd:edad", 30, 1],
  ["http://crowd.fi.uncoma.edu.ar#Gonzalo", "crowd:edad", 31, 2]
]

Also, we need to define if the cuadripletes have single timestamps or ranges.

Comment any idea bellow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants