Changeset 172 for trunk/src/xml/rdf
- Timestamp:
- 12/12/09 00:29:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/xml/rdf/importer.lisp ¶
r154 r172 355 355 (list :instance-of role-type-2 356 356 :player sub-top)))) 357 ;(when reifier-id358 ;(make-reification reifier-id sub-top super-top359 ; assoc-type start-revision tm360 ; :document-id document-id))361 357 (let ((assoc 362 358 (add-to-topicmap … … 400 396 (list :instance-of roletype-2 401 397 :player instance-top)))) 402 ;(when reifier-id403 ; (make-reification reifier-id instance-top type-top404 ; assoc-type start-revision tm405 ; :document-id document-id))406 398 (let ((assoc 407 399 (add-to-topicmap … … 510 502 (list :instance-of role-type-2 511 503 :player top)))) 512 ;(when ID513 ; (make-reification ID top player-1 type-top start-revision514 ; tm :document-id document-id))515 504 (let ((assoc 516 505 (add-to-topicmap tm (make-construct 'AssociationC … … 560 549 :document-id document-id))) 561 550 (add-reifier reifiable-construct reifier-topic))) 562 563 ;(defun make-reification (reifier-id subject object predicate start-revision tm564 ; &key document-id)565 ; "Creates a reification construct."566 ; (declare (string reifier-id))567 ; (declare ((or OccurrenceC TopicC) object))568 ; (declare (TopicC subject predicate))569 ; (declare (TopicMapC tm))570 ; (elephant:ensure-transaction (:txn-nosync t)571 ; (let ((reifier (make-topic-stub reifier-id nil nil nil start-revision tm572 ; :document-id document-id))573 ; (predicate-arc (make-topic-stub *rdf-predicate* nil nil nil574 ; start-revision575 ; tm :document-id document-id))576 ; (object-arc (make-topic-stub *rdf-object* nil nil nil start-revision577 ; tm :document-id document-id))578 ; (subject-arc (make-topic-stub *rdf-subject* nil nil nil579 ; start-revision580 ; tm :document-id document-id))581 ; (statement (make-topic-stub *rdf-statement* nil nil nil start-revision582 ; tm :document-id document-id)))583 ; (make-instance-of-association reifier statement nil start-revision tm584 ; :document-id document-id)585 ; (make-association-with-nodes reifier subject subject-arc tm586 ; start-revision :document-id document-id)587 ; (make-association-with-nodes reifier predicate predicate-arc588 ; tm start-revision :document-id document-id)589 ; (if (typep object 'd:TopicC)590 ; (make-association-with-nodes reifier object object-arc591 ; tm start-revision592 ; :document-id document-id)593 ; (make-construct 'd:OccurrenceC594 ; :start-revision start-revision595 ; :topic reifier596 ; :themes (themes object)597 ; :instance-of (instance-of object)598 ; :charvalue (charvalue object)599 ; :datatype (datatype object))))))600 551 601 552 … … 629 580 :datatype datatype))) 630 581 (when ID 631 ;(make-reification ID top occurrence type-top start-revision632 ; xml-importer::tm :document-id document-id))633 582 (make-reification ID occurrence start-revision xml-importer::tm 634 583 :document-id document-id))
Note: See TracChangeset
for help on using the changeset viewer.