Skip to content

CompositeDatasource gives incorrect results #98

Open

Description

@pheyvaer

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.

Activity

  1. rubensworks commented on Nov 26, 2019

    @rubensworks
    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?

  2. pheyvaer commented on Nov 26, 2019

    @pheyvaer
    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.

  3. pheyvaer commented on Nov 27, 2019

    @pheyvaer
    Author

    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!

  4. changed the title [-]CompositeDatasource with JsonldDatasources gives incorrect results[/-] [+]CompositeDatasource gives incorrect results[/+] on Nov 27, 2019
  5. rubensworks commented on Feb 20, 2020

    @rubensworks
    Member

    May be related to #89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions