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

Processing select parts of an RDF graph with FREME #63

Open
fsasaki opened this issue Nov 24, 2015 · 4 comments
Open

Processing select parts of an RDF graph with FREME #63

fsasaki opened this issue Nov 24, 2015 · 4 comments

Comments

@fsasaki
Copy link

fsasaki commented Nov 24, 2015

I am wondering how to achieve the following process using FREME: enrich selected parts of an RDF graph with additional information related to entities described in RDF triples with textual content. See this example
https://taskman.eionet.europa.eu/projects/linkeddata/wiki/DCAT-AP_example
Here you have triples like

<http://nobelprize.org/datasets/dcat#catalog>
a dcat:Catalog ;
dc:title "Nobel Media Dataset catalog"@en ..

only the object "Nobel Media Dataset catalog" should be processed in e-entity.

I understand that this may be a question for e-internationalisation. Hence putting @borriellom into the loop. But probably e-internationalisation cannot provide the answer, since it relies on a fixed syntax (of e.g. HTML or XLIFF input), and RDF can come with various syntaxes.

So thanks for the feedback of everybody in advance :)

@jnehring
Copy link
Member

There is a possibility with the filter endpoint that is not yet implement but in discussion right now. You can remove everything from RDF graph that you do not need and then process only the sub graph.
Unfortunately the part of the RDF graph you dont want to enrich gets lost in this way.

@fsasaki
Copy link
Author

fsasaki commented Nov 25, 2015

Thanks, @jnehring . The issue may be that

<http://nobelprize.org/datasets/dcat#catalog>
a dcat:Catalog ;
dc:title "Nobel Media Dataset catalog"@en .

is not NIF, it is general RDF. Can general RDF be input to a FREME service?

@jnehring
Copy link
Member

I think that using a (very complicated) SPARQL query you could transform the general RDF into NIF. The normal e-Services cannot process general RDF but there is no reason for the filter endpoint to forbid general RDF.

But this approach is very complicated. A lot easier to implement is the workflow to 1) Construct a SPARQL query that extracts the plain text on the client side and 2) sending the plaintext to FREME for enrichment.

@fsasaki
Copy link
Author

fsasaki commented Nov 25, 2015

I see. The issue is that above example is just one piece of plaintext. The actual metadata records like
https://taskman.eionet.europa.eu/projects/linkeddata/wiki/DCAT-AP_example
have a lot of plain text strings, so one would need to have potentially a lot of requests to the FREME enrichment services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants