Scoped contexts with @type:@vocab ?

Another scoping question ...  is it possible to use scoped contexts for URI
expansion within specific relationships?

For example, if I have an external classification system (say
http://vocab.gett.edu/aat/) and a predicate that refers to it
(crm:P2_has_type) which I map to `classified_as`, would an embedded/scoped
context be resolved for the vocabulary terms only when used with that
predicate?

For example, in the below, I would want Painting to resolve to
aat:300033618 only when used with `classified_as`:

```
{
  "@context": {
    "id": "@id",
    "type": "@type",
    "classified_as": {
      "@id": "crm:P2_has_type",
      "@type": "@vocab",
      "@context": {
         "aat": "http://vocab.gett.edu/aat/",
         "Painting": "aat:300033618"
      }
    }
  },
  "id": "http://example.org/object/1",
  "type": "ManMadeObject",
  "classified_as": "Painting"
}
```

Thoughts?

Rob

-- 
Rob Sanderson
Semantic Architect
The Getty Trust
Los Angeles, CA 90049

Received on Tuesday, 7 March 2017 01:03:53 UTC