| PREHOOK: query: CREATE TABLE triples (foo string, subject string, predicate string, object string, foo2 string) |
| PREHOOK: type: CREATETABLE |
| PREHOOK: Output: database:default |
| PREHOOK: Output: default@triples |
| POSTHOOK: query: CREATE TABLE triples (foo string, subject string, predicate string, object string, foo2 string) |
| POSTHOOK: type: CREATETABLE |
| POSTHOOK: Output: database:default |
| POSTHOOK: Output: default@triples |
| PREHOOK: query: EXPLAIN |
| SELECT t11.subject, t22.object , t33.subject , t55.object, t66.object |
| FROM |
| ( |
| SELECT t1.subject |
| FROM triples t1 |
| WHERE |
| t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL' |
| AND |
| t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation' |
| ) t11 |
| JOIN |
| ( |
| SELECT t2.subject , t2.object |
| FROM triples t2 |
| WHERE |
| t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' |
| ) t22 |
| ON (t11.subject=t22.subject) |
| JOIN |
| ( |
| SELECT t3.subject , t3.object |
| FROM triples t3 |
| WHERE |
| t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from' |
| |
| ) t33 |
| ON (t11.subject=t33.object) |
| JOIN |
| ( |
| SELECT t4.subject |
| FROM triples t4 |
| WHERE |
| t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL' |
| AND |
| t4.object='http://ontos/OntosMiner/Common.English/ontology#Author' |
| |
| ) t44 |
| ON (t44.subject=t33.subject) |
| JOIN |
| ( |
| SELECT t5.subject, t5.object |
| FROM triples t5 |
| WHERE |
| t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to' |
| ) t55 |
| ON (t55.subject=t44.subject) |
| JOIN |
| ( |
| SELECT t6.subject, t6.object |
| FROM triples t6 |
| WHERE |
| t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' |
| ) t66 |
| ON (t66.subject=t55.object) |
| PREHOOK: type: QUERY |
| POSTHOOK: query: EXPLAIN |
| SELECT t11.subject, t22.object , t33.subject , t55.object, t66.object |
| FROM |
| ( |
| SELECT t1.subject |
| FROM triples t1 |
| WHERE |
| t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL' |
| AND |
| t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation' |
| ) t11 |
| JOIN |
| ( |
| SELECT t2.subject , t2.object |
| FROM triples t2 |
| WHERE |
| t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' |
| ) t22 |
| ON (t11.subject=t22.subject) |
| JOIN |
| ( |
| SELECT t3.subject , t3.object |
| FROM triples t3 |
| WHERE |
| t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from' |
| |
| ) t33 |
| ON (t11.subject=t33.object) |
| JOIN |
| ( |
| SELECT t4.subject |
| FROM triples t4 |
| WHERE |
| t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL' |
| AND |
| t4.object='http://ontos/OntosMiner/Common.English/ontology#Author' |
| |
| ) t44 |
| ON (t44.subject=t33.subject) |
| JOIN |
| ( |
| SELECT t5.subject, t5.object |
| FROM triples t5 |
| WHERE |
| t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to' |
| ) t55 |
| ON (t55.subject=t44.subject) |
| JOIN |
| ( |
| SELECT t6.subject, t6.object |
| FROM triples t6 |
| WHERE |
| t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' |
| ) t66 |
| ON (t66.subject=t55.object) |
| POSTHOOK: type: QUERY |
| STAGE DEPENDENCIES: |
| Stage-1 is a root stage |
| Stage-2 depends on stages: Stage-1, Stage-5 |
| Stage-3 depends on stages: Stage-2, Stage-7 |
| Stage-5 is a root stage |
| Stage-7 is a root stage |
| Stage-0 depends on stages: Stage-3 |
| |
| STAGE PLANS: |
| Stage: Stage-1 |
| Map Reduce |
| Map Operator Tree: |
| TableScan |
| alias: t5 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Filter Operator |
| predicate: ((predicate = 'http://www.ontosearch.com/2007/12/ontosofa-ns#_to') and object is not null and subject is not null) (type: boolean) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Select Operator |
| expressions: subject (type: string), object (type: string) |
| outputColumnNames: _col0, _col1 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Reduce Output Operator |
| key expressions: _col1 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col1 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| value expressions: _col0 (type: string) |
| TableScan |
| alias: t6 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Filter Operator |
| predicate: ((predicate = 'http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL') and subject is not null) (type: boolean) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Select Operator |
| expressions: subject (type: string), object (type: string) |
| outputColumnNames: _col0, _col1 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Reduce Output Operator |
| key expressions: _col0 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col0 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| value expressions: _col1 (type: string) |
| Reduce Operator Tree: |
| Join Operator |
| condition map: |
| Inner Join 0 to 1 |
| keys: |
| 0 _col1 (type: string) |
| 1 _col0 (type: string) |
| outputColumnNames: _col0, _col1, _col3 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| File Output Operator |
| compressed: false |
| table: |
| input format: org.apache.hadoop.mapred.SequenceFileInputFormat |
| output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat |
| serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe |
| |
| Stage: Stage-2 |
| Map Reduce |
| Map Operator Tree: |
| TableScan |
| Reduce Output Operator |
| key expressions: _col0 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col0 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| value expressions: _col1 (type: string), _col3 (type: string) |
| TableScan |
| Reduce Output Operator |
| key expressions: _col2 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col2 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| value expressions: _col0 (type: string), _col1 (type: string) |
| Reduce Operator Tree: |
| Join Operator |
| condition map: |
| Inner Join 0 to 1 |
| keys: |
| 0 _col0 (type: string) |
| 1 _col2 (type: string) |
| outputColumnNames: _col1, _col3, _col4, _col5 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| File Output Operator |
| compressed: false |
| table: |
| input format: org.apache.hadoop.mapred.SequenceFileInputFormat |
| output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat |
| serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe |
| |
| Stage: Stage-3 |
| Map Reduce |
| Map Operator Tree: |
| TableScan |
| Reduce Output Operator |
| key expressions: _col5 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col5 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| value expressions: _col1 (type: string), _col3 (type: string), _col4 (type: string) |
| TableScan |
| Reduce Output Operator |
| key expressions: _col2 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col2 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| value expressions: _col1 (type: string) |
| Reduce Operator Tree: |
| Join Operator |
| condition map: |
| Inner Join 0 to 1 |
| keys: |
| 0 _col5 (type: string) |
| 1 _col2 (type: string) |
| outputColumnNames: _col1, _col3, _col4, _col8, _col9 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Select Operator |
| expressions: _col9 (type: string), _col8 (type: string), _col4 (type: string), _col1 (type: string), _col3 (type: string) |
| outputColumnNames: _col0, _col1, _col2, _col3, _col4 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| File Output Operator |
| compressed: false |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| table: |
| input format: org.apache.hadoop.mapred.SequenceFileInputFormat |
| output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat |
| serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe |
| |
| Stage: Stage-5 |
| Map Reduce |
| Map Operator Tree: |
| TableScan |
| alias: t3 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Filter Operator |
| predicate: ((predicate = 'http://www.ontosearch.com/2007/12/ontosofa-ns#_from') and object is not null and subject is not null) (type: boolean) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Select Operator |
| expressions: subject (type: string), object (type: string) |
| outputColumnNames: _col0, _col1 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Reduce Output Operator |
| key expressions: _col0 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col0 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| value expressions: _col1 (type: string) |
| TableScan |
| alias: t4 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Filter Operator |
| predicate: ((object = 'http://ontos/OntosMiner/Common.English/ontology#Author') and (predicate = 'http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL') and subject is not null) (type: boolean) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Select Operator |
| expressions: subject (type: string) |
| outputColumnNames: _col0 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Reduce Output Operator |
| key expressions: _col0 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col0 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Reduce Operator Tree: |
| Join Operator |
| condition map: |
| Inner Join 0 to 1 |
| keys: |
| 0 _col0 (type: string) |
| 1 _col0 (type: string) |
| outputColumnNames: _col0, _col1, _col2 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| File Output Operator |
| compressed: false |
| table: |
| input format: org.apache.hadoop.mapred.SequenceFileInputFormat |
| output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat |
| serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe |
| |
| Stage: Stage-7 |
| Map Reduce |
| Map Operator Tree: |
| TableScan |
| alias: t2 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Filter Operator |
| predicate: ((predicate = 'http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL') and subject is not null) (type: boolean) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Select Operator |
| expressions: subject (type: string), object (type: string) |
| outputColumnNames: _col0, _col1 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Reduce Output Operator |
| key expressions: _col0 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col0 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| value expressions: _col1 (type: string) |
| TableScan |
| alias: t1 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Filter Operator |
| predicate: ((object = 'http://ontos/OntosMiner/Common.English/ontology#Citation') and (predicate = 'http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL') and subject is not null) (type: boolean) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Select Operator |
| expressions: subject (type: string) |
| outputColumnNames: _col0 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Reduce Output Operator |
| key expressions: _col0 (type: string) |
| sort order: + |
| Map-reduce partition columns: _col0 (type: string) |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| Reduce Operator Tree: |
| Join Operator |
| condition map: |
| Inner Join 0 to 1 |
| keys: |
| 0 _col0 (type: string) |
| 1 _col0 (type: string) |
| outputColumnNames: _col1, _col2 |
| Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE |
| File Output Operator |
| compressed: false |
| table: |
| input format: org.apache.hadoop.mapred.SequenceFileInputFormat |
| output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat |
| serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe |
| |
| Stage: Stage-0 |
| Fetch Operator |
| limit: -1 |
| Processor Tree: |
| ListSink |
| |