Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and schema.org have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.

BauDataWeb Query Collection

This page presents a set of selected queries for BauDataWeb, the European building and construction materials database for the Semantic Web. To learn more about the project and the individuals who contributed to this project please visit the project landing page at

semantic.eurobau.com

BauDataWeb Dataset Queries

All of the subsequent queries can be executed against the public SPARQL endpoints available at http://linkeddata.uriburner.com/sparql and http://lod.openlinksw.com/sparql.

  1. Search for building materials that span more than one FreeClass category
  2. Query materials and offers that meet specific criteria
  3. Federated query that combines the BauDataWeb dataset with data from DBPedia
  4. Search for plan clay blocks (FreeClass code "12201010") with a strength of 38 centimeters

a) Search for building materials that span more than one FreeClass category, i.e. all products subsumed by the FreeClass code "16000000".

The SPARQL query implements transitive closure using a custom Virtuoso Open Source extension. By comparison, similar results would be achieved with the property path feature provided by SPARQL 1.1, as currently commented out in the query. Finally, as a last alternative, reasoning using RDFS-entailment rules could be enabled.

Output

b) Query materials and offers that meet specific criteria, i.e. constraints on properties and attributes.

Output

c) Federated query that combines the BauDataWeb dataset with data from DBPedia.

The following query selects offers for plan clay blocks (FreeClass code "12201010") with a strength of 38. We use query federation to gather additional geo-positional information from DBPedia. The places from DBPedia serve to augment the BauDataWeb dataset by details about interesting places in the neighborhood of the warehouse locations where the building and construction material can be purchased from. The adjacent places are selected based on geo coordinates within a predefined threshold.

Output

d) Search for plan clay blocks (FreeClass code "12201010") with a strength of 38 centimeters. This query is the one provided on the project landing page, with some variable renaming taken effect.

Output