Simple Question (Direct)
Simple Question
Q562366
P69
Q3918
USER
What is the university where Srdjan Djekanović was educated ?
(Q562366,P69,c(Q3918))
action filter_type
action find
entity Q562366
relation P69
type Q3918
['Q562366', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?h WHERE { resource:Q562366 property:P69 ?h . ?h rdf:type ontology:Q3918 }
Srdjan Djekanović
action filter_type
action find
entity Srdjan Djekanović
relation educated at
type university
['Srdjan Djekanović', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?h WHERE { resource:Srdjan_Djekanović property:educated_at ?h . ?h rdf:type ontology:university }
[]
university
Q391028
SYSTEM
University of British Columbia
Q391028
(Q562366,P69,c(Q3918))
action filter_type
action find
entity Q562366
relation P69
type Q3918
The university Srdjan Djekanović was educated is the [ANSWER]
['Q562366', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?h WHERE { resource:Q562366 property:P69 ?h . ?h rdf:type ontology:Q3918 }
University of British Columbia
The university Srdjan Djekanović was educated is the University of British Columbia
University of British Columbia
action filter_type
action find
entity Srdjan Djekanović
relation educated at
type university
['Srdjan Djekanović', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?h WHERE { resource:Srdjan_Djekanović property:educated_at ?h . ?h rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q562366
P21
Q290
USER
What is the sex of Srdjan Djekanović ?
(Q562366,P21,c(Q290))
action filter_type
action find
entity Q562366
relation P21
type Q290
['Q562366', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q562366 property:P21 ?z . ?z rdf:type ontology:Q290 }
Srdjan Djekanović
action filter_type
action find
entity Srdjan Djekanović
relation gender
type sex
['Srdjan Djekanović', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Srdjan_Djekanović property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q562366,P21,c(Q290))
action filter_type
action find
entity Q562366
relation P21
type Q290
The sex of Srdjan Djekanović is the [ANSWER]
['Q562366', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q562366 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of Srdjan Djekanović is the male
male
action filter_type
action find
entity Srdjan Djekanović
relation gender
type sex
['Srdjan Djekanović', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Srdjan_Djekanović property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q391028
P108
Q502895
USER
Which people work for University of British Columbia ?
(c(Q502895),P108,Q391028)
action filter_type
action find_reverse
entity Q391028
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q391028']
SELECT DISTINCT ?c WHERE { ?c property:P108 resource:Q391028 . ?c rdf:type ontology:Q502895 }
University of British Columbia
action filter_type
action find_reverse
entity University of British Columbia
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'University of British Columbia']
SELECT DISTINCT ?c WHERE { ?c property:employer resource:University_of_British_Columbia . ?c rdf:type ontology:common_name }
[]
common name
Q183492 Q107462 Q180923
SYSTEM
Margaret Atwood, Har Gobind Khorana, Susan Kieffer
Q7310293 Q5233500 Q7421603 Q4937428 Q5128823 Q4773718 Q7052179 Q3188144 Q3895979 Q5052629 Q8005796 Q5931491 Q206379 Q5040931 Q92679 Q6681377 Q11878 Q7195654 Q954360 Q573751 Q3740815 Q2823965 Q14949420 Q4790538 Q7959036 Q7326756 Q5082912 Q4768334 Q6480404 Q7902129 Q18664059 Q11192467 Q5006830 Q15127124 Q8017956 Q4963352 Q4722843 Q7147715 Q1674035 Q6425802 Q7365159 Q16729190 Q354534 Q3132773 Q5142660 Q7965072 Q5719010 Q130197 Q1348822 Q1384399 Q14949539 Q4216188 Q460136 Q4794802 Q1669642 Q8017023 Q7609846 Q4794975 Q5542545 Q6287460 Q5498458 Q7449427 Q4354264 Q15995546 Q15982118 Q7331717 Q5233252 Q6376724 Q5415310 Q3506849 Q16732048 Q15440614 Q4151006 Q7085857 Q5934198 Q508224 Q7929128 Q4148380 Q5230573 Q5200635 Q6394554 Q1680063 Q973493 Q6504714 Q5880225 Q2815216 Q7945656 Q6927328 Q260351 Q7922451 Q4893670 Q1485260 Q6833706 Q5585965 Q6133764 Q17418649 Q15451685 Q107462 Q4018599 Q5210507 Q7364594 Q233950 Q2549790 Q4759727 Q7329609 Q15491859 Q336513 Q5983181 Q16225640 Q974718 Q1294587 Q14949490 Q5130313 Q16734702 Q15456761 Q1681414 Q16335533 Q7177532 Q7561958 Q4502269 Q6164080 Q11208366 Q7660134 Q6810759 Q7839228 Q15990046 Q15455551 Q1361708 Q11489 Q6264834 Q14949655 Q6250752 Q1064243 Q7287995 Q7422662 Q16733412 Q6555644 Q7173555 Q3915862 Q7372729 Q92887 Q823840 Q5302016 Q5294121 Q1506803 Q7983367 Q7153365 Q259956 Q15429085 Q4759585 Q329249 Q737118 Q6552005 Q6396777 Q16097442 Q6371988 Q7614807 Q6096346 Q6988667 Q469726 Q7610702 Q6152688 Q311684 Q6256329 Q1380042 Q7149281 Q1108658 Q16730257 Q4696996 Q5606656 Q7146261 Q5218225 Q5217454 Q6828980 Q1676388 Q5367249 Q6383970 Q232289 Q6307098 Q6221273 Q6224687 Q13358742 Q5388126 Q2000015 Q1712378 Q2583093 Q5236575 Q16729493 Q661802 Q2640723 Q17285562 Q7143748 Q3021885 Q7704338 Q6182202 Q7614734 Q7817573 Q7609119 Q6490097 Q7355030 Q6820996 Q180923 Q7164338 Q991503 Q719802 Q6437281 Q5623460 Q268732 Q8072449 Q1674627 Q737340 Q4077276 Q20738643 Q382936 Q6792726 Q4739788 Q15453023 Q11172658 Q3017789 Q7172672 Q6680384 Q5539084 Q6509207 Q7364985 Q4722425 Q4843241 Q5617963 Q1496223 Q2579315 Q6524963 Q7150580 Q14642061 Q1369818 Q7516011 Q5080904 Q7343187 Q581515 Q5363324 Q7151815 Q2184396 Q1044447 Q6939248 Q7145446 Q19960769 Q5669578 Q7175441 Q6916157 Q7327310 Q11596 Q1989555 Q7807476 Q4707215 Q92724 Q21044810 Q6066171 Q6304485 Q5234571 Q16728610 Q6769610 Q4910050 Q7343404 Q6967658 Q5612041 Q7365072 Q6230812 Q16192768 Q5443861 Q5214695 Q6311655 Q679779 Q2079052 Q6531137 Q3738153 Q7704781 Q14949514 Q7146806 Q11105290 Q7184847 Q6525540 Q1848391 Q5262840 Q6248877 Q5289597 Q15989922 Q6384440 Q5110612 Q5403231 Q545915 Q807645 Q3736815 Q1655419 Q20738665 Q4962242 Q7787244 Q183492 Q6489491 Q5486361 Q17152895 Q6170223 Q6196675
(c(Q502895),P108,Q391028)
action filter_type
action find_reverse
entity Q391028
relation P108
type Q502895
[ANSWERS] work for University of British Columbia
[{'concept': 'Q502895'}, 'P108', 'Q391028']
SELECT DISTINCT ?c WHERE { ?c property:P108 resource:Q391028 . ?c rdf:type ontology:Q502895 }
Reiner Kruecken David F. Hardwick Sara Davis Buechner Bogdan Czaykowski Claude Ernest Dolman Anthony William Thomas Norman E. Amundson Juhn Atsushi Wada Izabella Łaba Catherine Dauvergne William Boyd Hugh Llewellyn Keenleyside Carl Wieman Carl Walters David G. Lowe Lorna McGhee Brett J. Gladman Ping-ti Ho George Woodcock Anthony Pawson Martin T. Barlow Adam Jones Max Cynader Arif Dirlik Wade Davis Richard J. Pearson Charles Thomas Beer Anne Fleming Lalith Gamage Ussif Rashid Sumaila John Roosa Jeremy S. Heyl C. S. Holling Walter Erwin Diewert William S. Hoar Brian Christie Alfred Hermida Patrick Taylor Victor Ling Kogila Moodley Ronald P. Dore Arun Garg David Suzuki Henry Angus Cole Harris Walter Hardwick Henry C. Gunning Timothy Brook Robert Turner Richard Condie Alan Cairns Alan Carter Beverley McLachlin Patricia Baird Robert M. Miura William Poser Stephen M. Drance Judith Goslin Hall George Moir Weir Joseph Tonzetich Frederick Newmeyer Semih Tezcan Joel Bakan Neil Towers Hassan Farhangi Rick Schmidlin David Eby Kathleen Gough Evan Adams Jim Green Martin Schechter William Pinar Mackenzie Gray Ole Holsti Hugo McPherson Rachel Talalay Vijay Bhargava Derek Gregory David Aberle Cyril Belshaw Kerry Jang James Brander Joseph Henrich Lawrence Ward Holger H. Hoos Kai Behrend W. H. New Mowry Baden Harold Copp Veronica Strong-Boag Bernard Stonehouse Keith Maillard Michael R. Hayden Gordon Walter Semenoff James Fankhauser Sam Black Merton Yarwood Williams Har Gobind Khorana Wayne Maddison Dale Kinkade Rona Murray Daniel Kahneman Warren Tallman Andrzej Waksmundzki Richard Unger Harjot Oberoi John Krebs, Baron Krebs Ian Wallace James Heilman Robert D. Hare Edwin G. Pulleyblank Michael M. Ames Clayton Oscar Person John Pratt-Johnson Joel Feldman Jamie Peck Clyde Hertzman Peter W. Klein Sonnet L'Abbé David W. Boyd Jasper Wood Howard Charles Clark Sydney Segal Mel Krajden Trevor J. Barnes Robin M. Hochstrasser Gordon Douglas Slade W. G. Unruh Anne Condon John Woods Susan Wood John O'Brian Charles Edward Borden Ralph Raymond Loffmark Sarah Otto Nimal Rajapakshe Lionel G. Harrison Peter Dauvergne Nancy Reid Roy Daniells Philippe Kruchten Bernd Lucke Douglas T. Kenny Donald Calne George Sawatzky Werner Cohn Paul Russell Carol Shields Benjamin Perrin Andrzej Busza Evan Thompson Miklos Udvardy Linda Svendsen Kevin Leyton-Brown Peter Suedfeld Karl Klare Steven Heine Ivan Head Neil Guppy Rudolf Vrba Stephen Toope Jane Roskams Michael Ignatieff John S. MacDonald William E. Rees Paul Beaudry Colin S. Gray Carrie Ichikawa Jenkins Ailana Fraser Gregor Kiczales Patrick Condon Daniel Muzyka Daniel Heath Justice Michael Byers J. Ross Mackay Eloy Rodriguez Keith Alldritt Michael Smith Julian Davies John Beatty John C. Yuille Jerry Wasserman Erich Vogt John Willinsky Julio Montaner Ken Lum David Ley Kalervo Gulson Shūichi Katō Alejandro Adem Ernest Mathijs Pat McGeer Álvaro Santos Pereira Terry Eastwood Jerilynn Prior Steven Galloway Tom Siddon Stephen E. Calvert Larry Cochran Rocke Robertson Meryn Cadell Susan Kieffer Penny Ballem Bruce Bagemihl Nathan Divinsky Kris Sigurdson Gwen Thompson Arthur Erickson Zinovy Reichstein Israel Wood Powell Neil Bartlett Robert Joseph Bandoni Louis Alexander MacKay Tsering Shakya Maureen Medved Amanda Vincent W. Wesley Pue Catherine Heymans David Dolphin Peter Barcza Loren H. Rieseberg George F. Curtis Leah Keshet Ronald James Baker Alfred Carrothers Baik Tae-Ung Gulzar Singh Cheema Alexander Hrennikoff William L. Holland Leon Zolbrod Paul Falkowski A. Thurairajah George Volkoff Silver Donald Cameron Charles Menzies Robert Creech Daniel Pauly Elizabeth Parr-Johnston Paul Kling Jacob Luitjens Caroline Adderson Murray Goldberg Patricia Alice Shaw Natalie Strynadka Harry Hawthorn Peter Levitt Moshe Shapiro Richard Lee Armstrong Charlotte Froese Fischer Nigel Lockyer Timothy R. Parsons Alan Mackworth David G. Kirkpatrick Tamara Munzner Ira Nadel Judy Illes David H. Turpin Charles M. Dollar Mark Schaller Bill Mathews Robert Daum Nassif Ghoussoub Stanley Coren Ronald M. Clowes John E. L. Peck Andrew David Irvine Ferdinand Knobloch Dana Claxton Juncheng Wei Ivar Ekeland Peter Hochachka Leslie Shemilt Jonathan Bennett Terry McGee Ingrid Parent Patrick J. Keeling Paul Tseng Philippe Le Billon Leonard Marsh Sayyed Mohsen Fatemi Dermot P. Kelleher John Milsum Dolph Schluter John S. Conway Keith Hamel Christianne Balk Ethel Wilson Dorothy E. Smith Barbara J. Spencer Ed Perkins Ian Affleck Malcolm Francis McGregor Brett Josef Grubisic Thomas B. Greenfield Margaret Atwood Larissa Lai Frank E. Buck Aubrey Tingle Jean Barman Jim Matkin
Margaret Atwood, Har Gobind Khorana and Susan Kieffer work for University of British Columbia
Margaret Atwood Har Gobind Khorana Susan Kieffer
action filter_type
action find_reverse
entity University of British Columbia
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'University of British Columbia']
SELECT DISTINCT ?c WHERE { ?c property:employer resource:University_of_British_Columbia . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183492 Q107462 Q180923
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q183492,P106,c(Q12737077)) (Q107462,P106,c(Q12737077)) (Q180923,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q183492', 'P106', {'concept': 'Q12737077'}] ['Q107462', 'P106', {'concept': 'Q12737077'}] ['Q180923', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?r property:P106 ?u . VALUES ( ?r ) { ( resource:Q7310293 ) ( resource:Q5233500 ) ( resource:Q7421603 ) } . ?u rdf:type ontology:Q12737077 }
Margaret Atwood Har Gobind Khorana Susan Kieffer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Margaret Atwood', 'occupation', {'concept': 'occupation'}] ['Har Gobind Khorana', 'occupation', {'concept': 'occupation'}] ['Susan Kieffer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?r property:occupation ?u . VALUES ( ?r ) { ( resource:Reiner_Kruecken ) ( resource:David_F._Hardwick ) ( resource:Sara_Davis_Buechner ) } . ?u rdf:type ontology:occupation }
[]
occupation
Q1622272 Q1622272 Q15980158
SYSTEM
non-fiction writer for 3rd, university teacher for 1st, 2nd
Q15980158 Q11774202 Q6625963 Q1231865 Q36180 Q18844224 Q4263842 Q49757 Q3126128 Q1622272 Q16742203 Q16335117 Q1622272 Q520549
(Q183492,P106,c(Q12737077)) (Q107462,P106,c(Q12737077)) (Q180923,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q183492', 'P106', {'concept': 'Q12737077'}] ['Q107462', 'P106', {'concept': 'Q12737077'}] ['Q180923', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?r property:P106 ?u . VALUES ( ?r ) { ( resource:Q7310293 ) ( resource:Q5233500 ) ( resource:Q7421603 ) } . ?u rdf:type ontology:Q12737077 }
non-fiction writer essayist novelist educationist writer science fiction writer literary critic poet geneticist university teacher planetary scientist geophysicist university teacher geologist
University teacher, university teacher and non-fiction writer have those people as his/her 's career
university teacher university teacher non-fiction writer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Margaret Atwood', 'occupation', {'concept': 'occupation'}] ['Har Gobind Khorana', 'occupation', {'concept': 'occupation'}] ['Susan Kieffer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?r property:occupation ?u . VALUES ( ?r ) { ( resource:Reiner_Kruecken ) ( resource:David_F._Hardwick ) ( resource:Sara_Davis_Buechner ) } . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183492
P737
Q502895
USER
Who did Margaret Atwood have an influence on ?
(c(Q502895),P737,Q1622272) (c(Q502895),P737,Q1622272) (c(Q502895),P737,Q15980158)
action filter_type
action find_reverse
entity Q183492
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q1622272'] [{'concept': 'Q502895'}, 'P737', 'Q1622272'] [{'concept': 'Q502895'}, 'P737', 'Q15980158']
SELECT DISTINCT ?o WHERE { ?o property:P737 resource:Q183492 . ?o rdf:type ontology:Q502895 }
Margaret Atwood
action filter_type
action find_reverse
entity Margaret Atwood
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'university teacher'] [{'concept': 'common name'}, 'influenced by', 'university teacher'] [{'concept': 'common name'}, 'influenced by', 'non-fiction writer']
SELECT DISTINCT ?o WHERE { ?o property:influenced_by resource:Margaret_Atwood . ?o rdf:type ontology:common_name }
[]
common name
Q272855
SYSTEM
Kazuo Ishiguro
Q272855
(c(Q502895),P737,Q1622272) (c(Q502895),P737,Q1622272) (c(Q502895),P737,Q15980158)
action filter_type
action find_reverse
entity Q183492
relation P737
type Q502895
Margaret Atwood had an influence on [ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q1622272'] [{'concept': 'Q502895'}, 'P737', 'Q1622272'] [{'concept': 'Q502895'}, 'P737', 'Q15980158']
SELECT DISTINCT ?o WHERE { ?o property:P737 resource:Q183492 . ?o rdf:type ontology:Q502895 }
Kazuo Ishiguro
Margaret Atwood had an influence on Kazuo Ishiguro
Kazuo Ishiguro
action filter_type
action find_reverse
entity Margaret Atwood
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'university teacher'] [{'concept': 'common name'}, 'influenced by', 'university teacher'] [{'concept': 'common name'}, 'influenced by', 'non-fiction writer']
SELECT DISTINCT ?o WHERE { ?o property:influenced_by resource:Margaret_Atwood . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P50
Q2342494
USER
How many collectables have that person as their author ?
(c(Q2342494),P50,Q272855)
action count
action filter_type
action find_reverse
entity Q272855
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q272855']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P50 resource:Q272855 . ?m rdf:type ontology:Q2342494 }
action count
action filter_type
action find_reverse
entity Kazuo Ishiguro
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Kazuo Ishiguro']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:author resource:Kazuo_Ishiguro . ?m rdf:type ontology:collectable }
[]
collectable
SYSTEM
8
Q7771331 Q4658705 Q19363462 Q4003685 Q708490 Q829934 Q951587 Q7046568
(c(Q2342494),P50,Q272855)
action count
action filter_type
action find_reverse
entity Q272855
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q272855']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P50 resource:Q272855 . ?m rdf:type ontology:Q2342494 }
The Unconsoled A Pale View of Hills The Buried Giant An Artist of the Floating World When We Were Orphans The Remains of the Day Never Let Me Go Nocturnes
8
action count
action filter_type
action find_reverse
entity Kazuo Ishiguro
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Kazuo Ishiguro']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:author resource:Kazuo_Ishiguro . ?m rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172579
P17
Q7275
USER
Which state is Kingdom of Italy situated in ?
(Q172579,P17,c(Q7275))
action filter_type
action find
entity Q172579
relation P17
type Q7275
['Q172579', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q172579 property:P17 ?v . ?v rdf:type ontology:Q7275 }
Kingdom of Italy
action filter_type
action find
entity Kingdom of Italy
relation country
type state
['Kingdom of Italy', 'country', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Kingdom_of_Italy property:country ?v . ?v rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q172579,P17,c(Q7275))
action filter_type
action find
entity Q172579
relation P17
type Q7275
[ANSWER] is situated in [ANSWER]
['Q172579', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q172579 property:P17 ?v . ?v rdf:type ontology:Q7275 }
Kingdom of Italy
Kingdom of Italy is situated in Kingdom of Italy
Kingdom of Italy
action filter_type
action find
entity Kingdom of Italy
relation country
type state
['Kingdom of Italy', 'country', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Kingdom_of_Italy property:country ?v . ?v rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27235627
Q7275
USER
And what about 1987 GDR Badminton Championships – Mixed doubles?
(Q27235627,P17,c(Q7275))
action filter_type
action find
entity Q27235627
relation P17
type Q7275
['Q27235627', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q27235627 property:P17 ?u . ?u rdf:type ontology:Q7275 }
1987 GDR Badminton Championships – Mixed doubles
action filter_type
action find
entity 1987 GDR Badminton Championships – Mixed doubles
relation country
type state
['1987 GDR Badminton Championships – Mixed doubles', 'country', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:1987_GDR_Badminton_Championships_–_Mixed_doubles property:country ?u . ?u rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q27235627,P17,c(Q7275))
action filter_type
action find
entity Q27235627
relation P17
type Q7275
[ANSWER]
['Q27235627', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q27235627 property:P17 ?u . ?u rdf:type ontology:Q7275 }
East Germany
East Germany
action filter_type
action find
entity 1987 GDR Badminton Championships – Mixed doubles
relation country
type state
['1987 GDR Badminton Championships – Mixed doubles', 'country', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:1987_GDR_Badminton_Championships_–_Mixed_doubles property:country ?u . ?u rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2109946
P1376
Q7275 Q515 Q486972
USER
Which states have approximately the same number of cities and human settlements have their first city as Principality of Galilee ?
(c(Q515)|c(Q486972),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q2109946
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?t WHERE { { ?c property:P1376 ?t . ?t rdf:type ontology:Q7275 . ?c rdf:type ontology:Q515 } UNION { ?c property:P1376 ?t . ?c rdf:type ontology:Q486972 . ?t rdf:type ontology:Q7275 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P1376 resource:Q2109946 . { { ?r rdf:type ontology:Q486972 } UNION { ?r rdf:type ontology:Q515 } } } } . FILTER ( ?d = ?q ) }
Principality of Galilee
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Principality of Galilee
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?t WHERE { { ?c property:capital_of ?t . ?t rdf:type ontology:state . ?c rdf:type ontology:city } UNION { ?c property:capital_of ?t . ?c rdf:type ontology:human_settlement . ?t rdf:type ontology:state } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:capital_of resource:Principality_of_Galilee . { { ?r rdf:type ontology:human_settlement } UNION { ?r rdf:type ontology:city } } } } . FILTER ( ?d = ?q ) }
[]
state city human settlement
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q152855 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q2006542 Q186096 Q501684 Q164079 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q1362278 Q1269234 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q181254 Q2396442 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q2088324 Q11909456 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q842091 Q70972 Q187684 Q1143164 Q1324889 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q112558 Q1198071 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q169705 Q212439 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q422065 Q76236 Q209857 Q2712121 Q964024 Q877155 Q777981 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q515)|c(Q486972),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q2109946
relation P1376
type Q515
type Q486972
[ANSWERS] have approximately the same number of cities and human settlements have their first city as Principality of Galilee
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?t WHERE { { ?c property:P1376 ?t . ?t rdf:type ontology:Q7275 . ?c rdf:type ontology:Q515 } UNION { ?c property:P1376 ?t . ?c rdf:type ontology:Q486972 . ?t rdf:type ontology:Q7275 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P1376 resource:Q2109946 . { { ?r rdf:type ontology:Q486972 } UNION { ?r rdf:type ontology:Q515 } } } } . FILTER ( ?d = ?q ) }
Kingdom of Scotland Wuyue Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo Kingdom of Tungning United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United States of Stellaland Stellaland Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Kamarupa Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Empire of Nicea Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Duchy of Normandy Kingdom of France Despotate of Epirus Western Wei Germiyanids Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
Czechoslovakia, Soviet Union and Bavaria have approximately the same number of cities and human settlements have their first city as Principality of Galilee
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Principality of Galilee
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?t WHERE { { ?c property:capital_of ?t . ?t rdf:type ontology:state . ?c rdf:type ontology:city } UNION { ?c property:capital_of ?t . ?c rdf:type ontology:human_settlement . ?t rdf:type ontology:state } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:capital_of resource:Principality_of_Galilee . { { ?r rdf:type ontology:human_settlement } UNION { ?r rdf:type ontology:city } } } } . FILTER ( ?d = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2657134
P1376
Q7275 Q515 Q486972
USER
And how about Kingdom of Albania?
(c(Q515)|c(Q486972),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q2657134
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?x WHERE { VALUES ( ?c ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?t rdf:type ?c } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P1376 resource:Q2657134 . { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } } } . FILTER ( ?n = ?g ) }
Kingdom of Albania
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Kingdom of Albania
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?x WHERE { VALUES ( ?c ) { ( ontology:human_settlement ) ( ontology:city ) } . ?t rdf:type ?c } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:capital_of resource:Kingdom_of_Albania . { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:city ) ( ontology:human_settlement ) } } } } . FILTER ( ?n = ?g ) }
[]
state city human settlement
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q152855 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q2006542 Q186096 Q501684 Q164079 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q1362278 Q1269234 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q181254 Q2396442 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q2088324 Q11909456 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q842091 Q70972 Q187684 Q1143164 Q1324889 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q112558 Q1198071 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q169705 Q212439 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q422065 Q76236 Q209857 Q2712121 Q964024 Q877155 Q777981 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q515)|c(Q486972),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q2657134
relation P1376
type Q515
type Q486972
[ANSWERS]
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?x WHERE { VALUES ( ?c ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?t rdf:type ?c } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P1376 resource:Q2657134 . { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } } } . FILTER ( ?n = ?g ) }
Kingdom of Scotland Wuyue Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo Kingdom of Tungning United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United States of Stellaland Stellaland Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Kamarupa Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Empire of Nicea Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Duchy of Normandy Kingdom of France Despotate of Epirus Western Wei Germiyanids Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Kingdom of Albania
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?x WHERE { VALUES ( ?c ) { ( ontology:human_settlement ) ( ontology:city ) } . ?t rdf:type ?c } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:capital_of resource:Kingdom_of_Albania . { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:city ) ( ontology:human_settlement ) } } } } . FILTER ( ?n = ?g ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33946
P1532
Q1194951
USER
Who plays for that state ?
(c(Q1194951),P1532,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q33946']
SELECT DISTINCT ?w WHERE { ?w property:P1532 resource:Q33946 . ?w rdf:type ontology:Q1194951 }
Czechoslovakia
action filter_type
action find_reverse
entity Czechoslovakia
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Czechoslovakia']
SELECT DISTINCT ?w WHERE { ?w property:country_for_sport resource:Czechoslovakia . ?w rdf:type ontology:national_sports_team }
[]
national sports team
Clarification for simple ques.
Q33946
SYSTEM
Did you mean Czechoslovakia ?
Q33946 Q15180 Q980
(c(Q1194951),P1532,Q33946) (c(Q1194951),P1532,Q15180) (c(Q1194951),P1532,Q980)
[ANSWER]
[{'concept': 'Q1194951'}, 'P1532', 'Q33946'] [{'concept': 'Q1194951'}, 'P1532', 'Q15180'] [{'concept': 'Q1194951'}, 'P1532', 'Q980']
SELECT DISTINCT ?w WHERE { ?w property:P1532 resource:Q33946 . ?w rdf:type ontology:Q1194951 }
Czechoslovakia Soviet Union Bavaria
Did you mean Czechoslovakia ?
Czechoslovakia
[{'concept': 'national sports team'}, 'country for sport', 'Czechoslovakia'] [{'concept': 'national sports team'}, 'country for sport', 'Soviet Union'] [{'concept': 'national sports team'}, 'country for sport', 'Bavaria']
SELECT DISTINCT ?w WHERE { ?w property:country_for_sport resource:Czechoslovakia . ?w rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1194951),P1532,Q33946)
[{'concept': 'Q1194951'}, 'P1532', 'Q33946']
[{'concept': 'national sports team'}, 'country for sport', 'Czechoslovakia']
[]
Q182072
SYSTEM
Czechoslovakia national football team
Q182072
(c(Q1194951),P1532,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P1532
type Q1194951
[ANSWER] plays for that state
[{'concept': 'Q1194951'}, 'P1532', 'Q33946']
SELECT DISTINCT ?w WHERE { ?w property:P1532 resource:Q33946 . ?w rdf:type ontology:Q1194951 }
Czechoslovakia national football team
Czechoslovakia national football team plays for that state
Czechoslovakia national football team
action filter_type
action find_reverse
entity Czechoslovakia
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Czechoslovakia']
SELECT DISTINCT ?w WHERE { ?w property:country_for_sport resource:Czechoslovakia . ?w rdf:type ontology:national_sports_team }
[]