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

Language tags are not preserved #3

Open
matentzn opened this issue Jul 29, 2019 · 2 comments
Open

Language tags are not preserved #3

matentzn opened this issue Jul 29, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@matentzn
Copy link
Collaborator

Source:
AnnotationAssertion(rdfs:label <http://virtualflybrain.org/data/TrumanWood2018> "DS"@en)

After ingest:
AnnotationAssertion(rdfs:label <http://virtualflybrain.org/data/TrumanWood2018> "DS"^^xsd:string)

@matentzn matentzn self-assigned this Jul 29, 2019
@matentzn matentzn added the bug Something isn't working label Sep 20, 2019
@dosumis
Copy link
Member

dosumis commented Jul 8, 2020

To support this in neo would we need to include quotes in string values, e.g.

label: '"autobahn"@de' ?

Suggestion: add config option for language tag support. For VFB at present this should be set to False but we could consider supporting in future.

@matentzn
Copy link
Collaborator Author

matentzn commented Jul 9, 2020

This is a bit more complex than that, because the language tag is not part of the OWLLiteral in the owl API.. So handling this requires proper thought and some custom parsing.. given the current (unlanguage-tagged):

exact_synonym: [
"autobahn", 
"highway"
]

How would that look like in neo with language tags? Like this:

exact_synonym: [
"autobahn@de", 
"highway@en"
]

And then what would gepetto show to the user? You would have to remember trimming the language tags away, if you think of:

emails: [
"a@b.de", 
"a@b.com"
]

Cypher queries for terms with synonyms would become messy as well!

Icebox is a great place for this. I would not do any work on it now.

@matentzn matentzn removed their assignment Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants