The syntactic web

  • Authors:
  • Jonathan Robie;Lars Marius Garshol;Steve Newcomb;Michel Biezunski;Matthew Fuchs;Libby Miller;Dan Brickley;Vassillis Christophides;Gregorius Karvounarakis

  • Affiliations:
  • Software AG;Ontopia AS;Coolheads Consulting;Coolheads Consulting;Stele, Inc.;University of Bristol;University of Bristol;Foundation for Research and Technology-Hellas (FORTH);Foundation for Research and Technology-Hellas (FORTH)

  • Venue:
  • Markup Languages
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

XQuery is a query language designed to allow queries across the many kinds of information that are represented in XML. Although topic maps and RDF can also be represented in XML, many have held that their many possible syntactic forms make them extremely difficult to query using an XML query language, and that they can only be queried using special-purpose query languages with built-in knowledge of their semantics, including the ability to exploit RDF schema information. This talk shows that XQuery can, in fact, be used to solve the kinds of queries for which RDF and topic map query languages were designed, though with a loss of type safety.The approach taken is to transform instances of RDF and topic maps to a syntactic representation that closely models their underlying logical models, and to use function libraries written in XQuery to directly support operations specific to RDF or topic maps. Schema-level information is also incorporated in this representation and is supported in the library, so queries can exploit type hierarchies and perform joins across predicates.Information from other XML sources can also be queried together with information from topic maps and RDF. For instance, a query on a topic map that searches for Shakespeare plays mentioned in Italian operas can also query the plays themselves - represented in XML - to determine which italian cities are mentioned in them.