Using Results of Construct Queries

A query language provides a way to ask a question. The question is posed to a system that processes the query and replies with an answer. That answer can come in many forms—a Yes or No (ASK), a table (SELECT), or, as we just saw, a set of triples (CONSTRUCT). It is reasonable to wonder, where does this information go? For a Yes/No answer or a table, one can easily imagine a user interface like a web page that displays that information in some form. But one could also imagine integrating the information into another application—putting a table into Excel or injecting it into a database.

In some sense, it isn’t the job of the query language to specify this. The query language just provides a formalism to describe ...

Get Semantic Web for the Working Ontologist, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.