Simple Question (Direct)
Simple Question
Q3327783
P54
Q1194951
USER
What is Muna Katupose a member of ?
(Q3327783,P54,c(Q1194951))
action filter_type
action find
entity Q3327783
relation P54
type Q1194951
['Q3327783', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { resource:Q3327783 property:P54 ?m . ?m rdf:type ontology:Q1194951 }
Muna Katupose
action filter_type
action find
entity Muna Katupose
relation member of sports team
type national sports team
['Muna Katupose', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { resource:Muna_Katupose property:member_of_sports_team ?m . ?m rdf:type ontology:national_sports_team }
[]
national sports team
Q328687
SYSTEM
Namibia national football team
Q328687
(Q3327783,P54,c(Q1194951))
action filter_type
action find
entity Q3327783
relation P54
type Q1194951
[ANSWER]
['Q3327783', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { resource:Q3327783 property:P54 ?m . ?m rdf:type ontology:Q1194951 }
Namibia national football team
Namibia national football team
action filter_type
action find
entity Muna Katupose
relation member of sports team
type national sports team
['Muna Katupose', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { resource:Muna_Katupose property:member_of_sports_team ?m . ?m rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3327783
P19
Q56061
USER
Which administrative territory is the birthplace of Muna Katupose ?
(Q3327783,P19,c(Q56061))
action filter_type
action find
entity Q3327783
relation P19
type Q56061
['Q3327783', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3327783 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Muna Katupose
action filter_type
action find
entity Muna Katupose
relation place of birth
type administrative territorial entity
['Muna Katupose', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Muna_Katupose property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1024089
SYSTEM
Opuwo
Q1024089
(Q3327783,P19,c(Q56061))
action filter_type
action find
entity Q3327783
relation P19
type Q56061
[ANSWER]
['Q3327783', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3327783 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Opuwo
Opuwo
action filter_type
action find
entity Muna Katupose
relation place of birth
type administrative territorial entity
['Muna Katupose', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Muna_Katupose property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3568360
Q56061
USER
And also tell me about Willem van Hasselt?
(Q3568360,P19,c(Q56061))
action filter_type
action find
entity Q3568360
relation P19
type Q56061
['Q3568360', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3568360 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Willem van Hasselt
action filter_type
action find
entity Willem van Hasselt
relation place of birth
type administrative territorial entity
['Willem van Hasselt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Willem_van_Hasselt property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34370
SYSTEM
Rotterdam
Q34370
(Q3568360,P19,c(Q56061))
action filter_type
action find
entity Q3568360
relation P19
type Q56061
[ANSWER]
['Q3568360', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3568360 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Rotterdam
Rotterdam
action filter_type
action find
entity Willem van Hasselt
relation place of birth
type administrative territorial entity
['Willem van Hasselt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Willem_van_Hasselt property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1242237 Q3568360
P19 P27
Q15617994
USER
Which administrative territories are Willem van Hasselt an inhabitant of or were Eddy Perrin born at ?
OR((Q3568360,P27,c(Q15617994)), (Q1242237,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3568360
relation P27
action find
entity Q1242237
relation P19
type Q15617994
{'OR': [['Q3568360', 'P27', {'concept': 'Q15617994'}], ['Q1242237', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3568360 property:P27 ?d } UNION { resource:Q1242237 property:P19 ?d } } . ?d rdf:type ontology:Q15617994 }
Eddy Perrin Willem van Hasselt
action filter_type
action union
action find
entity Willem van Hasselt
relation country of citizenship
action find
entity Eddy Perrin
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Willem van Hasselt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Eddy Perrin', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Willem_van_Hasselt property:country_of_citizenship ?d } UNION { resource:Eddy_Perrin property:place_of_birth ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q29999 Q3367
SYSTEM
France, Kingdom of the Netherlands, Aosta
Q142 Q29999 Q3367
OR((Q3568360,P27,c(Q15617994)), (Q1242237,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3568360
relation P27
action find
entity Q1242237
relation P19
type Q15617994
[ANSWERS]
{'OR': [['Q3568360', 'P27', {'concept': 'Q15617994'}], ['Q1242237', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3568360 property:P27 ?d } UNION { resource:Q1242237 property:P19 ?d } } . ?d rdf:type ontology:Q15617994 }
France Kingdom of the Netherlands Aosta
France Kingdom of the Netherlands Aosta
action filter_type
action union
action find
entity Willem van Hasselt
relation country of citizenship
action find
entity Eddy Perrin
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Willem van Hasselt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Eddy Perrin', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Willem_van_Hasselt property:country_of_citizenship ?d } UNION { resource:Eddy_Perrin property:place_of_birth ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2007
P840
Q15617994 Q2342494 Q166142
USER
Which administrative territories are the narrative locations of more number of collectables and applications than Northwest Territories ?
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q2007
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?c WHERE { { ?s property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q2342494 } UNION { ?s property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q166142 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:P840 resource:Q2007 . { { ?g rdf:type ontology:Q2342494 } UNION { ?g rdf:type ontology:Q166142 } } } } . FILTER ( ?i > ?y ) }
Northwest Territories
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Northwest Territories
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?c WHERE { { ?s property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:collectable } UNION { ?s property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:application } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:narrative_location resource:Northwest_Territories . { { ?g rdf:type ontology:collectable } UNION { ?g rdf:type ontology:application } } } } . FILTER ( ?i > ?y ) }
[]
designation for an administrative territorial entity collectable application
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q668 Q414 Q142 Q55 Q148 Q399 Q1979 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q881 Q858 Q33 Q32 Q31 Q30 Q38 Q29 Q843 Q227 Q96 Q17 Q298 Q750 Q79 Q869
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q2007
relation P840
type Q2342494
type Q166142
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?c WHERE { { ?s property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q2342494 } UNION { ?s property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q166142 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:P840 resource:Q2007 . { { ?g rdf:type ontology:Q2342494 } UNION { ?g rdf:type ontology:Q166142 } } } } . FILTER ( ?i > ?y ) }
Yemen India Argentina France Netherlands People's Republic of China Armenia Prince Edward Island Russia Turkey Greece Brazil Iraq Iran Afghanistan Vietnam Syria Finland Luxembourg Belgium United States of America Italy Spain Pakistan Azerbaijan Mexico Japan Chile Bolivia Egypt Thailand
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Northwest Territories
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?c WHERE { { ?s property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:collectable } UNION { ?s property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:application } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:narrative_location resource:Northwest_Territories . { { ?g rdf:type ontology:collectable } UNION { ?g rdf:type ontology:application } } } } . FILTER ( ?i > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q230
P840
Q15617994 Q2342494 Q166142
USER
And also tell me about Georgia?
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q230
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?b > ?s ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P840 resource:Q230 . { VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?y rdf:type ?g } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?p WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?p } }
Georgia
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Georgia
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?b > ?s ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:narrative_location resource:Georgia . { VALUES ( ?g ) { ( ontology:collectable ) ( ontology:application ) } . ?y rdf:type ?g } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?p WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?p } }
[]
designation for an administrative territorial entity collectable application
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q20837 Q668 Q414 Q142 Q55 Q1948 Q145 Q148 Q712 Q399 Q1979 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q881 Q858 Q33 Q32 Q31 Q30 Q38 Q739 Q424 Q851 Q854 Q1045 Q29 Q2009 Q843 Q2007 Q227 Q96 Q17 Q298 Q750 Q212 Q79 Q817 Q869
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q230
relation P840
type Q2342494
type Q166142
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?b > ?s ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P840 resource:Q230 . { VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?y rdf:type ?g } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?p WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?p } }
Yemen Fanø India Argentina France Netherlands Manitoba United Kingdom People's Republic of China Fiji Armenia Prince Edward Island Russia Turkey Greece Brazil Iraq Iran Afghanistan Vietnam Syria Finland Luxembourg Belgium United States of America Italy Colombia Cambodia Saudi Arabia Sri Lanka Somalia Spain Yukon Pakistan Northwest Territories Azerbaijan Mexico Japan Chile Bolivia Ukraine Egypt Kuwait Thailand
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Georgia
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?b > ?s ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:narrative_location resource:Georgia . { VALUES ( ?g ) { ( ontology:collectable ) ( ontology:application ) } . ?y rdf:type ?g } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?p WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?p } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q15416
USER
Which administrative territories are the countries of origin of more number of releases and television programs than that administrative territory ?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity release television program
Comparative|More/Less|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean United States of America ?
United States of America
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
Q155
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q30 Q142
SYSTEM
Italy, United States of America, France
Q668 Q142 Q145 Q884 Q30 Q928 Q38 Q96 Q17
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[ANSWERS]
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
India France United Kingdom South Korea United States of America Philippines Italy Mexico Japan
Italy United States of America France
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q206828
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams competed in greater number of recurring events or sport competitions than Kuwait national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action greater
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 Q206828
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { { ?a rdf:type ontology:Q15275719 } UNION { ?a rdf:type ontology:Q13406554 } } . ?a property:P1923 resource:Q206828 } } . FILTER ( ?e > ?n ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?d WHERE { { ?w property:P1923 ?d . ?w rdf:type ontology:Q13406554 . ?d rdf:type ontology:Q1194951 } UNION { ?w property:P1923 ?d . ?w rdf:type ontology:Q15275719 . ?d rdf:type ontology:Q1194951 } } GROUP BY ?d } }
Kuwait national football team
action greater
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 Kuwait 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 ?d WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { { ?a rdf:type ontology:recurring_event } UNION { ?a rdf:type ontology:sport_competition } } . ?a property:participating_teams resource:Kuwait_national_football_team } } . FILTER ( ?e > ?n ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?d WHERE { { ?w property:participating_teams ?d . ?w rdf:type ontology:sport_competition . ?d rdf:type ontology:national_sports_team } UNION { ?w property:participating_teams ?d . ?w rdf:type ontology:recurring_event . ?d rdf:type ontology:national_sports_team } } GROUP BY ?d } }
[]
national sports team recurring event sport competition
Q166196 Q43310 Q83459
SYSTEM
Poland national football team, Germany national football team, Brazil national football team
Q170327 Q212166 Q34044 Q174512 Q193386 Q172014 Q180187 Q188228 Q190978 Q43310 Q212564 Q180845 Q987584 Q267245 Q166776 Q160826 Q180857 Q543842 Q726080 Q27971 Q170403 Q170561 Q172025 Q172020 Q170566 Q268208 Q175315 Q186262 Q194387 Q172221 Q175145 Q134479 Q47050 Q42267 Q181903 Q189275 Q166196 Q83459 Q175309 Q207337 Q164089 Q163534 Q188363 Q131785 Q676899 Q184387 Q168397 Q235399 Q483856 Q165141 Q47774 Q189198 Q28089 Q163547 Q236006 Q182072 Q184602 Q164134 Q14132 Q483868 Q79800 Q134916 Q47762 Q181930 Q189723 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action greater
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 Q206828
relation P1923
type Q15275719
type Q13406554
[ANSWERS]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { { ?a rdf:type ontology:Q15275719 } UNION { ?a rdf:type ontology:Q13406554 } } . ?a property:P1923 resource:Q206828 } } . FILTER ( ?e > ?n ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?d WHERE { { ?w property:P1923 ?d . ?w rdf:type ontology:Q13406554 . ?d rdf:type ontology:Q1194951 } UNION { ?w property:P1923 ?d . ?w rdf:type ontology:Q15275719 . ?d rdf:type ontology:Q1194951 } } GROUP BY ?d } }
South Africa national football team Peru national football team Scotland national football team Slovakia national football team Bolivia national football team Ghana national football team Honduras national football team El Salvador national football team Northern Ireland national football team Germany national football team Colombia national football team Bulgaria national football team Ecuador national football team Portugal national football team Belgium national football team Sweden national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Hungary 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 Albania national football team Costa Rica national football team Slovenia national football team Ivory Coast national football team Croatia national football team Netherlands national football team Spain national football team Algeria national football team Soviet Union national football team Poland national football team Brazil national football team Cameroon national football team Morocco national football team Mexico national football team Austria national football team Yugoslavia national football team Denmark national football team Italy national football team Norway national football team Romania national football team Jamaica national football team Turkey national football team Swiss national football team France national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team Czechoslovakia national football team Iran national football team United States men's national soccer team North Korea national football team Czech Republic national football team Argentina national football team Uruguay national football team England national football team Nigeria national football team Saudi Arabia national football team Greece national football team
Poland national football team Germany national football team Brazil national football team
action greater
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 Kuwait 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 ?d WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { { ?a rdf:type ontology:recurring_event } UNION { ?a rdf:type ontology:sport_competition } } . ?a property:participating_teams resource:Kuwait_national_football_team } } . FILTER ( ?e > ?n ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?d WHERE { { ?w property:participating_teams ?d . ?w rdf:type ontology:sport_competition . ?d rdf:type ontology:national_sports_team } UNION { ?w property:participating_teams ?d . ?w rdf:type ontology:recurring_event . ?d rdf:type ontology:national_sports_team } } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q28275 Q328687
P641
Q349
USER
Which sports did Namibia national football team and 2006–07 Cypriot Cup participate in ?
AND((Q328687,P641,c(Q349)), (Q28275,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q328687
relation P641
action find
entity Q28275
relation P641
type Q349
{'AND': [['Q328687', 'P641', {'concept': 'Q349'}], ['Q28275', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { resource:Q328687 property:P641 ?x . resource:Q28275 property:P641 ?x . ?x rdf:type ontology:Q349 }
2006–07 Cypriot Cup Namibia national football team
action filter_type
action intersection
action find
entity Namibia national football team
relation sport
action find
entity 2006–07 Cypriot Cup
relation sport
type sport
{'AND': [['Namibia national football team', 'sport', {'concept': 'sport'}], ['2006–07 Cypriot Cup', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { resource:Namibia_national_football_team property:sport ?x . resource:2006–07_Cypriot_Cup property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q328687,P641,c(Q349)), (Q28275,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q328687
relation P641
action find
entity Q28275
relation P641
type Q349
[ANSWER]
{'AND': [['Q328687', 'P641', {'concept': 'Q349'}], ['Q28275', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { resource:Q328687 property:P641 ?x . resource:Q28275 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
association football
action filter_type
action intersection
action find
entity Namibia national football team
relation sport
action find
entity 2006–07 Cypriot Cup
relation sport
type sport
{'AND': [['Namibia national football team', 'sport', {'concept': 'sport'}], ['2006–07 Cypriot Cup', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { resource:Namibia_national_football_team property:sport ?x . resource:2006–07_Cypriot_Cup property:sport ?x . ?x rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q2861652
P641
Q502895
USER
Is Arley Ibargüen involved in playing that sport ?
(Q2861652,P641,Q2736)
action is_in
entity Q2861652
action find
entity Q2736
relation P641
['Q2861652', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q2861652 }
association football Arley Ibargüen
action is_in
entity Arley Ibargüen
action find
entity association football
relation sport
['Arley Ibargüen', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Arley_Ibargüen }
[]
common name
SYSTEM
NO
(Q2861652,P641,Q2736)
action is_in
entity Q2861652
action find
entity Q2736
relation P641
[ANSWER]
['Q2861652', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q2861652 }
No
action is_in
entity Arley Ibargüen
action find
entity association football
relation sport
['Arley Ibargüen', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Arley_Ibargüen }
[]