querying heterogeneous linked building datasets with ...€¦ · •graphql (which one?)...

21
QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH CONTEXT-EXPANDED GRAPHQL QUERIES JEROEN WERBROUCK MADHUMITHA SENTHILVEL JAKOB BEETZ PIETER PAUWELS LDAC2019-7th Linked Data in Architecture and Construction Workshop

Upload: others

Post on 23-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

QUERYINGHETEROGENEOUS LINKED BUILDING DATASETSWITH CONTEXT-EXPANDED GRAPHQL QUERIES

JEROEN WERBROUCK

MADHUMITHA SENTHILVEL

JAKOB BEETZ

PIETER PAUWELS

LDAC2019-7th Linked Data in Architecture and Construction Workshop

Page 2: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• Renovation Projects

• BIM4REN

• Challenges

• ICDD

• Semantic Query Approaches• GraphQL-LD

• HyperGraphQL

• SparQL

• Comparison

• Implementation: Use Case

• Conclusions & Future Work

17.06.2019 LDAC2019 2

Outline

Page 3: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• Online framework for renovation-oriented BIM (H2020)

• Interconnecting heterogeneous information sources and tools represented as services

• Toolchains real-worldrenovation scenarios

• 23 partners accross Europe

• Practitioners, Developers, Researchers, …

17.06.2019 LDAC2019 3

BIM4REN

https://bim4ren.eu/

Page 4: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

Heterogeneous sources in renovation context:

• Existing plans

• Point clouds

• Imagery

• IFC models

• Non-RDF databases

• Spreadsheets

• …

17.06.2019 LDAC2019 4

How to semantically relate this information?

LINKING EXISTING BUILDING SOURCES

Page 5: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• Information Container for Data Drop – ISO 21597(based on Dutch COINS standard)

17.06.2019 LDAC2019 3

ICDD

• Container OWL Ontology

• Linkset OWL ontology

Container-like Structure

• Describe document data with nodes

• Link them

Contains definitions

• Information linking on sub-document level

Terminologies

Example:

Spreadsheet cells

IFC GUIDs

Pixel/Voxel zones

Linked

Page 6: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• ZIP container

• Container OWL ontology

• Linkset OWL ontology

• File metadata in index.rdf

• Links in linkset.rdf

17.06.2019 LDAC2019 6

ICDD

Page 7: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

ADVANTAGES:

• Bridges Linked Data research and industry“document-based” practice

• Ability to combine multiple exchange standards in a coherent way

17.06.2019 LDAC2019 8

ICDD - BALANCE

DRAWBACKS:

• No semantic classification of identifier types

• No implementation environments yet

• ICDD container as “dump file” of all project information

Alternative: Use ICDD ontologies for linkingproject source documents in a web-environment? (non-RDF + RDF)

Page 8: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• SPARQL

• Context-expanded GraphQL• HyperGraphQL (open source) (Semantic Integration Ltd.)

• GraphQL-LD (open source) (Ugent – IMEC)

• Stardog (commercial)

• TopBraid (commercial)

17.06.2019 LDAC2019 9

(Taelman et al., 2019)

SEMANTIC QUERY APPROACHES

when Domain experts are not semantic web experts

Page 9: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• Clean query writing

• Huge adoption rate

• Data and API querying

17.06.2019 LDAC2019 10

WHY GRAPHQL?

Page 10: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• Semantic integration Ltd.

• GraphQL-compliant• Context by GraphQL-schema + URIs and config.json

• “Lens” over Linked Data endpoint

• (data access regulated by schema)

• Endpoints:• SPARQL

• Local graphs

• Remote HyperGraphQL servers

• Intermediary service deployment

17.06.2019 LDAC2019 11

HYPERGRAPHQL

Page 11: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

17.06.2019 LDAC2019 12

Page 12: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• UGent / IMEC

• GraphQL to SPARQL translation

• Context through JSON-LD

• Serverless

• Endpoints (via Comunica framework):• SPARQL

• Online RDF graphs (.ttl, .rdf, …)

17.06.2019 LDAC2019 13

GRAPHQL-LD

(Taelman et al., 2018)

Page 13: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

17.06.2019 LDAC2019 14

Page 14: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

GraphQL-LD HyperGraphQL SPARQL

Updating graphs No No Yes

Schema and Introspection No Yes (+ introspection) No

Intermediary server No Yes No

Federated service querying Yes Yes Yes

Reverse querying (O-P-S) Yes No Yes

17.06.2019 LDAC2019 15

COMPARISON

(Werbrouck et al., 2019b)

Page 15: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• Local copy of the project data

• Uploading ICDD graphs to triplestore

• (alternative HyperGraphQL: combine into single RDF graph)

• (alternative GraphQL-LD: store ICDD graphs online (cf next slide))

• Query

UC: LOCAL ICDD CONTAINERS

17.06.2019 LDAC2019 15

Page 16: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• Decentralised

• Many stakeholders in a project host their own data

• How to query the project data?• Non Linked Data-expert audience

• GraphQL (which one?)• HyperGraphQL

• needs new service setup when changing endpoint

• Concepts mapped to 1 single endpoint

• GraphQL-LD

• Embedded in application (Comunica or graphQL-to-SPARQL module)

• Flexible endpoint switching

• ICDD links between LBD/ifcOWL graphs and imagery, geometry, point clouds…

17.06.2019 LDAC2019 17

UC: LINKED DATA CDE

Page 17: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

17.06.2019 LDAC2019 18

UC: LD-CDE QUERYING(Werbrouck et al., 2019a)

Page 18: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

• GraphQL = Non-specialist way of query project data• Adding URI context for Linked Data use-cases

• Query documents on identifier (sub-document) level

• Local: GUI?

• Online: Web-applications• Potential for user-friendly LD-CDE

• Querying distributed linked building datasets

• Project sources (imagery, point clouds, geometry …) non-RDF

• Building Semantics RDF

• Communication mechanism between applications/APIs

17.06.2019 LDAC2019 19

CONCLUSION + FUTURE WORK

Page 19: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

17.06.2019 LDAC2019 20

Thanks for your attention!

Page 20: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

17.06.2019 LDAC2019 21

REFERENCES• Taelman, R., Vander Sande, M., Verborgh, R., 2019. Bridges between GraphQL and RDF.

Presented at the W3C Workshop on Web Standardization for Graph Data.

• Taelman, R., Vander Sande, M., Verborgh, R., 2018. GraphQLLD: Linked Data Querying with

GraphQL, in: ISWC2018, the 17th International Semantic Web Conference.

• Werbrouck, J., Pauwels, P., Beetz, J., van Berlo, L., 2019a. Towards a Decentralised Common

Data Environment using Linked Building Data and the Solid Ecosystem. Submitted for the

Proceedings of the 36th CIB W78 Conference on Information Technology in Construction.

• Werbrouck, J., Senthilvel, M., Beetz, J., Pauwels, P., 2019b. Semantic query languages for

knowledge-based web services in a construction context. To be presented at the 26th

International Workshop on Intelligent Computing in Engineering (EG-ICE), Leuven, Belgium.

Page 21: QUERYING HETEROGENEOUS LINKED BUILDING DATASETS WITH ...€¦ · •GraphQL (which one?) •HyperGraphQL • needs new service setup when changing endpoint • Concepts mapped to

17.06.2019 LDAC2019 7

ICDD – Link structure