Simple Question (Direct)
Simple Question
Q8025026
P607
Q198
USER
Which war did Winfield Scott Schley take part in ?
(Q8025026,P607,c(Q198))
action filter_type
action find
entity Q8025026
relation P607
type Q198
['Q8025026', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q198 . resource:Q8025026 property:P607 ?v }
Winfield Scott Schley
action filter_type
action find
entity Winfield Scott Schley
relation conflict
type war
['Winfield Scott Schley', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:war . resource:Winfield_Scott_Schley property:conflict ?v }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q8025026,P607,c(Q198))
action filter_type
action find
entity Q8025026
relation P607
type Q198
Part The [ANSWER] Winfield Scott Schley took
['Q8025026', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q198 . resource:Q8025026 property:P607 ?v }
American Civil War
Part The American Civil War Winfield Scott Schley took
American Civil War
action filter_type
action find
entity Winfield Scott Schley
relation conflict
type war
['Winfield Scott Schley', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:war . resource:Winfield_Scott_Schley property:conflict ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8025026
P19
Q56061
USER
Where was Winfield Scott Schley born ?
(Q8025026,P19,c(Q56061))
action filter_type
action find
entity Q8025026
relation P19
type Q56061
['Q8025026', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q8025026 property:P19 ?e }
Winfield Scott Schley
action filter_type
action find
entity Winfield Scott Schley
relation place of birth
type administrative territorial entity
['Winfield Scott Schley', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Winfield_Scott_Schley property:place_of_birth ?e }
[]
administrative territorial entity
Q472675
SYSTEM
Frederick
Q472675
(Q8025026,P19,c(Q56061))
action filter_type
action find
entity Q8025026
relation P19
type Q56061
Winfield Scott Schley was born to [ANSWER]
['Q8025026', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q8025026 property:P19 ?e }
Frederick
Winfield Scott Schley was born to Frederick
Frederick
action filter_type
action find
entity Winfield Scott Schley
relation place of birth
type administrative territorial entity
['Winfield Scott Schley', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Winfield_Scott_Schley property:place_of_birth ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3749866
Q56061
USER
And how about Francesco Daverio?
(Q3749866,P19,c(Q56061))
action filter_type
action find
entity Q3749866
relation P19
type Q56061
['Q3749866', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3749866 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Francesco Daverio
action filter_type
action find
entity Francesco Daverio
relation place of birth
type administrative territorial entity
['Francesco Daverio', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Francesco_Daverio property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6285
SYSTEM
Varese
Q6285
(Q3749866,P19,c(Q56061))
action filter_type
action find
entity Q3749866
relation P19
type Q56061
[ANSWER]
['Q3749866', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3749866 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Varese
Varese
action filter_type
action find
entity Francesco Daverio
relation place of birth
type administrative territorial entity
['Francesco Daverio', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Francesco_Daverio property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6285 Q3851264
P19
Q502895
USER
Does Massimo Galli have place of birth as that administrative territory ?
(Q3851264,P19,Q6285)
action is_in
entity Q6285
action find
entity Q3851264
relation P19
['Q3851264', 'P19', 'Q6285']
ASK WHERE { resource:Q3851264 property:P19 resource:Q6285 }
Varese Massimo Galli
action is_in
entity Varese
action find
entity Massimo Galli
relation place of birth
['Massimo Galli', 'place of birth', 'Varese']
ASK WHERE { resource:Massimo_Galli property:place_of_birth resource:Varese }
[]
common name
SYSTEM
YES
(Q3851264,P19,Q6285)
action is_in
entity Q6285
action find
entity Q3851264
relation P19
[ANSWER]
['Q3851264', 'P19', 'Q6285']
ASK WHERE { resource:Q3851264 property:P19 resource:Q6285 }
Yes
action is_in
entity Varese
action find
entity Massimo Galli
relation place of birth
['Massimo Galli', 'place of birth', 'Varese']
ASK WHERE { resource:Massimo_Galli property:place_of_birth resource:Varese }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q8025026 Q11220
P241
Q781132
USER
Was that person a part of United States Navy ?
(Q8025026,P241,Q11220)
action is_in
entity Q11220
action find
entity Q8025026
relation P241
['Q8025026', 'P241', 'Q11220']
ASK WHERE { resource:Q8025026 property:P241 resource:Q11220 }
Winfield Scott Schley United States Navy
action is_in
entity United States Navy
action find
entity Winfield Scott Schley
relation military branch
['Winfield Scott Schley', 'military branch', 'United States Navy']
ASK WHERE { resource:Winfield_Scott_Schley property:military_branch resource:United_States_Navy }
[]
military branch
SYSTEM
YES
(Q8025026,P241,Q11220)
action is_in
entity Q11220
action find
entity Q8025026
relation P241
[ANSWER]
['Q8025026', 'P241', 'Q11220']
ASK WHERE { resource:Q8025026 property:P241 resource:Q11220 }
Yes
action is_in
entity United States Navy
action find
entity Winfield Scott Schley
relation military branch
['Winfield Scott Schley', 'military branch', 'United States Navy']
ASK WHERE { resource:Winfield_Scott_Schley property:military_branch resource:United_States_Navy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q472675 Q575493 Q5262414
P6
Q502895
USER
Does Frederick have its government headed by Andrew Percy and Derek Turnbull ?
(Q472675,P6,Q575493) (Q472675,P6,Q5262414)
action is_in
entity Q472675
action intersection
action find_reverse
entity Q575493
relation P6
action find_reverse
entity Q5262414
relation P6
['Q472675', 'P6', 'Q575493'] ['Q472675', 'P6', 'Q5262414']
ASK WHERE { resource:Q472675 property:P6 resource:Q575493 . resource:Q472675 property:P6 resource:Q5262414 }
Frederick Andrew Percy Derek Turnbull
action is_in
entity Frederick
action intersection
action find_reverse
entity Andrew Percy
relation head of government
action find_reverse
entity Derek Turnbull
relation head of government
['Frederick', 'head of government', 'Andrew Percy'] ['Frederick', 'head of government', 'Derek Turnbull']
ASK WHERE { resource:Frederick property:head_of_government resource:Andrew_Percy . resource:Frederick property:head_of_government resource:Derek_Turnbull }
[]
common name
SYSTEM
NO
(Q472675,P6,Q575493) (Q472675,P6,Q5262414)
action is_in
entity Q472675
action intersection
action find_reverse
entity Q575493
relation P6
action find_reverse
entity Q5262414
relation P6
[ANSWER]
['Q472675', 'P6', 'Q575493'] ['Q472675', 'P6', 'Q5262414']
ASK WHERE { resource:Q472675 property:P6 resource:Q575493 . resource:Q472675 property:P6 resource:Q5262414 }
No
action is_in
entity Frederick
action intersection
action find_reverse
entity Andrew Percy
relation head of government
action find_reverse
entity Derek Turnbull
relation head of government
['Frederick', 'head of government', 'Andrew Percy'] ['Frederick', 'head of government', 'Derek Turnbull']
ASK WHERE { resource:Frederick property:head_of_government resource:Andrew_Percy . resource:Frederick property:head_of_government resource:Derek_Turnbull }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q472675
P190
Q15617994 Q1048835
USER
How many administrative territories or political territories are twin cities of Frederick ?
(Q472675,P190,c(Q15617994)) (Q472675,P190,c(Q1048835))
action count
action union
action filter_type
action find
entity Q472675
relation P190
type Q15617994
action filter_type
action find
entity Q472675
relation P190
type Q1048835
['Q472675', 'P190', {'concept': 'Q15617994'}] ['Q472675', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Q472675 property:P190 ?r . ?r rdf:type ontology:Q15617994 } UNION { ?r rdf:type ontology:Q1048835 . resource:Q472675 property:P190 ?r } }
Frederick
action count
action union
action filter_type
action find
entity Frederick
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Frederick
relation sister city
type political territorial entity
['Frederick', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Frederick', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Frederick property:sister_city ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity . resource:Frederick property:sister_city ?r } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q7052 Q1794121 Q23002
(Q472675,P190,c(Q15617994)) (Q472675,P190,c(Q1048835))
action count
action union
action filter_type
action find
entity Q472675
relation P190
type Q15617994
action filter_type
action find
entity Q472675
relation P190
type Q1048835
[ANSWER]
['Q472675', 'P190', {'concept': 'Q15617994'}] ['Q472675', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Q472675 property:P190 ?r . ?r rdf:type ontology:Q15617994 } UNION { ?r rdf:type ontology:Q1048835 . resource:Q472675 property:P190 ?r } }
Landau in der Pfalz Aquiraz Schifferstadt
3
action count
action union
action filter_type
action find
entity Frederick
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Frederick
relation sister city
type political territorial entity
['Frederick', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Frederick', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Frederick property:sister_city ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity . resource:Frederick property:sister_city ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027509
P532
Q56061 Q2235308
USER
Which ship types are the registry port of greater number of administrative territories than Blue & White ?
(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 Q24027509
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?v ) WHERE { ?g property:P532 ?i . ?g rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q2235308 . resource:Q24027509 property:P532 ?p } } . FILTER ( ?v > ?u ) }
Blue & White
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 Blue & White
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?v ) WHERE { ?g property:port_of_registry ?i . ?g rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:ship_type . resource:Blue_&_White property:port_of_registry ?p } } . FILTER ( ?v > ?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 Q24027509
relation P532
type Q2235308
[ANSWERS] are the registry port of greater number of administrative territories than Blue & White
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?v ) WHERE { ?g property:P532 ?i . ?g rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q2235308 . resource:Q24027509 property:P532 ?p } } . FILTER ( ?v > ?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 are the registry port of greater number of administrative territories than Blue & White
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 Blue & White
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?v ) WHERE { ?g property:port_of_registry ?i . ?g rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:ship_type . resource:Blue_&_White property:port_of_registry ?p } } . FILTER ( ?v > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q26883829
P532
Q56061 Q2235308
USER
And also tell me about VOS Sympathy?
(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 Q26883829
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { ?w property:P532 ?s . ?s rdf:type ontology:Q56061 . ?w rdf:type ontology:Q2235308 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q26883829 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?t > ?g ) }
VOS Sympathy
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 VOS Sympathy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { ?w property:port_of_registry ?s . ?s rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:ship_type } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:VOS_Sympathy property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?t > ?g ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q11707059
SYSTEM
MS Azura, SS Maxim Gorkiy, MS Arrow
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(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 Q26883829
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { ?w property:P532 ?s . ?s rdf:type ontology:Q56061 . ?w rdf:type ontology:Q2235308 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q26883829 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?t > ?g ) }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura SS Maxim Gorkiy MS Arrow
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 VOS Sympathy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { ?w property:port_of_registry ?s . ?s rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:ship_type } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:VOS_Sympathy property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?t > ?g ) }
[]