How to specify that no member properties should be returned

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: Query
    • None
    • Hide

      The specification should say that:

      Servers SHOULD accept the value rdf:nil. If specified as the only property, servers SHOULD omit all properties of the member resources. If oslc.select specifies rdf:nil and other properties, servers MAY choose to respond with 400 Bad Request, or ignore the rdf:nil, or have other implementation dependent behavior.

      Show
      The specification should say that: Servers SHOULD accept the value rdf:nil. If specified as the only property, servers SHOULD omit all properties of the member resources. If oslc.select specifies rdf:nil and other properties, servers MAY choose to respond with 400 Bad Request, or ignore the rdf:nil, or have other implementation dependent behavior.
    • Hide

      The draft Query 3.0 spec has been updated with the proposal.

      Show
      The draft Query 3.0 spec has been updated with the proposal.

      How does a query capability consumer specify that no properties of members should be returned in a query result?

      The syntax of oslc.select requires that at least one property is specified. The spec does not define the behaviour if oslc.select is omitted - see https://issues.oasis-open.org/browse/OSLCCORE-123.

      If the query result is an LDPC, then one solution is to use LDPC Prefer capabilities such as: Prefer: return=representation; include="http://www.w3.org/ns/ldp#PreferMembership http://www.w3.org/ns/ldp#PreferMinimalContainer".

      However, this seems like a complex solution to meet this requirement, and implementations that do not use LDPCs are unlikely to support it.

            Assignee:
            davidhoney
            Reporter:
            davidhoney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: