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

Processing order for language tags and datatypes #5

Open
msporny opened this issue Oct 15, 2010 · 1 comment
Open

Processing order for language tags and datatypes #5

msporny opened this issue Oct 15, 2010 · 1 comment
Labels

Comments

@msporny
Copy link
Member

msporny commented Oct 15, 2010

From Ian Davis:

For this markup, what would be the triple generated:
{
"#": { "label": "http://example.org/label",
"xsd": "http://www.w3.org/2001/XMLSchema#"},
"label": "foo^^xsd:date@en",
}

@msporny
Copy link
Member Author

msporny commented Oct 15, 2010

This should probably be the output:

_:bnode1
   <http://example.org/label>
      "foo"^^<http://www.w3.org/2001/XMLSchema#date@en> .

I think we have to have a rule that says that the processing order is "search for typed literal first", then "search for language tag" when determining whether you have a typed literal or a plain literal w/ a language tag.

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

No branches or pull requests

1 participant