Hello everyone,
I am new to SPARQL and am learning my way around, thanks in large part to
Bob Ducharme's book "Learning SPARQL" . Is this an appropriate forum for
general SPARQL questions? What other mail lists and forums are available
for basic-through-advanced questions?
My basic question is on how I can format a query result. This query:
SELECT ?codeLabel
WHERE
{
?code skos:inScheme code:treatment .
?code skos:prefLabel ?codeLabel .
}
Returns the result:
codeLabel
- - - - - - - - - - -
Active
Placebo
I would like to format the result to appear as:
Treatment Arm
- - - - - - - - - - -
Active
Placebo
Is there a way to do this within the SPARQL query without post-processing?
FYI I am currently using ARQ for querying a .ttl file directly.
Cheers,
Tim W. (SPARQL newbie)