Difference between revisions of "X-Link"

From D4Science Wiki
Jump to: navigation, search
(Description)
 
(39 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 14: Line 22:
 
==Description==
 
==Description==
  
The requirements concern the development of an application (library? web app?) that, based on a knowledge base, will be able to match named entities that lie in a file to URIs.  
+
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).  
 
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.
 
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.
Line 60: Line 68:
 
The tagger will find the triple of the related ecosystem in Ecoscope SPARQL enpoint (or other endpoints):  
 
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
+
http://www.ecoscope.org/ontologies/ecosystems/mediterranean_ecosystem    rdfs:label    Mediterranean
  
 
Difficulties/Challenges:
 
Difficulties/Challenges:
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)=
  
X-Search-Link could be a variation or  an extension
+
We propose to start from a software library
of X-Search (web-version and gcube version).
+
(in future one could easily use it to provide a web service, or any other user interface, gcube-related or not gcube-related).
In this way, it can exploit the configuration method
+
of X-Search.
+
A sketch of the input output interface follows:
+
  
* '''Input:''' i) configuration ID (more on this below), ii) plain text
+
A rough description follows:
  
* '''Output:''' A set of identified entities. Each entity must have one or more corresponding URIs (according to the underlying knowledge bases).
+
=== Setup ===
  
The user will define the desired categories of entities like in the X-Search configuration Page (http://139.91.183.72/x-search-fao/sesadmin.jsp).  
+
At setup time the user defines the desired categories and entity lists.
A configuration can have a unique ID. Example: Detect FAO countries and Water Areas (from FLOD).
+
To add a category (type) of entities user has to provide:
The gcube version could exploit the configuration method
+
of the gcube version of X-Search.
+
  
 +
* a category name,
  
The aforementioned functionality could be offered as:
+
* a sparql endpoint,
  
* Java Library, or/and
+
* 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).
  
* HTTP API (Output: JSON, XML, RDF?)
+
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 ===
  
Then, one (who?) could create an application that will utilize the above library/API, e.g. a web application in which the user uploads an RDF file and gets back a set of triples.
+
To apply its functionality over a particular document the user has to specify:
  
=Plans and Next Steps=
+
* the '''document''' he wants to analyze (e.g. pdf, doc, rdf, xml, web page, etc)
  
A tentative plan is to:
+
* 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.
  
a) understand the problem and define the requirements against the challenges (by end of Feb 2013),
+
===Output===
  
b) decide what is required to be designed/implemented, and  
+
The '''desired result''' is a list of entities, each described by a name and one or more URI(s).
  
c) have a first implementation.
+
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 144: 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==
  
-
+
[https://issue.D4Science.research-infrastructures.eu/ticket/1814 X-Link: Enriching documents with the URIs of Named Entities (#1814)]
 
+
==Implementation==
+
  
-
+
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 17: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)]] [[]]