Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Using Ontology Design Patterns to Define SHACL Shapes

38 views

Published on

Workshop Paper
Harshvardhan J. Pandit, Declan O'Sullivan, Dave Lewis.
9th Workshop on Ontology Design and Patterns (WOP2018), ISWC2018 Workshop, Monterey California, USA. 2018

Published in: Technology
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Using Ontology Design Patterns to Define SHACL Shapes

  1. 1. Using Ontology Design Patterns To Define SHACL Shapes Harshvardhan J. Pandit, Declan O’ Sullivan, Dave Lewis @coolharsh55 pandith@tcd.ie ADAPT Centre - Trinity College Dublin - Ireland https://openscience.adaptcentre.ie/ The ADAPT Centre is funded under the SFI Research Centres Programme (Grant 13/RC/2106) and is co-funded under the European Regional Development Fund. Workshop on Ontology Design Patterns 2018 Co-located with ISWC 2018, Monterey, California, USA CC BY 4.0 that'sme if twitter email checkout all our wook
  2. 2. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Scenario HOW TO VALIDATE??? A reuses m some to Hmmmm I T 9 datagraphontologies 2
  3. 3. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit OWL-based Validation 1. Assumption: Open vs Closed 2. Inference 3. Existence declare us undeclared completeness can lead gerd tosurprising bro results myd type d If I don't use selftype a concept do I care about its existence 3
  4. 4. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Axioms ● Define a model for data & relationships ● Define constraints ● Define ‘correctness’ ? ● Provide validation ? AXIOMS restrictions byfollowing constraints by testingagainst constraints assessing correctness U
  5. 5. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Restrictions Axioms may not be applicable because: ○ Not all concepts / relations from ontology are being used in a data graph ○ Concepts / relations are used, but their semantic meaning has changed 5
  6. 6. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Enter the ODP ● ODP is more generic than an ontology ● ODP can be more specific to the use-case ● ODP contains only needed axioms ● ODP is modular Benefits 1. Fits model of data graph 2. Modular 3. Easier to integrate i e abstraction i e domain contextspecific i e only coveringrequiredconcepts relationships i e can be combined or used individually how data is populated in context reuse specialise abstractions into largerpatterns ontologies b
  7. 7. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Okay… But still how to validate? SHACL Shapes and Constraints Language W3C Recommendation, 20 July 2017 https://www.w3.org/TR/shacl/ oclosed world definedusingRDF selectors reportgeneration c SHALL CORE o like ShEx T
  8. 8. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Approach ● Aim: Automate validation from data model i.e. ODP → SHACL ● Step1: Identify relevant OWL statements within constraint ● Step2: Generate Corresponding SHACL Shape Requires: Mapping OWL → SHACL 8
  9. 9. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Example user content ex TweetValidator ash Nodeshap ODP Iswe2018 date targetclass ex Tweet MONTEREYCA 9042018 SHALL SHAPE location Tweet has men 1 max I exactly 1 user type User Texactly 1 content type Text exactly 1 date type Timestamp max 1 o O or 1 location type Gpsco ordinates 9
  10. 10. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Can this be extended to an Ontology? Yes. But the aim here is to validate the data graph that uses many ontologies, and where only some concepts/relationships are used. Therefore, if SHACL shapes are generated from an ontology, they will have the same limitation as using the OWL axioms itself. Icgument generate an ontology fordatagraph vs Generate 0DPs for datagraph P
  11. 11. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Another advantage with ODP ● Coherence ● If all constraints (shapes) are satisfied then the data can be said to be validated, and this information can be incorporated back into the data graph ● Validations can thus be ‘layered’ on top of each other ● Can the ODPs also be thus ‘layered’ or combined in this manner to create an ontology for representing the data model of the graph? y open question H
  12. 12. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Converse Application Use the ODP to visualise SHACL Shapes ex Presentationshape a shsNodeShape targetclass ex Presentation presentation sh Property ShPath ex presenter presgentedly Sh Class ex Persson 7,1 Sh minCount 1 Sh MaxCount 4 Persad Th
  13. 13. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit Future Work 1. SHACL-SPARQL 2. OWL2SPARQL 3. Recursive Constraints Target Application: GDPR Compliance Modular Obligations → ODP ODP → validate using SHACL my PhD c top poster presented at SEMANTICS2018 13
  14. 14. www.adaptcentre.ie “Using Ontology Design Patterns To Define SHACL Shapes” http://openscience.adaptcentre.ie/ | pandith@tcd.ie | @coolharsh55 WOP 2018 (ISWC 2018) ; Monterey California, USA ; Presented by: Harshvardhan J. Pandit End of Presentation --- POSTER --- 1h

×