Update of /cvsroot/monetdb/sql/src/test/rdf/Tests
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4800/src/test/rdf/Tests
Added Files:
Tag: Feb2010
q6_v.sql
Log Message:
propagated changes of Friday Jan 15 2010 - Monday Jan 18 2010
from the Nov2009 branch to the Feb2010 branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/01/15 - romulog: src/test/rdf/Tests/q6_v.sql,1.1.2.1
Add a test to cover the schema and queries for rdf used in vldb2008.
It seems 4 of them got broken... in the last release...
Like this we make sure we support the queries syntax...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- NEW FILE: q6_v.sql ---
WITH uniontable(subj) as(
( SELECT B.subj FROM prop17582582_pso AS B WHERE B.obj =
14660332)
UNION
( SELECT C.subj FROM prop14660306_pso AS C, prop17582582_pso AS
D WHERE C.obj = D.subj AND D.obj = 14660332 ))
SELECT * from (
(SELECT 'prop14657240_pso', count(*)
FROM prop14657240_pso as A, uniontable
WHERE A.subj = uniontable.subj
)
UNION ALL
(SELECT 'prop14660343_pso', count(*)
FROM prop14660343_pso as A, uniontable
WHERE A.subj = uniontable.subj
)
UNION ALL
(SELECT 'prop17582582_pso', count(*)
FROM prop17582582_pso as A, uniontable
WHERE A.subj = uniontable.subj
)
[...1076 lines suppressed...]
(SELECT 'prop14657222_pso', count(*)
FROM prop14657222_pso as A, uniontable
WHERE A.subj = uniontable.subj
)
UNION ALL
(SELECT 'prop14657019_pso', count(*)
FROM prop14657019_pso as A, uniontable
WHERE A.subj = uniontable.subj
)
UNION ALL
(SELECT 'prop14657210_pso', count(*)
FROM prop14657210_pso as A, uniontable
WHERE A.subj = uniontable.subj
)
UNION ALL
(SELECT 'prop14659605_pso', count(*)
FROM prop14659605_pso as A, uniontable
WHERE A.subj = uniontable.subj
)
) as trip;
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins