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

CompositeDatasource gives incorrect results #98

Open
pheyvaer opened this issue Nov 26, 2019 · 4 comments
Open

CompositeDatasource gives incorrect results #98

pheyvaer opened this issue Nov 26, 2019 · 4 comments
Labels

Comments

@pheyvaer
Copy link

pheyvaer commented Nov 26, 2019

I have a config with multiple JsonldDatasources. They are all combined in a single CompositeDatasource. When visiting the server in the browser it shows then next and previous links for the CompositeDatasource, but they send you to empty pages sometimes. It says also that there are like 24 triples but it only shows like 12 or something. Also querying the server gives incomplete results.

@rubensworks
Copy link
Member

I have a config with multiple JsonldDatasources.

How many sources exactly?

It says also that there are like 24 triples but it only shows like 12 or something

What is the expected number of triples? 24, 12, or something else?

@pheyvaer
Copy link
Author

How many sources exactly?

I think it starts going wrong after having more than 12 datasources.

What is the expected number of triples? 24, 12, or something else?

Well, I think here that the number displayed on the top is correct, but the number displayed on the pages is wrong. So if it says 24 you will get less.

@pheyvaer
Copy link
Author

pheyvaer commented Nov 27, 2019

So apparently it's not related to JsonldDatasources specifically. It also happens with TurtleDatasources, but this time I have the actual data, so also a minimum failing example. I tested it with the latest version and executed it with the included config.json.

If I point my browser to http://localhost:3000/rankings?predicate=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type I get

Screen Shot 2019-11-27 at 19 02 34

It says 26 on this page. That is correct. When I click next however I get an empty page:

Screen Shot 2019-11-27 at 19 03 39

Although, you would expect more triples, because the first page says that the total is 66 and I know that there are more triples to be found besides the 26 shown because there are more triples with rdf:type in the data files.

Hope this helps!

@pheyvaer pheyvaer changed the title CompositeDatasource with JsonldDatasources gives incorrect results CompositeDatasource gives incorrect results Nov 27, 2019
@rubensworks
Copy link
Member

May be related to #89.

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

2 participants