Reputation: 3862
In this little snippet, what does the a
in the second line do?
CONSTRUCT {
?uri a skos:Concept ;
skos:prefLabel ?prefLabel ;
I'm sure this question already has an answer but I just couldn't find it. Sorry. (Whoever thought a single-character query language operator that's also an indefinite article in English was a good idea?)
Upvotes: 3
Views: 2046
Reputation: 3862
The SPARQL keyword a is a shortcut for the common predicate rdf:type, giving the class of a resource.
From here, found by googling 'SPARQL a keyword predicate'. Thanks to Stanislav Kralin.
Upvotes: 5