Skip to content

Commit

Permalink
#21
Browse files Browse the repository at this point in the history
  • Loading branch information
eroux committed Aug 11, 2020
1 parent 4691c62 commit 786925d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editionxmltottl.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ function edition_item_to_ttl($config, $item, $global_graph_fd, $edition_info, $f
// $part_r->addResource('owl:sameAs', $url_part_other);
// }

$idUri = bnode_url("ID", $part_r, $part_r, $catalogue_index);
$idUri = bnode_url("ID", $part_r, $part_r, $item->ref);
$idNode = $part_r->getGraph()->resource($idUri);
$part_r->addResource('bf:identifiedBy', $idNode);
$idNode->add('rdf:value', $catalogue_index);
$idNode->add('rdf:value', $item->ref);
$idNode->addResource('rdf:type', 'bdr:'.$edition_info['confinfo']['propSigla']);

$colophon = $item->coloph;
Expand Down

0 comments on commit 786925d

Please sign in to comment.