SlideShare une entreprise Scribd logo
1  sur  10
Ali Saeed
 9 Slides
Table of Contents

   Intro. & Summary of Progress
   Egg Vending Machine
   User-friendly SPARQL Generator
   OAT Visualizations
       Live Demo: Interactive parent-child tree
       Live Demo: OAT grid & SPARQL Query Generator
   Interactive Parent-Child Tree
Visualization/User interface
Back-end (Data Storage)




                                                                                                                          Documentation
                          
                              Learned how to                                               
                                                                                                Developed user-                           
                                                                                                                                              Commented
                              load UNIPROT                                                      friendly                                      javascript code
                              virtual rdf graph                                                 SPARQL                                    
                                                                                                                                              This
                                                                                                generator                                     presentation
                                                                                           
                                                                                                Tested &
                                                                                                implemented
                                                                                                OAT calendar,
                                                                                                grid, svg graph
                                                                                                & bar chart
                                                                                           
                                                                                                Developed
                                                                                                interactive
                                                                                                parent-child tree



                                                                                                                 ray




                                                                                                                              t od
                                                                                            d
                                                                                    Ali Saee           c or ey
                                                                    loper
                                                            on Deve
                                                  Applicati
                                                                                                                    ali
                                                                                zation
                                                                       & visuali
                                                             analysis       Semantic
                                                  Capture,         ta using
                                                            ific da
                                                  of scient
                                                                ologies
                                                  W  eb t ec hn
[Update]
     Egg-Vending Machine – The BIG picture




                          SPARQL (query) is very
                         powerful, but takes time to
                            learn and master
<SPARQL Syntax>




                             Data is not always
                            returned in a usable
Data Output_
                                    form
[Update]
     Egg-Vending Machine – The BIG picture




                                      User-friendly
                                    SPARQL query
<SPARQL Syntax>
                                  generator, requires
                                   virtually no typing




Data Output_                               OAT
                                      visualizations
                                      for rendering
                                      data in usable
                                         form for
                                         analysis
User-friendly SPARQL Query Generator
       Given a graph URI, all fields are loaded automatically as a list:

    2
                                                               1

                                                  5




             Filters are
            added much                   3            4
              like MS
                Excel

    
         Clicking Generate Query
         automatically generates the
         SPARQL query
User-friendly SPARQL Query Generator
                        1                                                              3
    Load Graph                                                          Order By:
   Connects to sparql endpoint using OAT.Connection()             
                                                                       Simply adds ORDER BY ?field 
   using OAT.DataSource(), it queries given URI to get                to the query text box for sorting the
    field names.                                                       returned data by the chosen field.
    select DISTINCT ?p from <" +                                       document.getElementById('u
    document.getElementById("uri").value + ">                          serquery').value += 'ORDER 
    where {?s ?p ?o }                                                  BY ?' + 
   Loads a global array fields[] with field names                     document.getElementById('o
   For each field returned, it creates a checkbox, checkbox           rderbox').value + 'n';
    label, filter-type dropdown, filter-value inputbox & remove-
    filter button using HTML DOM.
    var cb = document.createElement("input");                                          4
                                                                          Limit:
    cb.type = "checkbox";
    cb.onclick = function() {...                                   
                                                                       Simply adds LIMIT xx to the
                                                                       query text box for limiting the
     Select All    2                                                   display to xx records.
                                                                       document.getElementById('u

    Loops through all checkboxes and marks them as checked             serquery').value += 'LIMIT 
    document.forms["sparql"].elements["field_ch                        ' + 
    eckbox"][i].checked = true;                                        document.getElementById('l
                                                                       imitbox').value + 'n';

    Also adds all field names to the Order By: drop-down list
    document.getElementById("orderbox").options
    .add(optn);
User-friendly SPARQL Query Generator
    Generate Query         5
   Loops through all selected fields and retrieves their prefixes from the global array fields[].
    Then it combines all prefixes in str_prefix variable.
    str_prefix += "PREFIX " + prefixes[j][0] + ": <" + prefixes[j][1] + 
    ">n";
   Loops through all selected fields again and generates the select string,
    str_select += " ?" + selectedfields[i][0];
    the where string,
    str_where += prefixes[selectedfields[i][1]][0] + ":" + selectedfields[i]
    [0] + " ?" + selectedfields[i][0] + ";n";
    adds filters if any,
    str_filter += 'FILTER regex(?'+selectedfields[i][0] + ', "'+ 
    document.getElementById('sp_v'+j).innerHTML +'")n';

   Finally, it combines all of str_prefix, str_select, str_where, and str_filter into one query and displays
    it in the query text box.
    document.getElementById('userquery').value = str_prefix +
                    "select"+ str_select + "n" +
                    "from <"+document.getElementById("uri").value +">n"+ 
                    "where { n"+
                    "?s " + str_where + "n"+
                    str_filter +
                    " }n"
OpenSourceAjaxToolkit Visualizations
    
          SVG graph shows data
                                    Grid shows raw data in a relational table form   
                                                                                          TreeView shows
          relationship graph                                                              hierarchy in folder-file
                                                                                          style




                  Live                           Live
                                                                   
                                                                       TimeLine shows chronological
                  Demo                           Demo
                                                                       timeline of events





        BarChart plots           
                                     Line graph shows
        histogram/barchart of        line graphs of
        numerical data               numerical data
                                                               
                                                                   PieChart shows pie
                                                                   chart of numerical
                                                                   data
Interactive Parent-Child Tree




                        Combining SPARQL and
                              OAT, we can
                         interactively draw the
                        hierarchical tree of any
                               ontology.

                         Simply double-click on
                          the node of interest
                        and the children/parent
                             will be shown

Contenu connexe

Dernier

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 

Dernier (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

En vedette

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

OAT/Virtuoso Progress Update1

  • 1. Ali Saeed 9 Slides
  • 2. Table of Contents  Intro. & Summary of Progress  Egg Vending Machine  User-friendly SPARQL Generator  OAT Visualizations  Live Demo: Interactive parent-child tree  Live Demo: OAT grid & SPARQL Query Generator  Interactive Parent-Child Tree
  • 3. Visualization/User interface Back-end (Data Storage) Documentation  Learned how to  Developed user-  Commented load UNIPROT friendly javascript code virtual rdf graph SPARQL  This generator presentation  Tested & implemented OAT calendar, grid, svg graph & bar chart  Developed interactive parent-child tree ray t od d Ali Saee c or ey loper on Deve Applicati ali zation & visuali analysis Semantic Capture, ta using ific da of scient ologies W eb t ec hn
  • 4. [Update] Egg-Vending Machine – The BIG picture SPARQL (query) is very powerful, but takes time to learn and master <SPARQL Syntax> Data is not always returned in a usable Data Output_ form
  • 5. [Update] Egg-Vending Machine – The BIG picture User-friendly SPARQL query <SPARQL Syntax> generator, requires virtually no typing Data Output_ OAT visualizations for rendering data in usable form for analysis
  • 6. User-friendly SPARQL Query Generator  Given a graph URI, all fields are loaded automatically as a list: 2 1 5 Filters are added much 3 4 like MS Excel  Clicking Generate Query automatically generates the SPARQL query
  • 7. User-friendly SPARQL Query Generator 1 3 Load Graph Order By:  Connects to sparql endpoint using OAT.Connection()  Simply adds ORDER BY ?field   using OAT.DataSource(), it queries given URI to get to the query text box for sorting the field names. returned data by the chosen field. select DISTINCT ?p from <" +  document.getElementById('u document.getElementById("uri").value + ">  serquery').value += 'ORDER  where {?s ?p ?o } BY ?' +   Loads a global array fields[] with field names document.getElementById('o  For each field returned, it creates a checkbox, checkbox rderbox').value + 'n'; label, filter-type dropdown, filter-value inputbox & remove- filter button using HTML DOM. var cb = document.createElement("input"); 4 Limit: cb.type = "checkbox"; cb.onclick = function() {...  Simply adds LIMIT xx to the query text box for limiting the Select All 2 display to xx records. document.getElementById('u  Loops through all checkboxes and marks them as checked serquery').value += 'LIMIT  document.forms["sparql"].elements["field_ch ' +  eckbox"][i].checked = true; document.getElementById('l imitbox').value + 'n';  Also adds all field names to the Order By: drop-down list document.getElementById("orderbox").options .add(optn);
  • 8. User-friendly SPARQL Query Generator Generate Query 5  Loops through all selected fields and retrieves their prefixes from the global array fields[]. Then it combines all prefixes in str_prefix variable. str_prefix += "PREFIX " + prefixes[j][0] + ": <" + prefixes[j][1] +  ">n";  Loops through all selected fields again and generates the select string, str_select += " ?" + selectedfields[i][0]; the where string, str_where += prefixes[selectedfields[i][1]][0] + ":" + selectedfields[i] [0] + " ?" + selectedfields[i][0] + ";n"; adds filters if any, str_filter += 'FILTER regex(?'+selectedfields[i][0] + ', "'+  document.getElementById('sp_v'+j).innerHTML +'")n';  Finally, it combines all of str_prefix, str_select, str_where, and str_filter into one query and displays it in the query text box. document.getElementById('userquery').value = str_prefix + "select"+ str_select + "n" + "from <"+document.getElementById("uri").value +">n"+  "where { n"+ "?s " + str_where + "n"+ str_filter + " }n"
  • 9. OpenSourceAjaxToolkit Visualizations  SVG graph shows data  Grid shows raw data in a relational table form  TreeView shows relationship graph hierarchy in folder-file style Live Live  TimeLine shows chronological Demo Demo timeline of events  BarChart plots  Line graph shows histogram/barchart of line graphs of numerical data numerical data  PieChart shows pie chart of numerical data
  • 10. Interactive Parent-Child Tree Combining SPARQL and OAT, we can interactively draw the hierarchical tree of any ontology. Simply double-click on the node of interest and the children/parent will be shown