← every query · class 09 · queries/all-products.rq

Every product (example 05)

4 rows without the reasoner, 5 rows with it. The highlighted rows exist only under OWL 2 RL.

?p
product:17
product:23
product:31
product:52
product:88

The query

# Every product. The query of example 05 (two_regimes.py): product:52 is an
# onto:DigitalProduct, a subclass of onto:Product, so it appears only when a
# reasoner has drawn that conclusion.
PREFIX onto: <https://data.csoares.me/onto#>

SELECT ?p WHERE { ?p a onto:Product } ORDER BY ?p

Edit it in the query box →