Simple Question (Direct)
Simple Question
Q2129821
P1344
Q1396170
USER
Which All England Badminton Championshipss did Ralph Watling participate in ?
(Q2129821,P1344,c(Q1396170))
action filter_type
action find
entity Q2129821
relation P1344
type Q1396170
['Q2129821', 'P1344', {'concept': 'Q1396170'}]
SELECT DISTINCT ?o WHERE { resource:Q2129821 property:P1344 ?o . ?o rdf:type ontology:Q1396170 }
Ralph Watling
action filter_type
action find
entity Ralph Watling
relation participant of
type All England Badminton Championships
['Ralph Watling', 'participant of', {'concept': 'All England Badminton Championships'}]
SELECT DISTINCT ?o WHERE { resource:Ralph_Watling property:participant_of ?o . ?o rdf:type ontology:All_England_Badminton_Championships }
[]
All England Badminton Championships
Q27341711 Q27339774 Q27339771
SYSTEM
1903 All England Badminton Championships – Men's doubles, 1903 All England Badminton Championships – Men's singles, 1901 All England Badminton Championships – Men's singles
Q27339774 Q27339771 Q27339773 Q27339778 Q27341711
(Q2129821,P1344,c(Q1396170))
action filter_type
action find
entity Q2129821
relation P1344
type Q1396170
Ralph Watling participated in [ANSWERS]
['Q2129821', 'P1344', {'concept': 'Q1396170'}]
SELECT DISTINCT ?o WHERE { resource:Q2129821 property:P1344 ?o . ?o rdf:type ontology:Q1396170 }
1903 All England Badminton Championships – Men's singles 1901 All England Badminton Championships – Men's singles 1902 All England Badminton Championships – Men's singles 1905 All England Badminton Championships – Men's singles 1903 All England Badminton Championships – Men's doubles
Ralph Watling participated in 1903 All England Badminton Championships – Men's doubles, 1903 All England Badminton Championships – Men's singles and 1901 All England Badminton Championships – Men's singles
1903 All England Badminton Championships – Men's doubles 1903 All England Badminton Championships – Men's singles 1901 All England Badminton Championships – Men's singles
action filter_type
action find
entity Ralph Watling
relation participant of
type All England Badminton Championships
['Ralph Watling', 'participant of', {'concept': 'All England Badminton Championships'}]
SELECT DISTINCT ?o WHERE { resource:Ralph_Watling property:participant_of ?o . ?o rdf:type ontology:All_England_Badminton_Championships }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q27341711 Q27339774 Q27339771
P17
Q15617994
USER
Which administrative territories do those All England Badminton Championshipss belong to ?
(Q27341711,P17,c(Q15617994)) (Q27339774,P17,c(Q15617994)) (Q27339771,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q27341711', 'P17', {'concept': 'Q15617994'}] ['Q27339774', 'P17', {'concept': 'Q15617994'}] ['Q27339771', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?i property:P17 ?j . VALUES ( ?i ) { ( resource:Q27339774 ) ( resource:Q27339771 ) ( resource:Q27339773 ) } . ?j rdf:type ontology:Q15617994 }
1903 All England Badminton Championships – Men's doubles 1903 All England Badminton Championships – Men's singles 1901 All England Badminton Championships – Men's singles
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
["1903 All England Badminton Championships – Men's doubles", 'country', {'concept': 'designation for an administrative territorial entity'}] ["1903 All England Badminton Championships – Men's singles", 'country', {'concept': 'designation for an administrative territorial entity'}] ["1901 All England Badminton Championships – Men's singles", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?i property:country ?j . VALUES ( ?i ) { ( resource:1903_All_England_Badminton_Championships_–_Men's_singles ) ( resource:1901_All_England_Badminton_Championships_–_Men's_singles ) ( resource:1902_All_England_Badminton_Championships_–_Men's_singles ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q27341711,P17,c(Q15617994)) (Q27339774,P17,c(Q15617994)) (Q27339771,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those All England Badminton Championshipss belong to the [ANSWER], [ANSWER] and [ANSWER]
['Q27341711', 'P17', {'concept': 'Q15617994'}] ['Q27339774', 'P17', {'concept': 'Q15617994'}] ['Q27339771', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?i property:P17 ?j . VALUES ( ?i ) { ( resource:Q27339774 ) ( resource:Q27339771 ) ( resource:Q27339773 ) } . ?j rdf:type ontology:Q15617994 }
United Kingdom United Kingdom United Kingdom
Those All England Badminton Championshipss belong to the United Kingdom, United Kingdom and United Kingdom
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
["1903 All England Badminton Championships – Men's doubles", 'country', {'concept': 'designation for an administrative territorial entity'}] ["1903 All England Badminton Championships – Men's singles", 'country', {'concept': 'designation for an administrative territorial entity'}] ["1901 All England Badminton Championships – Men's singles", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?i property:country ?j . VALUES ( ?i ) { ( resource:1903_All_England_Badminton_Championships_–_Men's_singles ) ( resource:1901_All_England_Badminton_Championships_–_Men's_singles ) ( resource:1902_All_England_Badminton_Championships_–_Men's_singles ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27341711
P710
Q502895
USER
Who were the participants of 1903 All England Badminton Championships – Men's doubles ?
(Q27341711,P710,c(Q502895))
action filter_type
action find
entity Q27341711
relation P710
type Q502895
['Q27341711', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q27341711 property:P710 ?w . ?w rdf:type ontology:Q502895 }
1903 All England Badminton Championships – Men's doubles
action filter_type
action find
entity 1903 All England Badminton Championships – Men's doubles
relation participant
type common name
["1903 All England Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:1903_All_England_Badminton_Championships_–_Men's_doubles property:participant ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1387704 Q1551021 Q2129821
SYSTEM
George Alan Thomas, Stewart Marsden Massey, Ralph Watling
Q1551021 Q2129821 Q1387704 Q27567937
(Q27341711,P710,c(Q502895))
action filter_type
action find
entity Q27341711
relation P710
type Q502895
– the participants of 1903 All England Badminton Championships were [ANSWERS]
['Q27341711', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q27341711 property:P710 ?w . ?w rdf:type ontology:Q502895 }
Stewart Marsden Massey Ralph Watling George Alan Thomas E. L. Huson
– the participants of 1903 All England Badminton Championships were George Alan Thomas, Stewart Marsden Massey and Ralph Watling
George Alan Thomas Stewart Marsden Massey Ralph Watling
action filter_type
action find
entity 1903 All England Badminton Championships – Men's doubles
relation participant
type common name
["1903 All England Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:1903_All_England_Badminton_Championships_–_Men's_doubles property:participant ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1387704 Q1551021 Q2129821
P21
Q290
USER
What are the sex of George Alan Thomas, Stewart Marsden Massey and Ralph Watling ?
(Q1387704,P21,c(Q290)) (Q1551021,P21,c(Q290)) (Q2129821,P21,c(Q290))
action union
action filter_type
action find
entity Q1387704
relation P21
type Q290
action filter_type
action find
entity Q1551021
relation P21
type Q290
action filter_type
action find
entity Q2129821
relation P21
type Q290
['Q1387704', 'P21', {'concept': 'Q290'}] ['Q1551021', 'P21', {'concept': 'Q290'}] ['Q2129821', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { { resource:Q1387704 property:P21 ?t . ?t rdf:type ontology:Q290 } UNION { resource:Q1551021 property:P21 ?t . ?t rdf:type ontology:Q290 } }
George Alan Thomas Stewart Marsden Massey Ralph Watling
action union
action filter_type
action find
entity George Alan Thomas
relation gender
type sex
action filter_type
action find
entity Stewart Marsden Massey
relation gender
type sex
action filter_type
action find
entity Ralph Watling
relation gender
type sex
['George Alan Thomas', 'gender', {'concept': 'sex'}] ['Stewart Marsden Massey', 'gender', {'concept': 'sex'}] ['Ralph Watling', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { { resource:George_Alan_Thomas property:gender ?t . ?t rdf:type ontology:sex } UNION { resource:Stewart_Marsden_Massey property:gender ?t . ?t rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q1387704,P21,c(Q290)) (Q1551021,P21,c(Q290)) (Q2129821,P21,c(Q290))
action union
action filter_type
action find
entity Q1387704
relation P21
type Q290
action filter_type
action find
entity Q1551021
relation P21
type Q290
action filter_type
action find
entity Q2129821
relation P21
type Q290
The sex of George Alan Thomas , Stewart Marsden Massey and Ralph Watling are the [ANSWER], [ANSWER] and [ANSWER]
['Q1387704', 'P21', {'concept': 'Q290'}] ['Q1551021', 'P21', {'concept': 'Q290'}] ['Q2129821', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { { resource:Q1387704 property:P21 ?t . ?t rdf:type ontology:Q290 } UNION { resource:Q1551021 property:P21 ?t . ?t rdf:type ontology:Q290 } }
male male male
The sex of George Alan Thomas , Stewart Marsden Massey and Ralph Watling are the male, male and male
male male male
action union
action filter_type
action find
entity George Alan Thomas
relation gender
type sex
action filter_type
action find
entity Stewart Marsden Massey
relation gender
type sex
action filter_type
action find
entity Ralph Watling
relation gender
type sex
['George Alan Thomas', 'gender', {'concept': 'sex'}] ['Stewart Marsden Massey', 'gender', {'concept': 'sex'}] ['Ralph Watling', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { { resource:George_Alan_Thomas property:gender ?t . ?t rdf:type ontology:sex } UNION { resource:Stewart_Marsden_Massey property:gender ?t . ?t rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P47
Q15617994
USER
Which administrative territories share border with United Kingdom ?
(c(Q15617994),P47,Q145)
action filter_type
action find
entity Q145
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q145']
SELECT DISTINCT ?o WHERE { resource:Q145 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom']
SELECT DISTINCT ?o WHERE { resource:United_Kingdom property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q717 Q27
SYSTEM
France, Venezuela, Ireland
Q142 Q717 Q27
(c(Q15617994),P47,Q145)
action filter_type
action find
entity Q145
relation P47
type Q15617994
[ANSWERS] share border with United Kingdom
[{'concept': 'Q15617994'}, 'P47', 'Q145']
SELECT DISTINCT ?o WHERE { resource:Q145 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
France Venezuela Ireland
France, Venezuela and Ireland share border with United Kingdom
France Venezuela Ireland
action filter_type
action find
entity United Kingdom
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom']
SELECT DISTINCT ?o WHERE { resource:United_Kingdom property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P610
Q16889133
USER
What is the highest point of United Kingdom ?
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q16889133 . resource:Q145 property:P610 ?o }
United Kingdom
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:class . resource:United_Kingdom property:highest_point ?o }
[]
class
Q104674
SYSTEM
Ben Nevis
Q104674
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
The highest point of United Kingdom is Mount [ANSWER]
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q16889133 . resource:Q145 property:P610 ?o }
Ben Nevis
The highest point of United Kingdom is Mount Ben Nevis
Ben Nevis
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:class . resource:United_Kingdom property:highest_point ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q275164 Q1387704
P1344
Q1396170
USER
Which All England Badminton Championshipss did George Alan Thomas or Gillian Gilks participate in ?
OR((Q1387704,P1344,c(Q1396170)), (Q275164,P1344,c(Q1396170)))
action filter_type
action union
action find
entity Q1387704
relation P1344
action find
entity Q275164
relation P1344
type Q1396170
{'OR': [['Q1387704', 'P1344', {'concept': 'Q1396170'}], ['Q275164', 'P1344', {'concept': 'Q1396170'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1387704 property:P1344 ?y } UNION { resource:Q275164 property:P1344 ?y } } . ?y rdf:type ontology:Q1396170 }
Gillian Gilks George Alan Thomas
action filter_type
action union
action find
entity George Alan Thomas
relation participant of
action find
entity Gillian Gilks
relation participant of
type All England Badminton Championships
{'OR': [['George Alan Thomas', 'participant of', {'concept': 'All England Badminton Championships'}], ['Gillian Gilks', 'participant of', {'concept': 'All England Badminton Championships'}]]}
SELECT DISTINCT ?y WHERE { { { resource:George_Alan_Thomas property:participant_of ?y } UNION { resource:Gillian_Gilks property:participant_of ?y } } . ?y rdf:type ontology:All_England_Badminton_Championships }
[]
All England Badminton Championships
Q27348473 Q27348502 Q27348548 Q27339803 Q27347765 Q27348030 Q27348500 Q27348051 Q27341832 Q27339812
SYSTEM
Some of them are 1969 All England Badminton Championships – Mixed doubles, 1974 All England Badminton Championships – Mixed doubles, 1984 All England Badminton Championships – Mixed doubles, 1911 All England Badminton Championships – Men's singles, 1972 All England Badminton Championships – Women's doubles, 1911 All England Badminton Championships – Mixed doubles, 1973 All England Badminton Championships – Mixed doubles, 1920 All England Badminton Championships – Mixed doubles, 1921 All England Badminton Championships – Men's doubles, 1921 All England Badminton Championships – Men's singles
Q27348016 Q27341784 Q27348012 Q27347798 Q27348010 Q27341806 Q27340364 Q27348006 Q27339803 Q27339804 Q27339807 Q27339808 Q27339821 Q27348502 Q27348500 Q27348548 Q27347765 Q27339775 Q27347801 Q27347761 Q27347746 Q27341787 Q27348047 Q27341772 Q27348030 Q27341832 Q27339793 Q27341859 Q27341711 Q27348540 Q27348060 Q27348479 Q27341812 Q27340354 Q27347996 Q27341818 Q27348473 Q27348475 Q27340377 Q27341791 Q27339815 Q27348516 Q27339812 Q27347772 Q27347770 Q27340387 Q27348482 Q27347754 Q27347778 Q27340368 Q27348051 Q27348056 Q27348521 Q27341840
OR((Q1387704,P1344,c(Q1396170)), (Q275164,P1344,c(Q1396170)))
action filter_type
action union
action find
entity Q1387704
relation P1344
action find
entity Q275164
relation P1344
type Q1396170
[ANSWERS]
{'OR': [['Q1387704', 'P1344', {'concept': 'Q1396170'}], ['Q275164', 'P1344', {'concept': 'Q1396170'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1387704 property:P1344 ?y } UNION { resource:Q275164 property:P1344 ?y } } . ?y rdf:type ontology:Q1396170 }
1908 All England Badminton Championships – Mixed doubles 1908 All England Badminton Championships – Men's doubles 1907 All England Badminton Championships – Mixed doubles 1980 All England Badminton Championships – Women's doubles 1906 All England Badminton Championships – Mixed doubles 1912 All England Badminton Championships – Men's doubles 1974 All England Badminton Championships – Women's singles 1905 All England Badminton Championships – Mixed doubles 1911 All England Badminton Championships – Men's singles 1912 All England Badminton Championships – Men's singles 1914 All England Badminton Championships – Men's singles 1920 All England Badminton Championships – Men's singles 1923 All England Badminton Championships – Men's singles 1974 All England Badminton Championships – Mixed doubles 1973 All England Badminton Championships – Mixed doubles 1984 All England Badminton Championships – Mixed doubles 1972 All England Badminton Championships – Women's doubles 1904 All England Badminton Championships – Men's singles 1981 All England Badminton Championships – Women's doubles 1971 All England Badminton Championships – Women's doubles 1968 All England Badminton Championships – Women's doubles 1909 All England Badminton Championships – Men's doubles 1914 All England Badminton Championships – Mixed doubles 1906 All England Badminton Championships – Men's doubles 1911 All England Badminton Championships – Mixed doubles 1921 All England Badminton Championships – Men's doubles 1909 All England Badminton Championships – Men's singles 1928 All England Badminton Championships – Men's doubles 1903 All England Badminton Championships – Men's doubles 1982 All England Badminton Championships – Mixed doubles 1922 All England Badminton Championships – Mixed doubles 1971 All England Badminton Championships – Mixed doubles 1913 All England Badminton Championships – Men's doubles 1973 All England Badminton Championships – Women's singles 1903 All England Badminton Championships – Mixed doubles 1914 All England Badminton Championships – Men's doubles 1969 All England Badminton Championships – Mixed doubles 1970 All England Badminton Championships – Mixed doubles 1976 All England Badminton Championships – Women's singles 1910 All England Badminton Championships – Men's doubles 1922 All England Badminton Championships – Men's singles 1976 All England Badminton Championships – Mixed doubles 1921 All England Badminton Championships – Men's singles 1974 All England Badminton Championships – Women's doubles 1973 All England Badminton Championships – Women's doubles 1978 All England Badminton Championships – Women's singles 1972 All England Badminton Championships – Mixed doubles 1970 All England Badminton Championships – Women's doubles 1976 All England Badminton Championships – Women's doubles 1975 All England Badminton Championships – Women's singles 1920 All England Badminton Championships – Mixed doubles 1921 All England Badminton Championships – Mixed doubles 1977 All England Badminton Championships – Mixed doubles 1924 All England Badminton Championships – Men's doubles
Which All England Badminton Championshipss George Alan Thomas or Gillian Gilks participated in
1969 All England Badminton Championships – Mixed doubles 1974 All England Badminton Championships – Mixed doubles 1984 All England Badminton Championships – Mixed doubles 1911 All England Badminton Championships – Men's singles 1972 All England Badminton Championships – Women's doubles 1911 All England Badminton Championships – Mixed doubles 1973 All England Badminton Championships – Mixed doubles 1920 All England Badminton Championships – Mixed doubles 1921 All England Badminton Championships – Men's doubles 1921 All England Badminton Championships – Men's singles
action filter_type
action union
action find
entity George Alan Thomas
relation participant of
action find
entity Gillian Gilks
relation participant of
type All England Badminton Championships
{'OR': [['George Alan Thomas', 'participant of', {'concept': 'All England Badminton Championships'}], ['Gillian Gilks', 'participant of', {'concept': 'All England Badminton Championships'}]]}
SELECT DISTINCT ?y WHERE { { { resource:George_Alan_Thomas property:participant_of ?y } UNION { resource:Gillian_Gilks property:participant_of ?y } } . ?y rdf:type ontology:All_England_Badminton_Championships }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q277759 Q223393
USER
How many people plays a role in atmost 2 book series and literary genres ?
(c(Q277759)|c(Q223393),P674,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
value 2
[[{'concept': 'Q277759'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?s WHERE { VALUES ( ?r ) { ( ontology:Q277759 ) ( ontology:Q223393 ) } . ?x rdf:type ?r } GROUP BY ?s } . FILTER ( ?m <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation characters
type common name
type book series
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
value 2
[[{'concept': 'book series'}, {'concept': 'literary genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?s WHERE { VALUES ( ?r ) { ( ontology:book_series ) ( ontology:literary_genre ) } . ?x rdf:type ?r } GROUP BY ?s } . FILTER ( ?m <= 2 ) }
[]
common name book series literary genre
SYSTEM
512
Q13562217 Q7793319 Q315726 Q5254 Q6741571 Q18720650 Q216362 Q457881 Q1986812 Q272246 Q33923 Q2054 Q33760 Q315795 Q3051256 Q676555 Q2635523 Q744125 Q157 Q7788839 Q152513 Q1353836 Q1851366 Q3680198 Q6173387 Q17141 Q551481 Q43706 Q725118 Q36724 Q1093574 Q200902 Q12316446 Q7322 Q18733964 Q10261 Q5879 Q295824 Q2458567 Q12591 Q118653 Q353879 Q955856 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q1354988 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q21916822 Q6113413 Q6323112 Q456931 Q3181675 Q4212237 Q10265876 Q2085338 Q41155 Q270438 Q43353 Q206459 Q220344 Q765624 Q44387 Q312660 Q2254800 Q6139425 Q547828 Q44265 Q172480 Q1234647 Q830183 Q1937560 Q317554 Q257442 Q256663 Q62788 Q4679883 Q313421 Q47365 Q104804 Q294147 Q460763 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q13560546 Q1338025 Q6777920 Q234811 Q41980 Q2721219 Q185101 Q24061503 Q286238 Q2355196 Q229702 Q129165 Q282220 Q55398 Q1411 Q1413 Q363636 Q1416 Q1419 Q2521377 Q1067 Q42305 Q1140161 Q367387 Q937415 Q7200 Q7207 Q5343069 Q20749193 Q312332 Q5363384 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q328793 Q34428 Q8778 Q42544 Q223440 Q5015 Q7523 Q169329 Q83041 Q271278 Q353188 Q1979876 Q1227273 Q603096 Q83235 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q2361344 Q5264 Q6780925 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q591879 Q38370 Q207535 Q426862 Q1209603 Q154938 Q1059572 Q6818772 Q359237 Q662533 Q317188 Q378053 Q469118 Q17410 Q594805 Q719418 Q991 Q43600 Q128358 Q3090807 Q5598 Q531748 Q7243 Q76918 Q4344 Q19844997 Q188541 Q737786 Q172353 Q256439 Q184176 Q193232 Q43939 Q297285 Q335173 Q8462 Q692 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q43989 Q4791018 Q137680 Q315628 Q86745 Q209535 Q7422342 Q1981295 Q321166 Q40787 Q737533 Q236243 Q1281235 Q532354 Q111559 Q297776 Q185476 Q953718 Q81506 Q3860377 Q154971 Q83400 Q8442 Q200817 Q76721 Q352489 Q76723 Q83159 Q1030008 Q951503 Q289694 Q160441 Q7732 Q7734 Q311456 Q153670 Q1394 Q3236830 Q3080825 Q310303 Q1398 Q7328 Q434217 Q638973 Q215512 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q24062019 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q68366 Q6184 Q145746 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q109860 Q8409 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q694093 Q706003 Q228896 Q9045 Q19348839 Q80823 Q57652 Q7071043 Q131412 Q743858 Q1773005 Q237201 Q353081 Q166056 Q131002 Q229432 Q47180 Q122290 Q170172 Q452048 Q5582 Q1377025 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q913 Q785250 Q950850 Q7617726 Q3261049 Q335165 Q544680 Q717441 Q211246 Q9588 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q83808 Q1824066 Q66107 Q199991 Q106077 Q141791 Q200637 Q16404704 Q2755054 Q193660 Q6780526 Q182637 Q3421721 Q4230107 Q15463333 Q466048 Q6264078 Q670332 Q5944261 Q868 Q19118331 Q5544435 Q318726 Q80048 Q247137 Q9458 Q5816 Q778520 Q230716 Q7367631 Q1370965 Q43718 Q170335 Q555304 Q1402591 Q3275910 Q5202472 Q1394174 Q172248 Q4712236 Q1281177 Q208359 Q186652 Q134646 Q188411 Q15711674 Q75090 Q1771963 Q365695 Q2497107 Q313817 Q7647581 Q4403346 Q443256 Q2596433 Q5689201 Q879350 Q82006 Q1541 Q151209 Q132786 Q828583 Q6197 Q859 Q310267 Q1747004 Q233359 Q2116944 Q360798 Q203792 Q981902 Q205523 Q325026 Q347133 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q1048 Q983502 Q453382 Q85393 Q665165 Q6691 Q36456 Q517 Q39837 Q154732 Q6779045 Q568082 Q3687804 Q469050 Q438615 Q36517 Q44279 Q745286 Q204236 Q889694 Q297050 Q36303 Q258369 Q17131 Q1960623 Q131463 Q3182316 Q158707 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q190116 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q39259 Q1401 Q15427574 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q277759)|c(Q223393),P674,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
value 2
[ANSWER]
[[{'concept': 'Q277759'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?s WHERE { VALUES ( ?r ) { ( ontology:Q277759 ) ( ontology:Q223393 ) } . ?x rdf:type ?r } GROUP BY ?s } . FILTER ( ?m <= 2 ) }
Mary Cecilia Bailly Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Malayaketu Nyssia August von Goethe John Tenniel Tituba Johanne Luise Heiberg Peter Seneca Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Francis of Assisi Henry Percy, 6th Earl of Northumberland Chaerephon François Hollande Thomas Danforth Henry Wadsworth Longfellow Hrothgar Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Antoine Barnave John Chrysostom Carl Christian Hall Attila the Hun Ruggieri degli Ubaldini Shem Henrik Sass Larsen Christopher Columbus Peter Stahl Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard Nebuchadnezzar II August Engelhardt Jean François Paul de Gondi Pallas John Felton Mary Cleophas Foley Cleopatra David Mathos Anton Chekhov Charles Dickens Kay Scarpetta Jonah Hathi Billy Milligan Lyndon B. Johnson Jiro Horikoshi Ann Putnam, Jr. Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Giles Corey Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Giovanni Corrado Orsini Rucio Nahor Sextus Tarquinius John Hale Kanva Dhana Nanda Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Feodor II of Russia Pythia Willem Adriaan van der Stel Darius I of Persia Gaius Mucius Scaevola Cunizza da Romano Thomas Hayward Christiaan de Wet Benedict of Nursia Isaac of Armenia Mark Smeaton Eve Mogens Lykketoft Hugh of Saint Victor Sarah Paulson Anne Geneviève de Bourbon Jethro Adam Tas Abel Marie Antoinette Saint Mesrob William Bligh Benjamin Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Soupy Sales Heidi Blickenstaff Emma Forsayth Maruja Pachón Emma, Lady Hamilton Democritus Farinata degli Uberti Hamilcar Barca Petrus Kalden Thaïs Martinus Theunis Steyn Ham Xerxes Judah Bernadette Soubirous Claudius Nero Cardinal de Rohan Otho Vespasian Ottaviano degli Ubaldini Dante Alighieri Richard I of England Marina Mniszech William II of Sicily James Stewart, 1st Earl of Moray Alexander Pushkin Elizabeth I of England Edward Garrard Marsh Irma Le Fer de la Motte Alessandro Cagliostro Elizabeth Proctor John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Periander Philip Galen Thomas More Lucius Junius Brutus Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Lucius Tarquinius Collatinus Israel Hands Henry Mayhew Leon Klinghoffer Horatio Nelson Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Durvasa Hippocrates Mary Warren Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Piet Cronjé Henry VIII Roland Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Mercy Lewis Charles Martel of Anjou Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Zhou Enlai Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Bayezid I Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Johann Georg Faust Arnaut Daniel Sahakanuysh Chandragupta Maurya Giuseppe Moscati Pyrrhus Claudia Acte Seleucus I Nicator Vasili IV of Russia Anselm of Canterbury Ali Pasha Edward Hyde, 1st Earl of Clarendon Timur William Shakespeare Pharantzem Siger of Brabant Trajan Hadrian John Locke Gyges of Lydia Sigmund Freud Grigori Rasputin Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac Georg Michael Welzel False Dmitriy I Sarah Good Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Giulia Farnese Abas I of Armenia Margaret Erskine Judah Maccabee Pedanius Dioscorides Flavius Aetius Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Paulo da Gama Otto von Bismarck Titus van Rijn Godfrey of Bouillon Aulus Plautius Maurice de Saxe Clement VII Tamar Ashot II of Armenia Abigail Williams Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Frances Nelson Yazdegerd II Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Levi Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Henning Huising Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Miriam Ovid Vasak of Syunik Siward, Earl of Northumbria Plotius Tucca Joseph Vladimir Solovyov Euclid Pope Celestine V Hovsep Ier de Holotsim Empedocles Graciano Ptolemy David of Scotland, Earl of Huntingdon Nicholas III Terpsion Avicenna Euripides Augustine of Hippo Amy Winehouse Saint Patrick Dagobert I Alexander the Great Viktor Frankl Julie d'Aubigny Gaius Scribonius Curio Neil Strauss Euclid of Megara John Corbe Anthony Wood Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Chanakya Salammbô Anne Boleyn Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Simeon Adrienne Lecouvreur Robert de Sablé Cardinal Mazarin Harun al-Rashid Lucretia Petronius Jean-Paul Marat Boris Godunov Hasdrubal Gisco Vincent van Gogh Bharata Yeghishe Sadako Sasaki Dionysius the Areopagite Christopher Wren Guido Cavalcanti Cornelia van Rijn Phil Collins Saladin Socrates Petrus Comestor Samuel Morland William Douglas, 6th Earl of Morton Louis Ange Pitou Osceola John Thurloe Alberto Salazar Caiaphas Richard Nixon Cornelia Africana Autaritus Guido Guinizelli Salvatore Giuliano Justinian I Louis XI of France François Joseph Lefebvre Arturo Bandini Henry Kissinger Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Ramon Llull Mary Pius Regnier Jane Seymour Rebecca Nurse William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini John Willard Comte de Troisville Hunter Bell Aristotle Andrey Shchelkalov George Seton, 7th Lord Seton Publius Valerius Publicola Al Capone Aelius Donatus Muhammad Mao Zedong Diana Turbay Poppaea Sabina Rose Angela Horan Peter Heywood Nikolai Gogol Constance, Queen of Sicily Georges Cadoudal Ohthere Anne Françoise Elisabeth Lange Célestine Guynemer de la Hailandière Paphnutius of Thebes Marcus Junius Brutus Alberto Villamizar Beowulf John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Naphtali Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Susan Blackwell Sahak Sevada Marie Favart Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anne of Austria Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Timon of Athens Atossa Wealhþeow Saint Eligius Robert Guiscard Charles Simon Favart Zipporah Anacharsis George Boleyn, Viscount Rochford Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar St. Nerses I John Adams Friedrich Wilhelm Riemer Sordello Homer Hannibal Napoleon Averroes Agrippina the Younger Mary Bernard Laughlin Arshak II Conte Attilio Pomponia Graecina Marie de Rohan Francis Drake Oliver Cromwell Sir Thomas Hardy, 1st Baronet John Fryer Hygelac Cuauhtémoc Thales Peter Damian Pontius Pilatus Tsarevna Xenia Borisovna of Russia Clement V John Proctor Pat Nixon Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Samuel Parris Bonaventure John the Baptist Seth Cain Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Lucius Varius Rufus Benvenuto Cellini Abraham Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Augustus Recep Tayyip Erdoğan Petrarch John Hathorne Leo I Étienne François, duc de Choiseul Jiang Qing Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Gaius Cassius Longinus Albertus Magnus Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
512
action count
action atmost
action union
action find_reverse_tuple_counts
relation characters
type common name
type book series
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
value 2
[[{'concept': 'book series'}, {'concept': 'literary genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?s WHERE { VALUES ( ?r ) { ( ontology:book_series ) ( ontology:literary_genre ) } . ?x rdf:type ?r } GROUP BY ?s } . FILTER ( ?m <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27348473
P641
Q349
USER
Which sport did 1969 All England Badminton Championships – Mixed doubles participate in ?
(Q27348473,P641,c(Q349))
action filter_type
action find
entity Q27348473
relation P641
type Q349
['Q27348473', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q27348473 property:P641 ?l }
1969 All England Badminton Championships – Mixed doubles
action filter_type
action find
entity 1969 All England Badminton Championships – Mixed doubles
relation sport
type sport
['1969 All England Badminton Championships – Mixed doubles', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:1969_All_England_Badminton_Championships_–_Mixed_doubles property:sport ?l }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27348473,P641,c(Q349))
action filter_type
action find
entity Q27348473
relation P641
type Q349
1969 All England [ANSWER] Championships – Mixed doubles participated in [ANSWER]
['Q27348473', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q27348473 property:P641 ?l }
badminton
1969 All England Badminton Championships – Mixed doubles participated in badminton
badminton
action filter_type
action find
entity 1969 All England Badminton Championships – Mixed doubles
relation sport
type sport
['1969 All England Badminton Championships – Mixed doubles', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:1969_All_England_Badminton_Championships_–_Mixed_doubles property:sport ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q337567 Q2235308
USER
How many administrative territories are around 343 still waterss and ship types situated in ?
(c(Q337567)|c(Q2235308),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q337567
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2235308
value 343
[[{'concept': 'Q337567'}, {'concept': 'Q2235308'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:P17 ?q . ?q rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q337567 } UNION { ?c property:P17 ?q . ?q rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q2235308 } } GROUP BY ?q } . FILTER ( ?g = 343 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type still waters
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type ship type
value 343
[[{'concept': 'still waters'}, {'concept': 'ship type'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:still_waters } UNION { ?c property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:ship_type } } GROUP BY ?q } . FILTER ( ?g = 343 ) }
[]
designation for an administrative territorial entity still waters ship type
SYSTEM
232
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q337567)|c(Q2235308),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q337567
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2235308
value 343
[ANSWER]
[[{'concept': 'Q337567'}, {'concept': 'Q2235308'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:P17 ?q . ?q rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q337567 } UNION { ?c property:P17 ?q . ?q rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q2235308 } } GROUP BY ?q } . FILTER ( ?g = 343 ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
232
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type still waters
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type ship type
value 343
[[{'concept': 'still waters'}, {'concept': 'ship type'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:still_waters } UNION { ?c property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:ship_type } } GROUP BY ?q } . FILTER ( ?g = 343 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with atmost 37 administrative territories and political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action atmost
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 37
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?x <= 37 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?e rdf:type ?y } GROUP BY ?j } }
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 37
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?x <= 37 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?e rdf:type ?y } GROUP BY ?j } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action atmost
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 37
[ANSWERS] have ambassadorial relations with atmost 37 administrative territories and political territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?x <= 37 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?e rdf:type ?y } GROUP BY ?j } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America, Russia and Netherlands have ambassadorial relations with atmost 37 administrative territories and political territories
United States of America Russia Netherlands
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 37
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?x <= 37 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?e rdf:type ?y } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have diplomatic relationships with France ?
(Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l rdf:type ontology:Q1048835 . resource:Q142 property:P530 ?l } UNION { resource:Q142 property:P530 ?l . ?l rdf:type ontology:Q15617994 } }
France
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l rdf:type ontology:political_territorial_entity . resource:France property:diplomatic_relation ?l } UNION { resource:France property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
18
Q711 Q38 Q159 Q222 Q40 Q145 Q155 Q183 Q1011 Q32 Q17 Q408 Q30 Q399 Q27 Q403 Q801 Q228
(Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l rdf:type ontology:Q1048835 . resource:Q142 property:P530 ?l } UNION { resource:Q142 property:P530 ?l . ?l rdf:type ontology:Q15617994 } }
Mongolia Italy Russia Albania Austria United Kingdom Brazil Germany Cape Verde Luxembourg Japan Australia United States of America Armenia Ireland Serbia Israel Andorra
18
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l rdf:type ontology:political_territorial_entity . resource:France property:diplomatic_relation ?l } UNION { resource:France property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P85
Q571
USER
What is the anthem for that administrative territory ?
action filter_type
action find
entity Q142
relation P85
type Q571
SELECT DISTINCT ?s WHERE { resource:Q142 property:P85 ?s . ?s rdf:type ontology:Q571 }
France
action filter_type
action find
entity France
relation anthem
type book
SELECT DISTINCT ?s WHERE { resource:France property:anthem ?s . ?s rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
action filter_type
action find
entity Q142
relation P85
type Q571
The anthem for that administrative territory is called [ANSWER]
SELECT DISTINCT ?s WHERE { resource:Q142 property:P85 ?s . ?s rdf:type ontology:Q571 }
La Marseillaise
The anthem for that administrative territory is called La Marseillaise
La Marseillaise
action filter_type
action find
entity France
relation anthem
type book
SELECT DISTINCT ?s WHERE { resource:France property:anthem ?s . ?s rdf:type ontology:book }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q41180 Q19918
P85
Q15617994
USER
Does Castiglione Falletto have an anthem named that book ?
(Q19918,P85,Q41180)
action is_in
entity Q19918
action find
entity Q41180
relation P85
['Q19918', 'P85', 'Q41180']
ASK WHERE { resource:Q41180 property:P85 resource:Q19918 }
La Marseillaise Castiglione Falletto
action is_in
entity Castiglione Falletto
action find
entity La Marseillaise
relation anthem
['Castiglione Falletto', 'anthem', 'La Marseillaise']
ASK WHERE { resource:La_Marseillaise property:anthem resource:Castiglione_Falletto }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q19918,P85,Q41180)
action is_in
entity Q19918
action find
entity Q41180
relation P85
[ANSWER]
['Q19918', 'P85', 'Q41180']
ASK WHERE { resource:Q41180 property:P85 resource:Q19918 }
No
action is_in
entity Castiglione Falletto
action find
entity La Marseillaise
relation anthem
['Castiglione Falletto', 'anthem', 'La Marseillaise']
ASK WHERE { resource:La_Marseillaise property:anthem resource:Castiglione_Falletto }
[]