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

N3 #18

Open
ktk opened this issue Dec 12, 2022 · 2 comments
Open

N3 #18

ktk opened this issue Dec 12, 2022 · 2 comments

Comments

@ktk
Copy link

ktk commented Dec 12, 2022

I knew N3 is used as a rule language but I only had a look at stuff like SWRL, RIF & Datalog so far. So I thought can't be that hard and tried to see how I would map some stuff I do in CONSTRUCTS.

I'm not sure if I'm doing something wrong but all I find about N3 is stone old. It's very nice to read what timbl thought about back then but it's miles away from documentation of nowadays standards in RDF. And I can't seem to find any example of how I would map stuff like BIND to N3 rules or do things like aggregations.

So am I missing the magic documentation about N3 rules somewhere? The things I've read in the past hour were really interesting from a historical POV but it doesn't really help much for solving problems I have.

@pbonte
Copy link
Owner

pbonte commented Dec 13, 2022

Hi @ktk ,

You can find the updated N3 spec here.
Indeed, somehow, the documentation is hard to find, I'll add it the README as well, thanks for pointing out.

Note however, that at this point RoXi does not implement the whole N3 spec yet. Basically we do datalog rules in N3 syntax. This means that we support rules with conjunctions in the body and only variables in the head of the rule that are also in the body. We are looking to support the built-in functions of N3 as well, but at this point they are not there yet.

If there is something crucial missing to realise one of your use cases, please let me know, then we can give it more priority

@ktk
Copy link
Author

ktk commented Dec 13, 2022

Ah thanks that looks a lot more readable, I see Dörthe is working on this as well, great.

But how do I do stuff like creating new IRIs which I would do with something like BIND & string concat etc in SPARQL?

We should definitely have a talk, I'm a bit in end of the year project conclusion stress but I will get back to you ASAP.

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

2 participants