I’m really excited that the new simple URL harvester in Geonetwork 4.2.x is available. I was wondering if someone could provide me with some example config for DCAT/rdf?
I am testing with my own rdf, and while I think it’s looping through the dataset elements correctly but I don’t think I have the UUID element correct.
Many thanks
Jo
···
Jo Cook
t:+44 7930 524 155 | twitter:@archaeogeek | mastodon:@archaeogeek@anonymised.com.
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009
DCAT feed content is retrieved and then SPARQL queries are applied to collect CatalogRecord and Dataset from the feed which is a RDF graph so there are not really loop elements as you would do for a tree structure of JSON or XML documents.
So it sounds more to some specificities of your RDF files - can you share URL so we could have a look?
I’m really excited that the new simple URL harvester in Geonetwork 4.2.x is available. I was wondering if someone could provide me with some example config for DCAT/rdf?
I am testing with my own rdf, and while I think it’s looping through the dataset elements correctly but I don’t think I have the UUID element correct.
Many thanks
Jo
–
Jo Cook
t:+44 7930 524 155 | twitter:@archaeogeek | mastodon:@archaeogeek@anonymised.com.
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009
–
Sign up to our mailing list for updates on news, products, conferences, events and training
With schema:iso19115-3.2018:convert/fromSPARQL-DCAT I get a null-pointer exception (understandable because there isn’t a CatalogRecord element). I get more progress with schema:iso19115-3.2018:convert/DCAT/sparql-to-iso19115-3, looping on .//dcat:Dataset, in that it clearly loops through every record but I can’t find the right setting for the identifier.
I can write a new conversion xsl if necessary.
All the best
Jo
···
Jo Cook
t:+44 7930 524 155 | twitter:@archaeogeek | mastodon:@archaeogeek@anonymised.com.
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009
With schema:iso19115-3.2018:convert/fromSPARQL-DCAT I get a null-pointer exception (understandable because there isn’t a CatalogRecord element). I get more progress with schema:iso19115-3.2018:convert/DCAT/sparql-to-iso19115-3, looping on .//dcat:Dataset, in that it clearly loops through every record but I can’t find the right setting for the identifier.
DCAT feed content is retrieved and then SPARQL queries are applied to collect CatalogRecord and Dataset from the feed which is a RDF graph so there are not really loop elements as you would do for a tree structure of JSON or XML documents.
So it sounds more to some specificities of your RDF files - can you share URL so we could have a look?
I’m really excited that the new simple URL harvester in Geonetwork 4.2.x is available. I was wondering if someone could provide me with some example config for DCAT/rdf?
I am testing with my own rdf, and while I think it’s looping through the dataset elements correctly but I don’t think I have the UUID element correct.
Many thanks
Jo
–
Jo Cook
t:+44 7930 524 155 | twitter:@archaeogeek | mastodon:@archaeogeek@anonymised.com.
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009
–
Sign up to our mailing list for updates on news, products, conferences, events and training
Jo Cook
t:+44 7930 524 155 | twitter:@archaeogeek | mastodon:@archaeogeek@anonymised.com.
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009
–
Sign up to our mailing list for updates on news, products, conferences, events and training
Thanks! For what it’s worth, with the schema:iso19115-3.2018:convert/fromSPARQL-DCAT converter the error I get (for each record) is:
2023-02-17T11:02:53,137 ERROR [geonetwork.harvester] - Failed to apply conversion schema:iso19115-3.2018:convert/DCAT/sparql-to-iso19115-3 to record null. Error is: An empty sequence is not allowed as the first argument of gn-fn-sparql:getSubject()
Would you like me to submit a GitHub issue for this?
All the best
Jo
···
Jo Cook
t:+44 7930 524 155 | twitter:@archaeogeek | mastodon:@archaeogeek@anonymised.com.
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009
I’m not having much luck getting a json dcat output from this particular URL. I’m interested in what settings you are using for the ESRI json dcat- I’m having trouble with one of those as well!
Thanks
Jo
···
Jo Cook
t:+44 7930 524 155 | twitter:@archaeogeek | mastodon:@archaeogeek@anonymised.com.
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009
Thanks, that was a great help- I can now successfully harvest from an ESRI json dcat endpoint!
Jo
(attachments)···
Jo Cook
t:+44 7930 524 155 | twitter:@archaeogeek | mastodon:@archaeogeek@anonymised.com.
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009