Changeset 241
- Timestamp:
- 03/21/10 19:17:59 (15 years ago)
- Location:
- branches/new-datamodel/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/new-datamodel/src/model/datamodel.lisp ¶
r240 r241 23 23 :VersionedConstructC 24 24 :ReifiableConstructC 25 :ScopableC 26 :TypableC 25 27 :TopicMapC 26 28 :AssociationC -
TabularUnified branches/new-datamodel/src/xml/rdf/importer.lisp ¶
r234 r241 68 68 (from-topic-elem-to-stub top-elem revision 69 69 :xtm-id *rdf-core-xtm*))) 70 (add-to-t opicmapxml-importer::tm top))))))))70 (add-to-tm xml-importer::tm top)))))))) 71 71 72 72 … … 356 356 :player sub-top)))) 357 357 (let ((assoc 358 (add-to-t opicmap358 (add-to-tm 359 359 tm 360 360 (make-construct 'AssociationC … … 397 397 :player instance-top)))) 398 398 (let ((assoc 399 (add-to-t opicmap399 (add-to-tm 400 400 tm 401 401 (make-construct 'AssociationC … … 450 450 :start-revision start-revision))))) 451 451 (handler-case (let ((top 452 (add-to-t opicmap452 (add-to-tm 453 453 tm 454 454 (make-construct … … 503 503 :player top)))) 504 504 (let ((assoc 505 (add-to-t opicmaptm (make-construct 'AssociationC505 (add-to-tm tm (make-construct 'AssociationC 506 506 :start-revision start-revision 507 507 :instance-of type-top … … 532 532 :player object-topic)))) 533 533 (let ((assoc 534 (add-to-t opicmap534 (add-to-tm 535 535 tm (make-construct 'AssociationC 536 536 :start-revision start-revision -
TabularUnified branches/new-datamodel/src/xml/rdf/map_to_tm.lisp ¶
r161 r241 189 189 (d::delete-construct assoc-top) 190 190 (with-tm (start-revision document-id tm-id) 191 (add-to-t opicmap191 (add-to-tm 192 192 xml-importer::tm 193 193 (let ((association … … 230 230 (occurrence-topics (get-isi-occurrences top start-revision)) 231 231 (name-topics (get-isi-names top start-revision))) 232 (bound-subject-identifiers top new-psis )233 (bound-subject-locators top new-locators )234 (bound-item-identifiers top new-item-ids )232 (bound-subject-identifiers top new-psis start-revision) 233 (bound-subject-locators top new-locators start-revision) 234 (bound-item-identifiers top new-item-ids start-revision) 235 235 (map 'list #'(lambda(occurrence-topic) 236 236 (map-isi-occurrence top occurrence-topic start-revision)) … … 561 561 562 562 563 (defun bound-item-identifiers (construct identifiers )563 (defun bound-item-identifiers (construct identifiers start-revision) 564 564 "Bounds the passed item-identifier to the passed construct." 565 565 (declare (ReifiableConstructC construct)) … … 570 570 (item-identifiers construct)) 571 571 (d::delete-construct id) 572 (setf (identified-construct id) construct))) 572 (add-item-identifier (identified-construct id :revision start-revision) 573 construct :revision start-revision))) 573 574 construct) 574 575 575 576 576 (defun bound-subject-identifiers (top identifiers )577 (defun bound-subject-identifiers (top identifiers start-revision) 577 578 "Bounds the passed psis to the passed topic." 578 579 (declare (TopicC top)) … … 583 584 (psis top)) 584 585 (d::delete-construct id) 585 (setf (identified-construct id) top))) 586 (add-psi (identified-construct id :revision start-revision) 587 top :revision start-revision))) 586 588 top) 587 589 588 590 589 (defun bound-subject-locators (top locators )591 (defun bound-subject-locators (top locators start-revision) 590 592 "Bounds the passed locators to the passed topic." 591 593 (declare (TopicC top)) … … 596 598 (locators top)) 597 599 (d::delete-construct id) 598 (setf (identified-construct id) top))) 600 (add-locator (identified-construct id :revision start-revision) 601 top :revision start-revision))) 599 602 top) 600 603
Note: See TracChangeset
for help on using the changeset viewer.