academy/queries/iri-prefix-notation

Abbreviation: IRI prefix notation

By Triply Academy
Created
2 years ago
Modified
4 months ago
Versions
8
Dataset
academy / pokemon
Service
https://api.triplydb.com/datasets/academy/pokemon/services/pokemon/sparql

Identical to this query, but the lengthy predicate term that was used there is now abbreviated using alias (vocab). This requires that the alias and IRI prefix are declared at the top of the query (keyword prefix).

The part of the query that appears before the projection, and that contains prefix declarations, is called the Prologue.

Notice that another IRI prefix pokémon is also declared. This prefix is not used in the query itself, but is used to abbreviate the values that appear the first column of the result set table. (This is a Triply-specific feature.)

Version: 8

API variables

https://api.triplydb.com/queries/academy/iri-prefix-notation/run

Documentation

Getting startedAPI referenceJavascript ClientYasgui

Triply

AboutContact usGeneral termsPrivacy policy
info@triply.cc
© 2021 Triply B.V. All rights reserved.