Simple Question (Direct)
Simple Question
Q255431
P21
Q290
USER
What is the sex of John Pearson ?
(Q255431,P21,c(Q290))
action filter_type
action find
entity Q255431
relation P21
type Q290
['Q255431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q255431 property:P21 ?d }
John Pearson
action filter_type
action find
entity John Pearson
relation gender
type sex
['John Pearson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:John_Pearson property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q255431,P21,c(Q290))
action filter_type
action find
entity Q255431
relation P21
type Q290
The sex of John Pearson is a [ANSWER]
['Q255431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q255431 property:P21 ?d }
male
The sex of John Pearson is a male
male
action filter_type
action find
entity John Pearson
relation gender
type sex
['John Pearson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:John_Pearson property:gender ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q255431
P54
Q1194951
USER
What is that person a member of ?
(Q6581097,P54,c(Q1194951))
action filter_type
action find
entity Q255431
relation P54
type Q1194951
['Q6581097', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q255431 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
John Pearson
action filter_type
action find
entity John Pearson
relation member of sports team
type national sports team
['male', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:John_Pearson property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
national sports team
Q47762
SYSTEM
England national football team
Q47762
(Q6581097,P54,c(Q1194951))
action filter_type
action find
entity Q255431
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q6581097', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q255431 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
England national football team
That person a member of is the England national football team
England national football team
action filter_type
action find
entity John Pearson
relation member of sports team
type national sports team
['male', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:John_Pearson property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P466
Q1194951 Q811979
USER
How many national sports teams were the tenants of around the same number of architectural structures as that national sports team ?
(c(Q811979),P466,c(Q1194951))
action count
action approx
action find_reverse_tuple_counts
relation P466
type Q1194951
type Q811979
action count
action filter_type
action find
entity Q47762
relation P466
type Q1194951
[{'concept': 'Q811979'}, 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P466 ?w . ?w rdf:type ontology:Q1194951 . ?n rdf:type ontology:Q811979 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q47762 property:P466 ?x . ?x rdf:type ontology:Q1194951 } } . FILTER ( ?a = ?i ) }
action count
action approx
action find_reverse_tuple_counts
relation occupant
type national sports team
type architectural structure
action count
action filter_type
action find
entity England national football team
relation occupant
type national sports team
[{'concept': 'architectural structure'}, 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:occupant ?w . ?w rdf:type ontology:national_sports_team . ?n rdf:type ontology:architectural_structure } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:England_national_football_team property:occupant ?x . ?x rdf:type ontology:national_sports_team } } . FILTER ( ?a = ?i ) }
[]
national sports team architectural structure
SYSTEM
144
Q270181 Q47233 Q212166 Q244374 Q271753 Q207441 Q189322 Q276076 Q223748 Q657451 Q180187 Q270973 Q318919 Q241353 Q869689 Q221093 Q257411 Q219854 Q255771 Q245153 Q134916 Q218167 Q180845 Q275940 Q242845 Q270666 Q486628 Q459101 Q235910 Q387812 Q318928 Q272097 Q185350 Q318922 Q333490 Q455413 Q170403 Q188791 Q326864 Q267245 Q387301 Q189948 Q166776 Q206350 Q270080 Q160826 Q459119 Q987584 Q386139 Q267972 Q189018 Q183326 Q328318 Q583626 Q543842 Q189275 Q244431 Q244728 Q497637 Q497630 Q170561 Q172025 Q172020 Q327100 Q200688 Q239520 Q186262 Q191406 Q172221 Q330148 Q275933 Q276089 Q191595 Q212206 Q235411 Q42267 Q270168 Q389097 Q166196 Q239549 Q330971 Q83459 Q211733 Q1478243 Q186276 Q192966 Q497989 Q164089 Q455123 Q188228 Q328295 Q387312 Q635433 Q163534 Q241670 Q184266 Q477067 Q365548 Q210460 Q131785 Q477304 Q275698 Q638166 Q729640 Q239555 Q180800 Q168397 Q235399 Q455131 Q47774 Q725543 Q477833 Q330039 Q189198 Q163547 Q876633 Q637831 Q627130 Q184602 Q327769 Q239405 Q1048054 Q483868 Q206830 Q244590 Q239528 Q79800 Q634290 Q47762 Q285708 Q186532 Q477647 Q232731 Q181930 Q275669 Q684531 Q208635 Q3954829 Q478339 Q189723 Q270689 Q319776 Q330125 Q239535
(c(Q811979),P466,c(Q1194951))
action count
action approx
action find_reverse_tuple_counts
relation P466
type Q1194951
type Q811979
action count
action filter_type
action find
entity Q47762
relation P466
type Q1194951
[ANSWER]
[{'concept': 'Q811979'}, 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P466 ?w . ?w rdf:type ontology:Q1194951 . ?n rdf:type ontology:Q811979 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q47762 property:P466 ?x . ?x rdf:type ontology:Q1194951 } } . FILTER ( ?a = ?i ) }
Gambia national football team Dominican Republic national football team Peru national football team Kyrgyzstan national football team Myanmar national football team Senegal national football team Latvia national football team Palestine national football team Panama national football team Indonesia national football team Honduras national football team Timor-Leste national football team American Samoa national football team Mongolia national football team Greenland national football team Lesotho national football team Ethiopia national football team Philippines national football team Equatorial Guinea national football team Niger national football team Uruguay national football team Federated States of Micronesia national football team Bulgaria national football team Jordan national football team Uganda national football team Grenada national football team Turkmenistan national football team Aruba national football team United Arab Emirates national football team Solomon Islands national football team Lebanon national football team Syria national football team San Marino national football team Malaysia national football team Swaziland national football team Belize national football team Ukraine national football team Cyprus national football team Yemen national football team Portugal national football team Liberia national football team Central African Republic national football team Belgium national football team Zambia national football team Congo DR national football team Sweden national football team Chinese Taipei national football team Ecuador national football team Tajikistan national football team Antigua and Barbuda national football team Montenegro national football team Armenia national football team Vanuatu national football team Gibraltar national association football team South Korea national football team Soviet Union national football team Bhutan national football team Tanzania national football team Comoros national football team Anguilla national football team Hungary national football team Chile national football team Paraguay national football team Zimbabwe national football team Faroe Islands national football team Kenya national football team Albania national football team Israel national football team Slovenia national football team Sierra Leone national football team Fiji national football team Libya national football team Togo national football team India national football team Guinea national football team Spain national football team Guatemala national football team Somalia national football team Poland national football team Thailand national football team Nepal national football team Brazil national football team Mali national football team Guernsey official association football team Lithuania national football team Afghanistan national football team Montserrat national football team Mexico national football team Guinea-Bissau national football team El Salvador national football team New Caledonia national football team Maldives national football team Jersey official association football team Austria national football team Bangladesh national football team Luxembourg national football team Mauritania national football team Malawi national football team Bahrain national football team Denmark national football team Madagascar national football team Djibouti national football team Seychelles national football team Curaçao national football team Brunei national football team Azerbaijan national football team Romania national football team Jamaica national football team Eritrea national football team France national football team Kiribati national football team Mauritius national football team Cape Verde national football team Iceland national football team Republic of Ireland national football team Niue national football team Saint Lucia national football team South Sudan men's national association football team Iran national football team Suriname national football team Tahiti national football team Sahrawi national football team Czech Republic national football team Oman national football team Bahamas national football team Singapore national football team Argentina national football team Nauru national soccer team England national football team Macau national football team Finland national football team Papua New Guinea national football team Qatar national football team Nigeria national football team Cook Islands national football team Sint Maarten national football team Canada national soccer team Nagorno-Karabakh national football team Sri Lanka national football team Saudi Arabia national football team Vietnam national football team Rwanda national football team Guyana national football team Benin national football team
144
action count
action approx
action find_reverse_tuple_counts
relation occupant
type national sports team
type architectural structure
action count
action filter_type
action find
entity England national football team
relation occupant
type national sports team
[{'concept': 'architectural structure'}, 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:occupant ?w . ?w rdf:type ontology:national_sports_team . ?n rdf:type ontology:architectural_structure } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:England_national_football_team property:occupant ?x . ?x rdf:type ontology:national_sports_team } } . FILTER ( ?a = ?i ) }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q2466874 Q47762
P1344
Q15275719
USER
Which recurring events did England national football team but not Alexander Horváth participate in ?
AND((Q47762,P1344,c(Q15275719)), NOT((Q2466874,P1344,c(Q15275719))))
action filter_type
action difference
action find
entity Q47762
relation P1344
action find
entity Q2466874
relation P1344
type Q15275719
{'AND': [['Q47762', 'P1344', {'concept': 'Q15275719'}], {'NOT': [['Q2466874', 'P1344', {'concept': 'Q15275719'}]]}]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15275719 . resource:Q47762 property:P1344 ?s . MINUS { resource:Q2466874 property:P1344 ?s } }
Alexander Horváth England national football team
action filter_type
action difference
action find
entity England national football team
relation participant of
action find
entity Alexander Horváth
relation participant of
type recurring event
{'AND': [['England national football team', 'participant of', {'concept': 'recurring event'}], {'NOT': [['Alexander Horváth', 'participant of', {'concept': 'recurring event'}]]}]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:recurring_event . resource:England_national_football_team property:participant_of ?s . MINUS { resource:Alexander_Horváth property:participant_of ?s } }
[]
recurring event
Q101730 Q160813 Q134202 Q132515 Q132533 Q46934 Q37285 Q176883 Q79859 Q46938
SYSTEM
Some of them are 1998 FIFA World Cup, 1962 FIFA World Cup, 1966 FIFA World Cup, 1950 FIFA World Cup, 1958 FIFA World Cup, 1982 FIFA World Cup, 2006 FIFA World Cup, 2010 FIFA World Cup, 2014 FIFA World Cup, 1986 FIFA World Cup
Q132533 Q176883 Q37285 Q132515 Q134202 Q132529 Q47735 Q46938 Q131075 Q160813 Q46934 Q101730 Q79859
AND((Q47762,P1344,c(Q15275719)), NOT((Q2466874,P1344,c(Q15275719))))
action filter_type
action difference
action find
entity Q47762
relation P1344
action find
entity Q2466874
relation P1344
type Q15275719
England national football team but not Alexander Horváth participated in [ANSWERS]
{'AND': [['Q47762', 'P1344', {'concept': 'Q15275719'}], {'NOT': [['Q2466874', 'P1344', {'concept': 'Q15275719'}]]}]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15275719 . resource:Q47762 property:P1344 ?s . MINUS { resource:Q2466874 property:P1344 ?s } }
1958 FIFA World Cup 2010 FIFA World Cup 2006 FIFA World Cup 1950 FIFA World Cup 1966 FIFA World Cup 1990 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1954 FIFA World Cup 1962 FIFA World Cup 1982 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
England national football team but not Alexander Horváth participated in 1998 FIFA World Cup, 1962 FIFA World Cup, 1966 FIFA World Cup, 1950 FIFA World Cup, 1958 FIFA World Cup, 1982 FIFA World Cup, 2006 FIFA World Cup, 2010 FIFA World Cup, 2014 FIFA World Cup and 1986 FIFA World Cup
1998 FIFA World Cup 1962 FIFA World Cup 1966 FIFA World Cup 1950 FIFA World Cup 1958 FIFA World Cup 1982 FIFA World Cup 2006 FIFA World Cup 2010 FIFA World Cup 2014 FIFA World Cup 1986 FIFA World Cup
action filter_type
action difference
action find
entity England national football team
relation participant of
action find
entity Alexander Horváth
relation participant of
type recurring event
{'AND': [['England national football team', 'participant of', {'concept': 'recurring event'}], {'NOT': [['Alexander Horváth', 'participant of', {'concept': 'recurring event'}]]}]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:recurring_event . resource:England_national_football_team property:participant_of ?s . MINUS { resource:Alexander_Horváth property:participant_of ?s } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1344
Q502895
USER
How many people participated in that recurring event ?
(c(Q502895),P1344,Q46938)
[{'concept': 'Q502895'}, 'P1344', 'Q46938']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1344 resource:Q46938 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'participant of', '1986 FIFA World Cup']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:participant_of resource:1986_FIFA_World_Cup . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q46934
SYSTEM
Did you mean 1982 FIFA World Cup ?
(c(Q502895),P1344,Q101730) (c(Q502895),P1344,Q160813) (c(Q502895),P1344,Q134202) (c(Q502895),P1344,Q132515) (c(Q502895),P1344,Q132533) (c(Q502895),P1344,Q46934) (c(Q502895),P1344,Q37285) (c(Q502895),P1344,Q176883) (c(Q502895),P1344,Q79859) (c(Q502895),P1344,Q46938)
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', 'Q101730'] [{'concept': 'Q502895'}, 'P1344', 'Q160813'] [{'concept': 'Q502895'}, 'P1344', 'Q134202'] [{'concept': 'Q502895'}, 'P1344', 'Q132515'] [{'concept': 'Q502895'}, 'P1344', 'Q132533'] [{'concept': 'Q502895'}, 'P1344', 'Q46934'] [{'concept': 'Q502895'}, 'P1344', 'Q37285'] [{'concept': 'Q502895'}, 'P1344', 'Q176883'] [{'concept': 'Q502895'}, 'P1344', 'Q79859'] [{'concept': 'Q502895'}, 'P1344', 'Q46938']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1344 resource:Q46938 . ?z rdf:type ontology:Q502895 }
Did you mean 1982 FIFA World Cup ?
1982 FIFA World Cup
[{'concept': 'common name'}, 'participant of', '1998 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '1962 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '1966 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '1950 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '1958 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '1982 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '2006 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '2010 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '2014 FIFA World Cup'] [{'concept': 'common name'}, 'participant of', '1986 FIFA World Cup']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:participant_of resource:1986_FIFA_World_Cup . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant 1986 FIFA World Cup. Could you tell me the answer for that?
(c(Q502895),P1344,Q46938)
Q46938
[{'concept': 'Q502895'}, 'P1344', 'Q46938']
[{'concept': 'common name'}, 'participant of', '1986 FIFA World Cup']
[]
SYSTEM
528
Q1654093 Q3945292 Q484640 Q724533 Q274872 Q1706338 Q426797 Q516805 Q2445587 Q311410 Q2451439 Q453438 Q601793 Q155065 Q657942 Q3959043 Q3827055 Q3740317 Q2709965 Q461838 Q2707912 Q611428 Q2536802 Q751421 Q251042 Q959658 Q1357383 Q467967 Q1984198 Q833390 Q645569 Q357281 Q558689 Q964640 Q529965 Q3826147 Q166336 Q1353788 Q1373699 Q47526 Q519986 Q1983677 Q6970020 Q3700045 Q2632340 Q222675 Q562392 Q597357 Q68064 Q551869 Q3703258 Q985146 Q901376 Q1389004 Q3620474 Q362585 Q2060182 Q557289 Q166307 Q603190 Q1984980 Q508065 Q2422505 Q537085 Q281512 Q125063 Q4354000 Q3603353 Q3603350 Q62091 Q366493 Q178628 Q68039 Q593187 Q923318 Q2441925 Q1335293 Q486817 Q971424 Q533007 Q567929 Q1388050 Q294444 Q1387961 Q3849178 Q986991 Q2626310 Q742935 Q3603377 Q555361 Q3606997 Q1371274 Q57433 Q932459 Q713610 Q2624462 Q495913 Q496110 Q264657 Q174614 Q36386 Q3609573 Q923920 Q1985467 Q2533562 Q318195 Q838903 Q304221 Q222206 Q615292 Q724036 Q3682645 Q176426 Q62193 Q155290 Q1284800 Q1347154 Q1986082 Q703717 Q1370368 Q979353 Q1996337 Q1996665 Q683583 Q714500 Q342489 Q346751 Q1859390 Q461541 Q532393 Q487311 Q352878 Q2329115 Q840104 Q714511 Q1378124 Q783110 Q435337 Q1583216 Q1709029 Q461568 Q2710296 Q783771 Q486041 Q569782 Q974522 Q2440556 Q2438777 Q1332728 Q964562 Q1208602 Q363141 Q714537 Q294302 Q956734 Q465817 Q1984934 Q10536 Q984175 Q1355012 Q933558 Q654719 Q525909 Q449195 Q1347683 Q3901330 Q726234 Q3840333 Q46981 Q2617242 Q188720 Q351990 Q634525 Q3703127 Q1388678 Q1985218 Q667239 Q1071728 Q642566 Q615606 Q348758 Q2629190 Q239752 Q1455707 Q703734 Q1984971 Q310352 Q1985230 Q939854 Q2423642 Q3898091 Q737722 Q1175594 Q2458606 Q355923 Q68777 Q5437265 Q983591 Q210083 Q1995420 Q286448 Q1166047 Q601807 Q1494812 Q159948 Q703710 Q2311356 Q3738286 Q221432 Q938331 Q719125 Q375781 Q157847 Q68759 Q2712483 Q2628915 Q983728 Q768638 Q295559 Q602873 Q462137 Q2313074 Q461591 Q2627756 Q1355097 Q465970 Q186691 Q1479453 Q3810069 Q2628718 Q194311 Q461581 Q461587 Q6370547 Q358424 Q440927 Q1043320 Q298305 Q1188415 Q948046 Q13494 Q1985241 Q44464 Q688933 Q1984211 Q517985 Q555593 Q1986487 Q921830 Q435808 Q3664316 Q491645 Q957760 Q632766 Q1985369 Q1981198 Q1985420 Q977220 Q361418 Q4014536 Q574662 Q153293 Q335131 Q928496 Q3761257 Q47778 Q2716019 Q153463 Q2441344 Q1372329 Q380223 Q102331 Q3946508 Q507317 Q541353 Q1985251 Q3866468 Q669836 Q695291 Q311227 Q2422208 Q381780 Q486369 Q84059 Q3811204 Q2093448 Q713494 Q318304 Q919552 Q991778 Q562409 Q431750 Q215963 Q2628840 Q485363 Q3810565 Q2734704 Q332006 Q41235 Q443423 Q960103 Q1284988 Q1771664 Q786047 Q389169 Q837112 Q1860787 Q429690 Q497856 Q3658813 Q3611615 Q427277 Q3792451 Q495870 Q670545 Q2444534 Q2628041 Q74989 Q2444253 Q1108407 Q732645 Q549326 Q486658 Q360514 Q1947271 Q1333795 Q901558 Q1370504 Q235159 Q504250 Q1970405 Q1373660 Q495886 Q2374474 Q766087 Q3978467 Q1985395 Q2632201 Q3760617 Q47470 Q296666 Q486635 Q431255 Q312454 Q1191324 Q433193 Q3806804 Q2457612 Q486620 Q687174 Q1400294 Q1987677 Q1378970 Q656400 Q3806421 Q936351 Q488165 Q241683 Q552248 Q3273479 Q358926 Q1986695 Q1986386 Q60414 Q159045 Q381729 Q901529 Q548436 Q968537 Q510780 Q319368 Q517654 Q2444066 Q516743 Q929577 Q838961 Q311711 Q352209 Q2274245 Q4261 Q2633115 Q313774 Q239688 Q2224676 Q561609 Q353969 Q363829 Q937640 Q3860100 Q727926 Q582196 Q721996 Q721998 Q978010 Q3802591 Q312626 Q2444800 Q515397 Q970467 Q839443 Q316701 Q314095 Q2442172 Q584244 Q3814935 Q1366521 Q937089 Q3776418 Q312619 Q312618 Q346945 Q346942 Q287911 Q972859 Q487155 Q3796412 Q786523 Q366073 Q1358430 Q431278 Q5483087 Q2714065 Q1966747 Q2444262 Q280767 Q437341 Q3841882 Q963266 Q222788 Q3898046 Q15802 Q718817 Q1372073 Q472740 Q901791 Q7704817 Q244799 Q1384636 Q2535190 Q2626818 Q485833 Q1354948 Q609017 Q1996349 Q375502 Q388282 Q2444236 Q17515 Q522325 Q2440505 Q299608 Q516892 Q314861 Q680309 Q310103 Q597893 Q344989 Q1454189 Q2633064 Q361953 Q152871 Q958304 Q155251 Q514329 Q1356054 Q431343 Q648719 Q733628 Q351827 Q2296215 Q584165 Q1681932 Q610623 Q956498 Q401433 Q1382556 Q352820 Q515831 Q6370647 Q2457175 Q937107 Q556020 Q964820 Q2615689 Q1986376 Q485852 Q1140491 Q714674 Q972238 Q652400 Q2778589 Q981253 Q921232 Q3617882 Q1169405 Q3930058 Q2623853 Q928184 Q2628546 Q1504561 Q2501843 Q927581 Q2629216 Q459089 Q937157 Q47516 Q1370017 Q721974 Q2710101 Q311424 Q167393 Q464828 Q2632531 Q648928 Q2444760 Q312170 Q2629229 Q331433 Q2655632 Q1125216 Q682254 Q2164521 Q972276 Q296583 Q628916 Q508196 Q355825 Q3700047
(c(Q502895),P1344,Q46938)
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', 'Q46938']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1344 resource:Q46938 . ?z rdf:type ontology:Q502895 }
João Domingos Pinto Salahdine Hmied Cho Kwang-rae Oleksandr Zavarov Émerson Leão Kim Sam-soo Jorge Amado Nunes Claudio Borghi Mustafa Merry Igor Belanov Juan Carlos Ablanedo Jesper Olsen Antonio Di Gennaro Jean-Marie Pfaff Norbert Eder Shaker Mahmoud Larbi El Hadi Faustino Alonso Flemming Christensen Nery Pumpido Noureddine Kourichi António Sousa Salah Assad Olaf Heredia Álvaro Magalhães Francisco Javier Cruz Per Frimann Antonio Alzamendi Branko Šegota György Bognár Michel Bibard Viv Anderson Míchel Viktor Chanov Stefan Majewski Lahcen Ouadani Klaus Allofs Josimar Michel Renquin Zico József Kardos Nikolay Arabov Natik Hashim César Vega Faouzi Mansouri Erwin Vandenbergh Philippe Bergeroo Eloy Olaya Antonio Cabrini Vasyl Rats David Norman Mario Saralegui Győző Burcsa Hussein Saeed António Morato Terry Butcher Tomás Boy Lei Clijsters Steve Hodge Júlio César Fernando Bandeirinha Oleh Kuznetsov Plamen Getov Ivan Nielsen Sergio Omar Almirón Silas Pereira Mohamed Kaci-Said Abdelhamid Sadmi Abdelaziz Souleimani Karlheinz Förster Olaf Thon Paolo Rossi Zbigniew Boniek Noureddine Bouyahyaoui Luis Islas Steve Penney Carlos Manuel Cho Min-kook José Zalazar Elzo Coelho Márton Esterházy Randy Samuel Rinat Dasayev Manuel Negrete Arias Mario Trejo Lajos Détári Paulo Vitor Abdelfettah Mouddani Rahim Hameed Fernando De Napoli Ahmad Jassim Jacek Kazimierski Thomas Berthold Pedro Pasculli Gary Bailey Philippe Vercruysse Lee Tae-ho Yoo Byung-ok Ezzaki Badou Carlo Ancelotti Lothar Matthäus Aleksandar Markov Jorge Orosmán da Silva Eliseo Rivero Paul Sturrock Sergio Batista József Csuhay Abdellah Bidane Troels Rasmussen Alemão Joël Bats Colin Miller Lakhdar Belloumi Eike Immel Julio Salinas Edino Nazareth Filho René Vandereycken Jorge Battaglia Mark Hateley Jaime Pacheco Nigel Worthington Evaristo Isasi Mustapha El Biyaz Abderrazak Khairi Oscar Careca Cha Bum-kun Armando Manzo Paul McStay Borislav Mikhailov Noh Soo-jin Chris Waddle Juan Antonio Señor Antal Nagy Alan McDonald Walter Casagrande David Narey Søren Lerby John McClelland José Batista Ricardo Gallego Davie Cooper Franco Tancredi Cho Young-jeung Roberto Tricella Plamen Markov Eamonn Bannon Dale Mitchell Raymond Mommens Rui Águas Diamantino Miranda Eric Gerets Carlos Aguilera Walter Zenga Andrzej Buncol Manuel Bento Mark Caughey John Barnes Kent Nielsen Karim Maroc Javier Hernández Jim Platt Andy Goram Alvin Martin Yannick Stopyra Phil Hughes Chris Woods Luis Caballero Graeme Sharp Édson Boaro Michael Laudrup Pietro Vierchowod Péter Disztl David Campbell Vítor Damas José António Bargiela Ghanim Oraibi József Kiprich Ole Qvist József Szendrei Huh Jung-moo Bozhidar Iskrenov Zoltán Péter Nikolay Larionov Kerry Dixon Frederico Rosa Graeme Souness Ian Stewart Charlie Nicholas Daniel Xuereb Paul James Jean-Marc Ferreri David McCreery Nadhum Shaker Bruno Conti Wolfgang Rolff Fatah Nsaief Carlos Daniel Tapia Enzo Francescoli Mourad Amara Kenny Sansom Dariusz Kubicki Franky Vercauteren Gary Stevens Klaus Augenthaler Giuseppe Galderisi Tomás Reñones Fadel Jilal Enzo Scifo Yvon Le Roux Richard Gough Jan Mølby Harald Schumacher Karl Allgöwer Gerry Armstrong Georgi Yordanov Marcelo Trobbiani József Andrusch Jean Tigana Georges Grün Arthur Albiston Roberto Cabañas Chendo Jimmy Quinn Héctor Zelada Trevor Steven Oleh Blokhin Félix Cruz Jorge Guasch John O'Neill Javier Aguirre Aldo Serena Rafael Gordillo Karim Allawi Andoni Goikoetxea Olaskoaga Javier Urruticoechea Carlos de los Cobos Jorge Valdano Philippe Desmet Vadym Yevtushenko Jean-Pierre Papin António Henriques Jesus Oliveira Rudi Völler Néstor Clausen Ian Bridge Alejandro Domínguez Rubén Paz Gennady Morozov Hennadiy Lytovchenko Patrick Battiston Celso Otero Kim Pyung-seok Henrik Andersen Mohammed Sahil Luís Sobrinho Aleksandr Bubnov Hristo Kolev Venancio Ramos Fernando Gomes Virginio Cáceres Uli Stein Felix Magath Włodzimierz Smolarek Jorge Barrios Gerry Gray Gary Lineker Gilbert Bodart Allan Simonsen Jaime Magalhães Georgi Dimitrov Norman Whiteside Sócrates Samir Shaker Daniel Veyt José Luis Cuciuffo Bernard McNally Mouncif El Haddaoui Marek Ostrowski Matthias Herget José Antonio Camacho Tino Lettieri Víctor Muñoz Choi Soon-ho Abdelmajid Lamriss Julián Coronel Wilmar Cabrera Roy Aitken Ricardo Bochini Patrick Vervoort Jan Furtok Jan Urban Pavlo Yakovenko Andoni Zubizarreta Radoslav Zdravkov Byun Byung-joo José Ribeiro Roberto Fernández Julio César Romero Emilio Butragueño Rodolfo Rodríguez Luis Flores Waldemar Matysik Petar Petrov Ramón Calderé Kim Jong-boo Antal Róth William Ayache Krzysztof Pawlak Chung Jong-soo Carl Valentine Ali Hussein Shihab Mike Sweeney Igor Vrablic Oh Yun-kyo Jacky Munaron Quique Setién Víctor Diogo Aleksandre Chivadze Kostadin Kostadinov Colin Clarke Ramón Hicks Salvatore Bagni Park Chang-sun Peter Reid Julio Alberto Moreno Nico Claesen József Varga Michel De Wolf Giuseppe Bergomi Ignacio Rodríguez Terry Fenwick Thierry Tusseau Kim Yong-se Azzedine Amanallah Józef Młynarczyk Sven Habermann Sergio Santín Mahmoud Guendouz George Pakos Uwe Rahn Glenn Hoddle Chung Yong-hwan Bernard Genghini Paulo Roberto Falcão Djamel Zidane Dominique Rocheteau Jamie Lowery Fodil Megharia Park Kyung-hoon Darío Pereyra Alan Rough Vladimiro Schettina Jan Bartram Zhivko Gospodinov Jamal Ali Albert Rust Anatoliy Demyanenko Péter Hannich Sammy McIlroy Bruce Wilson Giuseppe Baresi Alfredo Mendoza Vasil Dragolov Dieter Hoeneß Andreas Brehme Müller Sándor Sallai Haris Mohammed Boycho Velichkov Andriy Bal Oleh Protasov Carlos Muñoz Kazimierz Przybyś Héctor Enrique Jimmy Nicholl Gyula Hajszán Pat Jennings Jim Leighton Bob Lenarduzzi Michel Platini Halim Benmabrouk Jorge Burruchaga Gianluca Vialli Hugo Broos Nelson Gutiérrez Frank Arnesen Paulo Futre Fawzi Benkhalidi Mohamed Chaïb Władysław Żmuda Kálmán Kovács Ricardo Giusti José Luis Brown Sebastiano Nela Ismail Mohammed Sharif Marco Tardelli Abdelmajid Dolmy Andrzej Pałasz Pablo Larios József Nagy Alex McLeish Gordon Strachan Rogelio Delgado Eduardo Acevedo Khalil Allawi Nasko Sirakov Imre Garaba Greg Ion Franky Van der Elst Jan Ceulemans Alessandro Altobelli Oscar Ruggeri Steve Nicol Miguel Bossio Hugo Sánchez Ilia Dyakov Buenaventura Ferreira Fulvio Collovati Roman Wójcicki Gary Stevens Francisco Alcaraz Edivaldo Martins Fonseca Andrey Zhelyazkov Atanas Pashev Stéphane Demol Hans-Peter Briegel Maad Ibrahim Miguel España Kim Joo-sung Paul Dolan Daniel Passarella Maurice Malpas Søren Busk Maxime Bossis László Disztl Terry Moore Peter Shilton Jorge Martins Aziz Bouderbala Jim Bett Cho Byung-deuk Tedj Bensaoula Willie Miller Eufemio Cabral Giovanni Galli Francisco José Carrasco Iliya Valov Diego Maradona Steve Archibald Frank McAvennie Gaetano Scirea Julio Olarticoechea Luis Fernández Ditmar Jakobs Morten Olsen Dariusz Dziekanowski Peter Beardsley Sergey Rodionov Abdellah Liegeon Manuel Amoros Karl-Heinz Rummenigge Fernando Quirarte Antonio Maceda John Sivebæk Ivan Yaremchuk Rabah Madjer Pasquale de Luca Jens Jørn Bertelsen Branco Billy Hamilton Juan Torales Jan Karaś António André Carlos Hermosillo Ahmad Radhi Ryszard Komornicki Ray Wilkins Andrzej Zgutczyński Karim Saddam Rolando Chilavert Adolfino Cañete Klaus Berggreen Rafael Amador Stoycho Mladenov Ayan Sadakov Kang Deuk-soo Cristóbal Ortega Fernando Álvez Lars Høgh Hipólito Rincón. Rachid Harkouk Mohamed Timoumi Paul Ramsey Anad Abid Abdelkrim Merry Randy Ragan Basil Gorgis Mauro Galvão Serhiy Krakovskyi Raúl Servín John Eriksen Basim Qasim Augusto Inácio Volodymyr Bezsonov Valdo Filho Pierre Littbarski Józef Wandzik Oscar Garré Nacerdine Drid Leovegildo Lins da Gama Júnior Preben Elkjær Larsen Bruno Bellone Fathi Chebal Mal Donaghy Francisco López Alfaro Alain Giresse Mustafa El Hadaoui Raad Hammoudi Abdelfettah Rhiati Ryszard Tarasiewicz László Dajka Leo Van der Elst Djamel Menad Bryan Robson Carlos Roberto Gallo Labid Khalifa Sergei Aleinikov César Zabala
528
[{'concept': 'common name'}, 'participant of', '1986 FIFA World Cup']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:participant_of resource:1986_FIFA_World_Cup . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q172025
P1923
Q1194951 Q15275719 Q13406554
USER
How many national sports teams contested in less number of recurring events or sport competitions than Chile national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action less
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 Q172025
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:P1923 resource:Q172025 . { VALUES ( ?z ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?i rdf:type ?z } } } . FILTER ( ?s < ?o ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?b WHERE { { ?r property:P1923 ?b . ?b rdf:type ontology:Q1194951 . ?r rdf:type ontology:Q15275719 } UNION { ?r property:P1923 ?b . ?b rdf:type ontology:Q1194951 . ?r rdf:type ontology:Q13406554 } } GROUP BY ?b } }
Chile national football team
action count
action less
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 Chile 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 ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:participating_teams resource:Chile_national_football_team . { VALUES ( ?z ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?i rdf:type ?z } } } . FILTER ( ?s < ?o ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?b WHERE { { ?r property:participating_teams ?b . ?b rdf:type ontology:national_sports_team . ?r rdf:type ontology:recurring_event } UNION { ?r property:participating_teams ?b . ?b rdf:type ontology:national_sports_team . ?r rdf:type ontology:sport_competition } } GROUP BY ?b } }
[]
national sports team recurring event sport competition
SYSTEM
76
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 count
action less
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 Q172025
relation P1923
type Q15275719
type Q13406554
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:P1923 resource:Q172025 . { VALUES ( ?z ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?i rdf:type ?z } } } . FILTER ( ?s < ?o ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?b WHERE { { ?r property:P1923 ?b . ?b rdf:type ontology:Q1194951 . ?r rdf:type ontology:Q15275719 } UNION { ?r property:P1923 ?b . ?b rdf:type ontology:Q1194951 . ?r rdf:type ontology:Q13406554 } } GROUP BY ?b } }
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
76
action count
action less
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 Chile 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 ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:participating_teams resource:Chile_national_football_team . { VALUES ( ?z ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?i rdf:type ?z } } } . FILTER ( ?s < ?o ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?b WHERE { { ?r property:participating_teams ?b . ?b rdf:type ontology:national_sports_team . ?r rdf:type ontology:recurring_event } UNION { ?r property:participating_teams ?b . ?b rdf:type ontology:national_sports_team . ?r rdf:type ontology:sport_competition } } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q207337
P1923
Q1194951 Q15275719 Q13406554
USER
And what about Morocco national football team?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action less
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 Q207337
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { { ?p rdf:type ontology:Q15275719 } UNION { ?p rdf:type ontology:Q13406554 } } . ?p property:P1923 resource:Q207337 } } . FILTER ( ?f < ?w ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:P1923 ?a . ?c rdf:type ontology:Q15275719 . ?a rdf:type ontology:Q1194951 } UNION { ?c property:P1923 ?a . ?a rdf:type ontology:Q1194951 . ?c rdf:type ontology:Q13406554 } } GROUP BY ?a } }
Morocco national football team
action count
action less
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 Morocco 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 ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { { ?p rdf:type ontology:recurring_event } UNION { ?p rdf:type ontology:sport_competition } } . ?p property:participating_teams resource:Morocco_national_football_team } } . FILTER ( ?f < ?w ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:participating_teams ?a . ?c rdf:type ontology:recurring_event . ?a rdf:type ontology:national_sports_team } UNION { ?c property:participating_teams ?a . ?a rdf:type ontology:national_sports_team . ?c rdf:type ontology:sport_competition } } GROUP BY ?a } }
[]
national sports team recurring event sport competition
SYSTEM
44
Q170327 Q130582 Q207441 Q189322 Q21130178 Q172014 Q223748 Q180187 Q188228 Q21130160 Q236014 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q1131732 Q192828 Q270080 Q182740 Q175315 Q214151 Q186262 Q191406 Q172221 Q175145 Q191595 Q21130170 Q152424 Q181190 Q186243 Q184387 Q235399 Q28089 Q236006 Q721418 Q192149 Q14132 Q2535606 Q21130157 Q21130156 Q208635 Q206828 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action less
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 Q207337
relation P1923
type Q15275719
type Q13406554
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { { ?p rdf:type ontology:Q15275719 } UNION { ?p rdf:type ontology:Q13406554 } } . ?p property:P1923 resource:Q207337 } } . FILTER ( ?f < ?w ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:P1923 ?a . ?c rdf:type ontology:Q15275719 . ?a rdf:type ontology:Q1194951 } UNION { ?c property:P1923 ?a . ?a rdf:type ontology:Q1194951 . ?c rdf:type ontology:Q13406554 } } GROUP BY ?a } }
South Africa national football team China PR national football team Senegal national football team Latvia national football team Transylvania national quidditch team Ghana national football team Panama national football team Honduras national football team El Salvador national football team England national quidditch team Cuba 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 Serbia and Montenegro national football team Angola national football team Congo DR national football team Serbia national football team New Zealand national football team Venezuela national football team Albania national football team Israel national football team Slovenia national football team Ivory Coast national football team Togo national football team Peru national quidditch team East Germany national football team Bosnia and Herzegovina national football team Iraq national football team Norway national football team Jamaica national football team Egypt national football team Haiti national football team CIS 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 Canada national soccer team Kuwait national football team Greece national football team
44
action count
action less
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 Morocco 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 ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { { ?p rdf:type ontology:recurring_event } UNION { ?p rdf:type ontology:sport_competition } } . ?p property:participating_teams resource:Morocco_national_football_team } } . FILTER ( ?f < ?w ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:participating_teams ?a . ?c rdf:type ontology:recurring_event . ?a rdf:type ontology:national_sports_team } UNION { ?c property:participating_teams ?a . ?a rdf:type ontology:national_sports_team . ?c rdf:type ontology:sport_competition } } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2444102 Q2466874
P1344
Q15275719
USER
Which recurring events did Alexander Horváth and Stefan Aladzhov take part in ?
AND((Q2466874,P1344,c(Q15275719)), (Q2444102,P1344,c(Q15275719)))
action filter_type
action intersection
action find
entity Q2466874
relation P1344
action find
entity Q2444102
relation P1344
type Q15275719
{'AND': [['Q2466874', 'P1344', {'concept': 'Q15275719'}], ['Q2444102', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?q WHERE { resource:Q2466874 property:P1344 ?q . resource:Q2444102 property:P1344 ?q . ?q rdf:type ontology:Q15275719 }
Stefan Aladzhov Alexander Horváth
action filter_type
action intersection
action find
entity Alexander Horváth
relation participant of
action find
entity Stefan Aladzhov
relation participant of
type recurring event
{'AND': [['Alexander Horváth', 'participant of', {'concept': 'recurring event'}], ['Stefan Aladzhov', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?q WHERE { resource:Alexander_Horváth property:participant_of ?q . resource:Stefan_Aladzhov property:participant_of ?q . ?q rdf:type ontology:recurring_event }
[]
recurring event
Q132664
SYSTEM
1970 FIFA World Cup
Q132664
AND((Q2466874,P1344,c(Q15275719)), (Q2444102,P1344,c(Q15275719)))
action filter_type
action intersection
action find
entity Q2466874
relation P1344
action find
entity Q2444102
relation P1344
type Q15275719
[ANSWER] Alexander Horváth and Stefan Aladzhov took part
{'AND': [['Q2466874', 'P1344', {'concept': 'Q15275719'}], ['Q2444102', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?q WHERE { resource:Q2466874 property:P1344 ?q . resource:Q2444102 property:P1344 ?q . ?q rdf:type ontology:Q15275719 }
1970 FIFA World Cup
1970 FIFA World Cup Alexander Horváth and Stefan Aladzhov took part
1970 FIFA World Cup
action filter_type
action intersection
action find
entity Alexander Horváth
relation participant of
action find
entity Stefan Aladzhov
relation participant of
type recurring event
{'AND': [['Alexander Horváth', 'participant of', {'concept': 'recurring event'}], ['Stefan Aladzhov', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?q WHERE { resource:Alexander_Horváth property:participant_of ?q . resource:Stefan_Aladzhov property:participant_of ?q . ?q rdf:type ontology:recurring_event }
[]