R3000
(R3000)
1
My challenge is (partially) stated in rdf - SPARQL query that returns prefixed names instead of IRIs - Stack Overflow
- Is there a Stardog helper function that could return the rdfs type name without a prefix?
P.S. I don't want semi columns to be returned either - in case of default prefix.
Thanks,
Radu
R3000
(R3000)
2
Got it from previous answered topic Need to format sqarql select results for tableau Thanks to @pavel
So it is:
prefix sdf: tag:stardog:api:functions:
select (sdf:localname(?s) as ?subject) (if(isIRI(?o), sdf:localname(?o), ?o) as ?object) { ?s ?p ?o }
system
(system)
Closed
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.