Syntax for collections

Can it really be that stardog doesn’t support the Turtle syntax for collections?

For example

@prefix rdf: <> .
@prefix ex: <> .
ex:SolarSystem ex:planets (
    ex:Mercury ex:Venus ex:Earth ex:Mars ex:Jupiter ex:Saturn 
) .

Instead of

@prefix rdf: <> .
@prefix ex: <> .
ex:SolarSystem ex:planets [
  rdf:first ex:Mercury ; rdf:rest [
    rdf:first ex:Venus ; rdf:rest [
      rdf:first ex:Earth ; rdf:rest [
        rdf:first ex:Mars ; rdf:rest [
          rdf:first ex:Jupiter ; rdf:rest [
            rdf:first ex:Saturn ;
            rdf:rest rdf:nil
] .

Are you having a problem that leads you to belive that it doesn’t? Can you include error messages, log output, stardog version, etc?

1 Like

Yes. I tried using it in a construct query without any luck. Maybe this is the reason?

I guess it would be much easier to help you if you provide sample data, the query and the expected result resp. what does not work.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.