Hi all,
In the sp spec
http://spinrdf.org/sp.html it mentions using sp:as in select clauses (section 4.2). There is no example, but it seems like it would look like this:
[
sp:as [ sp:varName "result"^^xsd:string ] ;
a sp:Count ;
sp:expression [
sp:varName "object"^^xsd:string ;
] ;
]
On the other-hand the spl rdf file makes no use of sp:as and instead uses an alternative notation:
[
sp:expression [
rdf:type sp:Count ;
sp:expression [
sp:varName "object"^^xsd:string ;
] ;
] ;
sp:varName "result"^^xsd:string ;
]
Which should I be using?