Changeset 412 for trunk/src/TM-SPARQL


Ignore:
Timestamp:
04/04/11 08:50:25 (14 years ago)
Author:
lgiessmann
Message:

TM-SPARQL: fixed a bug in the processing of final results when creating result-intersections and finished a unit-tests for such a scenario

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/TM-SPARQL/sparql.lisp

    r411 r412  
    10811081                 (when (variable-p (predicate triple))
    10821082                   (list :variable (value (predicate triple))
    1083                           :result (predicate-result triple)))
     1083                         :result (predicate-result triple)))
    10841084                 (when (variable-p (object triple))
    10851085                   (list :variable (value (object triple))
     
    11171117           (list-1 (when (>= (length all-values) 1)
    11181118                     (first all-values)))
    1119            (list-2 (if (> (length all-values) 2)
     1119           (list-2 (if (>= (length all-values) 2)
    11201120                       (second all-values)
    11211121                       list-1))
Note: See TracChangeset for help on using the changeset viewer.