|
|
|
@ -51,7 +51,7 @@ final class NodeBuilder { |
|
|
|
|
|
|
|
|
|
|
|
// Build typed relations. |
|
|
|
// Build typed relations. |
|
|
|
$typed_relations = []; |
|
|
|
$typed_relations = []; |
|
|
|
$vid = 'coar_resource_types'; |
|
|
|
$vid = 'person'; |
|
|
|
foreach ($contents['author'] as $author) { |
|
|
|
foreach ($contents['author'] as $author) { |
|
|
|
$author_term = "{$author['family']}"; |
|
|
|
$author_term = "{$author['family']}"; |
|
|
|
if (isset($author['given'])) { |
|
|
|
if (isset($author['given'])) { |
|
|
|
|