Simple Question (Direct)
Simple Question
Q661588
P641
Q349
USER
Which sport was Gustav Roller a part of ?
(Q661588,P641,c(Q349))
action filter_type
action find
entity Q661588
relation P641
type Q349
['Q661588', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q661588 property:P641 ?s }
Gustav Roller
action filter_type
action find
entity Gustav Roller
relation sport
type sport
['Gustav Roller', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Gustav_Roller property:sport ?s }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q661588,P641,c(Q349))
action filter_type
action find
entity Q661588
relation P641
type Q349
Which sport was Gustav Roller a part of
['Q661588', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q661588 property:P641 ?s }
association football
Which sport was Gustav Roller a part of
association football
action filter_type
action find
entity Gustav Roller
relation sport
type sport
['Gustav Roller', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Gustav_Roller property:sport ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q661588
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q661588
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1194951 . resource:Q661588 property:P54 ?z }
Gustav Roller
action filter_type
action find
entity Gustav Roller
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:national_sports_team . resource:Gustav_Roller property:member_of_sports_team ?z }
[]
national sports team
Q43310
SYSTEM
Germany national football team
Q43310
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q661588
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1194951 . resource:Q661588 property:P54 ?z }
Germany national football team
That person a member of is the Germany national football team
Germany national football team
action filter_type
action find
entity Gustav Roller
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:national_sports_team . resource:Gustav_Roller property:member_of_sports_team ?z }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12325795 Q661588
P27
Q1048835
USER
Which political territories are Gustav Roller or Majse Aymo-Boot an inhabitant of ?
OR((Q661588,P27,c(Q1048835)), (Q12325795,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q661588
relation P27
action find
entity Q12325795
relation P27
type Q1048835
{'OR': [['Q661588', 'P27', {'concept': 'Q1048835'}], ['Q12325795', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q12325795 property:P27 ?c } UNION { resource:Q661588 property:P27 ?c } } . ?c rdf:type ontology:Q1048835 }
Majse Aymo-Boot Gustav Roller
action filter_type
action union
action find
entity Gustav Roller
relation country of citizenship
action find
entity Majse Aymo-Boot
relation country of citizenship
type political territorial entity
{'OR': [['Gustav Roller', 'country of citizenship', {'concept': 'political territorial entity'}], ['Majse Aymo-Boot', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Majse_Aymo-Boot property:country_of_citizenship ?c } UNION { resource:Gustav_Roller property:country_of_citizenship ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q661588,P27,c(Q1048835)), (Q12325795,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q661588
relation P27
action find
entity Q12325795
relation P27
type Q1048835
[ANSWERS] are Gustav Roller or Majse Aymo-Boot an inhabitant of
{'OR': [['Q661588', 'P27', {'concept': 'Q1048835'}], ['Q12325795', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q12325795 property:P27 ?c } UNION { resource:Q661588 property:P27 ?c } } . ?c rdf:type ontology:Q1048835 }
Germany Denmark
Germany and Denmark are Gustav Roller or Majse Aymo-Boot an inhabitant of
Germany Denmark
action filter_type
action union
action find
entity Gustav Roller
relation country of citizenship
action find
entity Majse Aymo-Boot
relation country of citizenship
type political territorial entity
{'OR': [['Gustav Roller', 'country of citizenship', {'concept': 'political territorial entity'}], ['Majse Aymo-Boot', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Majse_Aymo-Boot property:country_of_citizenship ?c } UNION { resource:Gustav_Roller property:country_of_citizenship ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4449955
P495
Q838948
USER
Did Devil's Pass originate in those political territories ?
(Q4449955,P495,Q183) (Q4449955,P495,Q35)
action is_in
entity prev_answer
action find
entity Q4449955
relation P495
['Q4449955', 'P495', 'Q183'] ['Q4449955', 'P495', 'Q35']
ASK WHERE { resource:Q4449955 property:P495 ?y . VALUES ( ?y ) { ( resource:Q183 ) ( resource:Q35 ) } }
Devil's Pass
action is_in
entity prev_answer
action find
entity Devil's Pass
relation country of origin
["Devil's Pass", 'country of origin', 'Germany'] ["Devil's Pass", 'country of origin', 'Denmark']
ASK WHERE { resource:Devil's_Pass property:country_of_origin ?y . VALUES ( ?y ) { ( resource:Germany ) ( resource:Denmark ) } }
[]
work of art
SYSTEM
NO
(Q4449955,P495,Q183) (Q4449955,P495,Q35)
action is_in
entity prev_answer
action find
entity Q4449955
relation P495
[ANSWER]
['Q4449955', 'P495', 'Q183'] ['Q4449955', 'P495', 'Q35']
ASK WHERE { resource:Q4449955 property:P495 ?y . VALUES ( ?y ) { ( resource:Q183 ) ( resource:Q35 ) } }
No
action is_in
entity prev_answer
action find
entity Devil's Pass
relation country of origin
["Devil's Pass", 'country of origin', 'Germany'] ["Devil's Pass", 'country of origin', 'Denmark']
ASK WHERE { resource:Devil's_Pass property:country_of_origin ?y . VALUES ( ?y ) { ( resource:Germany ) ( resource:Denmark ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q35 Q4451788 Q183
P47
Q1048835
USER
Does Denmark share border with Tarasivka and Germany ?
(Q35,P47,Q4451788) (Q35,P47,Q183)
action is_in
entity Q35
action intersection
action find_reverse
entity Q4451788
relation P47
action find_reverse
entity Q183
relation P47
['Q35', 'P47', 'Q4451788'] ['Q35', 'P47', 'Q183']
ASK WHERE { resource:Q35 property:P47 resource:Q4451788 . resource:Q35 property:P47 resource:Q183 }
Denmark Tarasivka Germany
action is_in
entity Denmark
action intersection
action find_reverse
entity Tarasivka
relation shares border with
action find_reverse
entity Germany
relation shares border with
['Denmark', 'shares border with', 'Tarasivka'] ['Denmark', 'shares border with', 'Germany']
ASK WHERE { resource:Denmark property:shares_border_with resource:Tarasivka . resource:Denmark property:shares_border_with resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q35,P47,Q4451788) (Q35,P47,Q183)
action is_in
entity Q35
action intersection
action find_reverse
entity Q4451788
relation P47
action find_reverse
entity Q183
relation P47
[ANSWER]
['Q35', 'P47', 'Q4451788'] ['Q35', 'P47', 'Q183']
ASK WHERE { resource:Q35 property:P47 resource:Q4451788 . resource:Q35 property:P47 resource:Q183 }
NO and YES respectively
action is_in
entity Denmark
action intersection
action find_reverse
entity Tarasivka
relation shares border with
action find_reverse
entity Germany
relation shares border with
['Denmark', 'shares border with', 'Tarasivka'] ['Denmark', 'shares border with', 'Germany']
ASK WHERE { resource:Denmark property:shares_border_with resource:Tarasivka . resource:Denmark property:shares_border_with resource:Germany }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q183
P122
Q4164871 Q7275 Q1048835
USER
Which political territories have more number of positions or states as the form of government than Germany ?
(c(Q1048835),P122,c(Q4164871)|c(Q7275))
action greater
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action count
action filter_multi_types
action find
entity Q183
relation P122
type Q4164871
type Q7275
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?m WHERE { VALUES ( ?h ) { ( ontology:Q4164871 ) ( ontology:Q7275 ) } . ?q rdf:type ?h } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q183 property:P122 ?z . { { ?z rdf:type ontology:Q4164871 } UNION { ?z rdf:type ontology:Q7275 } } } } . FILTER ( ?n > ?g ) }
Germany
action greater
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action count
action filter_multi_types
action find
entity Germany
relation basic form of government
type position
type state
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'state'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?m WHERE { VALUES ( ?h ) { ( ontology:position ) ( ontology:state ) } . ?q rdf:type ?h } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Germany property:basic_form_of_government ?z . { { ?z rdf:type ontology:position } UNION { ?z rdf:type ontology:state } } } } . FILTER ( ?n > ?g ) }
[]
position state political territorial entity
Q641138 Q468378 Q129286
SYSTEM
Duchy of Cleves, County of Hoya, British Raj
Q641138 Q468378 Q129286
(c(Q1048835),P122,c(Q4164871)|c(Q7275))
action greater
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action count
action filter_multi_types
action find
entity Q183
relation P122
type Q4164871
type Q7275
[ANSWERS] have more number of positions or states as the form of government than Germany
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?m WHERE { VALUES ( ?h ) { ( ontology:Q4164871 ) ( ontology:Q7275 ) } . ?q rdf:type ?h } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q183 property:P122 ?z . { { ?z rdf:type ontology:Q4164871 } UNION { ?z rdf:type ontology:Q7275 } } } } . FILTER ( ?n > ?g ) }
Duchy of Cleves County of Hoya British Raj
Duchy of Cleves, County of Hoya and British Raj have more number of positions or states as the form of government than Germany
Duchy of Cleves County of Hoya British Raj
action greater
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action count
action filter_multi_types
action find
entity Germany
relation basic form of government
type position
type state
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'state'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?m WHERE { VALUES ( ?h ) { ( ontology:position ) ( ontology:state ) } . ?q rdf:type ?h } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Germany property:basic_form_of_government ?z . { { ?z rdf:type ontology:position } UNION { ?z rdf:type ontology:state } } } } . FILTER ( ?n > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q223793
P122
Q4164871 Q7275 Q1048835
USER
And what about Kingdom of Etruria?
(c(Q1048835),P122,c(Q4164871)|c(Q7275))
action greater
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action count
action filter_multi_types
action find
entity Q223793
relation P122
type Q4164871
type Q7275
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?t ) WHERE { { ?n rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q4164871 . ?n property:P122 ?y } UNION { ?n property:P122 ?y . ?n rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7275 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q223793 property:P122 ?r . { VALUES ( ?k ) { ( ontology:Q7275 ) ( ontology:Q4164871 ) } . ?r rdf:type ?k } } } . FILTER ( ?t > ?l ) }
Kingdom of Etruria
action greater
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action count
action filter_multi_types
action find
entity Kingdom of Etruria
relation basic form of government
type position
type state
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'state'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?t ) WHERE { { ?n rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:position . ?n property:basic_form_of_government ?y } UNION { ?n property:basic_form_of_government ?y . ?n rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:state } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Kingdom_of_Etruria property:basic_form_of_government ?r . { VALUES ( ?k ) { ( ontology:state ) ( ontology:position ) } . ?r rdf:type ?k } } } . FILTER ( ?t > ?l ) }
[]
position state political territorial entity
Q641138 Q468378 Q129286
SYSTEM
Duchy of Cleves, County of Hoya, British Raj
Q641138 Q468378 Q129286
(c(Q1048835),P122,c(Q4164871)|c(Q7275))
action greater
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action count
action filter_multi_types
action find
entity Q223793
relation P122
type Q4164871
type Q7275
[ANSWERS]
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?t ) WHERE { { ?n rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q4164871 . ?n property:P122 ?y } UNION { ?n property:P122 ?y . ?n rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7275 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q223793 property:P122 ?r . { VALUES ( ?k ) { ( ontology:Q7275 ) ( ontology:Q4164871 ) } . ?r rdf:type ?k } } } . FILTER ( ?t > ?l ) }
Duchy of Cleves County of Hoya British Raj
Duchy of Cleves County of Hoya British Raj
action greater
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action count
action filter_multi_types
action find
entity Kingdom of Etruria
relation basic form of government
type position
type state
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'state'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?t ) WHERE { { ?n rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:position . ?n property:basic_form_of_government ?y } UNION { ?n property:basic_form_of_government ?y . ?n rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:state } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Kingdom_of_Etruria property:basic_form_of_government ?r . { VALUES ( ?k ) { ( ontology:state ) ( ontology:position ) } . ?r rdf:type ?k } } } . FILTER ( ?t > ?l ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P85
Q484692 Q7725634 Q1048835
USER
Which political territories have less number of hymns or literary works as their national anthem than that political territory ?
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?i ) { ( ?y ) ( ?x ) } . ?z property:Q541947 ?i } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q484692 . ?x rdf:type ontology:Q7725634 }
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?i ) { ( ?y ) ( ?x ) } . ?z property:anthem ?i } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:hymn . ?x rdf:type ontology:literary_work }
[]
hymn literary work political territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q468378
SYSTEM
Did you mean County of Hoya ?
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?i ) { ( ?y ) ( ?x ) } . ?z property:Q541947 ?i } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q484692 . ?x rdf:type ontology:Q7725634 }
Did you mean County of Hoya ?
County of Hoya
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?i ) { ( ?y ) ( ?x ) } . ?z property:anthem ?i } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:hymn . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
USER
No, I meant British Raj. Could you tell me the answer for that?
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
Q129286
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
[]
SYSTEM
1
Q1785790
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q541947 ?y } UNION { ?z property:Q541947 ?x } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q484692 . ?x rdf:type ontology:Q7725634 }
Selbach, Rio Grande do Sul
1
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:anthem ?y } UNION { ?z property:anthem ?x } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:hymn . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q170566
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams contested in around the same number of recurring events and sport competitions as Japan 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 Q170566
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P1923 resource:Q170566 . { VALUES ( ?z ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?l rdf:type ?z } } } . FILTER ( ?a = ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?s WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?s } }
Japan 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 Japan 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 ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:participating_teams resource:Japan_national_football_team . { VALUES ( ?z ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?l rdf:type ?z } } } . FILTER ( ?a = ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?s WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?s } }
[]
national sports team recurring event sport competition
Q47050 Q172025 Q163534
SYSTEM
Netherlands national football team, Chile national football team, Austria 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 Q172025 Q172020 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q134479 Q191595 Q47050 Q21130170 Q181903 Q189275 Q175309 Q152424 Q207337 Q181190 Q163534 Q188363 Q186243 Q131785 Q184387 Q168397 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 Q170566
relation P1923
type Q15275719
type Q13406554
[ANSWERS] contested in around the same number of recurring events and sport competitions as Japan national football team
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P1923 resource:Q170566 . { VALUES ( ?z ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?l rdf:type ?z } } } . FILTER ( ?a = ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?s WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?s } }
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 Chile 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 Netherlands 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 Austria national football team Yugoslavia national football team Iraq national football team Denmark national football team Norway national football team Romania 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
Netherlands national football team, Chile national football team and Austria national football team contested in around the same number of recurring events and sport competitions as Japan national football team
Netherlands national football team Chile national football team Austria 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 Japan 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 ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:participating_teams resource:Japan_national_football_team . { VALUES ( ?z ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?l rdf:type ?z } } } . FILTER ( ?a = ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?s WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q175145
P1923
Q1194951 Q15275719 Q13406554
USER
And what about Ivory Coast 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 Q175145
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?q ) WHERE { { ?b rdf:type ontology:Q1194951 . ?s rdf:type ontology:Q13406554 . ?s property:P1923 ?b } UNION { ?s property:P1923 ?b . ?s rdf:type ontology:Q15275719 . ?b rdf:type ontology:Q1194951 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:P1923 resource:Q175145 . { { ?h rdf:type ontology:Q15275719 } UNION { ?h rdf:type ontology:Q13406554 } } } } . FILTER ( ?q = ?g ) }
Ivory Coast 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 Ivory Coast 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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?q ) WHERE { { ?b rdf:type ontology:national_sports_team . ?s rdf:type ontology:sport_competition . ?s property:participating_teams ?b } UNION { ?s property:participating_teams ?b . ?s rdf:type ontology:recurring_event . ?b rdf:type ontology:national_sports_team } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:participating_teams resource:Ivory_Coast_national_football_team . { { ?h rdf:type ontology:recurring_event } UNION { ?h rdf:type ontology:sport_competition } } } } . FILTER ( ?q = ?g ) }
[]
national sports team recurring event sport competition
Q34044 Q189275 Q175309
SYSTEM
Scotland national football team, Soviet Union national football team, Cameroon 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 Q726080 Q27971 Q170403 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q134479 Q191595 Q21130170 Q181903 Q189275 Q175309 Q152424 Q207337 Q181190 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 Q175145
relation P1923
type Q15275719
type Q13406554
[ANSWERS]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?q ) WHERE { { ?b rdf:type ontology:Q1194951 . ?s rdf:type ontology:Q13406554 . ?s property:P1923 ?b } UNION { ?s property:P1923 ?b . ?s rdf:type ontology:Q15275719 . ?b rdf:type ontology:Q1194951 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:P1923 resource:Q175145 . { { ?h rdf:type ontology:Q15275719 } UNION { ?h rdf:type ontology:Q13406554 } } } } . FILTER ( ?q = ?g ) }
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 Russia national football team Tunisia national football team Ukraine 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 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
Scotland national football team Soviet Union national football team Cameroon 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 Ivory Coast 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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?q ) WHERE { { ?b rdf:type ontology:national_sports_team . ?s rdf:type ontology:sport_competition . ?s property:participating_teams ?b } UNION { ?s property:participating_teams ?b . ?s rdf:type ontology:recurring_event . ?b rdf:type ontology:national_sports_team } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:participating_teams resource:Ivory_Coast_national_football_team . { { ?h rdf:type ontology:recurring_event } UNION { ?h rdf:type ontology:sport_competition } } } } . FILTER ( ?q = ?g ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1033 Q183
P27
Q502895
USER
Which people are a native of Germany and Nigeria ?
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q1033))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q1033
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q1033']]}
SELECT DISTINCT ?v WHERE { ?v property:P27 resource:Q1033 . ?v property:P27 resource:Q183 . ?v rdf:type ontology:Q502895 }
Nigeria Germany
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Nigeria
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Nigeria']]}
SELECT DISTINCT ?v WHERE { ?v property:country_of_citizenship resource:Nigeria . ?v property:country_of_citizenship resource:Germany . ?v rdf:type ontology:common_name }
[]
common name
Q544563 Q3724113 Q819552 Q317785 Q16194846 Q780733 Q321276 Q25343688 Q77165 Q509422
SYSTEM
Some of them are Chinedu Ede, Emeka Erege, Robin Udegbe, Pascal Ojigwe, Ugonna Okegwo, Austen Peter Brandt, Echendu Adiele, Moses Odion Dickson, Ademola Okulaja, Leon Balogun
Q111714 Q819552 Q317785 Q780733 Q323938 Q25343688 Q509422 Q544563 Q77165 Q291431 Q321276 Q96217 Q16194846 Q3724113
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q1033))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q1033
relation P27
type Q502895
[ANSWERS] are a native of Germany and Nigeria
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q1033']]}
SELECT DISTINCT ?v WHERE { ?v property:P27 resource:Q1033 . ?v property:P27 resource:Q183 . ?v rdf:type ontology:Q502895 }
Adebowale Ogungbure Robin Udegbe Pascal Ojigwe Austen Peter Brandt Moses Lamidi Moses Odion Dickson Leon Balogun Chinedu Ede Ademola Okulaja Nneka Echendu Adiele Darlington Omodiagbe Ugonna Okegwo Emeka Erege
Chinedu Ede, Emeka Erege, Robin Udegbe, Pascal Ojigwe, Ugonna Okegwo, Austen Peter Brandt, Echendu Adiele, Moses Odion Dickson, Ademola Okulaja and Leon Balogun are a native of Germany and Nigeria
Chinedu Ede Emeka Erege Robin Udegbe Pascal Ojigwe Ugonna Okegwo Austen Peter Brandt Echendu Adiele Moses Odion Dickson Ademola Okulaja Leon Balogun
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Nigeria
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Nigeria']]}
SELECT DISTINCT ?v WHERE { ?v property:country_of_citizenship resource:Nigeria . ?v property:country_of_citizenship resource:Germany . ?v rdf:type ontology:common_name }
[]