This query enumerates the datatype IRIs that are used in the dataset.
This query uses the
datatype/1 function to retrieve the datatype IRI from RDF terms. Since non-literal terms do not have a datatype IRI,
?datatype will sometimes remain unbound. This is why we need an additional filter containing the
bound/1 function to rule out this result.