Simple Question (Direct)
Simple Question
Q681649
P641
Q349
USER
What was the sport that Giuseppe Mortarotti was a part of ?
(Q681649,P641,c(Q349))
action filter_type
action find
entity Q681649
relation P641
type Q349
['Q681649', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q681649 property:P641 ?x . ?x rdf:type ontology:Q349 }
Giuseppe Mortarotti
action filter_type
action find
entity Giuseppe Mortarotti
relation sport
type sport
['Giuseppe Mortarotti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Giuseppe_Mortarotti property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q681649,P641,c(Q349))
action filter_type
action find
entity Q681649
relation P641
type Q349
The sport that Giuseppe Mortarotti was a part of was the [ANSWER]
['Q681649', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q681649 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
The sport that Giuseppe Mortarotti was a part of was the association football
association football
action filter_type
action find
entity Giuseppe Mortarotti
relation sport
type sport
['Giuseppe Mortarotti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Giuseppe_Mortarotti property:sport ?x . ?x rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P466
Q1076486
USER
Which sports venue is inhabited by that sport ?
(c(Q1076486),P466,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q2736']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q2736 . ?h rdf:type ontology:Q1076486 }
association football
action filter_type
action find_reverse
entity association football
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'association football']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:association_football . ?h rdf:type ontology:sports_venue }
[]
sports venue
Q6800202
SYSTEM
McCarthy Stadium
Q6800202
(c(Q1076486),P466,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P466
type Q1076486
Is [ANSWER] is inhabited by that sport
[{'concept': 'Q1076486'}, 'P466', 'Q2736']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q2736 . ?h rdf:type ontology:Q1076486 }
McCarthy Stadium
Is McCarthy Stadium is inhabited by that sport
McCarthy Stadium
action filter_type
action find_reverse
entity association football
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'association football']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:association_football . ?h rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P361
Q623109
USER
Which sports leagues are a portion of that sport ?
(c(Q623109),P361,Q6800202)
action filter_type
action find_reverse
entity Q2736
relation P361
type Q623109
[{'concept': 'Q623109'}, 'P361', 'Q6800202']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q2736 . ?r rdf:type ontology:Q623109 }
association football
action filter_type
action find_reverse
entity association football
relation part of
type sports league
[{'concept': 'sports league'}, 'part of', 'McCarthy Stadium']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:association_football . ?r rdf:type ontology:sports_league }
[]
sports league
Q1061291 Q206813
SYSTEM
Championnat de France amateur, Campeonato Brasileiro Série A
Q1061291 Q206813
(c(Q623109),P361,Q6800202)
action filter_type
action find_reverse
entity Q2736
relation P361
type Q623109
[ANSWERS] are a portion of that sport
[{'concept': 'Q623109'}, 'P361', 'Q6800202']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q2736 . ?r rdf:type ontology:Q623109 }
Championnat de France amateur Campeonato Brasileiro Série A
Championnat de France amateur and Campeonato Brasileiro Série A are a portion of that sport
Championnat de France amateur Campeonato Brasileiro Série A
action filter_type
action find_reverse
entity association football
relation part of
type sports league
[{'concept': 'sports league'}, 'part of', 'McCarthy Stadium']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:association_football . ?r rdf:type ontology:sports_league }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13394
P118
Q623109 Q476028 Q12973014
USER
How many sports leagues do more number of association football clubs and sports teams play in than Ligue 1 ?
(c(Q476028)|c(Q12973014),P118,c(Q623109))
action count
action greater
action union
action find_reverse_tuple_counts
relation P118
type Q623109
type Q476028
action find_reverse_tuple_counts
relation P118
type Q623109
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q13394
relation P118
type Q476028
type Q12973014
[[{'concept': 'Q476028'}, {'concept': 'Q12973014'}], 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?t WHERE { VALUES ( ?e ) { ( ontology:Q12973014 ) ( ontology:Q476028 ) } . ?i rdf:type ?e } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P118 resource:Q13394 . { { ?u rdf:type ontology:Q476028 } UNION { ?u rdf:type ontology:Q12973014 } } } } . FILTER ( ?g > ?p ) }
Ligue 1
action count
action greater
action union
action find_reverse_tuple_counts
relation league
type sports league
type association football club
action find_reverse_tuple_counts
relation league
type sports league
type sports team
action count
action filter_multi_types
action find_reverse
entity Ligue 1
relation league
type association football club
type sports team
[[{'concept': 'association football club'}, {'concept': 'sports team'}], 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?t WHERE { VALUES ( ?e ) { ( ontology:sports_team ) ( ontology:association_football_club ) } . ?i rdf:type ?e } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:league resource:Ligue_1 . { { ?u rdf:type ontology:association_football_club } UNION { ?u rdf:type ontology:sports_team } } } } . FILTER ( ?g > ?p ) }
[]
sports league association football club sports team
SYSTEM
31
Q5960 Q384536 Q1707697 Q2620916 Q324154 Q152665 Q113159 Q606546 Q2105017 Q9360177 Q82595 Q255633 Q1788088 Q2748885 Q277945 Q5798 Q2301428 Q46582 Q1340918 Q2675688 Q539678 Q1421208 Q4776029 Q1774339 Q2792041 Q1095556 Q1362411 Q6002 Q209008 Q1090595 Q1698369
(c(Q476028)|c(Q12973014),P118,c(Q623109))
action count
action greater
action union
action find_reverse_tuple_counts
relation P118
type Q623109
type Q476028
action find_reverse_tuple_counts
relation P118
type Q623109
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q13394
relation P118
type Q476028
type Q12973014
[ANSWER]
[[{'concept': 'Q476028'}, {'concept': 'Q12973014'}], 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?t WHERE { VALUES ( ?e ) { ( ontology:Q12973014 ) ( ontology:Q476028 ) } . ?i rdf:type ?e } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P118 resource:Q13394 . { { ?u rdf:type ontology:Q476028 } UNION { ?u rdf:type ontology:Q12973014 } } } } . FILTER ( ?g > ?p ) }
English Premiership Ykkönen Liga III Bonaire League Schleswig-Holstein-Liga 2. Bundesliga 2. Fußball-Bundesliga Torneo Argentino A 2. deild karla Torneo Argentino C Fußball-Bundesliga Saudi Professional League Derde Divisie Vierde Klasse NIFL Premiership Top 14 Toppserien Norwegian Second Division Hoofdklasse Eerste Klasse Fußball-Regionalliga Nord Football League Derde Klasse Women's United Soccer Association 3. Divisjon North American Soccer League United Soccer League Pro12 1 Lyga Sri Lanka Football Premier League Kakkonen
31
action count
action greater
action union
action find_reverse_tuple_counts
relation league
type sports league
type association football club
action find_reverse_tuple_counts
relation league
type sports league
type sports team
action count
action filter_multi_types
action find_reverse
entity Ligue 1
relation league
type association football club
type sports team
[[{'concept': 'association football club'}, {'concept': 'sports team'}], 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?t WHERE { VALUES ( ?e ) { ( ontology:sports_team ) ( ontology:association_football_club ) } . ?i rdf:type ?e } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:league resource:Ligue_1 . { { ?u rdf:type ontology:association_football_club } UNION { ?u rdf:type ontology:sports_team } } } } . FILTER ( ?g > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q246874
P118
Q623109 Q476028 Q12973014
USER
And also tell me about Myanmar Premier League?
(c(Q476028)|c(Q12973014),P118,c(Q623109))
action count
action greater
action union
action find_reverse_tuple_counts
relation P118
type Q623109
type Q476028
action find_reverse_tuple_counts
relation P118
type Q623109
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q246874
relation P118
type Q476028
type Q12973014
[[{'concept': 'Q476028'}, {'concept': 'Q12973014'}], 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?j WHERE { { ?j rdf:type ontology:Q623109 . ?i rdf:type ontology:Q476028 . ?i property:P118 ?j } UNION { ?i property:P118 ?j . ?j rdf:type ontology:Q623109 . ?i rdf:type ontology:Q12973014 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P118 resource:Q246874 . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q476028 ) ( ontology:Q12973014 ) } } } } . FILTER ( ?r > ?q ) }
Myanmar Premier League
action count
action greater
action union
action find_reverse_tuple_counts
relation league
type sports league
type association football club
action find_reverse_tuple_counts
relation league
type sports league
type sports team
action count
action filter_multi_types
action find_reverse
entity Myanmar Premier League
relation league
type association football club
type sports team
[[{'concept': 'association football club'}, {'concept': 'sports team'}], 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?j WHERE { { ?j rdf:type ontology:sports_league . ?i rdf:type ontology:association_football_club . ?i property:league ?j } UNION { ?i property:league ?j . ?j rdf:type ontology:sports_league . ?i rdf:type ontology:sports_team } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:league resource:Myanmar_Premier_League . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:association_football_club ) ( ontology:sports_team ) } } } } . FILTER ( ?r > ?q ) }
[]
sports league association football club sports team
SYSTEM
31
Q5960 Q384536 Q1707697 Q2620916 Q324154 Q152665 Q113159 Q606546 Q2105017 Q9360177 Q82595 Q255633 Q1788088 Q2748885 Q277945 Q5798 Q2301428 Q46582 Q1340918 Q2675688 Q539678 Q1421208 Q4776029 Q1774339 Q2792041 Q1095556 Q1362411 Q6002 Q209008 Q1090595 Q1698369
(c(Q476028)|c(Q12973014),P118,c(Q623109))
action count
action greater
action union
action find_reverse_tuple_counts
relation P118
type Q623109
type Q476028
action find_reverse_tuple_counts
relation P118
type Q623109
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q246874
relation P118
type Q476028
type Q12973014
[ANSWER]
[[{'concept': 'Q476028'}, {'concept': 'Q12973014'}], 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?j WHERE { { ?j rdf:type ontology:Q623109 . ?i rdf:type ontology:Q476028 . ?i property:P118 ?j } UNION { ?i property:P118 ?j . ?j rdf:type ontology:Q623109 . ?i rdf:type ontology:Q12973014 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P118 resource:Q246874 . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q476028 ) ( ontology:Q12973014 ) } } } } . FILTER ( ?r > ?q ) }
English Premiership Ykkönen Liga III Bonaire League Schleswig-Holstein-Liga 2. Bundesliga 2. Fußball-Bundesliga Torneo Argentino A 2. deild karla Torneo Argentino C Fußball-Bundesliga Saudi Professional League Derde Divisie Vierde Klasse NIFL Premiership Top 14 Toppserien Norwegian Second Division Hoofdklasse Eerste Klasse Fußball-Regionalliga Nord Football League Derde Klasse Women's United Soccer Association 3. Divisjon North American Soccer League United Soccer League Pro12 1 Lyga Sri Lanka Football Premier League Kakkonen
31
action count
action greater
action union
action find_reverse_tuple_counts
relation league
type sports league
type association football club
action find_reverse_tuple_counts
relation league
type sports league
type sports team
action count
action filter_multi_types
action find_reverse
entity Myanmar Premier League
relation league
type association football club
type sports team
[[{'concept': 'association football club'}, {'concept': 'sports team'}], 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?j WHERE { { ?j rdf:type ontology:sports_league . ?i rdf:type ontology:association_football_club . ?i property:league ?j } UNION { ?i property:league ?j . ?j rdf:type ontology:sports_league . ?i rdf:type ontology:sports_team } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:league resource:Myanmar_Premier_League . { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:association_football_club ) ( ontology:sports_team ) } } } } . FILTER ( ?r > ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P137
Q43229 Q874405 Q1076486
USER
Which sports venues were operated by max number of organizations or social groups ?
(c(Q1076486),P137,c(Q43229)|c(Q874405))
action argmax
action union
action find_tuple_counts
relation P137
type Q1076486
type Q43229
action find_tuple_counts
relation P137
type Q1076486
type Q874405
[{'concept': 'Q1076486'}, 'P137', [{'concept': 'Q43229'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?p WHERE { { ?p property:P137 ?f . ?p rdf:type ontology:Q1076486 . ?f rdf:type ontology:Q43229 } UNION { ?p property:P137 ?f . ?f rdf:type ontology:Q874405 . ?p rdf:type ontology:Q1076486 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?r WHERE { { ?r property:P137 ?i . ?r rdf:type ontology:Q1076486 . ?i rdf:type ontology:Q43229 } UNION { ?r property:P137 ?i . ?r rdf:type ontology:Q1076486 . ?i rdf:type ontology:Q874405 } } GROUP BY ?r } . FILTER ( ?v = ?x ) }
action argmax
action union
action find_tuple_counts
relation operator
type sports venue
type organization
action find_tuple_counts
relation operator
type sports venue
type social group
[{'concept': 'sports venue'}, 'operator', [{'concept': 'organization'}, {'concept': 'social group'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?p WHERE { { ?p property:operator ?f . ?p rdf:type ontology:sports_venue . ?f rdf:type ontology:organization } UNION { ?p property:operator ?f . ?f rdf:type ontology:social_group . ?p rdf:type ontology:sports_venue } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?r WHERE { { ?r property:operator ?i . ?r rdf:type ontology:sports_venue . ?i rdf:type ontology:organization } UNION { ?r property:operator ?i . ?r rdf:type ontology:sports_venue . ?i rdf:type ontology:social_group } } GROUP BY ?r } . FILTER ( ?v = ?x ) }
[]
organization social group sports venue
Q824352 Q2701834 Q3113144
SYSTEM
Ullevi, Tele2 Arena, Pratt & Whitney Stadium
Q7382688 Q7040605 Q4840857 Q995161 Q5468640 Q15983572 Q494766 Q7017412 Q5435127 Q5364202 Q2701834 Q1851216 Q6429656 Q6411211 Q7081643 Q5206120 Q5206123 Q991407 Q1190230 Q824352 Q4739118 Q640215 Q181398 Q83457 Q4968564 Q756433 Q261863 Q29726 Q11586043 Q11324364 Q2035401 Q3113144 Q7181636 Q11548615 Q14935428 Q7320821 Q11324358 Q7830567 Q7828500 Q999781 Q11676824 Q200684 Q373355 Q995550 Q761682 Q838937 Q151374 Q155174
(c(Q1076486),P137,c(Q43229)|c(Q874405))
action argmax
action union
action find_tuple_counts
relation P137
type Q1076486
type Q43229
action find_tuple_counts
relation P137
type Q1076486
type Q874405
[ANSWERS] were operated by max number of organizations or social groups
[{'concept': 'Q1076486'}, 'P137', [{'concept': 'Q43229'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?p WHERE { { ?p property:P137 ?f . ?p rdf:type ontology:Q1076486 . ?f rdf:type ontology:Q43229 } UNION { ?p property:P137 ?f . ?f rdf:type ontology:Q874405 . ?p rdf:type ontology:Q1076486 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?r WHERE { { ?r property:P137 ?i . ?r rdf:type ontology:Q1076486 . ?i rdf:type ontology:Q43229 } UNION { ?r property:P137 ?i . ?r rdf:type ontology:Q1076486 . ?i rdf:type ontology:Q874405 } } GROUP BY ?r } . FILTER ( ?v = ?x ) }
Rusutsu Resort Nishikyogoku Athletic Stadium Badger Pass Ski Area Bryant–Denny Stadium Foreman Field Shaheed Mohtarama Benazir Bhutto International Cricket Stadium Home's Stadium Kobe Newcastle Entertainment Centre Fargodome The O2 Arena Tele2 Arena Sydney Super Dome Konosu Stadium King Abdullah Sports City Ojiyama Stadium DSC Hockey Stadium DSC Multi-Purpose Stadium Estadio El Teniente Todoroki Athletics Stadium Ullevi Amagasaki Memorial Park Stadium Tandå valley Loftus Versfeld Stadium Old Trafford Brisbane Entertainment Centre University of Phoenix Stadium HP Pavilion at San Jose Sydney Entertainment Centre Ishikawa Kanazawa Stadium Niseko Village Perth Arena Pratt & Whitney Stadium PhilSports Football and Athletics Stadium K's denki Stadium Mito Gold Coast Convention and Exhibition Centre Rhoads Stadium Niseko Mt. Resort Grand Hirafu Toyama Athletic Stadium Tottori Athletics Stadium Toyota Park Kagoshima Kamoike Stadium The Home Depot Center Gillette Stadium Tseung Kwan O Sports Ground Red Bull Arena Mong Kok Stadium Olympiastadion Berlin Estádio do Maracanã
Ullevi, Tele2 Arena and Pratt & Whitney Stadium were operated by max number of organizations or social groups
Ullevi Tele2 Arena Pratt & Whitney Stadium
action argmax
action union
action find_tuple_counts
relation operator
type sports venue
type organization
action find_tuple_counts
relation operator
type sports venue
type social group
[{'concept': 'sports venue'}, 'operator', [{'concept': 'organization'}, {'concept': 'social group'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?p WHERE { { ?p property:operator ?f . ?p rdf:type ontology:sports_venue . ?f rdf:type ontology:organization } UNION { ?p property:operator ?f . ?f rdf:type ontology:social_group . ?p rdf:type ontology:sports_venue } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?r WHERE { { ?r property:operator ?i . ?r rdf:type ontology:sports_venue . ?i rdf:type ontology:organization } UNION { ?r property:operator ?i . ?r rdf:type ontology:sports_venue . ?i rdf:type ontology:social_group } } GROUP BY ?r } . FILTER ( ?v = ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9147772 Q824352
P27 P17
Q15617994
USER
Which administrative territories are Ullevi present in or do Alfred Olek belong to ?
OR((Q824352,P17,c(Q15617994)), (Q9147772,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q824352
relation P17
action find
entity Q9147772
relation P27
type Q15617994
{'OR': [['Q824352', 'P17', {'concept': 'Q15617994'}], ['Q9147772', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q824352 property:P17 ?t } UNION { resource:Q9147772 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Alfred Olek Ullevi
action filter_type
action union
action find
entity Ullevi
relation country
action find
entity Alfred Olek
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ullevi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Alfred Olek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Ullevi property:country ?t } UNION { resource:Alfred_Olek property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q34
SYSTEM
Poland, Sweden
Q36 Q34
OR((Q824352,P17,c(Q15617994)), (Q9147772,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q824352
relation P17
action find
entity Q9147772
relation P27
type Q15617994
Ullevi are belong to [ANSWERS]
{'OR': [['Q824352', 'P17', {'concept': 'Q15617994'}], ['Q9147772', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q824352 property:P17 ?t } UNION { resource:Q9147772 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Poland Sweden
Ullevi are belong to Poland and Sweden
Poland Sweden
action filter_type
action union
action find
entity Ullevi
relation country
action find
entity Alfred Olek
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ullevi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Alfred Olek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Ullevi property:country ?t } UNION { resource:Alfred_Olek property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16025260
P1001
Q1292279
USER
Does Poland–Sweden border apply to jurisdiction over those administrative territories ?
(Q16025260,P1001,Q36) (Q16025260,P1001,Q34)
action is_in
entity prev_answer
action find
entity Q16025260
relation P1001
['Q16025260', 'P1001', 'Q36'] ['Q16025260', 'P1001', 'Q34']
ASK WHERE { resource:Q16025260 property:P1001 ?t . VALUES ( ?t ) { ( resource:Q36 ) ( resource:Q34 ) } }
Poland–Sweden border
action is_in
entity prev_answer
action find
entity Poland–Sweden border
relation applies to jurisdiction
['Poland–Sweden border', 'applies to jurisdiction', 'Poland'] ['Poland–Sweden border', 'applies to jurisdiction', 'Sweden']
ASK WHERE { resource:Poland–Sweden_border property:applies_to_jurisdiction ?t . VALUES ( ?t ) { ( resource:Poland ) ( resource:Sweden ) } }
[]
political border
SYSTEM
YES
(Q16025260,P1001,Q36) (Q16025260,P1001,Q34)
action is_in
entity prev_answer
action find
entity Q16025260
relation P1001
[ANSWER]
['Q16025260', 'P1001', 'Q36'] ['Q16025260', 'P1001', 'Q34']
ASK WHERE { resource:Q16025260 property:P1001 ?t . VALUES ( ?t ) { ( resource:Q36 ) ( resource:Q34 ) } }
Yes
action is_in
entity prev_answer
action find
entity Poland–Sweden border
relation applies to jurisdiction
['Poland–Sweden border', 'applies to jurisdiction', 'Poland'] ['Poland–Sweden border', 'applies to jurisdiction', 'Sweden']
ASK WHERE { resource:Poland–Sweden_border property:applies_to_jurisdiction ?t . VALUES ( ?t ) { ( resource:Poland ) ( resource:Sweden ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5823157 Q824352
P641
Q349
USER
Which sports did Ullevi or Andreas Ingel participate in ?
OR((Q824352,P641,c(Q349)), (Q5823157,P641,c(Q349)))
action filter_type
action union
action find
entity Q824352
relation P641
action find
entity Q5823157
relation P641
type Q349
{'OR': [['Q824352', 'P641', {'concept': 'Q349'}], ['Q5823157', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q824352 property:P641 ?z } UNION { resource:Q5823157 property:P641 ?z } } . ?z rdf:type ontology:Q349 }
Andreas Ingel Ullevi
action filter_type
action union
action find
entity Ullevi
relation sport
action find
entity Andreas Ingel
relation sport
type sport
{'OR': [['Ullevi', 'sport', {'concept': 'sport'}], ['Andreas Ingel', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Ullevi property:sport ?z } UNION { resource:Andreas_Ingel property:sport ?z } } . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q824352,P641,c(Q349)), (Q5823157,P641,c(Q349)))
action filter_type
action union
action find
entity Q824352
relation P641
action find
entity Q5823157
relation P641
type Q349
Ullevi or Andreas Ingel participated in [ANSWER]
{'OR': [['Q824352', 'P641', {'concept': 'Q349'}], ['Q5823157', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q824352 property:P641 ?z } UNION { resource:Q5823157 property:P641 ?z } } . ?z rdf:type ontology:Q349 }
association football
Ullevi or Andreas Ingel participated in association football
association football
action filter_type
action union
action find
entity Ullevi
relation sport
action find
entity Andreas Ingel
relation sport
type sport
{'OR': [['Ullevi', 'sport', {'concept': 'sport'}], ['Andreas Ingel', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Ullevi property:sport ?z } UNION { resource:Andreas_Ingel property:sport ?z } } . ?z rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P35
Q502895
USER
Which people are the heads of state of Poland ?
(Q36,P35,c(Q502895))
action filter_type
action find
entity Q36
relation P35
type Q502895
['Q36', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q36 property:P35 ?h }
Poland
action filter_type
action find
entity Poland
relation head of state
type common name
['Poland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Poland property:head_of_state ?h }
[]
common name
Q444 Q55758 Q2757
SYSTEM
Lech Wałęsa, Aleksander Kwaśniewski, Lech Kaczyński
Q2757 Q444 Q9151911 Q55758
(Q36,P35,c(Q502895))
action filter_type
action find
entity Q36
relation P35
type Q502895
[ANSWERS] are the heads of state of Poland
['Q36', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q36 property:P35 ?h }
Lech Kaczyński Lech Wałęsa Andrzej Duda Aleksander Kwaśniewski
Lech Wałęsa, Aleksander Kwaśniewski and Lech Kaczyński are the heads of state of Poland
Lech Wałęsa Aleksander Kwaśniewski Lech Kaczyński
action filter_type
action find
entity Poland
relation head of state
type common name
['Poland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Poland property:head_of_state ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q153080
Q502895
USER
And how about East Francia?
(Q153080,P35,c(Q502895))
action filter_type
action find
entity Q153080
relation P35
type Q502895
['Q153080', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q153080 property:P35 ?s . ?s rdf:type ontology:Q502895 }
East Francia
action filter_type
action find
entity East Francia
relation head of state
type common name
['East Francia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:East_Francia property:head_of_state ?s . ?s rdf:type ontology:common_name }
[]
common name
Q152463 Q150712 Q43915
SYSTEM
Louis the German, Charles the Fat, Otto I the Great
Q43915 Q150620 Q150712 Q152463 Q157099 Q154936 Q157121
(Q153080,P35,c(Q502895))
action filter_type
action find
entity Q153080
relation P35
type Q502895
[ANSWERS]
['Q153080', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q153080 property:P35 ?s . ?s rdf:type ontology:Q502895 }
Otto I the Great Henry I the Fowler Charles the Fat Louis the German Louis the Child Arnulf of Carinthia Conrad I of Germany
Louis the German Charles the Fat Otto I the Great
action filter_type
action find
entity East Francia
relation head of state
type common name
['East Francia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:East_Francia property:head_of_state ?s . ?s rdf:type ontology:common_name }
[]