Simple Question (Direct)
Simple Question
Q2638342
P54
Q1194951
USER
Which national sports team is Allan Maher a member of ?
(Q2638342,P54,c(Q1194951))
action filter_type
action find
entity Q2638342
relation P54
type Q1194951
['Q2638342', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q2638342 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Allan Maher
action filter_type
action find
entity Allan Maher
relation member of sports team
type national sports team
['Allan Maher', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Allan_Maher property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
national sports team
Q268208
SYSTEM
Australia national association football team
Q268208
(Q2638342,P54,c(Q1194951))
action filter_type
action find
entity Q2638342
relation P54
type Q1194951
The [ANSWER] is Allan Maher a member of
['Q2638342', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q2638342 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Australia national association football team
The Australia national association football team is Allan Maher a member of
Australia national association football team
action filter_type
action find
entity Allan Maher
relation member of sports team
type national sports team
['Allan Maher', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Allan_Maher property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2638342
P1344
Q15275719
USER
What did that person participate in ?
(Q268208,P1344,c(Q15275719))
action filter_type
action find
entity Q2638342
relation P1344
type Q15275719
['Q268208', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?y WHERE { resource:Q2638342 property:P1344 ?y . ?y rdf:type ontology:Q15275719 }
Allan Maher
action filter_type
action find
entity Allan Maher
relation participant of
type recurring event
['Australia national association football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?y WHERE { resource:Allan_Maher property:participant_of ?y . ?y rdf:type ontology:recurring_event }
[]
recurring event
Q166121
SYSTEM
1974 FIFA World Cup
Q166121
(Q268208,P1344,c(Q15275719))
action filter_type
action find
entity Q2638342
relation P1344
type Q15275719
That person participated in [ANSWER]
['Q268208', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?y WHERE { resource:Q2638342 property:P1344 ?y . ?y rdf:type ontology:Q15275719 }
1974 FIFA World Cup
That person participated in 1974 FIFA World Cup
1974 FIFA World Cup
action filter_type
action find
entity Allan Maher
relation participant of
type recurring event
['Australia national association football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?y WHERE { resource:Allan_Maher property:participant_of ?y . ?y rdf:type ontology:recurring_event }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1923
Q1194951 Q15275719
USER
How many recurring events did greater number of national sports teams compete in than that recurring event ?
(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 Q166121
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q property:P1923 ?o . ?q rdf:type ontology:Q15275719 . ?o rdf:type ontology:Q1194951 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q166121 property:P1923 ?y . ?y rdf:type ontology:Q15275719 } } . FILTER ( ?g > ?v ) }
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 1974 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q property:participating_teams ?o . ?q rdf:type ontology:recurring_event . ?o rdf:type ontology:national_sports_team } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:1974_FIFA_World_Cup property:participating_teams ?y . ?y rdf:type ontology:recurring_event } } . FILTER ( ?g > ?v ) }
[]
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 Q166121
relation P1923
type Q15275719
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q property:P1923 ?o . ?q rdf:type ontology:Q15275719 . ?o rdf:type ontology:Q1194951 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q166121 property:P1923 ?y . ?y rdf:type ontology:Q15275719 } } . FILTER ( ?g > ?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
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 1974 FIFA World Cup
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q property:participating_teams ?o . ?q rdf:type ontology:recurring_event . ?o rdf:type ontology:national_sports_team } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:1974_FIFA_World_Cup property:participating_teams ?y . ?y rdf:type ontology:recurring_event } } . FILTER ( ?g > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q166121
P276
Q483110
USER
Where are 1974 FIFA World Cup situated ?
(Q166121,P276,c(Q483110))
action filter_type
action find
entity Q166121
relation P276
type Q483110
['Q166121', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?m WHERE { resource:Q166121 property:P276 ?m . ?m rdf:type ontology:Q483110 }
1974 FIFA World Cup
action filter_type
action find
entity 1974 FIFA World Cup
relation location
type stadium
['1974 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?m WHERE { resource:1974_FIFA_World_Cup property:location ?m . ?m rdf:type ontology:stadium }
[]
stadium
Q699555 Q150928 Q700462
SYSTEM
Rheinstadion, Signal Iduna Park, Parkstadion
Q699555 Q150928 Q700462
(Q166121,P276,c(Q483110))
action filter_type
action find
entity Q166121
relation P276
type Q483110
1974 FIFA World Cup are situated at [ANSWERS]
['Q166121', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?m WHERE { resource:Q166121 property:P276 ?m . ?m rdf:type ontology:Q483110 }
Rheinstadion Signal Iduna Park Parkstadion
1974 FIFA World Cup are situated at Rheinstadion, Signal Iduna Park and Parkstadion
Rheinstadion Signal Iduna Park Parkstadion
action filter_type
action find
entity 1974 FIFA World Cup
relation location
type stadium
['1974 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?m WHERE { resource:1974_FIFA_World_Cup property:location ?m . ?m rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q699555
P84
Q502895
USER
Which person designed the architecture of Rheinstadion ?
(Q699555,P84,c(Q502895))
action filter_type
action find
entity Q699555
relation P84
type Q502895
['Q699555', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q699555 property:P84 ?w }
Rheinstadion
action filter_type
action find
entity Rheinstadion
relation architect
type common name
['Rheinstadion', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Rheinstadion property:architect ?w }
[]
common name
Q1579536
SYSTEM
Hans Freese
Q1579536
(Q699555,P84,c(Q502895))
action filter_type
action find
entity Q699555
relation P84
type Q502895
The [ANSWER] designed the architecture of Rheinstadion
['Q699555', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q699555 property:P84 ?w }
Hans Freese
The Hans Freese designed the architecture of Rheinstadion
Hans Freese
action filter_type
action find
entity Rheinstadion
relation architect
type common name
['Rheinstadion', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Rheinstadion property:architect ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q699555
P17
Q1048835
USER
Which political territory does that stadium belong to ?
(Q1579536,P17,c(Q1048835))
action filter_type
action find
entity Q699555
relation P17
type Q1048835
['Q1579536', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q699555 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Rheinstadion
action filter_type
action find
entity Rheinstadion
relation country
type political territorial entity
['Hans Freese', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Rheinstadion property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1579536,P17,c(Q1048835))
action filter_type
action find
entity Q699555
relation P17
type Q1048835
That stadium belongs to Nazi [ANSWER]
['Q1579536', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q699555 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Germany
That stadium belongs to Nazi Germany
Germany
action filter_type
action find
entity Rheinstadion
relation country
type political territorial entity
['Hans Freese', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Rheinstadion property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams were participants in exactly 8 sport competitions and recurring events ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 8
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?x = 8 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:P1923 ?c . ?c rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q13406554 } UNION { ?i property:P1923 ?c . ?c rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q15275719 } } GROUP BY ?c } }
action equal
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 8
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?x = 8 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:participating_teams ?c . ?c rdf:type ontology:national_sports_team . ?i rdf:type ontology:sport_competition } UNION { ?i property:participating_teams ?c . ?c rdf:type ontology:national_sports_team . ?i rdf:type ontology:recurring_event } } GROUP BY ?c } }
[]
national sports team sport competition recurring event
Q34044 Q134479 Q182072
SYSTEM
Scotland national football team, Croatia national football team, Czechoslovakia national football team
Q34044 Q134479 Q182072
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 8
[ANSWERS] were participants in exactly 8 sport competitions and recurring events
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?x = 8 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:P1923 ?c . ?c rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q13406554 } UNION { ?i property:P1923 ?c . ?c rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q15275719 } } GROUP BY ?c } }
Scotland national football team Croatia national football team Czechoslovakia national football team
Scotland national football team, Croatia national football team and Czechoslovakia national football team were participants in exactly 8 sport competitions and recurring events
Scotland national football team Croatia national football team Czechoslovakia national football team
action equal
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 8
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?x = 8 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:participating_teams ?c . ?c rdf:type ontology:national_sports_team . ?i rdf:type ontology:sport_competition } UNION { ?i property:participating_teams ?c . ?c rdf:type ontology:national_sports_team . ?i rdf:type ontology:recurring_event } } GROUP BY ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P127
Q4830453 Q740752
USER
How many business enterprises or transport companies belongs to Germany ?
(c(Q4830453),P127,Q183) (c(Q740752),P127,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P127
type Q4830453
action filter_type
action find_reverse
entity Q183
relation P127
type Q740752
[{'concept': 'Q4830453'}, 'P127', 'Q183'] [{'concept': 'Q740752'}, 'P127', 'Q183']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q4830453 ) ( ontology:Q740752 ) } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation owned by
type business enterprise
action filter_type
action find_reverse
entity Germany
relation owned by
type transport company
[{'concept': 'business enterprise'}, 'owned by', 'Germany'] [{'concept': 'transport company'}, 'owned by', 'Germany']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:business_enterprise ) ( ontology:transport_company ) } }
[]
business enterprise transport company
SYSTEM
4
Q9322 Q933681 Q877083 Q181653
(c(Q4830453),P127,Q183) (c(Q740752),P127,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P127
type Q4830453
action filter_type
action find_reverse
entity Q183
relation P127
type Q740752
[ANSWER]
[{'concept': 'Q4830453'}, 'P127', 'Q183'] [{'concept': 'Q740752'}, 'P127', 'Q183']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q4830453 ) ( ontology:Q740752 ) } }
Deutsche Bahn Flughafen Berlin Brandenburg GmbH Deutscher Entwicklungsdienst Deutsche Bundespost
4
action count
action union
action filter_type
action find_reverse
entity Germany
relation owned by
type business enterprise
action filter_type
action find_reverse
entity Germany
relation owned by
type transport company
[{'concept': 'business enterprise'}, 'owned by', 'Germany'] [{'concept': 'transport company'}, 'owned by', 'Germany']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:business_enterprise ) ( ontology:transport_company ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P137
Q2668072
USER
Which collection can be described as facility operator of Germany ?
(c(Q2668072),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q2668072
[{'concept': 'Q2668072'}, 'P137', 'Q183']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q183 . ?s rdf:type ontology:Q2668072 }
Germany
action filter_type
action find_reverse
entity Germany
relation operator
type collection
[{'concept': 'collection'}, 'operator', 'Germany']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Germany . ?s rdf:type ontology:collection }
[]
collection
Q879960
SYSTEM
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
Q879960
(c(Q2668072),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q2668072
[ANSWER] can be described as facility operator of Germany
[{'concept': 'Q2668072'}, 'P137', 'Q183']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q183 . ?s rdf:type ontology:Q2668072 }
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland can be described as facility operator of Germany
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
action filter_type
action find_reverse
entity Germany
relation operator
type collection
[{'concept': 'collection'}, 'operator', 'Germany']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Germany . ?s rdf:type ontology:collection }
[]