Difference between revisions of "X-Link"

From D4Science Wiki
Jump to: navigation, search
(Implementation Details)
 
(30 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
=General Description=
 
=General Description=
  
==Persons responsible for editing/maintaining this page==
+
The requirements described in this page has led to the implementation of the '''X-Link''' system.
 +
 
 +
'''X-Link''' is a fully configurable (Linke Data-based) Named Entity Extraction (NEE) tool which allows the user/developer to easily define the categories of entities that are interesting for the application at hand by exploiting one or more (online) Semantic Knowledge Bases (Linked Data). The user is also able to update a category and specify how to semantically link and enrich the identified entities. This enhanced configurability allows X-Link to be lightly configured for different contexts, for building domain-specific applications (e.g. for identifying drugs in a medical search system, for annotating and exploring fish species in a marine-related web page, etc.).
 +
 
 +
A detailed description of '''X-Link''' (functionality, configurability, etc.) can be found at https://wiki.gcube-system.org/gcube/index.php/X-Link
 +
 
 +
=Requirements=
 +
 
 +
==Involved Persons==
  
 
* Pavlos Fafalios (fafalios@ics.forth.gr)
 
* Pavlos Fafalios (fafalios@ics.forth.gr)
  
* Yannis Marketakis (marketak@ics.forth.gr)
+
* Manolis Baritakis (mbaritak@ics.forth.gr)
  
 
* Julien Barde (julien.barde@ird.fr)
 
* Julien Barde (julien.barde@ird.fr)
Line 70: Line 78:
 
Possible Solution: a user will select the right one (however this may be laborious).
 
Possible Solution: a user will select the right one (however this may be laborious).
  
==Related iMarine WP/Tasks==
+
==Related D4Science WP/Tasks==
  
It could be considered related to ''T10.4 - Semantic Data Analysis Facilities'' although it was not described in the corresponding milestone: [https://gcube.wiki.gcube-system.org/gcube/index.php/Semantic_Data_Analysis Semantic_Data_Analysis]
+
''T10.4 - Semantic Data Analysis Facilities''. It has been described in the extended version of the DoW.
  
==Related iMarine Deliverables==
+
==Related Cluster==
  
-
+
[[Semantic_cluster_achievements]]
  
==Related Milestones==
+
==Related Presentations/Tutorials==
  
-
+
* X-Link presentation from the 6th TCOM (@ Skiathos) [http://goo.gl/H8Wueo - slides]
 +
* X-Link presentation from the 7th TCOM (@ Rome) [http://goo.gl/kN6qs5 slides]
 +
* X-Link presentation from the 8th TCOM (@ Athens) [http://goo.gl/HxhdAO slides]
 +
* X-Link presentation from the 9th TCOM (@ Heraklion) [http://goo.gl/7ou9Y1 slides]
  
==Related Cluster==
+
==Plans and Next Steps==
  
http://wiki.i-marine.eu/index.php/Semantic_cluster_achievements
+
A tentative plan is to:  
  
==Related Presentations/Tutorials==
+
a) understand the problem and define the requirements against the challenges (by end of Feb 2013),
 
+
-
+
  
==Current (development) status==
+
b) decide what is required to be designed/implemented (by end of Apr 2013), and
  
Understand the problem and define the requirements against the challenges.
+
c) plan and have a first implementation.
  
 
=Demo Scenarios=
 
=Demo Scenarios=
Line 104: Line 113:
 
=Design (tentative)=
 
=Design (tentative)=
  
=== Input ===
+
We propose to start from a software library
In order to offer the aforementioned functionality, '''X-Search-Link''' needs to know:
+
(in future one could easily use it to provide a web service, or any other user interface, gcube-related or not gcube-related).
  
* the '''document''' we want to analyze (e.g. pdf, doc, rdf, xml, web page, etc)
+
A rough description follows:
  
* the '''categories of entities''' for which we want to detect entities in the document (e.g. Countries, Species, Water Areas, etc, or all possible categories).
+
=== Setup ===
  
===Output===
+
At setup time the user defines the desired categories and entity lists.
The '''desired result''' is a list of matchings. Specifically each detected entity in the document will be matched with one or more URI(s).
+
To add a category (type) of entities user has to provide:
  
In addition, the system is able to return all the '''available categories'''
+
* a category name,  
(note that the categories of entities for which we want to detect entities is a subset of the available categories).
+
 
+
===Implementation Details===
+
 
+
In the back-end, for each '''category''' of entities '''X-Search-Link''' is aware of:
+
 
+
* a knowledge base (specifically a '''sparql endpoint''') from which we can find data related to the corresponding category,
+
 
+
* a '''sparql template query''' for retrieving entities related to a string,
+
 
+
* maybe a '''list of named entities''' belonging to the category, and for each entity one or more corresponding URI(s).
+
 
+
 
+
According to the above, an initial step could be to build a '''software library''' which will implement the above functionality.
+
Furthermore, given the software library, a '''web service'''  (e.g. with a RESTful API) can be designed and developed (the format of the result can be in any form, e.g. xml, rdf triples, csv, etc).
+
Given the above (software library and/or web service), one or more '''portlets''' could be developed which will exploit '''X-Search-Link''' for offering any kind of desired functionality. 
+
 
+
 
+
An important issue is how to '''add a new category (type) of entities'''. In that case, '''X-Search-Link''' needs:
+
  
 
* a sparql endpoint,
 
* a sparql endpoint,
  
* the URI of the resource class (type), e.g. ''http://www.ecoscope.org/ontologies/ecosystems_def#shark''
+
* the URI of the resource class (type), e.g. ''http://www.ecoscope.org/ontologies/ecosystems_def#shark'' (or a SPARQL query that returns the desired lists of entities URIs).
  
 
When a new category of entities is added, '''X-Search-Link'''  
 
When a new category of entities is added, '''X-Search-Link'''  
i) stores the sparql endpoint from which the category was derived,
+
i) stores the sparql endpoint to use,
 
ii) constructs a sparql template query which will be used for retrieving entities related to a string, and
 
ii) constructs a sparql template query which will be used for retrieving entities related to a string, and
 
iii) stores a list of named entities belonging to the category (i.e. instances of the class) and for each entity one or more corresponding URI(s).
 
iii) stores a list of named entities belonging to the category (i.e. instances of the class) and for each entity one or more corresponding URI(s).
  
Finally, the category becomes available and '''X-Search-Link''' can start detecting entities of that category.
+
=== Input ===
  
=Plans and Next Steps=
+
To apply its functionality over a particular document the user has to specify:
  
A tentative plan is to:
+
* the '''document''' he wants to analyze (e.g. pdf, doc, rdf, xml, web page, etc)
  
a) understand the problem and define the requirements against the challenges (by end of Feb 2013),
+
* the '''categories of entities''' for which he wants to detect entities in the document (e.g. Countries, Species, Water Areas, etc, or all possible categories), subset of the categories defined at startup.
  
b) decide what is required to be designed/implemented, and
+
===Output===
  
c) have a first implementation.
+
The '''desired result''' is a list of entities, each described by a name and one or more URI(s).
 +
 
 +
A detailed possible specification (classes and method signatures), plus an example of how a client could use it, is given in the following page: [http://wiki.i-marine.eu/index.php/XSearchLink_Specification XSearchLink Specification]
 +
 
 +
We estimate that, a first implementation of the above specification, will require around 1.5PM.
  
 
=Related Tickets=
 
=Related Tickets=
Line 160: Line 154:
 
==Requirements==
 
==Requirements==
  
[https://issue.imarine.research-infrastructures.eu/ticket/1187 Enriching RDF files with the URIs of Named Entities (#1187)]
+
[https://issue.D4Science.research-infrastructures.eu/ticket/1187 Enriching RDF files with the URIs of Named Entities (#1187)]
 
+
==Design==
+
 
+
-
+
  
 
==Implementation==
 
==Implementation==
  
-
+
[https://issue.D4Science.research-infrastructures.eu/ticket/1814 X-Link: Enriching documents with the URIs of Named Entities (#1814)]
 +
 
 +
and Y. Tzitzikas, Configuring Named Entity Extraction through Real-Time Exploitation of Linked Data, 4th International Conference on Web Intelligence, Mining and Semantics (WIMS'14), Thessaloniki, Greece, June [[2014 ([http://www.ics.forth.gr/isl/X-Link/files/fafalios_2014_wims.pdf pdf] | [http://users.ics.forth.gr/~fafalios/files/ppts/fafalios_2014_xlink.pdf slides])]]
 +
[[]]

Latest revision as of 18:10, 3 September 2015

General Description

The requirements described in this page has led to the implementation of the X-Link system.

X-Link is a fully configurable (Linke Data-based) Named Entity Extraction (NEE) tool which allows the user/developer to easily define the categories of entities that are interesting for the application at hand by exploiting one or more (online) Semantic Knowledge Bases (Linked Data). The user is also able to update a category and specify how to semantically link and enrich the identified entities. This enhanced configurability allows X-Link to be lightly configured for different contexts, for building domain-specific applications (e.g. for identifying drugs in a medical search system, for annotating and exploring fish species in a marine-related web page, etc.).

A detailed description of X-Link (functionality, configurability, etc.) can be found at https://wiki.gcube-system.org/gcube/index.php/X-Link

Requirements

Involved Persons

  • Pavlos Fafalios (fafalios@ics.forth.gr)
  • Manolis Baritakis (mbaritak@ics.forth.gr)
  • Julien Barde (julien.barde@ird.fr)

Description

The requirements concern the development of an application (library? RESTful service? ..?) that, based on a knowledge base, will be able to match named entities that lie in a file to URIs. The objective is to rely upon previous demonstrations of entity mining (highlighting terms in web pages) to fit some needs of the community of users that will create new linked open data available for different clients (e.g. search engines). Among data to be turn into linked data: bibliographic references, metadata (OGC from geospatial cluster, RDF results from opensearch complying with GENESI-DEC RDF schema), named entities in documents (Word, PDF files), etc.

In brief, the aforementioned application should:

a) read the content of a file (doc/pdf/XML/RDF) or web page as input,

b) discover named entities of interest (e.g. keywords, Species, Persons, Organizations, etc.) in that file,

c) match each discovered entity with one (ideally) or more entities from the underlying knowledge bases (i.e. URIs of TLO, FLOD, Ecoscope, etc)

The supposed process is sketched in the following figure:

X-Search-Link process

Examples:

1) From following author description:

<foaf:Person>

<foaf:givenname>C.</foaf:givenname>

<foaf:surname>Mellon-Duval</foaf:surname>

</foaf:Person>

The tagger will find the triple of the related foaf:agent in Ecoscope SPARQL enpoint (or other endpoints):

http://www.ecoscope.org/ontologies/agents/capucineMellon     foaf:name     C.Mellon-Duval

2) From the following:

<dc:subject>

<z:AutomaticTag>

<rdf:value>Mediterranean</rdf:value>

</z:AutomaticTag>

</dc:subject>

The tagger will find the triple of the related ecosystem in Ecoscope SPARQL enpoint (or other endpoints):

http://www.ecoscope.org/ontologies/ecosystems/mediterranean_ecosystem     rdfs:label     Mediterranean

Difficulties/Challenges:

a) We must limit the probability of erroneous matchings “Entity-URI”. Possible Solution: a user will approve the matchings (however this may be laborious), or only URIs without ambiguity will be kept.

b) If for an entity we have matched more than one possible URIs, which one to select? Possible Solution: a user will select the right one (however this may be laborious).

Related D4ScienceAn e-Infrastructure operated by the D4Science.org initiative. WP/Tasks

T10.4 - Semantic Data Analysis Facilities. It has been described in the extended version of the DoW.

Related Cluster

Semantic_cluster_achievements

Related Presentations/Tutorials

  • X-Link presentation from the 6th TCOM (@ Skiathos) - slides
  • X-Link presentation from the 7th TCOM (@ Rome) slides
  • X-Link presentation from the 8th TCOM (@ Athens) slides
  • X-Link presentation from the 9th TCOM (@ Heraklion) slides

Plans and Next Steps

A tentative plan is to:

a) understand the problem and define the requirements against the challenges (by end of Feb 2013),

b) decide what is required to be designed/implemented (by end of Apr 2013), and

c) plan and have a first implementation.

Demo Scenarios

(to describe one or more ideal scenarios)

The following figure (by Julien) depicts a possible application that exploits the functionality of X-Search-Link:

X-Search-Link possible application

Design (tentative)

We propose to start from a software library (in future one could easily use it to provide a web service, or any other user interface, gcube-related or not gcube-related).

A rough description follows:

Setup

At setup time the user defines the desired categories and entity lists. To add a category (type) of entities user has to provide:

  • a category name,
  • a sparql endpoint,

When a new category of entities is added, X-Search-Link i) stores the sparql endpoint to use, ii) constructs a sparql template query which will be used for retrieving entities related to a string, and iii) stores a list of named entities belonging to the category (i.e. instances of the class) and for each entity one or more corresponding URI(s).

Input

To apply its functionality over a particular document the user has to specify:

  • the document he wants to analyze (e.g. pdf, doc, rdf, xml, web page, etc)
  • the categories of entities for which he wants to detect entities in the document (e.g. Countries, Species, Water Areas, etc, or all possible categories), subset of the categories defined at startup.

Output

The desired result is a list of entities, each described by a name and one or more URI(s).

A detailed possible specification (classes and method signatures), plus an example of how a client could use it, is given in the following page: XSearchLink Specification

We estimate that, a first implementation of the above specification, will require around 1.5PM.

Related Tickets

Requirements

Enriching RDF files with the URIs of Named Entities (#1187)

Implementation

X-Link: Enriching documents with the URIs of Named Entities (#1814)

and Y. Tzitzikas, Configuring Named Entity Extraction through Real-Time Exploitation of Linked Data, 4th International Conference on Web Intelligence, Mining and Semantics (WIMS'14), Thessaloniki, Greece, June [[2014 (pdf | slides)]] [[]]