Towards a Visual SPARQL-DL Query Builder Christian Gimenez 1 an Braun - - PowerPoint PPT Presentation

towards a visual sparql dl query builder
SMART_READER_LITE
LIVE PREVIEW

Towards a Visual SPARQL-DL Query Builder Christian Gimenez 1 an Braun - - PowerPoint PPT Presentation

Towards a Visual SPARQL-DL Query Builder Christian Gimenez 1 an Braun 1 , 3 Laura Cecchi 1 Germ Pablo Fillottrani 2 , 4 1 Universidad Nacional del Comahue 2 Universidad Nacional del Sur 3 Consejo Nacional de Investigaciones Cient ficas y T


slide-1
SLIDE 1

Towards a Visual SPARQL-DL Query Builder

Christian Gimenez1 Germ´ an Braun1,3 Laura Cecchi1 Pablo Fillottrani2,4

1Universidad Nacional del Comahue 2Universidad Nacional del Sur 3Consejo Nacional de Investigaciones Cient´

ıficas y T´ ecnicas (CONICET)

4Comisi´

  • n de Investigaciones Cient´

ıficas de la Provincia de Buenos Aires (CIC)

XXIV Congreso Argentino de Ciencias de la Computaci´

  • n

Octubre 2018

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 1 / 23

slide-2
SLIDE 2

Contents

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 2 / 23

slide-3
SLIDE 3

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 3 / 23

slide-4
SLIDE 4

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 4 / 23

slide-5
SLIDE 5

Objective

We have a big ontology.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-6
SLIDE 6

Objective

We have a big ontology. How can we query it?.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-7
SLIDE 7

Objective

We have a big ontology. How can we query it?. But OWLlink/DIG is difficult to use!

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-8
SLIDE 8

Objective

We have a big ontology. How can we query it?. But OWLlink/DIG is difficult to use! We want to query whatever we want!

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-9
SLIDE 9

Objective

We have a big ontology. How can we query it?. But OWLlink/DIG is difficult to use! We want to query whatever we want!

Not only data, structure too!

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-10
SLIDE 10

Objective

We have a big ontology. How can we query it?. But OWLlink/DIG is difficult to use! We want to query whatever we want!

Not only data, structure too!

It would be awesome if it is a graphical language!

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-11
SLIDE 11

Objective

We have a big ontology. How can we query it?. But OWLlink/DIG is difficult to use! We want to query whatever we want!

Not only data, structure too!

It would be awesome if it is a graphical language!

Then, we want to:

Make queries.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-12
SLIDE 12

Objective

We have a big ontology. How can we query it?. But OWLlink/DIG is difficult to use! We want to query whatever we want!

Not only data, structure too!

It would be awesome if it is a graphical language!

Then, we want to:

Make queries. With great expressivenes.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-13
SLIDE 13

Objective

We have a big ontology. How can we query it?. But OWLlink/DIG is difficult to use! We want to query whatever we want!

Not only data, structure too!

It would be awesome if it is a graphical language!

Then, we want to:

Make queries. With great expressivenes. Easy to read, write and understand.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 5 / 23

slide-14
SLIDE 14

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 6 / 23

slide-15
SLIDE 15

crowd

What is crowd?

Web tool for graphical ontology modelling

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 7 / 23

slide-16
SLIDE 16

crowd

What is crowd?

Web tool for graphical ontology modelling

Why crowd?

Web tool.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 7 / 23

slide-17
SLIDE 17

crowd

What is crowd?

Web tool for graphical ontology modelling

Why crowd?

Web tool. Adaptable and expandable.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 7 / 23

slide-18
SLIDE 18

crowd

What is crowd?

Web tool for graphical ontology modelling

Why crowd?

Web tool. Adaptable and expandable. Supports UML as graphical language.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 7 / 23

slide-19
SLIDE 19

crowd

What is crowd?

Web tool for graphical ontology modelling

Why crowd?

Web tool. Adaptable and expandable. Supports UML as graphical language. Berardi et al. encoding to OWL 2 and reasoning support.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 7 / 23

slide-20
SLIDE 20

crowd

A crowd screeshot

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 8 / 23

slide-21
SLIDE 21

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 9 / 23

slide-22
SLIDE 22

SPARQL-DL

What is SPARQL-DL?

A Query Language for OWL-DL ontologies significantly more expressive than existing DL QL.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 10 / 23

slide-23
SLIDE 23

SPARQL-DL

What is SPARQL-DL?

A Query Language for OWL-DL ontologies significantly more expressive than existing DL QL.

Why SPARQL-DL?

Allows combined ABox, RBox and TBox queries.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 10 / 23

slide-24
SLIDE 24

SPARQL-DL

What is SPARQL-DL?

A Query Language for OWL-DL ontologies significantly more expressive than existing DL QL.

Why SPARQL-DL?

Allows combined ABox, RBox and TBox queries. Aligned with SPARQL.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 10 / 23

slide-25
SLIDE 25

SPARQL-DL

What is SPARQL-DL?

A Query Language for OWL-DL ontologies significantly more expressive than existing DL QL.

Why SPARQL-DL?

Allows combined ABox, RBox and TBox queries. Aligned with SPARQL. Can be used on top of OWL-DL reasoners.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 10 / 23

slide-26
SLIDE 26

SPARQL-DL

What is SPARQL-DL?

A Query Language for OWL-DL ontologies significantly more expressive than existing DL QL.

Why SPARQL-DL?

Allows combined ABox, RBox and TBox queries. Aligned with SPARQL. Can be used on top of OWL-DL reasoners.

Example

SELECT * WHERE {Class(?x), Class(?y), DirectSubclassOf(?y, ?x)}

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 10 / 23

slide-27
SLIDE 27

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 11 / 23

slide-28
SLIDE 28

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 12 / 23

slide-29
SLIDE 29

UML-like VQL

UML-like VQL

Let’s define a UML-like Visual Query Language.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 13 / 23

slide-30
SLIDE 30

UML-like VQL

UML-like VQL

Let’s define a UML-like Visual Query Language. crowd has UML support.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 13 / 23

slide-31
SLIDE 31

UML-like VQL

UML-like VQL

Let’s define a UML-like Visual Query Language. crowd has UML support. UML is well-known.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 13 / 23

slide-32
SLIDE 32

UML-like VQL

UML-like VQL

Let’s define a UML-like Visual Query Language. crowd has UML support. UML is well-known. We allow to use variables as classifier names. For example: ?person

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 13 / 23

slide-33
SLIDE 33

UML-like VQL

UML-like VQL

Let’s define a UML-like Visual Query Language. crowd has UML support. UML is well-known. We allow to use variables as classifier names. For example: ?person UML DL OWL 2 TBox Classes Concepts Classes Associations Roles Object Properties Generalizations Inclusion SubClassOf ABox Objects Instances Individuals/Instances

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 13 / 23

slide-34
SLIDE 34

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 14 / 23

slide-35
SLIDE 35

SPARQL-DL Encoding

Now we need to encode the UML-like primitives into SPARQL-DL. ?x

SELECT * WHERE {Class(?x)}

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 15 / 23

slide-36
SLIDE 36

SPARQL-DL Encoding

Now we need to encode the UML-like primitives into SPARQL-DL. ?x

SELECT * WHERE {Class(?x)}

?x ?y

SELECT * WHERE {Class(?x), Class(?y), DirectSubclassOf(?y, ?x)}

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 15 / 23

slide-37
SLIDE 37

SPARQL-DL Encoding

Now we need to encode the UML-like primitives into SPARQL-DL. ?x

SELECT * WHERE {Class(?x)}

?x ?y

SELECT * WHERE {Class(?x), Class(?y), DirectSubclassOf(?y, ?x)}

?x ?y

SELECT * WHERE {Class(?x), Class(?y), EquivalentClass(?x, ?y)}

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 15 / 23

slide-38
SLIDE 38

SPARQL-DL Encoding

Now we need to encode the UML-like primitives into SPARQL-DL. ?x

SELECT * WHERE {Class(?x)}

?x ?y

SELECT * WHERE {Class(?x), Class(?y), DirectSubclassOf(?y, ?x)}

?x ?y

SELECT * WHERE {Class(?x), Class(?y), EquivalentClass(?x, ?y)}

?x ?y ?role

SELECT * WHERE {Class(?x), Class(?y), Domain(?role, ?x), Range(?role, ?y)}

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 15 / 23

slide-39
SLIDE 39

SPARQL-DL Encoding (instances)

Now we need to encode the UML-like primitives into SPARQL-DL. ?i:?c

SELECT * WHERE {Type(?i, ?c)}

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 16 / 23

slide-40
SLIDE 40

SPARQL-DL Encoding (instances)

Now we need to encode the UML-like primitives into SPARQL-DL. ?i:?c

SELECT * WHERE {Type(?i, ?c)}

?i1:?c1 ?i2:?c2 ?role

SELECT * WHERE { PropertyValue(?c1, ?role, ?c2), Type(?i1, ?c1), Type(?i2, ?c2)}

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 16 / 23

slide-41
SLIDE 41

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 17 / 23

slide-42
SLIDE 42

crowd Architecture

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 18 / 23

slide-43
SLIDE 43

crowd Architecture

Back-end steps for processing the query modelled by the user. Query Model Ontology SPARQL-DL Processor Reasoner Front-end Back-end

JSON OWL 2 S P A R Q L

  • D

L JSON/ XML Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 19 / 23

slide-44
SLIDE 44

Outline

1

Introduction Objective crowd SPARQL-DL

2

A UML-like Graphical Language for SPARQL-DL UML-like VQL SPARQL-DL Encoding

3

Implementation

4

Example

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 20 / 23

slide-45
SLIDE 45

Example

UML-like Query

A query expressed in UML-like class diagram model.

?x ?z ?y

hasAuthor

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 21 / 23

slide-46
SLIDE 46

Example

UML-like Query

A query expressed in UML-like class diagram model.

?x ?z ?y

hasAuthor

SPARQL-DL Encoding

SELECT ?x,?z,?y WHERE {Class(?x), Class(?z), Class(?y),

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 21 / 23

slide-47
SLIDE 47

Example

UML-like Query

A query expressed in UML-like class diagram model.

?x ?z ?y

hasAuthor

SPARQL-DL Encoding

SELECT ?x,?z,?y WHERE {Class(?x), Class(?z), Class(?y), DirectSubclassOf(?y,?x),

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 21 / 23

slide-48
SLIDE 48

Example

UML-like Query

A query expressed in UML-like class diagram model.

?x ?z ?y

hasAuthor

SPARQL-DL Encoding

SELECT ?x,?z,?y WHERE {Class(?x), Class(?z), Class(?y), DirectSubclassOf(?y,?x), Domain(?x,:hasAuthor), Range(?z,:hasAuthor) }

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 21 / 23

slide-49
SLIDE 49

Thank you!

Thank you!

Questions?

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 22 / 23

slide-50
SLIDE 50

License

Unless where otherwise stated:

CC-By-ND

This work is licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nd/4.0/.

Universidad Nacional del Comahue logo obtained from the official page at http://uncoma.edu.ar/ all right reserved. Universidad Nacional del Sur logo obtained from the official page at http://uns.edu.ar all right reserved.

Gimenez, Braun, Cecchi, Fillottrani Towards a Visual SPARQL-DL Query Builder CACIC 2018 23 / 23