Simple Question (Direct)
Simple Question
Q593513
P54
Q1194951
USER
Which national sports team is Roman Ogaza a member of ?
(Q593513,P54,c(Q1194951))
action filter_type
action find
entity Q593513
relation P54
type Q1194951
['Q593513', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1194951 . resource:Q593513 property:P54 ?u }
Roman Ogaza
action filter_type
action find
entity Roman Ogaza
relation member of sports team
type national sports team
['Roman Ogaza', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:national_sports_team . resource:Roman_Ogaza property:member_of_sports_team ?u }
[]
national sports team
Q166196
SYSTEM
Poland national football team
Q166196
(Q593513,P54,c(Q1194951))
action filter_type
action find
entity Q593513
relation P54
type Q1194951
[ANSWER] is Roman Ogaza a member of
['Q593513', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1194951 . resource:Q593513 property:P54 ?u }
Poland national football team
Poland national football team is Roman Ogaza a member of
Poland national football team
action filter_type
action find
entity Roman Ogaza
relation member of sports team
type national sports team
['Roman Ogaza', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:national_sports_team . resource:Roman_Ogaza property:member_of_sports_team ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q593513
P20
Q20667921
USER
Where did Roman Ogaza die ?
(Q593513,P20,c(Q20667921))
action filter_type
action find
entity Q593513
relation P20
type Q20667921
['Q593513', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q593513 property:P20 ?k . ?k rdf:type ontology:Q20667921 }
Roman Ogaza
action filter_type
action find
entity Roman Ogaza
relation place of death
type type of french administrative division
['Roman Ogaza', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Ogaza property:place_of_death ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q22703
SYSTEM
Forbach
Q22703
(Q593513,P20,c(Q20667921))
action filter_type
action find
entity Q593513
relation P20
type Q20667921
Roman Ogaza died in [ANSWER]
['Q593513', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q593513 property:P20 ?k . ?k rdf:type ontology:Q20667921 }
Forbach
Roman Ogaza died in Forbach
Forbach
action filter_type
action find
entity Roman Ogaza
relation place of death
type type of french administrative division
['Roman Ogaza', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Ogaza property:place_of_death ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q593513
P21
Q290
USER
Which sex does that person belong to ?
(Q22703,P21,c(Q290))
action filter_type
action find
entity Q593513
relation P21
type Q290
['Q22703', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q593513 property:P21 ?x . ?x rdf:type ontology:Q290 }
Roman Ogaza
action filter_type
action find
entity Roman Ogaza
relation gender
type sex
['Forbach', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Roman_Ogaza property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q22703,P21,c(Q290))
action filter_type
action find
entity Q593513
relation P21
type Q290
That person belongs to [ANSWER]
['Q22703', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q593513 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Roman Ogaza
relation gender
type sex
['Forbach', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Roman_Ogaza property:gender ?x . ?x rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q3724172 Q593513
P21
Q290
USER
And also Emigdio Preciado, Jr.
AND((Q593513,P21,c(Q290)), (Q3724172,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q593513
relation P21
action find
entity Q3724172
relation P21
type Q290
{'AND': [['Q593513', 'P21', {'concept': 'Q290'}], ['Q3724172', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?k WHERE { resource:Q3724172 property:P21 ?k . resource:Q593513 property:P21 ?k . ?k rdf:type ontology:Q290 }
Emigdio Preciado, Jr. Roman Ogaza
action filter_type
action intersection
action find
entity Roman Ogaza
relation gender
action find
entity Emigdio Preciado, Jr.
relation gender
type sex
{'AND': [['Roman Ogaza', 'gender', {'concept': 'sex'}], ['Emigdio Preciado, Jr.', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?k WHERE { resource:Emigdio_Preciado,_Jr. property:gender ?k . resource:Roman_Ogaza property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q593513,P21,c(Q290)), (Q3724172,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q593513
relation P21
action find
entity Q3724172
relation P21
type Q290
[ANSWER]
{'AND': [['Q593513', 'P21', {'concept': 'Q290'}], ['Q3724172', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?k WHERE { resource:Q3724172 property:P21 ?k . resource:Q593513 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Roman Ogaza
relation gender
action find
entity Emigdio Preciado, Jr.
relation gender
type sex
{'AND': [['Roman Ogaza', 'gender', {'concept': 'sex'}], ['Emigdio Preciado, Jr.', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?k WHERE { resource:Emigdio_Preciado,_Jr. property:gender ?k . resource:Roman_Ogaza property:gender ?k . ?k rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12667385 Q593513
P27 P17
Q15617994
USER
Which administrative territories do Roman Ogaza belong to or are Paalaburdiškės a part of ?
OR((Q593513,P27,c(Q15617994)), (Q12667385,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q593513
relation P27
action find
entity Q12667385
relation P17
type Q15617994
{'OR': [['Q593513', 'P27', {'concept': 'Q15617994'}], ['Q12667385', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q593513 property:P27 ?a } UNION { resource:Q12667385 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Paalaburdiškės Roman Ogaza
action filter_type
action union
action find
entity Roman Ogaza
relation country of citizenship
action find
entity Paalaburdiškės
relation country
type designation for an administrative territorial entity
{'OR': [['Roman Ogaza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Paalaburdiškės', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Roman_Ogaza property:country_of_citizenship ?a } UNION { resource:Paalaburdiškės property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37 Q36
SYSTEM
Lithuania, Poland
Q37 Q36
OR((Q593513,P27,c(Q15617994)), (Q12667385,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q593513
relation P27
action find
entity Q12667385
relation P17
type Q15617994
Roman Ogaza belong to both [ANSWERS] or are Paalaburdiškės a part of
{'OR': [['Q593513', 'P27', {'concept': 'Q15617994'}], ['Q12667385', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q593513 property:P27 ?a } UNION { resource:Q12667385 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Lithuania Poland
Roman Ogaza belong to both Lithuania and Poland or are Paalaburdiškės a part of
Lithuania Poland
action filter_type
action union
action find
entity Roman Ogaza
relation country of citizenship
action find
entity Paalaburdiškės
relation country
type designation for an administrative territorial entity
{'OR': [['Roman Ogaza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Paalaburdiškės', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Roman_Ogaza property:country_of_citizenship ?a } UNION { resource:Paalaburdiškės property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12385020
P27
Q502895
USER
Are Camila Bossa a native of those administrative territories ?
(Q12385020,P27,Q37) (Q12385020,P27,Q36)
action is_in
entity prev_answer
action find
entity Q12385020
relation P27
['Q12385020', 'P27', 'Q37'] ['Q12385020', 'P27', 'Q36']
ASK WHERE { VALUES ( ?r ) { ( resource:Q37 ) ( resource:Q36 ) } . resource:Q12385020 property:P27 ?r }
Camila Bossa
action is_in
entity prev_answer
action find
entity Camila Bossa
relation country of citizenship
['Camila Bossa', 'country of citizenship', 'Lithuania'] ['Camila Bossa', 'country of citizenship', 'Poland']
ASK WHERE { VALUES ( ?r ) { ( resource:Lithuania ) ( resource:Poland ) } . resource:Camila_Bossa property:country_of_citizenship ?r }
[]
common name
SYSTEM
NO
(Q12385020,P27,Q37) (Q12385020,P27,Q36)
action is_in
entity prev_answer
action find
entity Q12385020
relation P27
[ANSWER]
['Q12385020', 'P27', 'Q37'] ['Q12385020', 'P27', 'Q36']
ASK WHERE { VALUES ( ?r ) { ( resource:Q37 ) ( resource:Q36 ) } . resource:Q12385020 property:P27 ?r }
No
action is_in
entity prev_answer
action find
entity Camila Bossa
relation country of citizenship
['Camila Bossa', 'country of citizenship', 'Lithuania'] ['Camila Bossa', 'country of citizenship', 'Poland']
ASK WHERE { VALUES ( ?r ) { ( resource:Lithuania ) ( resource:Poland ) } . resource:Camila_Bossa property:country_of_citizenship ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q193386
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams participated in around the same number of recurring events or sport competitions as Bolivia national football team ?
(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
action count
action filter_multi_types
action find_reverse
entity Q193386
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P1923 ?g . ?l rdf:type ontology:Q15275719 . ?g rdf:type ontology:Q1194951 } UNION { ?g rdf:type ontology:Q1194951 . ?l rdf:type ontology:Q13406554 . ?l property:P1923 ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { { ?o rdf:type ontology:Q15275719 } UNION { ?o rdf:type ontology:Q13406554 } } . ?o property:P1923 resource:Q193386 } } . FILTER ( ?i = ?x ) }
Bolivia 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
action count
action filter_multi_types
action find_reverse
entity Bolivia national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:participating_teams ?g . ?l rdf:type ontology:recurring_event . ?g rdf:type ontology:national_sports_team } UNION { ?g rdf:type ontology:national_sports_team . ?l rdf:type ontology:sport_competition . ?l property:participating_teams ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { { ?o rdf:type ontology:recurring_event } UNION { ?o rdf:type ontology:sport_competition } } . ?o property:participating_teams resource:Bolivia_national_football_team } } . FILTER ( ?i = ?x ) }
[]
national sports team recurring event sport competition
Q543842 Q188363 Q34044
SYSTEM
South Korea national football team, Yugoslavia national football team, Scotland national football team
Q170327 Q130582 Q212166 Q207441 Q189322 Q34044 Q174512 Q21130178 Q193386 Q172014 Q223748 Q180187 Q188228 Q190978 Q21130160 Q212564 Q236014 Q180845 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q987584 Q1131732 Q192828 Q270080 Q182740 Q180857 Q543842 Q726080 Q27971 Q170403 Q172020 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q134479 Q191595 Q21130170 Q181903 Q189275 Q175309 Q152424 Q207337 Q181190 Q188363 Q186243 Q131785 Q184387 Q235399 Q483856 Q189198 Q28089 Q163547 Q236006 Q721418 Q182072 Q184602 Q192149 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q181930 Q208635 Q189723 Q206828 Q134925
(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
action count
action filter_multi_types
action find_reverse
entity Q193386
relation P1923
type Q15275719
type Q13406554
[ANSWERS] participated in around the same number of recurring events or sport competitions as Bolivia national football team
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P1923 ?g . ?l rdf:type ontology:Q15275719 . ?g rdf:type ontology:Q1194951 } UNION { ?g rdf:type ontology:Q1194951 . ?l rdf:type ontology:Q13406554 . ?l property:P1923 ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { { ?o rdf:type ontology:Q15275719 } UNION { ?o rdf:type ontology:Q13406554 } } . ?o property:P1923 resource:Q193386 } } . FILTER ( ?i = ?x ) }
South Africa national football team China PR national football team Peru national football team Senegal national football team Latvia national football team Scotland national football team Slovakia national football team Transylvania national quidditch team Bolivia national football team Ghana national football team Panama national football team Honduras national football team El Salvador national football team Northern Ireland national football team England national quidditch team Colombia national football team Cuba national football team Bulgaria national football team Wales national quidditch team Scotland national quidditch team Luxembourg national quidditch team Uganda national quidditch team United Arab Emirates national football team Ecuador national football team Serbia and Montenegro national football team Angola national football team Congo DR national football team Serbia national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Paraguay national football team Japan national football team Australia national association football team New Zealand national football team Venezuela national football team Albania national football team Costa Rica national football team Israel national football team Slovenia national football team Ivory Coast national football team Croatia national football team Togo national football team Peru national quidditch team Algeria national football team Soviet Union national football team Cameroon national football team East Germany national football team Morocco national football team Bosnia and Herzegovina national football team Yugoslavia national football team Iraq national football team Denmark national football team Norway national football team Jamaica national football team Turkey national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team CIS national football team Czechoslovakia national football team Iran national football team Trinidad and Tobago national football team North Korea national football team Dutch East Indies national football team Bulgaria national quidditch team Ireland national quidditch team Czech Republic national football team Nigeria national football team Canada national soccer team Saudi Arabia national football team Kuwait national football team Greece national football team
South Korea national football team, Yugoslavia national football team and Scotland national football team participated in around the same number of recurring events or sport competitions as Bolivia national football team
South Korea national football team Yugoslavia national football team Scotland 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
action count
action filter_multi_types
action find_reverse
entity Bolivia national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:participating_teams ?g . ?l rdf:type ontology:recurring_event . ?g rdf:type ontology:national_sports_team } UNION { ?g rdf:type ontology:national_sports_team . ?l rdf:type ontology:sport_competition . ?l property:participating_teams ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { { ?o rdf:type ontology:recurring_event } UNION { ?o rdf:type ontology:sport_competition } } . ?o property:participating_teams resource:Bolivia_national_football_team } } . FILTER ( ?i = ?x ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q131075
P1923
Q15275719
USER
Did those national sports teams compete in 1954 FIFA World Cup ?
(Q131075,P1923,Q543842) (Q131075,P1923,Q188363) (Q131075,P1923,Q34044)
action is_in
entity prev_answer
action find
entity Q131075
relation P1923
['Q131075', 'P1923', 'Q543842'] ['Q131075', 'P1923', 'Q188363'] ['Q131075', 'P1923', 'Q34044']
ASK WHERE { VALUES ( ?r ) { ( resource:Q170327 ) ( resource:Q130582 ) ( resource:Q212166 ) } . resource:Q131075 property:P1923 ?r }
1954 FIFA World Cup
action is_in
entity prev_answer
action find
entity 1954 FIFA World Cup
relation participating teams
['1954 FIFA World Cup', 'participating teams', 'South Korea national football team'] ['1954 FIFA World Cup', 'participating teams', 'Yugoslavia national football team'] ['1954 FIFA World Cup', 'participating teams', 'Scotland national football team']
ASK WHERE { VALUES ( ?r ) { ( resource:South_Africa_national_football_team ) ( resource:China_PR_national_football_team ) ( resource:Peru_national_football_team ) } . resource:1954_FIFA_World_Cup property:participating_teams ?r }
[]
recurring event
SYSTEM
YES
(Q131075,P1923,Q543842) (Q131075,P1923,Q188363) (Q131075,P1923,Q34044)
action is_in
entity prev_answer
action find
entity Q131075
relation P1923
[ANSWER]
['Q131075', 'P1923', 'Q543842'] ['Q131075', 'P1923', 'Q188363'] ['Q131075', 'P1923', 'Q34044']
ASK WHERE { VALUES ( ?r ) { ( resource:Q170327 ) ( resource:Q130582 ) ( resource:Q212166 ) } . resource:Q131075 property:P1923 ?r }
Yes
action is_in
entity prev_answer
action find
entity 1954 FIFA World Cup
relation participating teams
['1954 FIFA World Cup', 'participating teams', 'South Korea national football team'] ['1954 FIFA World Cup', 'participating teams', 'Yugoslavia national football team'] ['1954 FIFA World Cup', 'participating teams', 'Scotland national football team']
ASK WHERE { VALUES ( ?r ) { ( resource:South_Africa_national_football_team ) ( resource:China_PR_national_football_team ) ( resource:Peru_national_football_team ) } . resource:1954_FIFA_World_Cup property:participating_teams ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P138
Q34442
USER
Which road has Poland as its toponym ?
(c(Q34442),P138,Q36)
action filter_type
action find_reverse
entity Q36
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q36']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q36 . ?v rdf:type ontology:Q34442 }
Poland
action filter_type
action find_reverse
entity Poland
relation named after
type road
[{'concept': 'road'}, 'named after', 'Poland']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Poland . ?v rdf:type ontology:road }
[]
road
Q23647169
SYSTEM
Poland Street
Q23647169
(c(Q34442),P138,Q36)
action filter_type
action find_reverse
entity Q36
relation P138
type Q34442
[ANSWER] has Poland as its toponym
[{'concept': 'Q34442'}, 'P138', 'Q36']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q36 . ?v rdf:type ontology:Q34442 }
Poland Street
Poland Street has Poland as its toponym
Poland Street
action filter_type
action find_reverse
entity Poland
relation named after
type road
[{'concept': 'road'}, 'named after', 'Poland']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Poland . ?v rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188363
P1344
Q15275719
USER
What did Yugoslavia national football team participate in ?
(Q188363,P1344,c(Q15275719))
action filter_type
action find
entity Q188363
relation P1344
type Q15275719
['Q188363', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?v WHERE { resource:Q188363 property:P1344 ?v . ?v rdf:type ontology:Q15275719 }
Yugoslavia national football team
action filter_type
action find
entity Yugoslavia national football team
relation participant of
type recurring event
['Yugoslavia national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?v WHERE { resource:Yugoslavia_national_football_team property:participant_of ?v . ?v rdf:type ontology:recurring_event }
[]
recurring event
Q46934 Q101730 Q132529
SYSTEM
1982 FIFA World Cup, 1998 FIFA World Cup, 1990 FIFA World Cup
Q46934 Q166121 Q48432 Q132515 Q132529 Q131075 Q132533 Q101730 Q160813
(Q188363,P1344,c(Q15275719))
action filter_type
action find
entity Q188363
relation P1344
type Q15275719
Yugoslavia national football team participated in [ANSWERS]
['Q188363', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?v WHERE { resource:Q188363 property:P1344 ?v . ?v rdf:type ontology:Q15275719 }
1982 FIFA World Cup 1974 FIFA World Cup 1930 FIFA World Cup 1950 FIFA World Cup 1990 FIFA World Cup 1954 FIFA World Cup 1958 FIFA World Cup 1998 FIFA World Cup 1962 FIFA World Cup
Yugoslavia national football team participated in 1982 FIFA World Cup, 1998 FIFA World Cup and 1990 FIFA World Cup
1982 FIFA World Cup 1998 FIFA World Cup 1990 FIFA World Cup
action filter_type
action find
entity Yugoslavia national football team
relation participant of
type recurring event
['Yugoslavia national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?v WHERE { resource:Yugoslavia_national_football_team property:participant_of ?v . ?v rdf:type ontology:recurring_event }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2704110
Q15275719
USER
And what about Arcadio López?
(Q2704110,P1344,c(Q15275719))
action filter_type
action find
entity Q2704110
relation P1344
type Q15275719
['Q2704110', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?q WHERE { resource:Q2704110 property:P1344 ?q . ?q rdf:type ontology:Q15275719 }
Arcadio López
action filter_type
action find
entity Arcadio López
relation participant of
type recurring event
['Arcadio López', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?q WHERE { resource:Arcadio_López property:participant_of ?q . ?q rdf:type ontology:recurring_event }
[]
recurring event
Q1477177
SYSTEM
1934 FIFA World Cup
Q1477177
(Q2704110,P1344,c(Q15275719))
action filter_type
action find
entity Q2704110
relation P1344
type Q15275719
[ANSWER]
['Q2704110', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?q WHERE { resource:Q2704110 property:P1344 ?q . ?q rdf:type ontology:Q15275719 }
1934 FIFA World Cup
1934 FIFA World Cup
action filter_type
action find
entity Arcadio López
relation participant of
type recurring event
['Arcadio López', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?q WHERE { resource:Arcadio_López property:participant_of ?q . ?q rdf:type ontology:recurring_event }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P664
Q43229 Q618123 Q15275719
USER
Which recurring events did approximately the same number of organizations and geographical objects serve as the organizer for as that recurring event ?
(c(Q15275719),P664,c(Q43229)|c(Q618123))
action approx
action union
action find_tuple_counts
relation P664
type Q15275719
type Q43229
action find_tuple_counts
relation P664
type Q15275719
type Q618123
action count
action filter_multi_types
action find
entity Q1477177
relation P664
type Q43229
type Q618123
[{'concept': 'Q15275719'}, 'P664', [{'concept': 'Q43229'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?c WHERE { VALUES ( ?z ) { ( ontology:Q43229 ) ( ontology:Q618123 ) } . ?o rdf:type ?z } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q1477177 property:P664 ?a . { { ?a rdf:type ontology:Q43229 } UNION { ?a rdf:type ontology:Q618123 } } } } . FILTER ( ?b = ?w ) }
action approx
action union
action find_tuple_counts
relation organizer
type recurring event
type organization
action find_tuple_counts
relation organizer
type recurring event
type geographical object
action count
action filter_multi_types
action find
entity 1934 FIFA World Cup
relation organizer
type organization
type geographical object
[{'concept': 'recurring event'}, 'organizer', [{'concept': 'organization'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?c WHERE { VALUES ( ?z ) { ( ontology:organization ) ( ontology:geographical_object ) } . ?o rdf:type ?z } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:1934_FIFA_World_Cup property:organizer ?a . { { ?a rdf:type ontology:organization } UNION { ?a rdf:type ontology:geographical_object } } } } . FILTER ( ?b = ?w ) }
[]
organization geographical object recurring event
SYSTEM
12
Q203254 Q188517 Q171784 Q203968 Q200794 Q203329 Q207889 Q203245 Q204010 Q6015709 Q199924 Q203975
(c(Q15275719),P664,c(Q43229)|c(Q618123))
action approx
action union
action find_tuple_counts
relation P664
type Q15275719
type Q43229
action find_tuple_counts
relation P664
type Q15275719
type Q618123
action count
action filter_multi_types
action find
entity Q1477177
relation P664
type Q43229
type Q618123
[ANSWER]
[{'concept': 'Q15275719'}, 'P664', [{'concept': 'Q43229'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?c WHERE { VALUES ( ?z ) { ( ontology:Q43229 ) ( ontology:Q618123 ) } . ?o rdf:type ?z } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q1477177 property:P664 ?a . { { ?a rdf:type ontology:Q43229 } UNION { ?a rdf:type ontology:Q618123 } } } } . FILTER ( ?b = ?w ) }
Eurovision Song Contest 1962 Eurovision Song Contest 1958 Eurovision Song Contest 1956 Eurovision Song Contest 1963 Eurovision Song Contest 1961 Eurovision Song Contest 1969 Eurovision Song Contest 1966 Eurovision Song Contest 1960 Eurovision Song Contest 1968 Eurovision Song Contest 2016 Eurovision Song Contest 1959 Eurovision Song Contest 1965
12
action approx
action union
action find_tuple_counts
relation organizer
type recurring event
type organization
action find_tuple_counts
relation organizer
type recurring event
type geographical object
action count
action filter_multi_types
action find
entity 1934 FIFA World Cup
relation organizer
type organization
type geographical object
[{'concept': 'recurring event'}, 'organizer', [{'concept': 'organization'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?c WHERE { VALUES ( ?z ) { ( ontology:organization ) ( ontology:geographical_object ) } . ?o rdf:type ?z } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:1934_FIFA_World_Cup property:organizer ?a . { { ?a rdf:type ontology:organization } UNION { ?a rdf:type ontology:geographical_object } } } } . FILTER ( ?b = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22703
P36
Q13220204
USER
Which administrative country subdivisions have Forbach as their administrative centre ?
(c(Q13220204),P36,Q22703)
action filter_type
action find_reverse
entity Q22703
relation P36
type Q13220204
[{'concept': 'Q13220204'}, 'P36', 'Q22703']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q22703 . ?x rdf:type ontology:Q13220204 }
Forbach
action filter_type
action find_reverse
entity Forbach
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Forbach']
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Forbach . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1116732 Q19606497
SYSTEM
arrondissement of Forbach, arrondissement of Forbach-Boulay-Moselle
Q1116732 Q19606497
(c(Q13220204),P36,Q22703)
action filter_type
action find_reverse
entity Q22703
relation P36
type Q13220204
And [ANSWERS] have Forbach as their administrative centre
[{'concept': 'Q13220204'}, 'P36', 'Q22703']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q22703 . ?x rdf:type ontology:Q13220204 }
arrondissement of Forbach arrondissement of Forbach-Boulay-Moselle
And arrondissement of Forbach and arrondissement of Forbach-Boulay-Moselle have Forbach as their administrative centre
arrondissement of Forbach arrondissement of Forbach-Boulay-Moselle
action filter_type
action find_reverse
entity Forbach
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Forbach']
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Forbach . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]