Giter VIP home page Giter VIP logo

Comments (10)

pbonte avatar pbonte commented on May 31, 2024

Hi,

On a first glance, I see there was an old version of the dataset in the readme. Step 2 should now be:
"unzip the triples.zip file in experiments/debs" instead of edbt. (updated in the readme)

Let me know if this solves it.

from c-sprite.

kabulkurniawan avatar kabulkurniawan commented on May 31, 2024

edbt or debs?

in the readme, it's written debs in the beginning.

java -cp CSprite-0.0.1-SNAPSHOT-jar-with-dependencies.jar be.ugent.idlab.csprite.CSpriteTest ../experiments/debs/dbpedia_stripped3.owl ../experiments/debs/dbpedia_nolonglines.nt "http://dbpedia.org/ontology/Work"

still doesn't work

from c-sprite.

pbonte avatar pbonte commented on May 31, 2024

Yes, because I updated the README while writing you.

I updated the code, there might have been something wrong with the preprocessing of the prefixes.
Let me know if it works now. Otherwise, tell me what system you are using.

KR,
Pieter

from c-sprite.

kabulkurniawan avatar kabulkurniawan commented on May 31, 2024

Okay, Now it works, thanks!

just a question, is the engine support for full standard SPARQL-Query?

thanks

from c-sprite.

kabulkurniawan avatar kabulkurniawan commented on May 31, 2024

also,
if I have 5 different SPARQL-Queries and want to register them at the same time, how should I do?
it's not clearly explained in the documentation.

thanks in advance!

from c-sprite.

pbonte avatar pbonte commented on May 31, 2024

Hi,

No, we are still working towards SPARQL1.1 support.
Currently, C-Sprite is only an efficient reasoning engine to perform hierarchical (subclass-relations) reasoning over RDF data streams. This means that the query is a single concept from the ontology.
If you need to join the triples afterwards, you can pipe C-Sprite with a sparql endpoint (e.g. Apache Jena) and let the later perform the joins. C-Sprite should then be used to filter (using hierarchical reasoning) those concepts from the stream that are relevant for further processing.

If you are interested in this, let me know.

Also, what is the complexity of your SPARQL queries? If you just aim to simply join triples, this can be added rather easily.

KR,
Pieter

from c-sprite.

kabulkurniawan avatar kabulkurniawan commented on May 31, 2024

Hi, thanks for your explanation,
Actually, I am working on low-level to a high-level event extraction (e.g. from log sources), and formulate a number of nested SPARQL-Construct queries to generate those high-level events.

Currently, we used C-SPARQL engine to make it but it seems the correctness is decreasing while the number of a triple is increasing in a certain time window.

we are still looking for another alternative RDF-stream reasoning engine to solve this problem.

from c-sprite.

pbonte avatar pbonte commented on May 31, 2024

Hi,

Interesting use case!

So, in the short term this is what I can do for you: I can pipeline C-Sprite with apache jena, this allows you to register SPARQL-Construct queries, C-Sprite will select those triples in the stream that are relevant and forward them to jena to perform the joins.
This was something that was on my todo-list anyway, so I'll increase its priority for now, so you can check if C-Sprite is an option for your case.

Just a few questions so I can provide a prototype with the least amount of effort:

  • Are you using sliding or tumbling windows?
  • Is hierarchical reasoning enough for your use case, i.e. subclass-of inferences?
  • What input and output do you require? Currently file-based and websockets.
  • Can you give me an example of these nested queries?

from c-sprite.

kabulkurniawan avatar kabulkurniawan commented on May 31, 2024

Hi,

Sure,

Are you using sliding or tumbling windows? -> yes, we need to "catch" & generate those events streamingly.
Is hierarchical reasoning enough for your use case, i.e. subclass-of inferences? -> I think is enough for now
What input and output do you require? Currently file-based and websockets. -> we process the output from TripleWave which is Websockets
Can you give me an example of these nested queries? -> could you provide me with an email address? We could discuss this further and I can send you my previous work.

Best,
K. Kurniawan

from c-sprite.

pbonte avatar pbonte commented on May 31, 2024

Sure,

You can contact me on pieter.bonte [at] ugent.be

from c-sprite.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.