TNS Internal:NDR/API/2.0/DataAnalysis/patternsNSDLCollections/EV

From NSDLWiki

Jump to: navigation, search

Contents

[hide]

PATTERN: EV Blogs

CAgg CMDP OAgent CR M M-MDP Extra Parent
X EV EV X X EV EV


How to identify this pattern?

  • Get Extra Parent with Query: <info:fedora/hdl:2200%2F__AGGREGATOR_HANDLE__> <http://ns.nsdl.org/api/relationships#memberOf> <info:fedora/hdl:2200%2F20061005113737574T>
  • If the Extra Parent query has results, then this pattern has been met.


Query to just get EV collection aggregators:

Actual Query:

  SELECT t5.o, t5.s, t14.o
  FROM t5 
  JOIN t14 
  ON t5.s = t14.s
  WHERE t5.o = '"Aggregator"' AND t14.o = '<info:fedora/hdl:2200%2F20061005113737574T>'
  LIMIT 2000;

RESULTS: 23


Query with English interpretation's included:  (won't run)

  SELECT t5.o(objectType), t5.s(CAggr), t14.o(EV_aggr_handle)
  FROM t5(ObjectType_table) 
  JOIN t14(memberOf_table) 
  ON t5.s(CAggr) = t14.s (CAggr)
  WHERE t5.o(objectType) = '"Aggregator"' AND t14.o(memberOf_Aggr) = '<info:fedora/hdl:2200%2F20061005113737574T>'(EV_aggr_handle)
  LIMIT 2000;


Parts of existing objects

Legend:

  used as part of v2.0 objects; surfaced through v2.0 get calls
  available in separate metadata object about the collection
  not available via v2.0 calls
  Deprecated - won't be created or used going forward


Name Path Example Value Use in 2.0 Comments
Collection Aggregator (CAggr)
properties
nsdl:setName Beyond Penguins and Polar Bears created by EV to support OAI
nsdl:setSpec 2666311:blog18 created by EV to support OAI
datastreams
DC
dc:title Aggregator object for hdl:2200%2F2006...
dc:identifier hdl:2200%2F2007...
serviceDescription -- DEPRECATED
dc:title Beyond Penguins and Polar Bears DEPRECATED
dc:description This blog is focused... DEPRECATED
image brandURL, title, width, height, alttext DEPRECATED
contacts DEPRECATED NO CONTACTS
relationships
nsdl:associatedWith R handle CR
nsdl:memberOf Aggr 2200/NSDL_Collection_of_Collections_Aggregator ParentAggr parent that makes this a Library Collection
nsdl:memberOf Aggr 2200/20061005113737574T ParentAggr parent is EV aggregator
nsdl:aggregatorFor Agent 2200/20061002131039975T EV Agent
nsdl:authorizedToChange Agent 2200/20061002131039975T copy all to new Library Collection AND rename; cause new EV Source Collection should be authorizedToBeChangedBy
Collection Metadata Provider (CMDP)
Doesn't exist; Will be created
Owner Agent (OAgent)
2200/20061002131039975T is EV Agent -- Used as is as OAgent
Collection Resource (CR)
properties
nsdl:hasResourceURL http://expertvoices.nsdl.org/polar/
datastreams
DC
dc:title NSDL Repository Resource Object
dc:identifier hdl:2200%2F2007...
content_1 redirect to resourceURL
relationships
nsdl:memberOf Aggr 2200/NSDL_Collection_of_Resources
nsdl:memberOf Aggr 200/20061005113737574T EV aggr
Metadata (M)
properties
nsdl:uniqueID expertvoices.blog18-2200/20071106073415232T created by EV; handle is for CR
nsdl:itemID oai:nsdl.org:2200-20071106073453659T created by EV; handle is for this M object
datastreams
DC
dc:title NSDL Repostiory Metadata
dc:identifier hdl:2200%2F2007...
dc:date 2007-11-06T14-54-34Z
format_nsdl_dc
datastream will be unchanged
dc:title Beyond Penguins and Polar Bears LC-CAggr-p:title; LC-CM-d:format_ndr_collection!title
dc:description This blog is focused on... LC-CAggr-p:description; LC-CM-d:format_ndr_collection!description
relationships
nsdl:metadataProvidedBy MDP 2200/20061207181243233T EV MDP
nsdl:metadataFor Aggr handle CAggr
nsdl:metadataFor R handle CR
Metadata Provider (M-MDP) for Metadata
2200/20061207181243233T EV MDP
properties
nsdl:setName NSDL Expert Voices
nsdl:setSpec 2666311
oai:visibility public used to determine if metadata provided by this MDP should be included in search and public OAIs
datastreams
serviceDescription -- DEPRECATED
dc:contacts DEPRECATED NO CONTACTS
Extra Parent Aggregator
EV Aggr


Matching Existing Data to New NDR Collection Structure

The following are the objects expected to exist for NDR Collections. There are two types of NDR Collections created for NSDL Library Collection, that is, one NDR Collection for the Library Collection and one NDR Collection each for each Metadata Source. The following identifies how each object for the two collection types will be created or converted from existing objects.


Library Collection - NDR Collection info

Name From (api call) Conversion Comments
Object Field Type Identifier/Path
Collection Aggregator
properties
title [from inputXML] M datastream format_nsdl_dc -> dc:title
description [from inputXML] M datastream format_nsdl_dc -> dc:description
hasResourceURL [from inputXML] should match URL in CR identified by relationship associatedWith
contact [from inputXML]
externalIdentifier [from inputXML]
datastreams
DC
dc:title
"Aggregator" hardcode "Aggregator"
dc:identifier
[handle for this object] [handle for LC-CAggr object]
relationships
collectionComponentOf [handle for this object] [handle for LC-CAggr object]
associatedWith [handle for CR] [handle for LC-CR object]
aggregatorFor [handle for OAgent] [handle for LC-OAgent object]
authorizedToChange [handle for OAgent] [handle for LC-OAgent object]
Collection Metadata Provider
properties
none
datastreams
DC
dc:title
"MetadataProvider" hardcode "MetadataProvider"
dc:identifier
[handle for this object] [handle for LC-CMDP object]
relationships
collectionComponentOf [handle for this object] [handle for LC-CAggr object]
metadataProviderFor [handle for OAgent] [handle for LC-OAgent object]
authorizedToChange [handle for OAgent] [handle for LC-OAgent object]
Collection Metadata
properties
none
datastreams
DC
dc:title
"Metadata" hardcode "Metadata"
dc:identifier
[handle for this object] [handle for LC-CM object]
format_ndr_collection
title
[from inputXML]
description
[from inputXML]
resourceURL
[from inputXML] should match URL in CR identified by relationship associatedWith
contacts!contact
[from inputXML]
externalIdentifier
[from inputXML]
relationships
collectionComponentOf [handle for this object] [handle for LC-CAggr object]
metadataProvidedBy [handle for CMDP] [handle for LC-CMDP object]
metadataFor [handle for CAggr] [handle for LC-CAggr object]


Metadata Source - NDR Collection info

Name From (api call) Conversion Comments
Object Field Type Identifier/Path
Collection Aggregator
properties
title [from inputXML]
description [from inputXML]
hasResourceURL [from inputXML] NONE no resource for metadata source
contact [from inputXML]
externalIdentifier [from inputXML]
datastreams
DC
dc:title
"Aggregator" hardcode "Aggregator"
dc:identifier
[handle for this object] [handle for MS-CAggr object]
relationships
collectionComponentOf [handle for this object] [handle for MS-CAggr object]
associatedWith [handle for CR] [handle for MS-CR object]
aggregatorFor [handle for OAgent] [handle for MS-OAgent object]
authorizedToChange [handle for OAgent] [handle for MS-OAgent object]
Collection Metadata Provider
properties
none
datastreams
DC
dc:title
"MetadataProvider" hardcode "MetadataProvider"
dc:identifier
[handle for this object] [handle for MS-CMDP object]
relationships
collectionComponentOf [handle for this object] [handle for MS-CAggr object]
metadataProviderFor [handle for OAgent] [handle for MS-OAgent object]
authorizedToChange [handle for OAgent] [handle for MS-OAgent object]
Collection Metadata
properties
none
datastreams
DC
dc:title
"Metadata" hardcode "Metadata"
dc:identifier
[handle for this object] [handle for MS-CM object]
format_ndr_collection
title
[from inputXML]
description
[from inputXML]
resourceURL
[from inputXML] should match URL in CR identified by relationship associatedWith
contacts!contact
[from inputXML]
externalIdentifier
[from inputXML]
relationships
collectionComponentOf [handle for this object] [handle for MS-CAggr object]
metadataProvidedBy [handle for CMDP] [handle for MS-CMDP object]
metadataFor [handle for CAggr] [handle for MS-CAggr object]


Conversion Process

From Agg:

  • Get OAgent with Query: <info:fedora/hdl:2200%2F__AGGREGATOR_HANDLE__> <http://ns.nsdl.org/api/relationships#aggregatorFor> *
  • Get CR with Query: <info:fedora/hdl:2200%2F__AGGREGATOR_HANDLE__> <http://ns.nsdl.org/api/relationships#associatedWith> *


Missing: MDP

Always Missing: CM

Personal tools