Simple Question (Direct)
Simple Question
Q704337
P21
Q290
USER
What is the sex of Luis Regueiro ?
(Q704337,P21,c(Q290))
action filter_type
action find
entity Q704337
relation P21
type Q290
['Q704337', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q704337 property:P21 ?d . ?d rdf:type ontology:Q290 }
Luis Regueiro
action filter_type
action find
entity Luis Regueiro
relation gender
type sex
['Luis Regueiro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Luis_Regueiro property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q704337,P21,c(Q290))
action filter_type
action find
entity Q704337
relation P21
type Q290
The sex of Luis Regueiro is the [ANSWER]
['Q704337', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q704337 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of Luis Regueiro is the male
male
action filter_type
action find
entity Luis Regueiro
relation gender
type sex
['Luis Regueiro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Luis_Regueiro property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q704337
P641
Q349
USER
Which sport did Luis Regueiro participate in ?
(Q704337,P641,c(Q349))
action filter_type
action find
entity Q704337
relation P641
type Q349
['Q704337', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q704337 property:P641 ?f . ?f rdf:type ontology:Q349 }
Luis Regueiro
action filter_type
action find
entity Luis Regueiro
relation sport
type sport
['Luis Regueiro', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Luis_Regueiro property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q704337,P641,c(Q349))
action filter_type
action find
entity Q704337
relation P641
type Q349
Luis Regueiro participated in [ANSWER]
['Q704337', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q704337 property:P641 ?f . ?f rdf:type ontology:Q349 }
association football
Luis Regueiro participated in association football
association football
action filter_type
action find
entity Luis Regueiro
relation sport
type sport
['Luis Regueiro', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Luis_Regueiro property:sport ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q704337
P1344
Q15275719
USER
What did that person participate in ?
(Q2736,P1344,c(Q15275719))
action filter_type
action find
entity Q704337
relation P1344
type Q15275719
['Q2736', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?r WHERE { resource:Q704337 property:P1344 ?r . ?r rdf:type ontology:Q15275719 }
Luis Regueiro
action filter_type
action find
entity Luis Regueiro
relation participant of
type recurring event
['association football', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?r WHERE { resource:Luis_Regueiro property:participant_of ?r . ?r rdf:type ontology:recurring_event }
[]
recurring event
Q1477177
SYSTEM
1934 FIFA World Cup
Q1477177
(Q2736,P1344,c(Q15275719))
action filter_type
action find
entity Q704337
relation P1344
type Q15275719
That person participated in [ANSWER]
['Q2736', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?r WHERE { resource:Q704337 property:P1344 ?r . ?r rdf:type ontology:Q15275719 }
1934 FIFA World Cup
That person participated in 1934 FIFA World Cup
1934 FIFA World Cup
action filter_type
action find
entity Luis Regueiro
relation participant of
type recurring event
['association football', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?r WHERE { resource:Luis_Regueiro property:participant_of ?r . ?r rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1477177 Q5586506
P1344
Q502895
USER
Did Johan Fredrik Brinck competite in that recurring event ?
(Q5586506,P1344,Q1477177)
action is_in
entity Q5586506
action find
entity Q1477177
relation P1344
['Q5586506', 'P1344', 'Q1477177']
ASK WHERE { resource:Q1477177 property:P1344 resource:Q5586506 }
1934 FIFA World Cup Johan Fredrik Brinck
action is_in
entity Johan Fredrik Brinck
action find
entity 1934 FIFA World Cup
relation participant of
['Johan Fredrik Brinck', 'participant of', '1934 FIFA World Cup']
ASK WHERE { resource:1934_FIFA_World_Cup property:participant_of resource:Johan_Fredrik_Brinck }
[]
common name
SYSTEM
NO
(Q5586506,P1344,Q1477177)
action is_in
entity Q5586506
action find
entity Q1477177
relation P1344
[ANSWER]
['Q5586506', 'P1344', 'Q1477177']
ASK WHERE { resource:Q1477177 property:P1344 resource:Q5586506 }
No
action is_in
entity Johan Fredrik Brinck
action find
entity 1934 FIFA World Cup
relation participant of
['Johan Fredrik Brinck', 'participant of', '1934 FIFA World Cup']
ASK WHERE { resource:1934_FIFA_World_Cup property:participant_of resource:Johan_Fredrik_Brinck }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q704337 Q20647365
P54
Q1194951
USER
Is Luis Regueiro a member of Greece at the 2015 UCI Track Cycling World Championships ?
(Q704337,P54,Q20647365)
action is_in
entity Q20647365
action find
entity Q704337
relation P54
['Q704337', 'P54', 'Q20647365']
ASK WHERE { resource:Q704337 property:P54 resource:Q20647365 }
Luis Regueiro Greece at the 2015 UCI Track Cycling World Championships
action is_in
entity Greece at the 2015 UCI Track Cycling World Championships
action find
entity Luis Regueiro
relation member of sports team
['Luis Regueiro', 'member of sports team', 'Greece at the 2015 UCI Track Cycling World Championships']
ASK WHERE { resource:Luis_Regueiro property:member_of_sports_team resource:Greece_at_the_2015_UCI_Track_Cycling_World_Championships }
[]
national sports team
SYSTEM
NO
(Q704337,P54,Q20647365)
action is_in
entity Q20647365
action find
entity Q704337
relation P54
[ANSWER]
['Q704337', 'P54', 'Q20647365']
ASK WHERE { resource:Q704337 property:P54 resource:Q20647365 }
No
action is_in
entity Greece at the 2015 UCI Track Cycling World Championships
action find
entity Luis Regueiro
relation member of sports team
['Luis Regueiro', 'member of sports team', 'Greece at the 2015 UCI Track Cycling World Championships']
ASK WHERE { resource:Luis_Regueiro property:member_of_sports_team resource:Greece_at_the_2015_UCI_Track_Cycling_World_Championships }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2606449 Q704337
P54
Q1194951
USER
Which national sports teams have Luis Regueiro and Andoni Imaz as their member ?
AND((Q704337,P54,c(Q1194951)), (Q2606449,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q704337
relation P54
action find
entity Q2606449
relation P54
type Q1194951
{'AND': [['Q704337', 'P54', {'concept': 'Q1194951'}], ['Q2606449', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1194951 . resource:Q704337 property:P54 ?p . resource:Q2606449 property:P54 ?p }
Andoni Imaz Luis Regueiro
action filter_type
action intersection
action find
entity Luis Regueiro
relation member of sports team
action find
entity Andoni Imaz
relation member of sports team
type national sports team
{'AND': [['Luis Regueiro', 'member of sports team', {'concept': 'national sports team'}], ['Andoni Imaz', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:national_sports_team . resource:Luis_Regueiro property:member_of_sports_team ?p . resource:Andoni_Imaz property:member_of_sports_team ?p }
[]
national sports team
Q42267 Q738846
SYSTEM
Spain national football team, Basque Country regional football team
Q42267 Q738846
AND((Q704337,P54,c(Q1194951)), (Q2606449,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q704337
relation P54
action find
entity Q2606449
relation P54
type Q1194951
[ANSWERS] have Luis Regueiro and Andoni Imaz as their member
{'AND': [['Q704337', 'P54', {'concept': 'Q1194951'}], ['Q2606449', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1194951 . resource:Q704337 property:P54 ?p . resource:Q2606449 property:P54 ?p }
Spain national football team Basque Country regional football team
Spain national football team and Basque Country regional football team have Luis Regueiro and Andoni Imaz as their member
Spain national football team Basque Country regional football team
action filter_type
action intersection
action find
entity Luis Regueiro
relation member of sports team
action find
entity Andoni Imaz
relation member of sports team
type national sports team
{'AND': [['Luis Regueiro', 'member of sports team', {'concept': 'national sports team'}], ['Andoni Imaz', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:national_sports_team . resource:Luis_Regueiro property:member_of_sports_team ?p . resource:Andoni_Imaz property:member_of_sports_team ?p }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21554111
P54
Q502895
USER
Are Daniel Gifford a member of those national sports teams ?
(Q21554111,P54,Q42267) (Q21554111,P54,Q738846)
action is_in
entity prev_answer
action find
entity Q21554111
relation P54
['Q21554111', 'P54', 'Q42267'] ['Q21554111', 'P54', 'Q738846']
ASK WHERE { resource:Q21554111 property:P54 ?i . VALUES ( ?i ) { ( resource:Q42267 ) ( resource:Q738846 ) } }
Daniel Gifford
action is_in
entity prev_answer
action find
entity Daniel Gifford
relation member of sports team
['Daniel Gifford', 'member of sports team', 'Spain national football team'] ['Daniel Gifford', 'member of sports team', 'Basque Country regional football team']
ASK WHERE { resource:Daniel_Gifford property:member_of_sports_team ?i . VALUES ( ?i ) { ( resource:Spain_national_football_team ) ( resource:Basque_Country_regional_football_team ) } }
[]
common name
SYSTEM
NO
(Q21554111,P54,Q42267) (Q21554111,P54,Q738846)
action is_in
entity prev_answer
action find
entity Q21554111
relation P54
[ANSWER]
['Q21554111', 'P54', 'Q42267'] ['Q21554111', 'P54', 'Q738846']
ASK WHERE { resource:Q21554111 property:P54 ?i . VALUES ( ?i ) { ( resource:Q42267 ) ( resource:Q738846 ) } }
No
action is_in
entity prev_answer
action find
entity Daniel Gifford
relation member of sports team
['Daniel Gifford', 'member of sports team', 'Spain national football team'] ['Daniel Gifford', 'member of sports team', 'Basque Country regional football team']
ASK WHERE { resource:Daniel_Gifford property:member_of_sports_team ?i . VALUES ( ?i ) { ( resource:Spain_national_football_team ) ( resource:Basque_Country_regional_football_team ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q42267 Q132529
P1344
Q15275719
USER
Did Spain national football team participate in 1990 FIFA World Cup ?
(Q42267,P1344,Q132529)
action is_in
entity Q132529
action find
entity Q42267
relation P1344
['Q42267', 'P1344', 'Q132529']
ASK WHERE { resource:Q42267 property:P1344 resource:Q132529 }
Spain national football team 1990 FIFA World Cup
action is_in
entity 1990 FIFA World Cup
action find
entity Spain national football team
relation participant of
['Spain national football team', 'participant of', '1990 FIFA World Cup']
ASK WHERE { resource:Spain_national_football_team property:participant_of resource:1990_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q42267,P1344,Q132529)
action is_in
entity Q132529
action find
entity Q42267
relation P1344
[ANSWER]
['Q42267', 'P1344', 'Q132529']
ASK WHERE { resource:Q42267 property:P1344 resource:Q132529 }
Yes
action is_in
entity 1990 FIFA World Cup
action find
entity Spain national football team
relation participant of
['Spain national football team', 'participant of', '1990 FIFA World Cup']
ASK WHERE { resource:Spain_national_football_team property:participant_of resource:1990_FIFA_World_Cup }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q131075
P1923
Q1194951 Q15275719
USER
How many recurring events did more number of national sports teams take part in than 1954 FIFA World Cup ?
(c(Q15275719),P1923,c(Q1194951))
action count
action greater
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q131075
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?a ) WHERE { ?h property:P1923 ?f . ?h rdf:type ontology:Q15275719 . ?f rdf:type ontology:Q1194951 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j rdf:type ontology:Q15275719 . resource:Q131075 property:P1923 ?j } } . FILTER ( ?a > ?m ) }
1954 FIFA World Cup
action count
action greater
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1954 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?a ) WHERE { ?h property:participating_teams ?f . ?h rdf:type ontology:recurring_event . ?f rdf:type ontology:national_sports_team } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j rdf:type ontology:recurring_event . resource:1954_FIFA_World_Cup property:participating_teams ?j } } . FILTER ( ?a > ?m ) }
[]
national sports team recurring event
SYSTEM
9
Q176883 Q37285 Q46938 Q46934 Q132529 Q101751 Q47735 Q101730 Q79859
(c(Q15275719),P1923,c(Q1194951))
action count
action greater
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q131075
relation P1923
type Q15275719
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?a ) WHERE { ?h property:P1923 ?f . ?h rdf:type ontology:Q15275719 . ?f rdf:type ontology:Q1194951 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j rdf:type ontology:Q15275719 . resource:Q131075 property:P1923 ?j } } . FILTER ( ?a > ?m ) }
2010 FIFA World Cup 2006 FIFA World Cup 1986 FIFA World Cup 1982 FIFA World Cup 1990 FIFA World Cup 1994 FIFA World Cup 2002 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
9
action count
action greater
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1954 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?a ) WHERE { ?h property:participating_teams ?f . ?h rdf:type ontology:recurring_event . ?f rdf:type ontology:national_sports_team } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j rdf:type ontology:recurring_event . resource:1954_FIFA_World_Cup property:participating_teams ?j } } . FILTER ( ?a > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q160813
P1923
Q1194951 Q15275719
USER
And also tell me about 1962 FIFA World Cup?
(c(Q15275719),P1923,c(Q1194951))
action count
action greater
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q160813
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?s ) WHERE { ?h property:P1923 ?e . ?h rdf:type ontology:Q15275719 . ?e rdf:type ontology:Q1194951 } GROUP BY ?h } . FILTER ( ?s > ?n ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q160813 property:P1923 ?t . ?t rdf:type ontology:Q15275719 } } }
1962 FIFA World Cup
action count
action greater
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1962 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?s ) WHERE { ?h property:participating_teams ?e . ?h rdf:type ontology:recurring_event . ?e rdf:type ontology:national_sports_team } GROUP BY ?h } . FILTER ( ?s > ?n ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:1962_FIFA_World_Cup property:participating_teams ?t . ?t rdf:type ontology:recurring_event } } }
[]
national sports team recurring event
SYSTEM
9
Q176883 Q37285 Q46938 Q46934 Q132529 Q101751 Q47735 Q101730 Q79859
(c(Q15275719),P1923,c(Q1194951))
action count
action greater
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q160813
relation P1923
type Q15275719
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?s ) WHERE { ?h property:P1923 ?e . ?h rdf:type ontology:Q15275719 . ?e rdf:type ontology:Q1194951 } GROUP BY ?h } . FILTER ( ?s > ?n ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q160813 property:P1923 ?t . ?t rdf:type ontology:Q15275719 } } }
2010 FIFA World Cup 2006 FIFA World Cup 1986 FIFA World Cup 1982 FIFA World Cup 1990 FIFA World Cup 1994 FIFA World Cup 2002 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
9
action count
action greater
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1962 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?s ) WHERE { ?h property:participating_teams ?e . ?h rdf:type ontology:recurring_event . ?e rdf:type ontology:national_sports_team } GROUP BY ?h } . FILTER ( ?s > ?n ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:1962_FIFA_World_Cup property:participating_teams ?t . ?t rdf:type ontology:recurring_event } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q634689 Q738846
P17
Q15617994
USER
Which administrative territories are Basque Country regional football team or Cibiana Pass situated in ?
OR((Q738846,P17,c(Q15617994)), (Q634689,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q738846
relation P17
action find
entity Q634689
relation P17
type Q15617994
{'OR': [['Q738846', 'P17', {'concept': 'Q15617994'}], ['Q634689', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q738846 property:P17 ?y } UNION { resource:Q634689 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Cibiana Pass Basque Country regional football team
action filter_type
action union
action find
entity Basque Country regional football team
relation country
action find
entity Cibiana Pass
relation country
type designation for an administrative territorial entity
{'OR': [['Basque Country regional football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cibiana Pass', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Basque_Country_regional_football_team property:country ?y } UNION { resource:Cibiana_Pass property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q738846,P17,c(Q15617994)), (Q634689,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q738846
relation P17
action find
entity Q634689
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q738846', 'P17', {'concept': 'Q15617994'}], ['Q634689', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q738846 property:P17 ?y } UNION { resource:Q634689 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
France Italy
Which administrative territories are Basque Country regional football team or Cibiana Pass situated in
France Italy
action filter_type
action union
action find
entity Basque Country regional football team
relation country
action find
entity Cibiana Pass
relation country
type designation for an administrative territorial entity
{'OR': [['Basque Country regional football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cibiana Pass', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Basque_Country_regional_football_team property:country ?y } UNION { resource:Cibiana_Pass property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q634689
P17
Q15617994
USER
How many administrative territories are Cibiana Pass situated in ?
(Q634689,P17,c(Q15617994))
action count
action filter_type
action find
entity Q634689
relation P17
type Q15617994
['Q634689', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q634689 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Cibiana Pass
action count
action filter_type
action find
entity Cibiana Pass
relation country
type designation for an administrative territorial entity
['Cibiana Pass', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Cibiana_Pass property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q634689,P17,c(Q15617994))
action count
action filter_type
action find
entity Q634689
relation P17
type Q15617994
[ANSWER]
['Q634689', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q634689 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Cibiana Pass
relation country
type designation for an administrative territorial entity
['Cibiana Pass', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Cibiana_Pass property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q23722407
Q15617994
USER
And how about Muwanga Primary School?
(Q23722407,P17,c(Q15617994))
action count
action filter_type
action find
entity Q23722407
relation P17
type Q15617994
['Q23722407', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q23722407 property:P17 ?w }
Muwanga Primary School
action count
action filter_type
action find
entity Muwanga Primary School
relation country
type designation for an administrative territorial entity
['Muwanga Primary School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Muwanga_Primary_School property:country ?w }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q23722407,P17,c(Q15617994))
action count
action filter_type
action find
entity Q23722407
relation P17
type Q15617994
[ANSWER]
['Q23722407', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q23722407 property:P17 ?w }
1
action count
action filter_type
action find
entity Muwanga Primary School
relation country
type designation for an administrative territorial entity
['Muwanga Primary School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Muwanga_Primary_School property:country ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16348
P118
Q623109
USER
Which sports league does U.S. Alessandria Calcio 1912 contest in ?
(Q16348,P118,c(Q623109))
action filter_type
action find
entity Q16348
relation P118
type Q623109
['Q16348', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q623109 . resource:Q16348 property:P118 ?a }
U.S. Alessandria Calcio 1912
action filter_type
action find
entity U.S. Alessandria Calcio 1912
relation league
type sports league
['U.S. Alessandria Calcio 1912', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_league . resource:U.S._Alessandria_Calcio_1912 property:league ?a }
[]
sports league
Q830717
SYSTEM
Lega Pro Seconda Divisione
Q830717
(Q16348,P118,c(Q623109))
action filter_type
action find
entity Q16348
relation P118
type Q623109
[ANSWER] U.S. Alessandria Calcio 1912 contests in
['Q16348', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q623109 . resource:Q16348 property:P118 ?a }
Lega Pro Seconda Divisione
Lega Pro Seconda Divisione U.S. Alessandria Calcio 1912 contests in
Lega Pro Seconda Divisione
action filter_type
action find
entity U.S. Alessandria Calcio 1912
relation league
type sports league
['U.S. Alessandria Calcio 1912', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_league . resource:U.S._Alessandria_Calcio_1912 property:league ?a }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q15416 Q2342494
USER
Which administrative territories are the narrative locations of exactly 13 television programs and collectables ?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 13
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?y } . FILTER ( ?d = 13 ) }
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 13
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?y } . FILTER ( ?d = 13 ) }
[]
designation for an administrative territorial entity television program collectable
Q889 Q33
SYSTEM
Afghanistan, Finland
Q889 Q33
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 13
[ANSWERS] are the narrative locations of exactly 13 television programs and collectables
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?y } . FILTER ( ?d = 13 ) }
Afghanistan Finland
Afghanistan and Finland are the narrative locations of exactly 13 television programs and collectables
Afghanistan Finland
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 13
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?y } . FILTER ( ?d = 13 ) }
[]