1 / 25

Semantic Web Sub-group Session

Semantic Web Sub-group Session. Brian Wilson Hook Hua. ESDSWG 2011 Meeting – Semantic Web sub-group session Wednesday , November 2 , 2011 Norfolk, VA. Outline. Intro. to Semantic Web See tutorial m aterials on the Cluster page Discussion of th e technology stack What’s missing?

cato
Download Presentation

Semantic Web Sub-group Session

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Semantic Web Sub-group Session • Brian Wilson • Hook Hua ESDSWG 2011 Meeting – Semantic Web sub-group session Wednesday, November 2, 2011 Norfolk, VA

  2. Outline • Intro. to Semantic Web • See tutorial materials on the Cluster page • Discussion of the technology stack • What’s missing? • What should be target for the testbed and future tutorials? • On-going work (sub-group & Cluster) • Organizing demos for Jan. 2012 ESIP Federation meeting • Ontology development: preservation, provenance • Planning for 2012 • Should SemWeb go forward as a Working Group? • What should be in the work plan? Deliverables? • Segue to Casting Standards (Interoperability work) • Service, data, and event casting • Change proposals, OpenSearch extensions

  3. Semantic Web Stack Linked Open Data (LOD)

  4. Linked Open Data

  5. Resource Description Framework (RDF) • Built on the triple, a 3-tuple consisting of • Subject, Predicate, and Object • Example graph below: • Resource: Some entity. • Property: An attribute of a resource. • Literal: A string of characters which can be the value of a property. <http://www.example.org/index.html> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/staffid/85740> . <http://www.example.org/index.html> <http://www.example.org/terms/creation-date> "August 16, 1999" . <http://www.example.org/index.html> <http://purl.org/dc/elements/1.1/language> "en" .

  6. RDF/XML Representation • Long hand representation • URI references be written out completely, in angle brackets <http://www.example.org/index.html> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/staffid/85740> . <http://www.example.org/index.html> <http://www.example.org/terms/creation-date> "August 16, 1999" . <http://www.example.org/index.html> <http://purl.org/dc/elements/1.1/language> "en" . • Short hand represetation • XML qualified name (or QName) without angle brackets • Uses form prefix:localname <?xml version="1.0"?> <rdf:RDFxmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns# xmlns:dc=http://purl.org/dc/elements/1.1/ xmlns:exterms=http://www.example.org/terms/> <rdf:Descriptionrdf:about="http://www.example.org/index.html"> <exterms:creation-date>August 16, 1999</exterms:creation-date> <dc:language>en</dc:language> <dc:creatorrdf:resource="http://www.example.org/staffid/85740"/> </rdf:Description> </rdf:RDF>

  7. Common Namespace Prefix Bindings • Not hardwired, but commonly used prefix bindings

  8. Query Languages • SPARQL • W3C Standard query language for RDF • querying at RDF-level, not at OWL-level • OWL query language (OWL-QL) • now obsolete • SPARQUL • Peter Fox has been made a collaborator • Query Lang • commercial and embedded QL • SeRQL, RDFQuery, and many more… ESIP 2011 Winter Meeting – Semantic Web Cluster

  9. What is SPARQL? • Defined in terms of the W3C's RDF data model • Compatible with models that can be mapped into RDF • Consists of three specifications • Query language specification • Query results XML format • Data access protocol • SPARQL is [currently] read-only • Does not have “CRUD” operators • W3C Recommendation (2008-01-15) • http://www.w3.org/TR/rdf-sparql-query/

  10. Structure of a SPARQL Query • Simple example: SELECT ?project ?technology WHERE { ?project <http://esipfed.orgworksWithTechnology> ?technology } • Add PREFIX namespace PREFIX esip: <http://esipfed.org> SELECT ?project ?technology WHERE { ?project esip:worksWithTechnology ?technology }

  11. SPARQL Commands • SELECT • Return a table of results. • Results can be in text, XML, or even JSON • ASK • Ask a boolean query. • Results can be in text, XML, or even JSON • CONSTRUCT • Returns an RDF graph, based on a template in the query. • DESCRIBE • Returns an RDF graph, based on what the query processor is configured to return. • Show Joseki’s web SPARQL query form example.. • http://www.sparql.org/query.html

  12. Implementations • ARQ • a SPARQL processor for Jena • Pellet • OWL DL reasoner with some SPARQL query support • Joseki • SPARQL server for Jena • HTTP implementation of SPARQL access protocol • http://www.sparql.org/query.html • Rasqal • RDF query library in Redland framework • Allegrograph, and others…

  13. Filtering Solutions/ regex() • FILTERs restrict solutions to those for which the filter expression evaluates to TRUE. • Sometimes do not know the exact resource names • Use regex() for partial matches • Tests whether a literal value contains a certain substring • Case sensitive regex(?x, “Foo’) • Case insensitive regex(?x, “foo’, “I”) SELECT ?s ?p ?o WHERE { ?s ?p ?o . FILTER (regex(?o, "ACCESS", "i")) . } Find all statements with “ACCESS” as the object value • regex()’s first argument has to be either a plain literal without a language tag or a typed literal with a datatype of xsd:string. • Otherwise, can using str() function to convert a resource plain literal without language tag Find all statements that contain the substring “technology” SELECT ?p WHERE { ?s ?p ?o . FILTER (regex(str(?p), "technology", "i")) . }

  14. Modifier: ORDER BY • ORDER BY sorts the results • Sequence of order comparators is composed of an expression and an optional order modifier (either ASC() or DESC()). • Note that it uses the “<“ operator for resource comparisons. SELECT ?p WHERE { ?s ?p ?o . FILTER (regex(str(?p), "technology", "i")) . } Find all predicates containing the substring “technology”. Find all predicates containing the substring “technology”. Sort results in descending order. SELECT ?p WHERE { ?s ?p ?o . FILTER (regex(str(?p), "technology", "i")) . } ORDER BY DESC(?p)

  15. Query Modifiers • ORDER • put the solutions in order • PROJECTION • choose certain variables • DISTINCT • ensure solutions in the sequence are unique • REDUCE • permit elimination of some non-unique solutions • OFFSET • control where the solutions start from in the overall sequence of solutions • LIMIT • restrict the number of solutions http://www.w3.org/TR/rdf-sparql-query/

  16. Pagination • OFFSET • Start solutions at the given offset index • LIMIT • Upper bound of number of solutions • Use together for pagination! SELECT DISTINCT ?s WHERE { ?s ?p ?o . } ORDER BY ASC(?s) OFFSET 0 LIMIT 5 SELECT DISTINCT ?s WHERE { ?s ?p ?o . } ORDER BY ASC(?s) OFFSET 5 LIMIT 5 Find all distinct subjects, but only show first page with 5 results per page. Find all distinct subjects, but only show second page with 5 results per page.

  17. Outline • Intro. to Semantic Web • See tutorial materials on the Cluster page • Discussion of the technology stack • What’s missing? • What should be target for the testbed and future tutorials? • On-going work (sub-group & Cluster) • Organizing demos for Jan. 2012 ESIP Federation meeting • Ontology development: preservation, provenance • Planning for 2012 • Should SemWeb go forward as a Working Group? • What should be in the work plan? Deliverables? • Segue to Casting Standards (Interoperability work) • Service, data, and event casting • Change proposals, OpenSearch extensions

  18. Technology stack • Ontology languages • OWL-DL, OWL-Full, OWL v2 • Triple Stores • Jena TDB/SDB, Virtuoso, Allegrograph • Experience with others? • SPARQL Endpoints • Joseki (ARQ), Virtuoso, Sesame, Allegrograph, and many others • Reasoners • Racer, Pellet, Sesame, Protégé-OWL, Allegro RDFS+ • Experience with others? • Rule Languages • Jena Rules, SWRL, RIF, RuleML • Anyone using something besides Jena Rules?

  19. What is missing? • What do we need more experience with? • ? • What capabilities should be added to the testbed? • ?

  20. Outline • Intro. to Semantic Web • See tutorial materials on the Cluster page • Discussion of the technology stack • What’s missing? • What should be target for the testbed and future tutorials? • On-going work (sub-group & Cluster) • Organizing demos for Jan. 2012 ESIP Federation meeting • Ontology development: preservation, provenance • Planning for 2012 • Should SemWeb go forward as a Working Group? • What should be in the work plan? Deliverables? • Segue to Casting Standards (Interoperability work) • Service, data, and event casting • Change proposals, OpenSearch extensions

  21. Potential Semantic Web Demos • Data Quality Screening Service (DQSS) – ACCESS, C. Lynnes • Using ontology to select quality flags by dataset and apply expert-driven quality thresholds to satellite datasets, pixel by pixel • Provenance Services for a MEASUREs product – Multi-Sensor Water Vapor Climatology Stratified by Cloud Classes, ACCESS, H. Hua • Capturing production provenance as logical triples in RDF format, using the Open Provenance Model (OPM) OWL ontology for interoperability • Provenance handling using SPARQL, Rules, and faceted search. • Noesis 2.0 Smart Meta-Search – R. Ramachandran, part of Service & Event Casting ACCESS project (B. Wilson) • Search for relevant datasets & services across multiple back-ends: GCMD, ECHO, casts, Google, news, etc. • Uses ontology to expand query terms: broaden, narrow, synonyms • Linked Open Research Data for Earth Science Informatics – Funding Friday project, E. Rozell, T. Narock • Mining AGU abstracts for links between people, papers, topics, sessions • Publish as Linked Open Data (LOD) on web in RDF/OWL format • ESIP Federation People, Skills, Collaboration Database – E. Robinson • Simple ontology for people/skills/collab.; will be linked to AGU data

  22. Other demo candidates? • Greg Leptoukh • Eric Rozell • S2S • Who else?

  23. Outline • Intro. to Semantic Web • See tutorial materials on the Cluster page • Discussion of the technology stack • What’s missing? • What should be target for the testbed and future tutorials? • On-going work (sub-group & Cluster) • Organizing demos for Jan. 2012 ESIP Federation meeting • Ontology development: preservation, provenance • Planning for 2012 • Should SemWeb go forward as a Working Group? • What should be in the work plan? Deliverables? • Segue to Casting Standards (Interoperability work) • Service, data, and event casting • Change proposals, OpenSearch extensions

  24. Work Plan • Demonstrate these capabilities . . . • ? • Develop ontologies for . . . • Preservation • Provenance • ?

  25. Outline • Intro. to Semantic Web • See tutorial materials on the Cluster page • Discussion of the technology stack • What’s missing? • What should be target for the testbed and future tutorials? • On-going work (sub-group & Cluster) • Organizing demos for Jan. 2012 ESIP Federation meeting • Ontology development: preservation, provenance • Planning for 2012 • Should SemWeb go forward as a Working Group? • What should be in the work plan? Deliverables? • Segue to Casting Standards (Interoperability work) • Service, data, and event casting • Change proposals, OpenSearch extensions

More Related