@@ -5,7 +5,7 @@ The RDF definitions of the ontology reside here: http://is.muni.cz/www/255658/sb
...
@@ -5,7 +5,7 @@ The RDF definitions of the ontology reside here: http://is.muni.cz/www/255658/sb
## SPARQL query example
## SPARQL query example
When populated by proper individuals, ontology can be used as data source for SPARQL queries.
When populated by proper individuals, the ontology can be used as a data source for SPARQL queries.
SPARQL Query that collects all the available data about a data point has following structure (in this particular case, the data point has BMS ID ``11304.AI3'':
SPARQL Query that collects all the available data about a data point has following structure (in this particular case, the data point has BMS ID ``11304.AI3'':
...
@@ -75,3 +75,96 @@ WHERE
...
@@ -75,3 +75,96 @@ WHERE
?publisher sbim:hasBIMId ?publisherbimId
?publisher sbim:hasBIMId ?publisherbimId
}
}
```
```
## Translation of a RESTful Semantic API call to the SPARQL
The example below illustrates translation of the RESTful query to the SPARQL query and shows the JSON response.