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

Composite data source is empty in 3.x (worked in 2.x) #149

Open
pheyvaer opened this issue Jan 5, 2022 · 2 comments
Open

Composite data source is empty in 3.x (worked in 2.x) #149

pheyvaer opened this issue Jan 5, 2022 · 2 comments
Labels

Comments

@pheyvaer
Copy link

pheyvaer commented Jan 5, 2022

Hi,

I used the tool to migrate from the server 2.x to 3.x and this is what I got from some of my datasets. Here a composite data source uses (among others) a HDT data source. The HDT data source itself works, but the composite one is empty (0 quads), but no errors are shown. This worked with 2.x though. I didn't change anything to what the migration tool generated. Is there an error somewhere in my configuration?

{
  "@id": "urn:ldf-server:myDatasource2022-01",
  "@type": "CompositeDatasource",
  "quads": false,
  "datasourcePath": "2022-01",
  "datasourceTitle": "January 2022",
  "description": "Between Our Worlds Dataset for January 2022",
  "compose": [
    "urn:ldf-server:myDatasource2022-01-anime",
    "urn:ldf-server:myDatasourceontology",
    "urn:ldf-server:myDatasourceactionstatus"
  ]
},
{
  "@id": "urn:ldf-server:myDatasource2022-01-anime",
  "@type": "HdtDatasource",
  "quads": false,
  "datasourcePath": "2022-01-anime",
  "datasourceTitle": "January 2022",
  "description": "Between Our Worlds Dataset for January 2022",
  "hide": true,
  "hdtFile": "/var/www/data/2022-01.hdt"
}
@rubensworks rubensworks added the bug label Jan 5, 2022
@rubensworks
Copy link
Member

Config looks fine to me at first glance.

Also no warnings are reported when starting the server?

I don't have the bandwidth to debug this myself, but these places in the code may be relevant for debugging this issue:

@pheyvaer
Copy link
Author

pheyvaer commented Jan 5, 2022

Nope, no warnings. Ok, thanks, will see if I can find something in the code 😄

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