Simple Question (Direct)
Simple Question
Q1524118
P54
Q618123
USER
What is the team that Josef de Souza Dias is a member of ?
(Q1524118,P54,c(Q618123))
action filter_type
action find
entity Q1524118
relation P54
type Q618123
['Q1524118', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?o WHERE { resource:Q1524118 property:P54 ?o . ?o rdf:type ontology:Q618123 }
Josef de Souza Dias
action filter_type
action find
entity Josef de Souza Dias
relation member of sports team
type geographical object
['Josef de Souza Dias', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?o WHERE { resource:Josef_de_Souza_Dias property:member_of_sports_team ?o . ?o rdf:type ontology:geographical_object }
[]
geographical object
Q5014111
SYSTEM
CR Vasco da Gama
Q5014111
(Q1524118,P54,c(Q618123))
action filter_type
action find
entity Q1524118
relation P54
type Q618123
The team that Josef de Souza Dias is a member of is the [ANSWER]
['Q1524118', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?o WHERE { resource:Q1524118 property:P54 ?o . ?o rdf:type ontology:Q618123 }
CR Vasco da Gama
The team that Josef de Souza Dias is a member of is the CR Vasco da Gama
CR Vasco da Gama
action filter_type
action find
entity Josef de Souza Dias
relation member of sports team
type geographical object
['Josef de Souza Dias', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?o WHERE { resource:Josef_de_Souza_Dias property:member_of_sports_team ?o . ?o rdf:type ontology:geographical_object }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524118
P19
Q56061
USER
Which administrative territory is the place of birth of Josef de Souza Dias ?
(Q1524118,P19,c(Q56061))
action filter_type
action find
entity Q1524118
relation P19
type Q56061
['Q1524118', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1524118 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Josef de Souza Dias
action filter_type
action find
entity Josef de Souza Dias
relation place of birth
type administrative territorial entity
['Josef de Souza Dias', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Josef_de_Souza_Dias property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q1524118,P19,c(Q56061))
action filter_type
action find
entity Q1524118
relation P19
type Q56061
[ANSWER] is the place of birth of Josef de Souza Dias
['Q1524118', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1524118 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Rio de Janeiro
Rio de Janeiro is the place of birth of Josef de Souza Dias
Rio de Janeiro
action filter_type
action find
entity Josef de Souza Dias
relation place of birth
type administrative territorial entity
['Josef de Souza Dias', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Josef_de_Souza_Dias property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8678 Q3167
P190
Q515
USER
Is Siegen the sister city of Rio de Janeiro ?
(Q8678,P190,Q3167)
action is_in
entity Q3167
action find
entity Q8678
relation P190
['Q8678', 'P190', 'Q3167']
ASK WHERE { resource:Q8678 property:P190 resource:Q3167 }
Rio de Janeiro Siegen
action is_in
entity Siegen
action find
entity Rio de Janeiro
relation sister city
['Rio de Janeiro', 'sister city', 'Siegen']
ASK WHERE { resource:Rio_de_Janeiro property:sister_city resource:Siegen }
[]
city
SYSTEM
NO
(Q8678,P190,Q3167)
action is_in
entity Q3167
action find
entity Q8678
relation P190
[ANSWER]
['Q8678', 'P190', 'Q3167']
ASK WHERE { resource:Q8678 property:P190 resource:Q3167 }
No
action is_in
entity Siegen
action find
entity Rio de Janeiro
relation sister city
['Rio de Janeiro', 'sister city', 'Siegen']
ASK WHERE { resource:Rio_de_Janeiro property:sister_city resource:Siegen }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027037
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as registry port than Ifor ?
(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 Q24027037
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?s ) WHERE { ?u rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 . ?u property:P532 ?n } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q24027037 property:P532 ?w . ?w rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?g ) }
Ifor
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 Ifor
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?s ) WHERE { ?u rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity . ?u property:port_of_registry ?n } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Ifor property:port_of_registry ?w . ?w rdf:type ontology:ship_type } } . FILTER ( ?s > ?g ) }
[]
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 Q24027037
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as registry port than Ifor
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?s ) WHERE { ?u rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 . ?u property:P532 ?n } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q24027037 property:P532 ?w . ?w rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?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
MS Azura, SS Maxim Gorkiy and RMS Aquitania have greater number of administrative territories as registry port than Ifor
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 Ifor
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?s ) WHERE { ?u rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity . ?u property:port_of_registry ?n } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Ifor property:port_of_registry ?w . ?w rdf:type ontology:ship_type } } . FILTER ( ?s > ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8678
P190
Q515
USER
How many cities are twin cities of Rio de Janeiro ?
(Q8678,P190,c(Q515))
action count
action filter_type
action find
entity Q8678
relation P190
type Q515
['Q8678', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Q8678 property:P190 ?h . ?h rdf:type ontology:Q515 }
Rio de Janeiro
action count
action filter_type
action find
entity Rio de Janeiro
relation sister city
type city
['Rio de Janeiro', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Rio_de_Janeiro property:sister_city ?h . ?h rdf:type ontology:city }
[]
city
SYSTEM
13
Q8684 Q1533 Q16520 Q3870 Q19660 Q1486 Q1899 Q3751 Q1723 Q3572 Q8652 Q25475 Q1953
(Q8678,P190,c(Q515))
action count
action filter_type
action find
entity Q8678
relation P190
type Q515
[ANSWER]
['Q8678', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Q8678 property:P190 ?h . ?h rdf:type ontology:Q515 }
Seoul Caracas Busan Nairobi Bucharest Buenos Aires Kyiv Praia Batangas City Tunis Miami Batumi Yerevan
13
action count
action filter_type
action find
entity Rio de Janeiro
relation sister city
type city
['Rio de Janeiro', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Rio_de_Janeiro property:sister_city ?h . ?h rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8678
P276
Q15275719
USER
Which recurring event is located at that administrative territory ?
action filter_type
action find_reverse
entity Q8678
relation P276
type Q15275719
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q8678 . ?b rdf:type ontology:Q15275719 }
Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation location
type recurring event
SELECT DISTINCT ?b WHERE { ?b property:location resource:Rio_de_Janeiro . ?b rdf:type ontology:recurring_event }
[]
recurring event
Q182911
SYSTEM
Festival do Rio
Q182911
action filter_type
action find_reverse
entity Q8678
relation P276
type Q15275719
[ANSWER] is located at that administrative territory
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q8678 . ?b rdf:type ontology:Q15275719 }
Festival do Rio
Festival do Rio is located at that administrative territory
Festival do Rio
action filter_type
action find_reverse
entity Rio de Janeiro
relation location
type recurring event
SELECT DISTINCT ?b WHERE { ?b property:location resource:Rio_de_Janeiro . ?b rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q182911 Q155
P17
Q15617994
USER
Is that recurring event a part of Brazil ?
(Q182911,P17,Q155)
action is_in
entity Q155
action find
entity Q182911
relation P17
['Q182911', 'P17', 'Q155']
ASK WHERE { resource:Q182911 property:P17 resource:Q155 }
Festival do Rio Brazil
action is_in
entity Brazil
action find
entity Festival do Rio
relation country
['Festival do Rio', 'country', 'Brazil']
ASK WHERE { resource:Festival_do_Rio property:country resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q182911,P17,Q155)
action is_in
entity Q155
action find
entity Q182911
relation P17
[ANSWER]
['Q182911', 'P17', 'Q155']
ASK WHERE { resource:Q182911 property:P17 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Festival do Rio
relation country
['Festival do Rio', 'country', 'Brazil']
ASK WHERE { resource:Festival_do_Rio property:country resource:Brazil }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524118
P641
Q349
USER
Which sport did Josef de Souza Dias participate in ?
(Q1524118,P641,c(Q349))
action filter_type
action find
entity Q1524118
relation P641
type Q349
['Q1524118', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q1524118 property:P641 ?n . ?n rdf:type ontology:Q349 }
Josef de Souza Dias
action filter_type
action find
entity Josef de Souza Dias
relation sport
type sport
['Josef de Souza Dias', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Josef_de_Souza_Dias property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1524118,P641,c(Q349))
action filter_type
action find
entity Q1524118
relation P641
type Q349
Josef de Souza Dias participated in [ANSWER]
['Q1524118', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q1524118 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
Josef de Souza Dias participated in association football
association football
action filter_type
action find
entity Josef de Souza Dias
relation sport
type sport
['Josef de Souza Dias', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Josef_de_Souza_Dias property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P921
Q1002697
USER
What are that sport a main subject of ?
(c(Q1002697),P921,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P921
type Q1002697
[{'concept': 'Q1002697'}, 'P921', 'Q2736']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q2736 . ?a rdf:type ontology:Q1002697 }
association football
action filter_type
action find_reverse
entity association football
relation main subject
type periodical literature
[{'concept': 'periodical literature'}, 'main subject', 'association football']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:association_football . ?a rdf:type ontology:periodical_literature }
[]
periodical literature
Q7718618 Q308705
SYSTEM
The Blizzard, France Football
Q7718618 Q308705
(c(Q1002697),P921,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P921
type Q1002697
Are that sport a main subject of sport [ANSWERS]
[{'concept': 'Q1002697'}, 'P921', 'Q2736']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q2736 . ?a rdf:type ontology:Q1002697 }
The Blizzard France Football
Are that sport a main subject of sport The Blizzard and France Football
The Blizzard France Football
action filter_type
action find_reverse
entity association football
relation main subject
type periodical literature
[{'concept': 'periodical literature'}, 'main subject', 'association football']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:association_football . ?a rdf:type ontology:periodical_literature }
[]