Simple Question (Direct)
Simple Question
Q2834732
P641
Q349
USER
Which sport was Alf Hanson a part of ?
(Q2834732,P641,c(Q349))
action filter_type
action find
entity Q2834732
relation P641
type Q349
['Q2834732', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . resource:Q2834732 property:P641 ?w }
Alf Hanson
action filter_type
action find
entity Alf Hanson
relation sport
type sport
['Alf Hanson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . resource:Alf_Hanson property:sport ?w }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2834732,P641,c(Q349))
action filter_type
action find
entity Q2834732
relation P641
type Q349
Which sport was Alf Hanson a part of
['Q2834732', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . resource:Q2834732 property:P641 ?w }
association football
Which sport was Alf Hanson a part of
association football
action filter_type
action find
entity Alf Hanson
relation sport
type sport
['Alf Hanson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . resource:Alf_Hanson property:sport ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2834732
P106
Q12737077
USER
What is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q2834732
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2834732 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Alf Hanson
action filter_type
action find
entity Alf Hanson
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Alf_Hanson property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q2834732
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2834732 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Alf Hanson
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Alf_Hanson property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q5316852
P106
Q502895
USER
Does Dusan Benda have career as that occupation ?
(Q5316852,P106,Q937857)
action is_in
entity Q5316852
action find
entity Q937857
relation P106
['Q5316852', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q5316852 }
association football player Dusan Benda
action is_in
entity Dusan Benda
action find
entity association football player
relation occupation
['Dusan Benda', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Dusan_Benda }
[]
common name
SYSTEM
NO
(Q5316852,P106,Q937857)
action is_in
entity Q5316852
action find
entity Q937857
relation P106
[ANSWER]
['Q5316852', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q5316852 }
No
action is_in
entity Dusan Benda
action find
entity association football player
relation occupation
['Dusan Benda', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Dusan_Benda }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2834732
P20
Q56061
USER
Which administrative territory is the place of death of Alf Hanson ?
(Q2834732,P20,c(Q56061))
action filter_type
action find
entity Q2834732
relation P20
type Q56061
['Q2834732', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q2834732 property:P20 ?p }
Alf Hanson
action filter_type
action find
entity Alf Hanson
relation place of death
type administrative territorial entity
['Alf Hanson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Alf_Hanson property:place_of_death ?p }
[]
administrative territorial entity
Q153647
SYSTEM
St Helens
Q153647
(Q2834732,P20,c(Q56061))
action filter_type
action find
entity Q2834732
relation P20
type Q56061
S [ANSWER] is the place of death of Alf Hanson
['Q2834732', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q2834732 property:P20 ?p }
St Helens
S St Helens is the place of death of Alf Hanson
St Helens
action filter_type
action find
entity Alf Hanson
relation place of death
type administrative territorial entity
['Alf Hanson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Alf_Hanson property:place_of_death ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1328104
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their registry harbour than Alfa Nero ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q1328104
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q1328104 property:P532 ?k . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?p ) . { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?n ) WHERE { ?f rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q56061 . ?f property:P532 ?o } GROUP BY ?f } }
Alfa Nero
action count
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 Alfa Nero
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Alfa_Nero property:port_of_registry ?k . ?k rdf:type ontology:ship_type } } . FILTER ( ?n > ?p ) . { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?n ) WHERE { ?f rdf:type ontology:ship_type . ?o rdf:type ontology:administrative_territorial_entity . ?f property:port_of_registry ?o } GROUP BY ?f } }
[]
administrative territorial entity ship type
SYSTEM
70
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 count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q1328104
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q1328104 property:P532 ?k . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?p ) . { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?n ) WHERE { ?f rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q56061 . ?f property:P532 ?o } GROUP BY ?f } }
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
70
action count
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 Alfa Nero
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Alfa_Nero property:port_of_registry ?k . ?k rdf:type ontology:ship_type } } . FILTER ( ?n > ?p ) . { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?n ) WHERE { ?f rdf:type ontology:ship_type . ?o rdf:type ontology:administrative_territorial_entity . ?f property:port_of_registry ?o } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24026953
P532
Q56061 Q2235308
USER
And also tell me about Anne Elizabeth?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026953
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { ?n rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 . ?n property:P532 ?u } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q24026953 property:P532 ?m . ?m rdf:type ontology:Q2235308 } } . FILTER ( ?e > ?r ) }
Anne Elizabeth
action count
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 Anne Elizabeth
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { ?n rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity . ?n property:port_of_registry ?u } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Anne_Elizabeth property:port_of_registry ?m . ?m rdf:type ontology:ship_type } } . FILTER ( ?e > ?r ) }
[]
administrative territorial entity ship type
SYSTEM
70
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 count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026953
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { ?n rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 . ?n property:P532 ?u } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q24026953 property:P532 ?m . ?m rdf:type ontology:Q2235308 } } . FILTER ( ?e > ?r ) }
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
70
action count
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 Anne Elizabeth
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { ?n rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity . ?n property:port_of_registry ?u } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Anne_Elizabeth property:port_of_registry ?m . ?m rdf:type ontology:ship_type } } . FILTER ( ?e > ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2834732
P27
Q1496967
USER
Which territory does Alf Hanson belong to ?
(Q2834732,P27,c(Q1496967))
action filter_type
action find
entity Q2834732
relation P27
type Q1496967
['Q2834732', 'P27', {'concept': 'Q1496967'}]
SELECT DISTINCT ?e WHERE { resource:Q2834732 property:P27 ?e . ?e rdf:type ontology:Q1496967 }
Alf Hanson
action filter_type
action find
entity Alf Hanson
relation country of citizenship
type territorial entity
['Alf Hanson', 'country of citizenship', {'concept': 'territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Alf_Hanson property:country_of_citizenship ?e . ?e rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2834732,P27,c(Q1496967))
action filter_type
action find
entity Q2834732
relation P27
type Q1496967
Alf Hanson belongs to [ANSWER]
['Q2834732', 'P27', {'concept': 'Q1496967'}]
SELECT DISTINCT ?e WHERE { resource:Q2834732 property:P27 ?e . ?e rdf:type ontology:Q1496967 }
England
Alf Hanson belongs to England
England
action filter_type
action find
entity Alf Hanson
relation country of citizenship
type territorial entity
['Alf Hanson', 'country of citizenship', {'concept': 'territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Alf_Hanson property:country_of_citizenship ?e . ?e rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21 Q16475765 Q84
P36
Q56061
USER
Does England contain Velniakiai and London as its capital ?
(Q21,P36,Q16475765) (Q21,P36,Q84)
action is_in
entity Q21
action intersection
action find_reverse
entity Q16475765
relation P36
action find_reverse
entity Q84
relation P36
['Q21', 'P36', 'Q16475765'] ['Q21', 'P36', 'Q84']
ASK WHERE { resource:Q21 property:P36 resource:Q84 . resource:Q21 property:P36 resource:Q16475765 }
England Velniakiai London
action is_in
entity England
action intersection
action find_reverse
entity Velniakiai
relation capital
action find_reverse
entity London
relation capital
['England', 'capital', 'Velniakiai'] ['England', 'capital', 'London']
ASK WHERE { resource:England property:capital resource:London . resource:England property:capital resource:Velniakiai }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q21,P36,Q16475765) (Q21,P36,Q84)
action is_in
entity Q21
action intersection
action find_reverse
entity Q16475765
relation P36
action find_reverse
entity Q84
relation P36
[ANSWER]
['Q21', 'P36', 'Q16475765'] ['Q21', 'P36', 'Q84']
ASK WHERE { resource:Q21 property:P36 resource:Q84 . resource:Q21 property:P36 resource:Q16475765 }
NO and YES respectively
action is_in
entity England
action intersection
action find_reverse
entity Velniakiai
relation capital
action find_reverse
entity London
relation capital
['England', 'capital', 'Velniakiai'] ['England', 'capital', 'London']
ASK WHERE { resource:England property:capital resource:London . resource:England property:capital resource:Velniakiai }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2834732 Q893159
P19
Q56061
USER
Was Alf Hanson born in Bootle ?
(Q2834732,P19,Q893159)
action is_in
entity Q893159
action find
entity Q2834732
relation P19
['Q2834732', 'P19', 'Q893159']
ASK WHERE { resource:Q2834732 property:P19 resource:Q893159 }
Alf Hanson Bootle
action is_in
entity Bootle
action find
entity Alf Hanson
relation place of birth
['Alf Hanson', 'place of birth', 'Bootle']
ASK WHERE { resource:Alf_Hanson property:place_of_birth resource:Bootle }
[]
administrative territorial entity
SYSTEM
YES
(Q2834732,P19,Q893159)
action is_in
entity Q893159
action find
entity Q2834732
relation P19
[ANSWER]
['Q2834732', 'P19', 'Q893159']
ASK WHERE { resource:Q2834732 property:P19 resource:Q893159 }
Yes
action is_in
entity Bootle
action find
entity Alf Hanson
relation place of birth
['Alf Hanson', 'place of birth', 'Bootle']
ASK WHERE { resource:Alf_Hanson property:place_of_birth resource:Bootle }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q937857 Q2736 Q5372
P425
Q349
USER
Does association football and basketball belong to association football player ?
(Q937857,P425,Q2736) (Q937857,P425,Q5372)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q5372
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q5372']
ASK WHERE { resource:Q937857 property:P425 resource:Q5372 . resource:Q937857 property:P425 resource:Q2736 }
association football player association football basketball
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity basketball
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'basketball']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:basketball . resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q5372)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q5372
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q5372']
ASK WHERE { resource:Q937857 property:P425 resource:Q5372 . resource:Q937857 property:P425 resource:Q2736 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity basketball
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'basketball']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:basketball . resource:association_football_player property:field_of_this_occupation resource:association_football }
[]