Simple Question (Direct)
Simple Question
Q4419648
P641
Q349
USER
What was the sport that José Luis Drei was a part of ?
(Q4419648,P641,c(Q349))
action filter_type
action find
entity Q4419648
relation P641
type Q349
['Q4419648', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4419648 property:P641 ?u . ?u rdf:type ontology:Q349 }
José Luis Drei
action filter_type
action find
entity José Luis Drei
relation sport
type sport
['José Luis Drei', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:José_Luis_Drei property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4419648,P641,c(Q349))
action filter_type
action find
entity Q4419648
relation P641
type Q349
[ANSWER]
['Q4419648', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4419648 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity José Luis Drei
relation sport
type sport
['José Luis Drei', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:José_Luis_Drei property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4419648
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4419648
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q4419648 property:P27 ?t }
José Luis Drei
action filter_type
action find
entity José Luis Drei
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:José_Luis_Drei property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4419648
relation P27
type Q15617994
[ANSWER]
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q4419648 property:P27 ?t }
Brazil
Brazil
action filter_type
action find
entity José Luis Drei
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:José_Luis_Drei property:country_of_citizenship ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4419648
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q155,P106,c(Q12737077))
action filter_type
action find
entity Q4419648
relation P106
type Q12737077
['Q155', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q4419648 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
José Luis Drei
action filter_type
action find
entity José Luis Drei
relation occupation
type occupation
['Brazil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:José_Luis_Drei property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q155,P106,c(Q12737077))
action filter_type
action find
entity Q4419648
relation P106
type Q12737077
[ANSWER]
['Q155', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q4419648 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity José Luis Drei
relation occupation
type occupation
['Brazil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:José_Luis_Drei property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q13217372 Q4419648
P106
Q12737077
USER
And also Trond Nordsteien
AND((Q4419648,P106,c(Q12737077)), (Q13217372,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q4419648
relation P106
action find
entity Q13217372
relation P106
type Q12737077
{'AND': [['Q4419648', 'P106', {'concept': 'Q12737077'}], ['Q13217372', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q4419648 property:P106 ?z . resource:Q13217372 property:P106 ?z }
Trond Nordsteien José Luis Drei
action filter_type
action intersection
action find
entity José Luis Drei
relation occupation
action find
entity Trond Nordsteien
relation occupation
type occupation
{'AND': [['José Luis Drei', 'occupation', {'concept': 'occupation'}], ['Trond Nordsteien', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:José_Luis_Drei property:occupation ?z . resource:Trond_Nordsteien property:occupation ?z }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
AND((Q4419648,P106,c(Q12737077)), (Q13217372,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q4419648
relation P106
action find
entity Q13217372
relation P106
type Q12737077
[ANSWER]
{'AND': [['Q4419648', 'P106', {'concept': 'Q12737077'}], ['Q13217372', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q4419648 property:P106 ?z . resource:Q13217372 property:P106 ?z }
association football player
association football player
action filter_type
action intersection
action find
entity José Luis Drei
relation occupation
action find
entity Trond Nordsteien
relation occupation
type occupation
{'AND': [['José Luis Drei', 'occupation', {'concept': 'occupation'}], ['Trond Nordsteien', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:José_Luis_Drei property:occupation ?z . resource:Trond_Nordsteien property:occupation ?z }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q34266 Q155
P27
Q502895
USER
Which people are a native of Brazil and Russian Empire ?
AND((c(Q502895),P27,Q155), (c(Q502895),P27,Q34266))
action filter_type
action intersection
action find_reverse
entity Q155
relation P27
action find_reverse
entity Q34266
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q155'], [{'concept': 'Q502895'}, 'P27', 'Q34266']]}
SELECT DISTINCT ?j WHERE { ?j property:P27 resource:Q34266 . ?j property:P27 resource:Q155 . ?j rdf:type ontology:Q502895 }
Russian Empire Brazil
action filter_type
action intersection
action find_reverse
entity Brazil
relation country of citizenship
action find_reverse
entity Russian Empire
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Brazil'], [{'concept': 'common name'}, 'country of citizenship', 'Russian Empire']]}
SELECT DISTINCT ?j WHERE { ?j property:country_of_citizenship resource:Russian_Empire . ?j property:country_of_citizenship resource:Brazil . ?j rdf:type ontology:common_name }
[]
common name
Q10278154 Q4198627 Q2638024
SYSTEM
Eugenio Kusnet, Dimitri Ismailovitch, Gleb Wataghin
Q10278154 Q4198627 Q2638024
AND((c(Q502895),P27,Q155), (c(Q502895),P27,Q34266))
action filter_type
action intersection
action find_reverse
entity Q155
relation P27
action find_reverse
entity Q34266
relation P27
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q155'], [{'concept': 'Q502895'}, 'P27', 'Q34266']]}
SELECT DISTINCT ?j WHERE { ?j property:P27 resource:Q34266 . ?j property:P27 resource:Q155 . ?j rdf:type ontology:Q502895 }
Eugenio Kusnet Dimitri Ismailovitch Gleb Wataghin
Eugenio Kusnet Dimitri Ismailovitch Gleb Wataghin
action filter_type
action intersection
action find_reverse
entity Brazil
relation country of citizenship
action find_reverse
entity Russian Empire
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Brazil'], [{'concept': 'common name'}, 'country of citizenship', 'Russian Empire']]}
SELECT DISTINCT ?j WHERE { ?j property:country_of_citizenship resource:Russian_Empire . ?j property:country_of_citizenship resource:Brazil . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1304877 Q937857
P425 P641
Q349
USER
Which sports have association football player as thier associated field of occupation or were Metin Diyadin a part of ?
OR((Q937857,P425,c(Q349)), (Q1304877,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q1304877
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q1304877', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . { { resource:Q937857 property:P425 ?v } UNION { resource:Q1304877 property:P641 ?v } } }
Metin Diyadin association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Metin Diyadin
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Metin Diyadin', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . { { resource:association_football_player property:field_of_this_occupation ?v } UNION { resource:Metin_Diyadin property:sport ?v } } }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q1304877,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q1304877
relation P641
type Q349
[ANSWER]
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q1304877', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . { { resource:Q937857 property:P425 ?v } UNION { resource:Q1304877 property:P641 ?v } } }
association football
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Metin Diyadin
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Metin Diyadin', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . { { resource:association_football_player property:field_of_this_occupation ?v } UNION { resource:Metin_Diyadin property:sport ?v } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q21078955
P641
Q502895
USER
Does Henry Cheeseman play that sport ?
(Q21078955,P641,Q2736)
action is_in
entity Q21078955
action find
entity Q2736
relation P641
['Q21078955', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q21078955 }
association football Henry Cheeseman
action is_in
entity Henry Cheeseman
action find
entity association football
relation sport
['Henry Cheeseman', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Henry_Cheeseman }
[]
common name
SYSTEM
NO
(Q21078955,P641,Q2736)
action is_in
entity Q21078955
action find
entity Q2736
relation P641
[ANSWER]
['Q21078955', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q21078955 }
No
action is_in
entity Henry Cheeseman
action find
entity association football
relation sport
['Henry Cheeseman', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Henry_Cheeseman }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11586692 Q34266
P19 P36
Q56061
USER
Which administrative territories are the capitals of Russian Empire or were Yū Ishibashi born in ?
OR((Q34266,P36,c(Q56061)), (Q11586692,P19,c(Q56061)))
action filter_type
action union
action find
entity Q34266
relation P36
action find
entity Q11586692
relation P19
type Q56061
{'OR': [['Q34266', 'P36', {'concept': 'Q56061'}], ['Q11586692', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q34266 property:P36 ?z } UNION { resource:Q11586692 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Yū Ishibashi Russian Empire
action filter_type
action union
action find
entity Russian Empire
relation capital
action find
entity Yū Ishibashi
relation place of birth
type administrative territorial entity
{'OR': [['Russian Empire', 'capital', {'concept': 'administrative territorial entity'}], ['Yū Ishibashi', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Russian_Empire property:capital ?z } UNION { resource:Yū_Ishibashi property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490 Q649
SYSTEM
Tokyo, Moscow
Q1490 Q649
OR((Q34266,P36,c(Q56061)), (Q11586692,P19,c(Q56061)))
action filter_type
action union
action find
entity Q34266
relation P36
action find
entity Q11586692
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q34266', 'P36', {'concept': 'Q56061'}], ['Q11586692', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q34266 property:P36 ?z } UNION { resource:Q11586692 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Tokyo Moscow
Tokyo Moscow
action filter_type
action union
action find
entity Russian Empire
relation capital
action find
entity Yū Ishibashi
relation place of birth
type administrative territorial entity
{'OR': [['Russian Empire', 'capital', {'concept': 'administrative territorial entity'}], ['Yū Ishibashi', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Russian_Empire property:capital ?z } UNION { resource:Yū_Ishibashi property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q1262266
P800
Q502895
USER
How many people have association football player or engine order telegraph as their notable work ?
(c(Q502895),P800,Q937857) (c(Q502895),P800,Q1262266)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
action filter_type
action find_reverse
entity Q1262266
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857'] [{'concept': 'Q502895'}, 'P800', 'Q1262266']
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { ?b property:P800 resource:Q937857 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P800 resource:Q1262266 . ?b rdf:type ontology:Q502895 } }
association football player engine order telegraph
action count
action union
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
action filter_type
action find_reverse
entity engine order telegraph
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player'] [{'concept': 'common name'}, 'notable work', 'engine order telegraph']
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { ?b property:notable_work resource:association_football_player . ?b rdf:type ontology:common_name } UNION { ?b property:notable_work resource:engine_order_telegraph . ?b rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q974271 Q23047441
(c(Q502895),P800,Q937857) (c(Q502895),P800,Q1262266)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
action filter_type
action find_reverse
entity Q1262266
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q937857'] [{'concept': 'Q502895'}, 'P800', 'Q1262266']
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { ?b property:P800 resource:Q937857 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P800 resource:Q1262266 . ?b rdf:type ontology:Q502895 } }
Louis-François-Clement Breguet Hugh Morgan-Owen
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
action filter_type
action find_reverse
entity engine order telegraph
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player'] [{'concept': 'common name'}, 'notable work', 'engine order telegraph']
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { ?b property:notable_work resource:association_football_player . ?b rdf:type ontology:common_name } UNION { ?b property:notable_work resource:engine_order_telegraph . ?b rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027187
P532
Q56061 Q2235308
USER
How many ship types are the registry port of greater number of administrative territories than Anne Davies ?
(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 Q24027187
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?x ) WHERE { ?v property:P532 ?z . ?v rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q24027187 property:P532 ?i . ?i rdf:type ontology:Q2235308 } } . FILTER ( ?x > ?g ) }
Anne Davies
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 Davies
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?x ) WHERE { ?v property:port_of_registry ?z . ?v rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Anne_Davies property:port_of_registry ?i . ?i rdf:type ontology:ship_type } } . FILTER ( ?x > ?g ) }
[]
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 Q24027187
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?x ) WHERE { ?v property:P532 ?z . ?v rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q24027187 property:P532 ?i . ?i rdf:type ontology:Q2235308 } } . FILTER ( ?x > ?g ) }
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 Davies
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?x ) WHERE { ?v property:port_of_registry ?z . ?v rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Anne_Davies property:port_of_registry ?i . ?i rdf:type ontology:ship_type } } . FILTER ( ?x > ?g ) }
[]