Re: Test cases to check

Boris,

I looked at the direct mapping tests and either I do not understanding something or the proposed tests results are wrong. I let Eric & Juan give a final judgement. The mappings use the same pattern, so I take only the example 0001:

 Student
!-------!
! Name  !
!-------!
! Venus ! 
!-------!

The expected result on the wiki is:

[[[
@prefix ex: <http://example.com/> .

 _:b1 ex:name "Venus".
]]]

(I presume http://example.com/ is the URI you gave to the Database in general, though that might be worth spelling out). However, per the current document, what I would expect is

[[[
@prefix ex:    <http://example.com/> .
@prefix table: <http://example.com/Student#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

 _:b1 table:Name "Venus" ;
      rdf:type   ex:Student .

]]]

If I am right, we should look at all the direct mapping results...

Ivan

On Feb 1, 2011, at 03:08 , Boris Villazón Terrazas wrote:

> Hi all
> 
> Following the protocol for the test cases [1] (from now on the test cases should be sent by email), I would like to invite you the check the following Direct Mapping test cases:
> 	• for the database 1table0rows [2], Direct Graph TC0000 [3]
> 	• for the database 1table1row[4], Direct Graph TC0001 [5]
> 	• for the database 1table2columns1row[6], Direct Graph TC0002 [7]
> 	• for the database 1table3columns1row[8], Direct Graph TC0003 [9]
> 	• for the database 1table2columns1rowa[10], Direct Graph TC0004 [11]
> 	• for the database 1table3columns3rows[12], Direct Graph TC0005 [13]     // this is related to ISSUE-9 [14] 
> Thanks to Juan for helping me with these Direct Mapping test cases (related to ACTION-81 [15])
> 
> Unless there is a negative review within a week these will become official test cases.
> 
> Thank you in advance and regards.
> 
> Boris
> 
> [1] http://www.w3.org/2001/sw/rdb2rdf/wiki/TestCases
> [2] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#1table0rows
> [3] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#Direct_Graph_TC0000
> [4] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#1table1row
> [5] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#Direct_Graph_TC0001
> [6] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#1table2columns1row
> [7] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#Direct_Graph_TC0002
> [8] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#1table3columns1row
> [9] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#Default_graph_TC0003
> [10] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#1table2columns1rowa
> [11] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#Default_graph_TC0004
> [12] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#1table3columns3rows
> [13] http://www.w3.org/2001/sw/rdb2rdf/wiki/R2RML_Test_Cases_v1#Default_graph_TC0005
> [14] http://www.w3.org/2001/sw/rdb2rdf/track/issues/9
> [15] http://www.w3.org/2001/sw/rdb2rdf/track/actions/81


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Tuesday, 1 February 2011 10:13:49 UTC