SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Último

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Destaque

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
 

Destaque (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