Simple Question (Direct)
Simple Question
Q5258980
P106
Q12737077
USER
Which occupation has Dennis Stevens as his/her 's career ?
(Q5258980,P106,c(Q12737077))
action filter_type
action find
entity Q5258980
relation P106
type Q12737077
['Q5258980', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5258980 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Dennis Stevens
action filter_type
action find
entity Dennis Stevens
relation occupation
type occupation
['Dennis Stevens', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Dennis_Stevens property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5258980,P106,c(Q12737077))
action filter_type
action find
entity Q5258980
relation P106
type Q12737077
Player [ANSWER] has Dennis Stevens as his/her 's career
['Q5258980', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5258980 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
Player association football player has Dennis Stevens as his/her 's career
association football player
action filter_type
action find
entity Dennis Stevens
relation occupation
type occupation
['Dennis Stevens', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Dennis_Stevens property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5258980
P19
Q56061
USER
Which administrative territory was Dennis Stevens born in ?
(Q5258980,P19,c(Q56061))
action filter_type
action find
entity Q5258980
relation P19
type Q56061
['Q5258980', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5258980 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Dennis Stevens
action filter_type
action find
entity Dennis Stevens
relation place of birth
type administrative territorial entity
['Dennis Stevens', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Dennis_Stevens property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q213832
SYSTEM
Dudley
Q213832
(Q5258980,P19,c(Q56061))
action filter_type
action find
entity Q5258980
relation P19
type Q56061
Dennis Stevens was born [ANSWER]
['Q5258980', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5258980 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Dudley
Dennis Stevens was born Dudley
Dudley
action filter_type
action find
entity Dennis Stevens
relation place of birth
type administrative territorial entity
['Dennis Stevens', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Dennis_Stevens property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213832
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q213832,P17,c(Q15617994))
action filter_type
action find
entity Q213832
relation P17
type Q15617994
['Q213832', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q213832 property:P17 ?o }
Dudley
action filter_type
action find
entity Dudley
relation country
type designation for an administrative territorial entity
['Dudley', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dudley property:country ?o }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q213832,P17,c(Q15617994))
action filter_type
action find
entity Q213832
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q213832', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q213832 property:P17 ?o }
United Kingdom
That administrative territory is located in United Kingdom
United Kingdom
action filter_type
action find
entity Dudley
relation country
type designation for an administrative territorial entity
['Dudley', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dudley property:country ?o }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4909807 Q937857
P425 P641
Q349
USER
Which sports have association football player as thier associated field of occupation and did Bill Lacey participate in ?
AND((Q937857,P425,c(Q349)), (Q4909807,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q4909807
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4909807', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { resource:Q937857 property:P425 ?t . resource:Q4909807 property:P641 ?t . ?t rdf:type ontology:Q349 }
Bill Lacey association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Bill Lacey
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Bill Lacey', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { resource:association_football_player property:field_of_this_occupation ?t . resource:Bill_Lacey property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q4909807,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q4909807
relation P641
type Q349
Player [ANSWER] have [ANSWER] player as thier associated field of occupation and did Bill Lacey participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4909807', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { resource:Q937857 property:P425 ?t . resource:Q4909807 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
Player association football have association football player as thier associated field of occupation and did Bill Lacey participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Bill Lacey
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Bill Lacey', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { resource:association_football_player property:field_of_this_occupation ?t . resource:Bill_Lacey property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4909807
P54
Q1194951
USER
Which national sports teams are that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q4909807
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { resource:Q4909807 property:P54 ?w . ?w rdf:type ontology:Q1194951 }
Bill Lacey
action filter_type
action find
entity Bill Lacey
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { resource:Bill_Lacey property:member_of_sports_team ?w . ?w rdf:type ontology:national_sports_team }
[]
national sports team
Q163547 Q1516237
SYSTEM
Republic of Ireland national football team, Ireland national football team
Q163547 Q1516237
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q4909807
relation P54
type Q1194951
And [ANSWERS] are that person a member of
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { resource:Q4909807 property:P54 ?w . ?w rdf:type ontology:Q1194951 }
Republic of Ireland national football team Ireland national football team
And Republic of Ireland national football team and Ireland national football team are that person a member of
Republic of Ireland national football team Ireland national football team
action filter_type
action find
entity Bill Lacey
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { resource:Bill_Lacey property:member_of_sports_team ?w . ?w rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q258
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relations with greater number of administrative territories or political territories than South Africa ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q258
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?a ) WHERE { { ?h property:P530 ?v . ?h rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } UNION { ?h property:P530 ?v . ?h rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } . resource:Q258 property:P530 ?g } } . FILTER ( ?a > ?t ) }
South Africa
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity South Africa
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?a ) WHERE { { ?h property:diplomatic_relation ?v . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:diplomatic_relation ?v . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:South_Africa property:diplomatic_relation ?g } } . FILTER ( ?a > ?t ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
28
Q801 Q805 Q668 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q347 Q17 Q114 Q212 Q79 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q258
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?a ) WHERE { { ?h property:P530 ?v . ?h rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } UNION { ?h property:P530 ?v . ?h rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } . resource:Q258 property:P530 ?g } } . FILTER ( ?a > ?t ) }
Israel Yemen India France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Liechtenstein Japan Kenya Ukraine Egypt Syria Cape Verde Zambia
28
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity South Africa
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?a ) WHERE { { ?h property:diplomatic_relation ?v . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:diplomatic_relation ?v . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:South_Africa property:diplomatic_relation ?g } } . FILTER ( ?a > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q750
P530
Q15617994 Q1048835 Q15617994
USER
And what about Bolivia?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q750
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { VALUES ( ?u ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?x rdf:type ?u } . resource:Q750 property:P530 ?x } } . FILTER ( ?b > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?b ) WHERE { { ?n property:P530 ?p . ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } UNION { ?n property:P530 ?p . ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?n } }
Bolivia
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Bolivia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { VALUES ( ?u ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?u } . resource:Bolivia property:diplomatic_relation ?x } } . FILTER ( ?b > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?b ) WHERE { { ?n property:diplomatic_relation ?p . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:diplomatic_relation ?p . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?n } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
68
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q851 Q733 Q230 Q20 Q27 Q843 Q184 Q1029 Q225 Q222 Q96 Q229 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q833 Q79 Q77 Q858 Q878 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q750
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { VALUES ( ?u ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?x rdf:type ?u } . resource:Q750 property:P530 ?x } } . FILTER ( ?b > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?b ) WHERE { { ?n property:P530 ?p . ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } UNION { ?n property:P530 ?p . ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?n } }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Georgia Norway Ireland Pakistan Belarus Mozambique Bosnia and Herzegovina Albania Mexico Cyprus Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Malaysia Egypt Uruguay Syria United Arab Emirates Tunisia Libya Cape Verde Spain Zambia
68
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Bolivia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { VALUES ( ?u ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?u } . resource:Bolivia property:diplomatic_relation ?x } } . FILTER ( ?b > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?b ) WHERE { { ?n property:diplomatic_relation ?p . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:diplomatic_relation ?p . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?n } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams competed in around 21 recurring events and sport competitions ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
value 21
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?k WHERE { { ?k rdf:type ontology:Q1194951 . ?t rdf:type ontology:Q15275719 . ?t property:P1923 ?k } UNION { ?t property:P1923 ?k . ?k rdf:type ontology:Q1194951 . ?t rdf:type ontology:Q13406554 } } GROUP BY ?k } . FILTER ( ?x = 21 ) }
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
value 21
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?k WHERE { { ?k rdf:type ontology:national_sports_team . ?t rdf:type ontology:recurring_event . ?t property:participating_teams ?k } UNION { ?t property:participating_teams ?k . ?k rdf:type ontology:national_sports_team . ?t rdf:type ontology:sport_competition } } GROUP BY ?k } . FILTER ( ?x = 21 ) }
[]
national sports team recurring event sport competition
Q43310 Q83459 Q676899
SYSTEM
Germany national football team, Brazil national football team, Italy national football team
Q43310 Q166776 Q42267 Q83459 Q164089 Q676899 Q47774 Q79800 Q47762
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
value 21
[ANSWERS] competed in around 21 recurring events and sport competitions
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?k WHERE { { ?k rdf:type ontology:Q1194951 . ?t rdf:type ontology:Q15275719 . ?t property:P1923 ?k } UNION { ?t property:P1923 ?k . ?k rdf:type ontology:Q1194951 . ?t rdf:type ontology:Q13406554 } } GROUP BY ?k } . FILTER ( ?x = 21 ) }
Germany national football team Belgium national football team Spain national football team Brazil national football team Mexico national football team Italy national football team France national football team Argentina national football team England national football team
Germany national football team, Brazil national football team and Italy national football team competed in around 21 recurring events and sport competitions
Germany national football team Brazil national football team Italy national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
value 21
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?k WHERE { { ?k rdf:type ontology:national_sports_team . ?t rdf:type ontology:recurring_event . ?t property:participating_teams ?k } UNION { ?t property:participating_teams ?k . ?k rdf:type ontology:national_sports_team . ?t rdf:type ontology:sport_competition } } GROUP BY ?k } . FILTER ( ?x = 21 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43310 Q83459 Q676899
P1344
Q13406554
USER
What sport competitions did Germany national football team, Brazil national football team and Italy national football team participate in ?
(Q43310,P1344,c(Q13406554)) (Q83459,P1344,c(Q13406554)) (Q676899,P1344,c(Q13406554))
action union
action filter_type
action find
entity Q43310
relation P1344
type Q13406554
action filter_type
action find
entity Q83459
relation P1344
type Q13406554
action filter_type
action find
entity Q676899
relation P1344
type Q13406554
['Q43310', 'P1344', {'concept': 'Q13406554'}] ['Q83459', 'P1344', {'concept': 'Q13406554'}] ['Q676899', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?g WHERE { ?k property:P1344 ?g . VALUES ( ?k ) { ( resource:Q83459 ) ( resource:Q43310 ) } }
Germany national football team Brazil national football team Italy national football team
action union
action filter_type
action find
entity Germany national football team
relation participant of
type sport competition
action filter_type
action find
entity Brazil national football team
relation participant of
type sport competition
action filter_type
action find
entity Italy national football team
relation participant of
type sport competition
['Germany national football team', 'participant of', {'concept': 'sport competition'}] ['Brazil national football team', 'participant of', {'concept': 'sport competition'}] ['Italy national football team', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?g WHERE { ?k property:participant_of ?g . VALUES ( ?k ) { ( resource:Brazil_national_football_team ) ( resource:Germany_national_football_team ) } }
[]
sport competition
Q17329128 Q17329128 Q17329154
SYSTEM
Brazil v Germany for 1st, 2nd, 2014 FIFA World Cup Third Place Play-Off for 3rd
Q319363 Q451175 Q516025 Q17329128 Q752359 Q690331 Q17329154 Q754483 Q17329128 Q585295 Q516025 Q811012 Q308607
(Q43310,P1344,c(Q13406554)) (Q83459,P1344,c(Q13406554)) (Q676899,P1344,c(Q13406554))
action union
action filter_type
action find
entity Q43310
relation P1344
type Q13406554
action filter_type
action find
entity Q83459
relation P1344
type Q13406554
action filter_type
action find
entity Q676899
relation P1344
type Q13406554
[ANSWERS]
['Q43310', 'P1344', {'concept': 'Q13406554'}] ['Q83459', 'P1344', {'concept': 'Q13406554'}] ['Q676899', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?g WHERE { ?k property:P1344 ?g . VALUES ( ?k ) { ( resource:Q83459 ) ( resource:Q43310 ) } }
West Germany vs France Miracle of Cordoba Italy 4–3 West Germany Brazil v Germany UEFA Euro 2008 Final Battle of Berne 2014 FIFA World Cup Third Place Play-Off Uruguay v Brazil Brazil v Germany 1998 FIFA World Cup Final Italy 4–3 West Germany Battle of Highbury UEFA Euro 2012 Final
Brazil v Germany, Brazil v Germany and 2014 FIFA World Cup Third Place Play-Off Germany national football team, Brazil national football team and Italy national football team participated in
Brazil v Germany Brazil v Germany 2014 FIFA World Cup Third Place Play-Off
action union
action filter_type
action find
entity Germany national football team
relation participant of
type sport competition
action filter_type
action find
entity Brazil national football team
relation participant of
type sport competition
action filter_type
action find
entity Italy national football team
relation participant of
type sport competition
['Germany national football team', 'participant of', {'concept': 'sport competition'}] ['Brazil national football team', 'participant of', {'concept': 'sport competition'}] ['Italy national football team', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?g WHERE { ?k property:participant_of ?g . VALUES ( ?k ) { ( resource:Brazil_national_football_team ) ( resource:Germany_national_football_team ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q43310
P175
Q2031291
USER
Which release presented that national sports team ?
(c(Q2031291),P175,Q43310)
action filter_type
action find_reverse
entity Q43310
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q43310']
SELECT DISTINCT ?y WHERE { ?y property:P175 resource:Q43310 . ?y rdf:type ontology:Q2031291 }
Germany national football team
action filter_type
action find_reverse
entity Germany national football team
relation performer
type release
[{'concept': 'release'}, 'performer', 'Germany national football team']
SELECT DISTINCT ?y WHERE { ?y property:performer resource:Germany_national_football_team . ?y rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q43310
SYSTEM
Did you mean Germany national football team ?
Q17329128 Q17329128 Q17329154
(c(Q2031291),P175,Q17329128) (c(Q2031291),P175,Q17329128) (c(Q2031291),P175,Q17329154)
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q17329128'] [{'concept': 'Q2031291'}, 'P175', 'Q17329128'] [{'concept': 'Q2031291'}, 'P175', 'Q17329154']
SELECT DISTINCT ?y WHERE { ?y property:P175 resource:Q43310 . ?y rdf:type ontology:Q2031291 }
Brazil v Germany Brazil v Germany 2014 FIFA World Cup Third Place Play-Off
Did you mean Germany national football team ?
Germany national football team
[{'concept': 'release'}, 'performer', 'Brazil v Germany'] [{'concept': 'release'}, 'performer', 'Brazil v Germany'] [{'concept': 'release'}, 'performer', '2014 FIFA World Cup Third Place Play-Off']
SELECT DISTINCT ?y WHERE { ?y property:performer resource:Germany_national_football_team . ?y rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2031291),P175,Q43310)
[{'concept': 'Q2031291'}, 'P175', 'Q43310']
[{'concept': 'release'}, 'performer', 'Germany national football team']
[]
Q5434507
SYSTEM
Far Away in America
Q5434507
(c(Q2031291),P175,Q43310)
action filter_type
action find_reverse
entity Q43310
relation P175
type Q2031291
[ANSWER] presented that national sports team
[{'concept': 'Q2031291'}, 'P175', 'Q43310']
SELECT DISTINCT ?y WHERE { ?y property:P175 resource:Q43310 . ?y rdf:type ontology:Q2031291 }
Far Away in America
Far Away in America presented that national sports team
Far Away in America
action filter_type
action find_reverse
entity Germany national football team
relation performer
type release
[{'concept': 'release'}, 'performer', 'Germany national football team']
SELECT DISTINCT ?y WHERE { ?y property:performer resource:Germany_national_football_team . ?y rdf:type ontology:release }
[]