Simple Question (Direct)
Simple Question
Q12280185
P641
Q349
USER
Which sport was George Ganchev a part of ?
(Q12280185,P641,c(Q349))
action filter_type
action find
entity Q12280185
relation P641
type Q349
['Q12280185', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q12280185 property:P641 ?g . ?g rdf:type ontology:Q349 }
George Ganchev
action filter_type
action find
entity George Ganchev
relation sport
type sport
['George Ganchev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:George_Ganchev property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q12100
SYSTEM
fencing
Q12100
(Q12280185,P641,c(Q349))
action filter_type
action find
entity Q12280185
relation P641
type Q349
Which sport was George Ganchev a part of
['Q12280185', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q12280185 property:P641 ?g . ?g rdf:type ontology:Q349 }
fencing
Which sport was George Ganchev a part of
fencing
action filter_type
action find
entity George Ganchev
relation sport
type sport
['George Ganchev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:George_Ganchev property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12280185
P106
Q12737077
USER
What do George Ganchev do for a living ?
(Q12280185,P106,c(Q12737077))
action filter_type
action find
entity Q12280185
relation P106
type Q12737077
['Q12280185', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q12280185 property:P106 ?d }
George Ganchev
action filter_type
action find
entity George Ganchev
relation occupation
type occupation
['George Ganchev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:George_Ganchev property:occupation ?d }
[]
occupation
Q82955 Q33999 Q36180
SYSTEM
politician, actor, writer
Q82955 Q43845 Q33999 Q355242 Q36180
(Q12280185,P106,c(Q12737077))
action filter_type
action find
entity Q12280185
relation P106
type Q12737077
[ANSWERS] George Ganchev do for a living
['Q12280185', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q12280185 property:P106 ?d }
politician businessperson actor showman writer
Politician, actor and writer George Ganchev do for a living
politician actor writer
action filter_type
action find
entity George Ganchev
relation occupation
type occupation
['George Ganchev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:George_Ganchev property:occupation ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11459649
Q12737077
USER
And also tell me about Sayaka Komuro?
(Q11459649,P106,c(Q12737077))
action filter_type
action find
entity Q11459649
relation P106
type Q12737077
['Q11459649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q11459649 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Sayaka Komuro
action filter_type
action find
entity Sayaka Komuro
relation occupation
type occupation
['Sayaka Komuro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Sayaka_Komuro property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q1371925
SYSTEM
announcer
Q1371925
(Q11459649,P106,c(Q12737077))
action filter_type
action find
entity Q11459649
relation P106
type Q12737077
[ANSWER]
['Q11459649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q11459649 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
announcer
announcer
action filter_type
action find
entity Sayaka Komuro
relation occupation
type occupation
['Sayaka Komuro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Sayaka_Komuro property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15971570
P748
Q12737077 Q178706 Q12737077
USER
Which occupations did less number of occupations and institutions appoint than President of the Generalitat Valenciana ?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q15971570
relation P748
type Q12737077
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?l WHERE { { ?l property:P748 ?k . ?l rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q178706 } UNION { ?l property:P748 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q12737077 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { { ?i rdf:type ontology:Q12737077 } UNION { ?i rdf:type ontology:Q178706 } } . resource:Q15971570 property:P748 ?i } } . FILTER ( ?u < ?c ) }
President of the Generalitat Valenciana
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity President of the Generalitat Valenciana
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?l WHERE { { ?l property:appointed_by ?k . ?l rdf:type ontology:occupation . ?k rdf:type ontology:institution } UNION { ?l property:appointed_by ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:occupation } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { { ?i rdf:type ontology:occupation } UNION { ?i rdf:type ontology:institution } } . resource:President_of_the_Generalitat_Valenciana property:appointed_by ?i } } . FILTER ( ?u < ?c ) }
[]
occupation institution occupation
Q655407 Q22955080 Q4970706
SYSTEM
President of the People's Republic of China, president of FIFA, Federal Chancellor of Germany
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q2666591 Q191954 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q5333410 Q376006 Q21013169 Q26209348 Q39021 Q261746 Q20867494 Q21013163 Q14984399 Q7241304 Q910308 Q1029955 Q1753754 Q2484309 Q642859 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q20891385 Q796593 Q6865833 Q2660943 Q940135 Q20172329 Q531471 Q2305968 Q21384866 Q596123 Q7444340 Q20194364 Q1476165 Q2914452 Q2636053 Q464103 Q3058109 Q3858507 Q2419581 Q1124265 Q273884 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2747647 Q2390270 Q13527933 Q583809 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q13645132 Q636207 Q475658 Q7574264 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q783785 Q5096847 Q4818607 Q152814 Q1072415 Q26000995 Q3409203 Q213107 Q195965 Q327948 Q1763459 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q2741486 Q3315112 Q1123764 Q735015 Q2708520 Q22955080 Q7240368 Q3297079 Q6865995 Q319145 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q967737 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q3315134 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q20748654 Q19328451 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q592866 Q1281611 Q26721218 Q1658460 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q786242 Q25860233 Q1434880 Q1072341
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q15971570
relation P748
type Q12737077
type Q178706
Less number of occupations and institutions appointed to [ANSWERS] than President of the Generalitat Valenciana
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?l WHERE { { ?l property:P748 ?k . ?l rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q178706 } UNION { ?l property:P748 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q12737077 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { { ?i rdf:type ontology:Q12737077 } UNION { ?i rdf:type ontology:Q178706 } } . resource:Q15971570 property:P748 ?i } } . FILTER ( ?u < ?c ) }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Secretary of State for Wales governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Economic Secretary to the Treasury Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore United States Secretary of the Air Force Mayor of Gorinchem Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Lord Privy Seal United States Secretary of Agriculture Master of the Rolls Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven President pro tempore of the United States Senate Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Leader of the House of Commons Speaker of the House of Commons Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy United States Secretary of Housing and Urban Development List of Presidents of the Basque Autonomous Community President of South Africa Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of the Bahamas Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Prime Minister of Malaysia Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco municipal executive of Gorinchem Paymaster General Secretary of State for Health Cathaoirleach King's or Queen's Commissioner King's Commissioner of North Holland Governor of the Virgin Islands President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere President of Iran Chief of Staff of the United States Army Chief Minister Attorney-General of Australia Prime Minister of Malta Chief of Naval Operations President of the Parliament of Catalonia President of Greece Prime Minister of Belgium Governor of Gibraltar President of Israel Chairman of the Joint Chiefs of Staff President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Chief Executive of Hong Kong Minister for Defence Prime Minister of Armenia United States Secretary of Defense Chairman of the Communist Party of China president of FIFA Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China United States Secretary of Transportation Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Mayor of Zoetermeer Mayor of Haarlem Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Prime Minister of Papua New Guinea Prime Minister of Tuvalu Lieutenant Governor of Jersey municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales White House Chief of Staff Secretary of State for Exiting the European Union Surgeon General of the United States Chief Minister of the Northern Territory
Less number of occupations and institutions appointed to President of the People's Republic of China, president of FIFA and Federal Chancellor of Germany than President of the Generalitat Valenciana
President of the People's Republic of China president of FIFA Federal Chancellor of Germany
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity President of the Generalitat Valenciana
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?l WHERE { { ?l property:appointed_by ?k . ?l rdf:type ontology:occupation . ?k rdf:type ontology:institution } UNION { ?l property:appointed_by ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:occupation } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { { ?i rdf:type ontology:occupation } UNION { ?i rdf:type ontology:institution } } . resource:President_of_the_Generalitat_Valenciana property:appointed_by ?i } } . FILTER ( ?u < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1734
P641
Q349 Q12973014 Q500834
USER
Which sports were more number of sports teams and tournaments a part of than volleyball ?
(c(Q12973014)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P641
type Q12973014
type Q500834
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c > ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P641 resource:Q1734 . { { ?l rdf:type ontology:Q500834 } UNION { ?l rdf:type ontology:Q12973014 } } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?w WHERE { { ?w rdf:type ontology:Q349 . ?r rdf:type ontology:Q12973014 . ?r property:P641 ?w } UNION { ?r property:P641 ?w . ?w rdf:type ontology:Q349 . ?r rdf:type ontology:Q500834 } } GROUP BY ?w } }
volleyball
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity volleyball
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c > ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:sport resource:volleyball . { { ?l rdf:type ontology:tournament } UNION { ?l rdf:type ontology:sports_team } } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?w WHERE { { ?w rdf:type ontology:sport . ?r rdf:type ontology:sports_team . ?r property:sport ?w } UNION { ?r property:sport ?w . ?w rdf:type ontology:sport . ?r rdf:type ontology:tournament } } GROUP BY ?w } }
[]
sport sports team tournament
Q847 Q5377 Q5369
SYSTEM
tennis, golf, baseball
Q847 Q5372 Q5377 Q5369 Q8418 Q41466 Q2736
(c(Q12973014)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P641
type Q12973014
type Q500834
[ANSWERS] were more number of sports teams and tournaments a part of than volleyball
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c > ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P641 resource:Q1734 . { { ?l rdf:type ontology:Q500834 } UNION { ?l rdf:type ontology:Q12973014 } } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?w WHERE { { ?w rdf:type ontology:Q349 . ?r rdf:type ontology:Q12973014 . ?r property:P641 ?w } UNION { ?r property:P641 ?w . ?w rdf:type ontology:Q349 . ?r rdf:type ontology:Q500834 } } GROUP BY ?w } }
tennis basketball golf baseball handball ice hockey association football
Tennis, golf and baseball were more number of sports teams and tournaments a part of than volleyball
tennis golf baseball
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity volleyball
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c > ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:sport resource:volleyball . { { ?l rdf:type ontology:tournament } UNION { ?l rdf:type ontology:sports_team } } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?w WHERE { { ?w rdf:type ontology:sport . ?r rdf:type ontology:sports_team . ?r property:sport ?w } UNION { ?r property:sport ?w . ?w rdf:type ontology:sport . ?r rdf:type ontology:tournament } } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1109032
P641
Q349 Q12973014 Q500834
USER
And how about college football?
(c(Q12973014)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q1109032
relation P641
type Q12973014
type Q500834
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { { ?c property:P641 ?n . ?n rdf:type ontology:Q349 . ?c rdf:type ontology:Q12973014 } UNION { ?n rdf:type ontology:Q349 . ?c rdf:type ontology:Q500834 . ?c property:P641 ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P641 resource:Q1109032 . { { ?d rdf:type ontology:Q500834 } UNION { ?d rdf:type ontology:Q12973014 } } } } . FILTER ( ?w > ?b ) }
college football
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity college football
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { { ?c property:sport ?n . ?n rdf:type ontology:sport . ?c rdf:type ontology:sports_team } UNION { ?n rdf:type ontology:sport . ?c rdf:type ontology:tournament . ?c property:sport ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:sport resource:college_football . { { ?d rdf:type ontology:tournament } UNION { ?d rdf:type ontology:sports_team } } } } . FILTER ( ?w > ?b ) }
[]
sport sports team tournament
Q206763 Q136851 Q213711
SYSTEM
floorball, curling, hurling
Q10962 Q7707 Q171038 Q17163326 Q206763 Q133201 Q847 Q601972 Q192937 Q41323 Q7291 Q136851 Q7856 Q5372 Q5375 Q5377 Q5369 Q8418 Q41466 Q43450 Q221635 Q1455 Q2215841 Q213711 Q3930 Q963312 Q535116 Q1734 Q31920 Q2701632 Q1875777 Q1748406 Q183018 Q2736 Q210778
(c(Q12973014)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q1109032
relation P641
type Q12973014
type Q500834
[ANSWERS]
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { { ?c property:P641 ?n . ?n rdf:type ontology:Q349 . ?c rdf:type ontology:Q12973014 } UNION { ?n rdf:type ontology:Q349 . ?c rdf:type ontology:Q500834 . ?c property:P641 ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P641 resource:Q1109032 . { { ?d rdf:type ontology:Q500834 } UNION { ?d rdf:type ontology:Q12973014 } } } } . FILTER ( ?w > ?b ) }
rugby league water polo softball motorcycle racing floorball squash tennis Camogie korfball American football badminton curling rallying basketball cricket golf baseball handball ice hockey gymnastics track cycling field hockey cycle sport hurling table tennis Sledge hockey beach handball volleyball swimming muggle quidditch air racing roller hockey (quad) bandy association football beach soccer
floorball curling hurling
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity college football
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { { ?c property:sport ?n . ?n rdf:type ontology:sport . ?c rdf:type ontology:sports_team } UNION { ?n rdf:type ontology:sport . ?c rdf:type ontology:tournament . ?c property:sport ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:sport resource:college_football . { { ?d rdf:type ontology:tournament } UNION { ?d rdf:type ontology:sports_team } } } } . FILTER ( ?w > ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q33999 Q520549
P425
Q1914636
USER
How many activities are associated with the field of occupation actor or geologist ?
(Q33999,P425,c(Q1914636)) (Q520549,P425,c(Q1914636))
action count
action union
action filter_type
action find
entity Q33999
relation P425
type Q1914636
action filter_type
action find
entity Q520549
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q520549', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { resource:Q33999 property:P425 ?p . ?p rdf:type ontology:Q1914636 } UNION { ?p rdf:type ontology:Q1914636 . resource:Q520549 property:P425 ?p } }
actor geologist
action count
action union
action filter_type
action find
entity actor
relation field of this occupation
type activity
action filter_type
action find
entity geologist
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['geologist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { resource:actor property:field_of_this_occupation ?p . ?p rdf:type ontology:activity } UNION { ?p rdf:type ontology:activity . resource:geologist property:field_of_this_occupation ?p } }
[]
activity
SYSTEM
2
Q1069 Q222749
(Q33999,P425,c(Q1914636)) (Q520549,P425,c(Q1914636))
action count
action union
action filter_type
action find
entity Q33999
relation P425
type Q1914636
action filter_type
action find
entity Q520549
relation P425
type Q1914636
[ANSWER]
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q520549', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { resource:Q33999 property:P425 ?p . ?p rdf:type ontology:Q1914636 } UNION { ?p rdf:type ontology:Q1914636 . resource:Q520549 property:P425 ?p } }
geology acting
2
action count
action union
action filter_type
action find
entity actor
relation field of this occupation
type activity
action filter_type
action find
entity geologist
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['geologist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { resource:actor property:field_of_this_occupation ?p . ?p rdf:type ontology:activity } UNION { ?p rdf:type ontology:activity . resource:geologist property:field_of_this_occupation ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33999
P921
Q15416
USER
Which television programs have actor as their principal topic ?
action filter_type
action find_reverse
entity Q33999
relation P921
type Q15416
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q33999 . ?k rdf:type ontology:Q15416 }
actor
action filter_type
action find_reverse
entity actor
relation main subject
type television program
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:actor . ?k rdf:type ontology:television_program }
[]
television program
Q2165334 Q7527938 Q15052328
SYSTEM
Romy: Anatomy of a Face, Sir John Mills' Moving Memories, Love, Marilyn
Q5002160 Q7527938 Q15052328 Q14954363 Q16901768 Q2165334
action filter_type
action find_reverse
entity Q33999
relation P921
type Q15416
[ANSWERS]
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q33999 . ?k rdf:type ontology:Q15416 }
Buster Keaton: A Hard Act to Follow Sir John Mills' Moving Memories Love, Marilyn When Steptoe Met Son The Baldwin Brothers Romy: Anatomy of a Face
Romy: Anatomy of a Face, Sir John Mills' moving Memories and Love, Marilyn have actor as their principal topic
Romy: Anatomy of a Face Sir John Mills' Moving Memories Love, Marilyn
action filter_type
action find_reverse
entity actor
relation main subject
type television program
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:actor . ?k rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2165334
P495
Q1048835
USER
How many political territories are the countries of origin of Romy: Anatomy of a Face ?
(Q2165334,P495,c(Q1048835))
action count
action filter_type
action find
entity Q2165334
relation P495
type Q1048835
['Q2165334', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q2165334 property:P495 ?e . ?e rdf:type ontology:Q1048835 }
Romy: Anatomy of a Face
action count
action filter_type
action find
entity Romy: Anatomy of a Face
relation country of origin
type political territorial entity
['Romy: Anatomy of a Face', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Romy:_Anatomy_of_a_Face property:country_of_origin ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q2165334,P495,c(Q1048835))
action count
action filter_type
action find
entity Q2165334
relation P495
type Q1048835
[ANSWER]
['Q2165334', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q2165334 property:P495 ?e . ?e rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Romy: Anatomy of a Face
relation country of origin
type political territorial entity
['Romy: Anatomy of a Face', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Romy:_Anatomy_of_a_Face property:country_of_origin ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2165334
P495
Q1048835
USER
Which political territory is the origin of that television program ?
action filter_type
action find
entity Q2165334
relation P495
type Q1048835
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . resource:Q2165334 property:P495 ?h }
Romy: Anatomy of a Face
action filter_type
action find
entity Romy: Anatomy of a Face
relation country of origin
type political territorial entity
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Romy:_Anatomy_of_a_Face property:country_of_origin ?h }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
action filter_type
action find
entity Q2165334
relation P495
type Q1048835
[ANSWER] is the origin of that television program
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . resource:Q2165334 property:P495 ?h }
Germany
Germany is the origin of that television program
Germany
action filter_type
action find
entity Romy: Anatomy of a Face
relation country of origin
type political territorial entity
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Romy:_Anatomy_of_a_Face property:country_of_origin ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q874405 Q93288
USER
How many social groups or contracts had that political territory as their member ?
(Q183,P463,c(Q874405)) (Q183,P463,c(Q93288)) (Q183,P463,c(Q874405)) (Q183,P463,c(Q93288))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q874405
action filter_type
action find
entity Q183
relation P463
type Q93288
['Q183', 'P463', {'concept': 'Q874405'}] ['Q183', 'P463', {'concept': 'Q93288'}] ['Q183', 'P463', {'concept': 'Q874405'}] ['Q183', 'P463', {'concept': 'Q93288'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { resource:Q183 property:P463 ?x . ?x rdf:type ontology:Q874405 } UNION { resource:Q183 property:P463 ?x . ?x rdf:type ontology:Q93288 } }
action count
action union
action filter_type
action find
entity Germany
relation member of
type social group
action filter_type
action find
entity Germany
relation member of
type contract
['Germany', 'member of', {'concept': 'social group'}] ['Germany', 'member of', {'concept': 'contract'}] ['Germany', 'member of', {'concept': 'social group'}] ['Germany', 'member of', {'concept': 'contract'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { resource:Germany property:member_of ?x . ?x rdf:type ontology:social_group } UNION { resource:Germany property:member_of ?x . ?x rdf:type ontology:contract } }
[]
social group contract
SYSTEM
8
Q376150 Q782942 Q1067802 Q8908 Q41984 Q194284 Q8919 Q7817
(Q183,P463,c(Q874405)) (Q183,P463,c(Q93288)) (Q183,P463,c(Q874405)) (Q183,P463,c(Q93288))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q874405
action filter_type
action find
entity Q183
relation P463
type Q93288
[ANSWER]
['Q183', 'P463', {'concept': 'Q874405'}] ['Q183', 'P463', {'concept': 'Q93288'}] ['Q183', 'P463', {'concept': 'Q874405'}] ['Q183', 'P463', {'concept': 'Q93288'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { resource:Q183 property:P463 ?x . ?x rdf:type ontology:Q874405 } UNION { resource:Q183 property:P463 ?x . ?x rdf:type ontology:Q93288 } }
International Telecommunication Union Australia Group Paris Charter Council of Europe International Atomic Energy Agency General Agreement on Tariffs and Trade European Atomic Energy Community World Health Organization
8
action count
action union
action filter_type
action find
entity Germany
relation member of
type social group
action filter_type
action find
entity Germany
relation member of
type contract
['Germany', 'member of', {'concept': 'social group'}] ['Germany', 'member of', {'concept': 'contract'}] ['Germany', 'member of', {'concept': 'social group'}] ['Germany', 'member of', {'concept': 'contract'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { resource:Germany property:member_of ?x . ?x rdf:type ontology:social_group } UNION { resource:Germany property:member_of ?x . ?x rdf:type ontology:contract } }
[]