mechanism for explicit use of equivalent properties?

Hi,

In RDFa one can easily use more then one predicate with same object &
subject


<body prefix="schema: http://schema.org/
              as: http:/www.w3.org/ns/activitystreams#">
  <div typeof="as:Activity schema:Action">
    <div rel="as:actor schema:agent"
resource="https://wwelves.org/perpetual-tripper">
      <span property="as:displayName schema:name">elf Pavlik</span>
     </div>
  </div>
</body>


I don't think JSON-LD currently provides similar mechanism.

I can do:
{
  "@type": ["as:Activity", "as:Action"],
  ...
}

But not:

{
  ...,
  "as:actor schema:agent": {
   "@id": "https://wwelves.org/perpetual-tripper",
   "as:displayName schema:name": "elf Pavlik"
}

Cheers!

Received on Wednesday, 29 October 2014 11:22:37 UTC