Abbreviation: prefix notation
Like query 1-2, but the lengthy predicate term is abbreviated by an alias (foaf). This requires that the IRI prefix is declared at the top of the query.
Notice that also declare another IRI prefix that is not used in the query string. This prefix is used to abbreviate the results in the first column of the result set table. (This is a Triply-specific feature.)