Simple Question (Direct)
Simple Question
Q1300823
P1412
Q34770
USER
Which language is spoken by Francisco José Lombardi ?
(Q1300823,P1412,c(Q34770))
action filter_type
action find
entity Q1300823
relation P1412
type Q34770
['Q1300823', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q1300823 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Francisco José Lombardi
action filter_type
action find
entity Francisco José Lombardi
relation languages spoken, written or signed
type language
['Francisco José Lombardi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Francisco_José_Lombardi property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1300823,P1412,c(Q34770))
action filter_type
action find
entity Q1300823
relation P1412
type Q34770
In [ANSWER] is spoken by Francisco José Lombardi
['Q1300823', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q1300823 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Spanish
In Spanish is spoken by Francisco José Lombardi
Spanish
action filter_type
action find
entity Francisco José Lombardi
relation languages spoken, written or signed
type language
['Francisco José Lombardi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Francisco_José_Lombardi property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1300823
P19
Q56061
USER
Where was Francisco José Lombardi born ?
(Q1300823,P19,c(Q56061))
action filter_type
action find
entity Q1300823
relation P19
type Q56061
['Q1300823', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1300823 property:P19 ?f }
Francisco José Lombardi
action filter_type
action find
entity Francisco José Lombardi
relation place of birth
type administrative territorial entity
['Francisco José Lombardi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Francisco_José_Lombardi property:place_of_birth ?f }
[]
administrative territorial entity
Q272795
SYSTEM
Tacna
Q272795
(Q1300823,P19,c(Q56061))
action filter_type
action find
entity Q1300823
relation P19
type Q56061
Francisco José Lombardi was born in [ANSWER]
['Q1300823', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1300823 property:P19 ?f }
Tacna
Francisco José Lombardi was born in Tacna
Tacna
action filter_type
action find
entity Francisco José Lombardi
relation place of birth
type administrative territorial entity
['Francisco José Lombardi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Francisco_José_Lombardi property:place_of_birth ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24026957
P532
Q56061 Q2235308
USER
Which ship types have more number of administrative territories as their base harbour than Industry ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026957
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?z property:P532 ?w . ?z rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q24026957 property:P532 ?x . ?x rdf:type ontology:Q2235308 } } . FILTER ( ?a > ?u ) }
Industry
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Industry
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?z property:port_of_registry ?w . ?z rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Industry property:port_of_registry ?x . ?x rdf:type ontology:ship_type } } . FILTER ( ?a > ?u ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026957
relation P532
type Q2235308
[ANSWERS] have more number of administrative territories as their base harbour than Industry
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?z property:P532 ?w . ?z rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q24026957 property:P532 ?x . ?x rdf:type ontology:Q2235308 } } . FILTER ( ?a > ?u ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have more number of administrative territories as their base harbour than Industry
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Industry
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?z property:port_of_registry ?w . ?z rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Industry property:port_of_registry ?x . ?x rdf:type ontology:ship_type } } . FILTER ( ?a > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24027194
P532
Q56061 Q2235308
USER
And also tell me about Heedful?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027194
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?c ) WHERE { ?x property:P532 ?f . ?x rdf:type ontology:Q2235308 . ?f rdf:type ontology:Q56061 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q24027194 property:P532 ?z . ?z rdf:type ontology:Q2235308 } } . FILTER ( ?c > ?u ) }
Heedful
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Heedful
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?c ) WHERE { ?x property:port_of_registry ?f . ?x rdf:type ontology:ship_type . ?f rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Heedful property:port_of_registry ?z . ?z rdf:type ontology:ship_type } } . FILTER ( ?c > ?u ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027194
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?c ) WHERE { ?x property:P532 ?f . ?x rdf:type ontology:Q2235308 . ?f rdf:type ontology:Q56061 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q24027194 property:P532 ?z . ?z rdf:type ontology:Q2235308 } } . FILTER ( ?c > ?u ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Heedful
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?c ) WHERE { ?x property:port_of_registry ?f . ?x rdf:type ontology:ship_type . ?f rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Heedful property:port_of_registry ?z . ?z rdf:type ontology:ship_type } } . FILTER ( ?c > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q9771135
P138
Q2235308 Q5962346
USER
How many classification schemes have less number of ship types as their toponym than Tikuna-class submarine ?
(c(Q5962346),P138,c(Q2235308))
action count
action less
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
action count
action filter_type
action find
entity Q9771135
relation P138
type Q2235308
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { ?n property:P138 ?h . ?h rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q5962346 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q9771135 property:P138 ?b . ?b rdf:type ontology:Q2235308 } } . FILTER ( ?k < ?w ) }
Tikuna-class submarine
action count
action less
action find_tuple_counts
relation named after
type classification scheme
type ship type
action count
action filter_type
action find
entity Tikuna-class submarine
relation named after
type ship type
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { ?n property:named_after ?h . ?h rdf:type ontology:ship_type . ?n rdf:type ontology:classification_scheme } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Tikuna-class_submarine property:named_after ?b . ?b rdf:type ontology:ship_type } } . FILTER ( ?k < ?w ) }
[]
ship type classification scheme
SYSTEM
50
Q2657561 Q16334444 Q913512 Q5196943 Q4001385 Q2663305 Q442303 Q2975881 Q15631817 Q1194287 Q1070632 Q33248 Q5551288 Q20065339 Q2975771 Q1279940 Q1144934 Q6676568 Q2443866 Q621080 Q1785843 Q1720127 Q513869 Q16334439 Q1191194 Q3504745 Q2257275 Q2481447 Q2520129 Q4353003 Q19623641 Q1968562 Q55520 Q167991 Q3503826 Q842423 Q16334497 Q5551289 Q5551283 Q5551285 Q264912 Q10374571 Q10374570 Q2590674 Q2299009 Q2915004 Q10374569 Q16102075 Q2257235 Q2522520
(c(Q5962346),P138,c(Q2235308))
action count
action less
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
action count
action filter_type
action find
entity Q9771135
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { ?n property:P138 ?h . ?h rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q5962346 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q9771135 property:P138 ?b . ?b rdf:type ontology:Q2235308 } } . FILTER ( ?k < ?w ) }
British C-class submarine German Type VIID submarine Victor II class submarine Cutter Expansive Classification German Type UC I submarine British U-class submarine Beluga-class submarine British H-class submarine German Type UE I submarine Tango-class submarine Sierra-class submarine Cushitic languages German Type UC III submarine Bekker numbering British B-class submarine India-class submarine Gato-class submarine Delta I-class submarine Norwegian A-class submarine Library of Congress Classification British S-class submarine British J-class submarine Oscar-class submarine German Type VIIC/41 submarine Hamitic German Type UB III submarine British D-class submarine British A-class submarine British L-class submarine Norwegian B-class submarine Oscar-I-class submarine Delta III-class submarine Kilo-class submarine German Type VII submarine German Type UB II submarine Foxtrot-class submarine Type IXC/40 submarine German Type UC II submarine Type IXA submarine Type IXB submarine November-class submarine German Type VIIC submarine German Type VIIB submarine British E-class submarine British T-class submarine Potvis-class submarine German Type VIIA submarine German Type UC submarine German Type UB I submarine Music Genome Project
50
action count
action less
action find_tuple_counts
relation named after
type classification scheme
type ship type
action count
action filter_type
action find
entity Tikuna-class submarine
relation named after
type ship type
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { ?n property:named_after ?h . ?h rdf:type ontology:ship_type . ?n rdf:type ontology:classification_scheme } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Tikuna-class_submarine property:named_after ?b . ?b rdf:type ontology:ship_type } } . FILTER ( ?k < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q389149
P138
Q2235308 Q5962346
USER
And how about Ohio-class submarine?
(c(Q5962346),P138,c(Q2235308))
action count
action less
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
action count
action filter_type
action find
entity Q389149
relation P138
type Q2235308
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?k ) WHERE { ?n property:P138 ?t . ?n rdf:type ontology:Q5962346 . ?t rdf:type ontology:Q2235308 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q389149 property:P138 ?g . ?g rdf:type ontology:Q2235308 } } . FILTER ( ?k < ?o ) }
Ohio-class submarine
action count
action less
action find_tuple_counts
relation named after
type classification scheme
type ship type
action count
action filter_type
action find
entity Ohio-class submarine
relation named after
type ship type
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?k ) WHERE { ?n property:named_after ?t . ?n rdf:type ontology:classification_scheme . ?t rdf:type ontology:ship_type } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Ohio-class_submarine property:named_after ?g . ?g rdf:type ontology:ship_type } } . FILTER ( ?k < ?o ) }
[]
ship type classification scheme
SYSTEM
50
Q2657561 Q16334444 Q913512 Q5196943 Q4001385 Q2663305 Q442303 Q2975881 Q15631817 Q1194287 Q1070632 Q33248 Q5551288 Q20065339 Q2975771 Q1279940 Q1144934 Q6676568 Q2443866 Q621080 Q1785843 Q1720127 Q513869 Q16334439 Q1191194 Q3504745 Q2257275 Q2481447 Q2520129 Q4353003 Q19623641 Q1968562 Q55520 Q167991 Q3503826 Q842423 Q16334497 Q5551289 Q5551283 Q5551285 Q264912 Q10374571 Q10374570 Q2590674 Q2299009 Q2915004 Q10374569 Q16102075 Q2257235 Q2522520
(c(Q5962346),P138,c(Q2235308))
action count
action less
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
action count
action filter_type
action find
entity Q389149
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?k ) WHERE { ?n property:P138 ?t . ?n rdf:type ontology:Q5962346 . ?t rdf:type ontology:Q2235308 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q389149 property:P138 ?g . ?g rdf:type ontology:Q2235308 } } . FILTER ( ?k < ?o ) }
British C-class submarine German Type VIID submarine Victor II class submarine Cutter Expansive Classification German Type UC I submarine British U-class submarine Beluga-class submarine British H-class submarine German Type UE I submarine Tango-class submarine Sierra-class submarine Cushitic languages German Type UC III submarine Bekker numbering British B-class submarine India-class submarine Gato-class submarine Delta I-class submarine Norwegian A-class submarine Library of Congress Classification British S-class submarine British J-class submarine Oscar-class submarine German Type VIIC/41 submarine Hamitic German Type UB III submarine British D-class submarine British A-class submarine British L-class submarine Norwegian B-class submarine Oscar-I-class submarine Delta III-class submarine Kilo-class submarine German Type VII submarine German Type UB II submarine Foxtrot-class submarine Type IXC/40 submarine German Type UC II submarine Type IXA submarine Type IXB submarine November-class submarine German Type VIIC submarine German Type VIIB submarine British E-class submarine British T-class submarine Potvis-class submarine German Type VIIA submarine German Type UC submarine German Type UB I submarine Music Genome Project
50
action count
action less
action find_tuple_counts
relation named after
type classification scheme
type ship type
action count
action filter_type
action find
entity Ohio-class submarine
relation named after
type ship type
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?k ) WHERE { ?n property:named_after ?t . ?n rdf:type ontology:classification_scheme . ?t rdf:type ontology:ship_type } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Ohio-class_submarine property:named_after ?g . ?g rdf:type ontology:ship_type } } . FILTER ( ?k < ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q272795 Q294362
P17
Q1048835
USER
How many political territories are Tacna or urban and regional transportation situated in ?
(Q272795,P17,c(Q1048835)) (Q294362,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q272795
relation P17
type Q1048835
action filter_type
action find
entity Q294362
relation P17
type Q1048835
['Q272795', 'P17', {'concept': 'Q1048835'}] ['Q294362', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?x property:P17 ?w . VALUES ( ?x ) { ( resource:Q272795 ) ( resource:Q294362 ) } }
Tacna urban and regional transportation
action count
action union
action filter_type
action find
entity Tacna
relation country
type political territorial entity
action filter_type
action find
entity urban and regional transportation
relation country
type political territorial entity
['Tacna', 'country', {'concept': 'political territorial entity'}] ['urban and regional transportation', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?x property:country ?w . VALUES ( ?x ) { ( resource:Tacna ) ( resource:urban_and_regional_transportation ) } }
[]
political territorial entity
SYSTEM
2
Q183 Q40
(Q272795,P17,c(Q1048835)) (Q294362,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q272795
relation P17
type Q1048835
action filter_type
action find
entity Q294362
relation P17
type Q1048835
[ANSWER]
['Q272795', 'P17', {'concept': 'Q1048835'}] ['Q294362', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?x property:P17 ?w . VALUES ( ?x ) { ( resource:Q272795 ) ( resource:Q294362 ) } }
Germany Austria
2
action count
action union
action filter_type
action find
entity Tacna
relation country
type political territorial entity
action filter_type
action find
entity urban and regional transportation
relation country
type political territorial entity
['Tacna', 'country', {'concept': 'political territorial entity'}] ['urban and regional transportation', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?x property:country ?w . VALUES ( ?x ) { ( resource:Tacna ) ( resource:urban_and_regional_transportation ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272795
P36
Q1048835
USER
Which political territory contains Tacna as its capital ?
(c(Q1048835),P36,Q272795)
action filter_type
action find_reverse
entity Q272795
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q272795']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q272795 . ?b rdf:type ontology:Q1048835 }
Tacna
action filter_type
action find_reverse
entity Tacna
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Tacna']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Tacna . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q207413
SYSTEM
Tacna Region
Q207413
(c(Q1048835),P36,Q272795)
action filter_type
action find_reverse
entity Q272795
relation P36
type Q1048835
District [ANSWER] contains Tacna as its capital
[{'concept': 'Q1048835'}, 'P36', 'Q272795']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q272795 . ?b rdf:type ontology:Q1048835 }
Tacna Region
District Tacna Region contains Tacna as its capital
Tacna Region
action filter_type
action find_reverse
entity Tacna
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Tacna']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Tacna . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272795
P190
Q515
USER
Which city is twin town of Tacna ?
(c(Q515),P190,Q272795)
action filter_type
action find_reverse
entity Q272795
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q272795']
SELECT DISTINCT ?l WHERE { ?l property:P190 resource:Q272795 . ?l rdf:type ontology:Q515 }
Tacna
action filter_type
action find_reverse
entity Tacna
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Tacna']
SELECT DISTINCT ?l WHERE { ?l property:sister_city resource:Tacna . ?l rdf:type ontology:city }
[]
city
Q2203
SYSTEM
Arica
Q2203
(c(Q515),P190,Q272795)
action filter_type
action find_reverse
entity Q272795
relation P190
type Q515
[ANSWER] is twin town of Tacna
[{'concept': 'Q515'}, 'P190', 'Q272795']
SELECT DISTINCT ?l WHERE { ?l property:P190 resource:Q272795 . ?l rdf:type ontology:Q515 }
Arica
Arica is twin town of Tacna
Arica
action filter_type
action find_reverse
entity Tacna
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Tacna']
SELECT DISTINCT ?l WHERE { ?l property:sister_city resource:Tacna . ?l rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2203
P6
Q502895
USER
Which person is the head of government of that city ?
(Q2203,P6,c(Q502895))
action filter_type
action find
entity Q2203
relation P6
type Q502895
['Q2203', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q2203 property:P6 ?c }
Arica
action filter_type
action find
entity Arica
relation head of government
type common name
['Arica', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Arica property:head_of_government ?c }
[]
common name
Q6117807
SYSTEM
Salvador Urrutia
Q6117807
(Q2203,P6,c(Q502895))
action filter_type
action find
entity Q2203
relation P6
type Q502895
[ANSWER] is the head of government of that city
['Q2203', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q2203 property:P6 ?c }
Salvador Urrutia
Salvador Urrutia is the head of government of that city
Salvador Urrutia
action filter_type
action find
entity Arica
relation head of government
type common name
['Arica', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Arica property:head_of_government ?c }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6117807 Q298 Q4897931
P27
Q15617994
USER
Is that person a citizen of Chile and Bethel School District ?
(Q6117807,P27,Q298) (Q6117807,P27,Q4897931)
action is_in
entity Q6117807
action intersection
action find_reverse
entity Q298
relation P27
action find_reverse
entity Q4897931
relation P27
['Q6117807', 'P27', 'Q298'] ['Q6117807', 'P27', 'Q4897931']
ASK WHERE { resource:Q6117807 property:P27 resource:Q298 . resource:Q6117807 property:P27 resource:Q4897931 }
Salvador Urrutia Chile Bethel School District
action is_in
entity Salvador Urrutia
action intersection
action find_reverse
entity Chile
relation country of citizenship
action find_reverse
entity Bethel School District
relation country of citizenship
['Salvador Urrutia', 'country of citizenship', 'Chile'] ['Salvador Urrutia', 'country of citizenship', 'Bethel School District']
ASK WHERE { resource:Salvador_Urrutia property:country_of_citizenship resource:Chile . resource:Salvador_Urrutia property:country_of_citizenship resource:Bethel_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q6117807,P27,Q298) (Q6117807,P27,Q4897931)
action is_in
entity Q6117807
action intersection
action find_reverse
entity Q298
relation P27
action find_reverse
entity Q4897931
relation P27
[ANSWER]
['Q6117807', 'P27', 'Q298'] ['Q6117807', 'P27', 'Q4897931']
ASK WHERE { resource:Q6117807 property:P27 resource:Q298 . resource:Q6117807 property:P27 resource:Q4897931 }
YES and NO respectively
action is_in
entity Salvador Urrutia
action intersection
action find_reverse
entity Chile
relation country of citizenship
action find_reverse
entity Bethel School District
relation country of citizenship
['Salvador Urrutia', 'country of citizenship', 'Chile'] ['Salvador Urrutia', 'country of citizenship', 'Bethel School District']
ASK WHERE { resource:Salvador_Urrutia property:country_of_citizenship resource:Chile . resource:Salvador_Urrutia property:country_of_citizenship resource:Bethel_School_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2596850 Q53133 Q528142
P1071
Q15617994
USER
Does MS Azura have Monfalcone and Weihmichl as its finally place of assembly ?
(Q2596850,P1071,Q53133) (Q2596850,P1071,Q528142)
action is_in
entity Q2596850
action intersection
action find_reverse
entity Q53133
relation P1071
action find_reverse
entity Q528142
relation P1071
['Q2596850', 'P1071', 'Q53133'] ['Q2596850', 'P1071', 'Q528142']
ASK WHERE { resource:Q2596850 property:P1071 resource:Q53133 . resource:Q2596850 property:P1071 resource:Q528142 }
MS Azura Monfalcone Weihmichl
action is_in
entity MS Azura
action intersection
action find_reverse
entity Monfalcone
relation location of final assembly
action find_reverse
entity Weihmichl
relation location of final assembly
['MS Azura', 'location of final assembly', 'Monfalcone'] ['MS Azura', 'location of final assembly', 'Weihmichl']
ASK WHERE { resource:MS_Azura property:location_of_final_assembly resource:Monfalcone . resource:MS_Azura property:location_of_final_assembly resource:Weihmichl }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q2596850,P1071,Q53133) (Q2596850,P1071,Q528142)
action is_in
entity Q2596850
action intersection
action find_reverse
entity Q53133
relation P1071
action find_reverse
entity Q528142
relation P1071
[ANSWER]
['Q2596850', 'P1071', 'Q53133'] ['Q2596850', 'P1071', 'Q528142']
ASK WHERE { resource:Q2596850 property:P1071 resource:Q53133 . resource:Q2596850 property:P1071 resource:Q528142 }
YES and NO respectively
action is_in
entity MS Azura
action intersection
action find_reverse
entity Monfalcone
relation location of final assembly
action find_reverse
entity Weihmichl
relation location of final assembly
['MS Azura', 'location of final assembly', 'Monfalcone'] ['MS Azura', 'location of final assembly', 'Weihmichl']
ASK WHERE { resource:MS_Azura property:location_of_final_assembly resource:Monfalcone . resource:MS_Azura property:location_of_final_assembly resource:Weihmichl }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7349523 Q35462
P607
Q198
USER
Which wars was RMS Aquitania or Robert S. Williamson a part of ?
OR((Q35462,P607,c(Q198)), (Q7349523,P607,c(Q198)))
action filter_type
action union
action find
entity Q35462
relation P607
action find
entity Q7349523
relation P607
type Q198
{'OR': [['Q35462', 'P607', {'concept': 'Q198'}], ['Q7349523', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q35462 property:P607 ?d } UNION { resource:Q7349523 property:P607 ?d } } . ?d rdf:type ontology:Q198 }
Robert S. Williamson RMS Aquitania
action filter_type
action union
action find
entity RMS Aquitania
relation conflict
action find
entity Robert S. Williamson
relation conflict
type war
{'OR': [['RMS Aquitania', 'conflict', {'concept': 'war'}], ['Robert S. Williamson', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?d WHERE { { { resource:RMS_Aquitania property:conflict ?d } UNION { resource:Robert_S._Williamson property:conflict ?d } } . ?d rdf:type ontology:war }
[]
war
Q362 Q8676 Q361
SYSTEM
World War II, American Civil War, World War I
Q362 Q8676 Q361
OR((Q35462,P607,c(Q198)), (Q7349523,P607,c(Q198)))
action filter_type
action union
action find
entity Q35462
relation P607
action find
entity Q7349523
relation P607
type Q198
[ANSWERS] were RMS Aquitania or Robert S. Williamson a part of
{'OR': [['Q35462', 'P607', {'concept': 'Q198'}], ['Q7349523', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q35462 property:P607 ?d } UNION { resource:Q7349523 property:P607 ?d } } . ?d rdf:type ontology:Q198 }
World War II American Civil War World War I
World War II, American Civil War and World War I were RMS Aquitania or Robert S. Williamson a part of
World War II American Civil War World War I
action filter_type
action union
action find
entity RMS Aquitania
relation conflict
action find
entity Robert S. Williamson
relation conflict
type war
{'OR': [['RMS Aquitania', 'conflict', {'concept': 'war'}], ['Robert S. Williamson', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?d WHERE { { { resource:RMS_Aquitania property:conflict ?d } UNION { resource:Robert_S._Williamson property:conflict ?d } } . ?d rdf:type ontology:war }
[]