Simple Question (Direct)
Simple Question
Q17000025
P19
Q1048835
USER
Which political territory is the place of birth of Pedro Estrems ?
(Q17000025,P19,c(Q1048835))
action filter_type
action find
entity Q17000025
relation P19
type Q1048835
['Q17000025', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q17000025 property:P19 ?q }
Pedro Estrems
action filter_type
action find
entity Pedro Estrems
relation place of birth
type political territorial entity
['Pedro Estrems', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Pedro_Estrems property:place_of_birth ?q }
[]
political territorial entity
Q11492
SYSTEM
Mataró
Q11492
(Q17000025,P19,c(Q1048835))
action filter_type
action find
entity Q17000025
relation P19
type Q1048835
[ANSWER] is the place of birth of Pedro Estrems
['Q17000025', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q17000025 property:P19 ?q }
Mataró
Mataró is the place of birth of Pedro Estrems
Mataró
action filter_type
action find
entity Pedro Estrems
relation place of birth
type political territorial entity
['Pedro Estrems', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Pedro_Estrems property:place_of_birth ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17000025
P54
Q1194951
USER
Which national sports team is Pedro Estrems a member of ?
(Q17000025,P54,c(Q1194951))
action filter_type
action find
entity Q17000025
relation P54
type Q1194951
['Q17000025', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1194951 . resource:Q17000025 property:P54 ?q }
Pedro Estrems
action filter_type
action find
entity Pedro Estrems
relation member of sports team
type national sports team
['Pedro Estrems', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:national_sports_team . resource:Pedro_Estrems property:member_of_sports_team ?q }
[]
national sports team
Q17228
SYSTEM
Catalonia national football team
Q17228
(Q17000025,P54,c(Q1194951))
action filter_type
action find
entity Q17000025
relation P54
type Q1194951
The [ANSWER] is Pedro Estrems a member of
['Q17000025', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1194951 . resource:Q17000025 property:P54 ?q }
Catalonia national football team
The Catalonia national football team is Pedro Estrems a member of
Catalonia national football team
action filter_type
action find
entity Pedro Estrems
relation member of sports team
type national sports team
['Pedro Estrems', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:national_sports_team . resource:Pedro_Estrems property:member_of_sports_team ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q17228 Q11203232
P54
Q502895
USER
Does Joan Berkowitz play for the team named that one ?
(Q11203232,P54,Q17228)
action is_in
entity Q11203232
action find
entity Q17228
relation P54
['Q11203232', 'P54', 'Q17228']
ASK WHERE { resource:Q17228 property:P54 resource:Q11203232 }
Catalonia national football team Joan Berkowitz
action is_in
entity Joan Berkowitz
action find
entity Catalonia national football team
relation member of sports team
['Joan Berkowitz', 'member of sports team', 'Catalonia national football team']
ASK WHERE { resource:Catalonia_national_football_team property:member_of_sports_team resource:Joan_Berkowitz }
[]
common name
SYSTEM
NO
(Q11203232,P54,Q17228)
action is_in
entity Q11203232
action find
entity Q17228
relation P54
[ANSWER]
['Q11203232', 'P54', 'Q17228']
ASK WHERE { resource:Q17228 property:P54 resource:Q11203232 }
No
action is_in
entity Joan Berkowitz
action find
entity Catalonia national football team
relation member of sports team
['Joan Berkowitz', 'member of sports team', 'Catalonia national football team']
ASK WHERE { resource:Catalonia_national_football_team property:member_of_sports_team resource:Joan_Berkowitz }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11492 Q818341
P47
Q1048835
USER
Is Monforte de Lemos adjacent to Mataró ?
(Q11492,P47,Q818341)
action is_in
entity Q818341
action find
entity Q11492
relation P47
['Q11492', 'P47', 'Q818341']
ASK WHERE { resource:Q11492 property:P47 resource:Q818341 }
Mataró Monforte de Lemos
action is_in
entity Monforte de Lemos
action find
entity Mataró
relation shares border with
['Mataró', 'shares border with', 'Monforte de Lemos']
ASK WHERE { resource:Mataró property:shares_border_with resource:Monforte_de_Lemos }
[]
political territorial entity
SYSTEM
NO
(Q11492,P47,Q818341)
action is_in
entity Q818341
action find
entity Q11492
relation P47
[ANSWER]
['Q11492', 'P47', 'Q818341']
ASK WHERE { resource:Q11492 property:P47 resource:Q818341 }
No
action is_in
entity Monforte de Lemos
action find
entity Mataró
relation shares border with
['Mataró', 'shares border with', 'Monforte de Lemos']
ASK WHERE { resource:Mataró property:shares_border_with resource:Monforte_de_Lemos }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q166121
P1923
Q1194951 Q15275719
USER
Which recurring events did greater number of national sports teams participate in than 1974 FIFA World Cup ?
(c(Q15275719),P1923,c(Q1194951))
action greater
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q166121
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q166121 property:P1923 ?n . ?n rdf:type ontology:Q15275719 } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?y ) WHERE { ?v property:P1923 ?o . ?v rdf:type ontology:Q15275719 . ?o rdf:type ontology:Q1194951 } GROUP BY ?v } }
1974 FIFA World Cup
action greater
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1974 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:1974_FIFA_World_Cup property:participating_teams ?n . ?n rdf:type ontology:recurring_event } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?y ) WHERE { ?v property:participating_teams ?o . ?v rdf:type ontology:recurring_event . ?o rdf:type ontology:national_sports_team } GROUP BY ?v } }
[]
national sports team recurring event
Q47735 Q79859 Q37285
SYSTEM
2002 FIFA World Cup, 2014 FIFA World Cup, 2006 FIFA World Cup
Q176883 Q37285 Q46938 Q46934 Q132529 Q101751 Q47735 Q101730 Q79859
(c(Q15275719),P1923,c(Q1194951))
action greater
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q166121
relation P1923
type Q15275719
Than 1974 FIFA World Cup greater number of national sports teams participated in the [ANSWERS]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q166121 property:P1923 ?n . ?n rdf:type ontology:Q15275719 } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?y ) WHERE { ?v property:P1923 ?o . ?v rdf:type ontology:Q15275719 . ?o rdf:type ontology:Q1194951 } GROUP BY ?v } }
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
Than 1974 FIFA World Cup greater number of national sports teams participated in the 2002 FIFA World Cup, 2014 FIFA World Cup and 2006 FIFA World Cup
2002 FIFA World Cup 2014 FIFA World Cup 2006 FIFA World Cup
action greater
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1974 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:1974_FIFA_World_Cup property:participating_teams ?n . ?n rdf:type ontology:recurring_event } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?y ) WHERE { ?v property:participating_teams ?o . ?v rdf:type ontology:recurring_event . ?o rdf:type ontology:national_sports_team } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q132533
P1923
Q1194951 Q15275719
USER
And how about 1958 FIFA World Cup?
(c(Q15275719),P1923,c(Q1194951))
action greater
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q132533
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?y ) WHERE { ?h property:P1923 ?e . ?h rdf:type ontology:Q15275719 . ?e rdf:type ontology:Q1194951 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q132533 property:P1923 ?n . ?n rdf:type ontology:Q15275719 } } . FILTER ( ?y > ?q ) }
1958 FIFA World Cup
action greater
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1958 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?y ) WHERE { ?h property:participating_teams ?e . ?h rdf:type ontology:recurring_event . ?e rdf:type ontology:national_sports_team } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:1958_FIFA_World_Cup property:participating_teams ?n . ?n rdf:type ontology:recurring_event } } . FILTER ( ?y > ?q ) }
[]
national sports team recurring event
Q47735 Q79859 Q37285
SYSTEM
2002 FIFA World Cup, 2014 FIFA World Cup, 2006 FIFA World Cup
Q176883 Q37285 Q46938 Q46934 Q132529 Q101751 Q47735 Q101730 Q79859
(c(Q15275719),P1923,c(Q1194951))
action greater
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q132533
relation P1923
type Q15275719
[ANSWERS]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?y ) WHERE { ?h property:P1923 ?e . ?h rdf:type ontology:Q15275719 . ?e rdf:type ontology:Q1194951 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q132533 property:P1923 ?n . ?n rdf:type ontology:Q15275719 } } . FILTER ( ?y > ?q ) }
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
2002 FIFA World Cup 2014 FIFA World Cup 2006 FIFA World Cup
action greater
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1958 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?y ) WHERE { ?h property:participating_teams ?e . ?h rdf:type ontology:recurring_event . ?e rdf:type ontology:national_sports_team } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:1958_FIFA_World_Cup property:participating_teams ?n . ?n rdf:type ontology:recurring_event } } . FILTER ( ?y > ?q ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5029486
P1344
Q1194951
USER
Did Canada at the 2003 Pan American Games participate in those recurring events ?
(Q5029486,P1344,Q47735) (Q5029486,P1344,Q79859) (Q5029486,P1344,Q37285)
action is_in
entity prev_answer
action find
entity Q5029486
relation P1344
['Q5029486', 'P1344', 'Q47735'] ['Q5029486', 'P1344', 'Q79859'] ['Q5029486', 'P1344', 'Q37285']
ASK WHERE { VALUES ( ?q ) { ( resource:Q176883 ) ( resource:Q37285 ) ( resource:Q46938 ) } . resource:Q5029486 property:P1344 ?q }
Canada at the 2003 Pan American Games
action is_in
entity prev_answer
action find
entity Canada at the 2003 Pan American Games
relation participant of
['Canada at the 2003 Pan American Games', 'participant of', '2002 FIFA World Cup'] ['Canada at the 2003 Pan American Games', 'participant of', '2014 FIFA World Cup'] ['Canada at the 2003 Pan American Games', 'participant of', '2006 FIFA World Cup']
ASK WHERE { VALUES ( ?q ) { ( resource:2010_FIFA_World_Cup ) ( resource:2006_FIFA_World_Cup ) ( resource:1986_FIFA_World_Cup ) } . resource:Canada_at_the_2003_Pan_American_Games property:participant_of ?q }
[]
national sports team
SYSTEM
NO
(Q5029486,P1344,Q47735) (Q5029486,P1344,Q79859) (Q5029486,P1344,Q37285)
action is_in
entity prev_answer
action find
entity Q5029486
relation P1344
[ANSWER]
['Q5029486', 'P1344', 'Q47735'] ['Q5029486', 'P1344', 'Q79859'] ['Q5029486', 'P1344', 'Q37285']
ASK WHERE { VALUES ( ?q ) { ( resource:Q176883 ) ( resource:Q37285 ) ( resource:Q46938 ) } . resource:Q5029486 property:P1344 ?q }
No
action is_in
entity prev_answer
action find
entity Canada at the 2003 Pan American Games
relation participant of
['Canada at the 2003 Pan American Games', 'participant of', '2002 FIFA World Cup'] ['Canada at the 2003 Pan American Games', 'participant of', '2014 FIFA World Cup'] ['Canada at the 2003 Pan American Games', 'participant of', '2006 FIFA World Cup']
ASK WHERE { VALUES ( ?q ) { ( resource:2010_FIFA_World_Cup ) ( resource:2006_FIFA_World_Cup ) ( resource:1986_FIFA_World_Cup ) } . resource:Canada_at_the_2003_Pan_American_Games property:participant_of ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11492
P17
Q15617994
USER
Which administrative territory is Mataró located in ?
(Q11492,P17,c(Q15617994))
action filter_type
action find
entity Q11492
relation P17
type Q15617994
['Q11492', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q11492 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Mataró
action filter_type
action find
entity Mataró
relation country
type designation for an administrative territorial entity
['Mataró', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Mataró property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q11492,P17,c(Q15617994))
action filter_type
action find
entity Q11492
relation P17
type Q15617994
Mataró is located in [ANSWER]
['Q11492', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q11492 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Spain
Mataró is located in Spain
Spain
action filter_type
action find
entity Mataró
relation country
type designation for an administrative territorial entity
['Mataró', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Mataró property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]