Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding discogs and sharevde examples with context flag
- Loading branch information
Showing
3 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"id": "resourceTemplate:bf2:Discogs:Example", | ||
"resourceLabel": "Discogs Examples", | ||
"resourceURI": "http://exampleontology.com/Discogs", | ||
"remark": "This is altered greatly for testing purposes", | ||
"propertyTemplates": [ | ||
{ | ||
"propertyLabel": "Related Discogs Entity", | ||
"propertyURI": "http://exampleontology.com/relatedDiscogs", | ||
"mandatory": "true", | ||
"repeatable": "true", | ||
"type": "lookup", | ||
"subtype": "context", | ||
"resourceTemplates": [], | ||
"valueConstraint": { | ||
"valueTemplateRefs": [], | ||
"useValuesFrom": [ | ||
"urn:discogs" | ||
], | ||
"valueDataType": { | ||
"dataTypeURI": "http://id.loc.gov/ontologies/bibframe/Work" | ||
}, | ||
"defaults": [] | ||
}, | ||
"remark": "http://id.loc.gov/authorities/names.html" | ||
|
||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"id": "resourceTemplate:bf2:ShareVDE:Example", | ||
"resourceLabel": "ShareVDE Examples", | ||
"resourceURI": "http://exampleontology.com/ShareVDE", | ||
"remark": "This is altered greatly for testing purposes", | ||
"propertyTemplates": [ | ||
{ | ||
"propertyLabel": "Related Work", | ||
"propertyURI": "http://exampleontology.com/relatedWork", | ||
"mandatory": "true", | ||
"repeatable": "true", | ||
"type": "lookup", | ||
"subtype": "context", | ||
"resourceTemplates": [], | ||
"valueConstraint": { | ||
"valueTemplateRefs": [], | ||
"useValuesFrom": [ | ||
"urn:ld4p:qa:sharevde_cornell_work_ld4l_cache", | ||
"urn:ld4p:qa:sharevde_stanford_work_ld4l_cache", | ||
"urn:ld4p:qa:sharevde_ucsd_work_ld4l_cache" | ||
], | ||
"valueDataType": { | ||
"dataTypeURI": "http://id.loc.gov/ontologies/bibframe/Work" | ||
}, | ||
"defaults": [] | ||
}, | ||
"remark": "http://id.loc.gov/authorities/names.html" | ||
|
||
}, | ||
{ | ||
"propertyLabel": "Related Instance", | ||
"propertyURI": "http://exampleontology.com/relatedInstance", | ||
"mandatory": "true", | ||
"repeatable": "true", | ||
"type": "lookup", | ||
"resourceTemplates": [], | ||
"valueConstraint": { | ||
"valueTemplateRefs": [], | ||
"useValuesFrom": [ | ||
"urn:ld4p:qa:sharevde_ucsd_instance_ld4l_cache", | ||
"urn:ld4p:qa:sharevde_stanford_instance_ld4l_cache", | ||
"urn:ld4p:qa:sharevde_cornell_instance_ld4l_cache" | ||
], | ||
"valueDataType": { | ||
"dataTypeURI": "http://id.loc.gov/ontologies/bibframe/Instance" | ||
}, | ||
"defaults": [] | ||
}, | ||
"remark": "http://id.loc.gov/authorities/names.html" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters