Simple Question (Direct)
Simple Question
Q741091
P172
Q2472587
USER
What is the ethnicity of Christopher Weeramantry ?
(Q741091,P172,c(Q2472587))
action filter_type
action find
entity Q741091
relation P172
type Q2472587
['Q741091', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?y WHERE { resource:Q741091 property:P172 ?y . ?y rdf:type ontology:Q2472587 }
Christopher Weeramantry
action filter_type
action find
entity Christopher Weeramantry
relation ethnic group
type people
['Christopher Weeramantry', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?y WHERE { resource:Christopher_Weeramantry property:ethnic_group ?y . ?y rdf:type ontology:people }
[]
people
Q932244
SYSTEM
Sinhalese people
Q932244
(Q741091,P172,c(Q2472587))
action filter_type
action find
entity Q741091
relation P172
type Q2472587
The ethnicity of Christopher Weeramantry is of [ANSWER]
['Q741091', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?y WHERE { resource:Q741091 property:P172 ?y . ?y rdf:type ontology:Q2472587 }
Sinhalese people
The ethnicity of Christopher Weeramantry is of Sinhalese people
Sinhalese people
action filter_type
action find
entity Christopher Weeramantry
relation ethnic group
type people
['Christopher Weeramantry', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?y WHERE { resource:Christopher_Weeramantry property:ethnic_group ?y . ?y rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q741091
P69
Q3918
USER
Which university was that person educated at ?
(Q932244,P69,c(Q3918))
action filter_type
action find
entity Q741091
relation P69
type Q3918
['Q932244', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3918 . resource:Q741091 property:P69 ?v }
Christopher Weeramantry
action filter_type
action find
entity Christopher Weeramantry
relation educated at
type university
['Sinhalese people', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:university . resource:Christopher_Weeramantry property:educated_at ?v }
[]
university
Q245247
SYSTEM
King's College London
Q245247
(Q932244,P69,c(Q3918))
action filter_type
action find
entity Q741091
relation P69
type Q3918
That person was educated at [ANSWER]
['Q932244', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3918 . resource:Q741091 property:P69 ?v }
King's College London
That person was educated at King's College London
King's College London
action filter_type
action find
entity Christopher Weeramantry
relation educated at
type university
['Sinhalese people', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:university . resource:Christopher_Weeramantry property:educated_at ?v }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P69
Q3918 Q502895
USER
How many universities are less number of people an alumni of than that university ?
(c(Q502895),P69,c(Q3918))
action count
action less
action find_reverse_tuple_counts
relation P69
type Q3918
type Q502895
action count
action filter_type
action find_reverse
entity Q245247
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P69 ?w . ?w rdf:type ontology:Q3918 . ?z rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P69 resource:Q245247 . ?x rdf:type ontology:Q502895 } } . FILTER ( ?q < ?r ) }
action count
action less
action find_reverse_tuple_counts
relation educated at
type university
type common name
action count
action filter_type
action find_reverse
entity King's College London
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:educated_at ?w . ?w rdf:type ontology:university . ?z rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:educated_at resource:King's_College_London . ?x rdf:type ontology:common_name } } . FILTER ( ?q < ?r ) }
[]
university common name
SYSTEM
503
Q3183295 Q749718 Q483656 Q967165 Q7413401 Q1305521 Q1551044 Q6694614 Q5499390 Q736674 Q2667184 Q1665236 Q15570 Q7895557 Q1678753 Q7082157 Q6904331 Q845138 Q5468082 Q1100801 Q845768 Q14691855 Q4027 Q6973717 Q5555403 Q14688472 Q6106933 Q1664127 Q5129063 Q558977 Q39949 Q281155 Q6516648 Q2302260 Q1053985 Q1377 Q892188 Q2590962 Q6542166 Q491511 Q152303 Q2688358 Q7432967 Q3551751 Q500740 Q6792811 Q7634594 Q7746440 Q1495387 Q1939211 Q1153094 Q41085 Q6851447 Q662801 Q2503794 Q4203305 Q7895286 Q472316 Q4095278 Q7523091 Q7382811 Q19159531 Q4920974 Q613736 Q567899 Q951305 Q4318523 Q7895916 Q2456057 Q344262 Q7895695 Q1784748 Q491127 Q7121909 Q923610 Q7895594 Q7972542 Q7629097 Q1633215 Q8018007 Q6593237 Q5542217 Q1143289 Q743615 Q7675042 Q1247544 Q6801255 Q1322289 Q41790 Q2378091 Q11942 Q212297 Q6912389 Q7663080 Q681 Q18155496 Q7419339 Q1326975 Q5582145 Q864855 Q36188 Q7896321 Q7896329 Q4836272 Q7676661 Q176473 Q4314987 Q126726 Q7058422 Q2495874 Q4760155 Q2303907 Q1656608 Q1149089 Q1799872 Q1511650 Q6040911 Q7896029 Q5508996 Q6040919 Q12058774 Q1517478 Q1145306 Q702303 Q483032 Q5048332 Q5123486 Q7894802 Q6133193 Q4119470 Q268411 Q632891 Q2038878 Q6393365 Q846173 Q216273 Q6694579 Q5184025 Q758560 Q5316090 Q7660015 Q7895798 Q3016196 Q2648311 Q3151861 Q3026663 Q2000624 Q1665121 Q7896446 Q4005921 Q7895647 Q5210049 Q1401524 Q283099 Q6470927 Q4765985 Q3544530 Q4947841 Q6452737 Q1036763 Q891082 Q7522161 Q3551771 Q7611664 Q7829357 Q8023816 Q310842 Q24576 Q1564297 Q7895892 Q1024426 Q7456791 Q7896167 Q7896169 Q5305628 Q4068854 Q5150109 Q5921126 Q16997122 Q7864076 Q557597 Q7489128 Q3997334 Q1257946 Q16955 Q76473 Q5461282 Q683580 Q7063457 Q1141929 Q1858310 Q5312901 Q4534839 Q7425578 Q49206 Q349055 Q1654025 Q845392 Q1549932 Q41114 Q1141586 Q487804 Q11684710 Q4538875 Q1073441 Q725198 Q7896011 Q1854488 Q4813072 Q167102 Q2303432 Q5193960 Q7895653 Q7986919 Q240784 Q7893913 Q1517780 Q5933098 Q2140369 Q1378 Q846183 Q300980 Q5104666 Q5303959 Q1420500 Q7387200 Q2302336 Q1504133 Q39988 Q7895581 Q7260309 Q1124657 Q3064269 Q1351317 Q1187623 Q1537436 Q635118 Q2496094 Q7603650 Q1477551 Q484230 Q833670 Q7622043 Q7896235 Q7692472 Q1434547 Q7896238 Q968559 Q1048898 Q85285 Q240631 Q7799288 Q10379501 Q6966999 Q1760244 Q5208233 Q4041 Q913861 Q7060409 Q3098071 Q235034 Q1187271 Q4696572 Q820796 Q8012895 Q2508061 Q1307345 Q1570276 Q1066492 Q7063663 Q344334 Q5123253 Q4981651 Q3577853 Q2303765 Q6770581 Q6023633 Q14328110 Q40006 Q2687782 Q1284408 Q5354197 Q3778182 Q6825262 Q1034468 Q482659 Q467025 Q3551820 Q1707779 Q528377 Q1136919 Q7895301 Q7895499 Q139901 Q955764 Q10854154 Q7976643 Q7896780 Q15228657 Q7405523 Q1343885 Q6879100 Q7058068 Q7895273 Q600634 Q633561 Q1661242 Q7894990 Q7401683 Q622906 Q7864163 Q7414060 Q696672 Q1353248 Q1857293 Q7566644 Q590643 Q304985 Q1467920 Q533235 Q5055985 Q10906760 Q3268248 Q153265 Q49213 Q7970913 Q631066 Q4916802 Q1362729 Q579321 Q846101 Q7590449 Q1446492 Q7866339 Q766145 Q7166399 Q3067635 Q204181 Q5500137 Q8003310 Q7698689 Q3445856 Q5546035 Q1938341 Q1364464 Q7971464 Q392897 Q14693404 Q5132316 Q734266 Q685557 Q2496210 Q11837925 Q746079 Q7895026 Q17040748 Q7895457 Q461551 Q475007 Q7640246 Q5445386 Q4874603 Q861888 Q624985 Q3151965 Q7912578 Q5645514 Q39997 Q3578275 Q391028 Q7896136 Q1579397 Q491711 Q3534782 Q877925 Q200601 Q7895338 Q496536 Q7603641 Q1049470 Q6694609 Q1755318 Q179781 Q4837977 Q15568 Q579968 Q7895523 Q132478 Q5588949 Q24714140 Q2495890 Q659080 Q309988 Q641609 Q18545951 Q3635065 Q7571324 Q8012898 Q4380853 Q314305 Q1273836 Q1815994 Q507349 Q4032 Q734764 Q3551486 Q1111640 Q1131088 Q685664 Q3523254 Q4775029 Q2001033 Q5018694 Q7988336 Q5416962 Q186285 Q374457 Q1521725 Q11093399 Q378134 Q911830 Q835366 Q6772633 Q6647469 Q487170 Q487177 Q7896469 Q7152118 Q839900 Q375606 Q488851 Q465922 Q2001088 Q689775 Q7588853 Q597236 Q6536214 Q858662 Q4456884 Q3551758 Q14692455 Q5588960 Q6214727 Q482735 Q10176 Q56143 Q7914456 Q847128 Q694219 Q487841 Q4304088 Q8010335 Q258464 Q6156725 Q1470431 Q41765 Q7930883 Q1057199 Q213439 Q179501 Q7896088 Q7895518 Q7895843 Q7895840 Q192334 Q7570576 Q4551377 Q7348679 Q3695416 Q7895108 Q7165488 Q4556206 Q1026846 Q457281 Q1472347 Q1333303 Q219563 Q133965 Q11509930 Q7494418 Q9357897 Q1378099 Q7896545 Q167049 Q7057624 Q153978 Q5461640 Q15952687 Q1190852 Q7708154 Q3064264 Q7895034 Q3409570 Q1807942 Q7895748 Q7416583 Q1627967 Q503419 Q5244034 Q734324 Q16543763 Q1641788 Q7895080
(c(Q502895),P69,c(Q3918))
action count
action less
action find_reverse_tuple_counts
relation P69
type Q3918
type Q502895
action count
action filter_type
action find_reverse
entity Q245247
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P69 ?w . ?w rdf:type ontology:Q3918 . ?z rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P69 resource:Q245247 . ?x rdf:type ontology:Q502895 } } . FILTER ( ?q < ?r ) }
University of Derby Oklahoma State University–Stillwater Wonkwang University University of York San Beda College of Law University of South Dakota Alabama Agricultural and Mechanical University Loyola University New Orleans College of Law Fredric G. Levin College of Law University of Colorado Boulder Faculdade de Direito da Universidade de São Paulo Instituto Tecnológico Autónomo de México The Chinese University of Hong Kong University of Iowa College of Law Poznań University of Technology Oklahoma City University School of Law Montana State University–Northern Japan Advanced Institute of Science and Technology Fordham University School of Law Cleveland State University Cornell Law School Tulane University Law School Jean Moulin University Lyon 3 National Institute of Technology, Patna Ghana School of Law Indiana University Robert H. McKinney School of Law J. Reuben Clark Law School Omsk State University Claude W. Pettit College of Law Carnegie Institute of Technology KAIST Gebze Institute of Technology MF Norwegian School of Theology South Dakota State University Central Queensland University University of Ljubljana Bond University University of Wisconsin–Platteville Liberty University School of Law Hongik University University of Wisconsin Law School University of Wisconsin–La Crosse Schulich School of Law University of the District of Columbia Lille University of Science and Technology Maurice A. Deane School of Law Suffolk University Law School The Lawrence School, Sanawar Texas State University Mississippi State University Sophia University Sungkyunkwan University Miles Law School Iowa Writers' Workshop Northumbria University Irkutsk State Medical University University of Colorado Law School University of Nottingham Manipal University Singapore Polytechnic Rutgers School of Law–Newark Pennsylvania State University - Dickinson Law Black Hills State University Metropolitan State University of Denver Panjab University University of Cape Town Sheridan College University of New Mexico School of Law Escuela Libre de Derecho Istanbul Bilgi University University of Maryland School of Law Middle Tennessee State University Dankook University Pace University School of Law Pontifícia Universidade Católica de Minas Gerais University of Kentucky College of Law Washington and Lee University School of Law Sturm College of Law University of Salerno William S. Richardson School of Law Niš Law School George Mason University School of Law Yale Law School University of Tsukuba Taft Law School University of Westminster McGeorge School of Law Université Lille Nord de France Chung-Ang University University of Wisconsin–Green Bay ETH Zurich Kwangwoon University Moritz College of Law Syracuse University College of Law Warsaw University of Life Sciences State University of New York Polytechnic Institute Santa Clara University School of Law University of Wyoming Gonzaga University School of Law Georgia Institute of Technology University of Fribourg University of South Carolina School of Law University of South Dakota School of Law BPP Law School Taiyuan University of Technology Pontifical Oriental Institute National Mining University of Ukraine Government College University Northern Illinois University College of Law University of Minnesota Duluth Andrés Bello Catholic University University of Kragujevac Idaho State University Columbia Law School Rowan University Tula State University Institute of Technology, Carlow University of Oregon School of Law Fundação Getúlio Vargas Institute of Technology, Tallaght Golden Gate University School of Law Pontifical Xavierian University University of Calcutta Far Eastern Federal University Myongji University Case Western Reserve University School of Law City University of New York School of Law University Law College, Bangalore James E. Rogers College of Law University of Maryland Royal Veterinary College McMaster University Pontifical Bolivarian University Kerala Law Academy Law College New York University School of Law University of St Andrews Loyola Law School Creighton University School of Law Auburn University at Montgomery Duquesne University School of Law Sydney Law School University of Minnesota Law School Osgoode Hall Law School Birla Institute of Technology and Science Catholic Institute of Higher Studies Penn State Law North Dakota State University Grenoble Institute of Technology University of Texas School of Law University of Richmond School of Law University of Louisville School of Law Dakota State University University of Santo Tomas Bundeswehr University Munich Sarajevo Law School Ankara University, Law School University of St. La Salle Boston College Law School Kyungnam University University of Chicago Law School Boise State University Sindh Muslim Law College University of Wisconsin–Eau Claire Stetson University College of Law Touro Law Center Winchester Law School Al-Mustansiriya University Ramon Llull University Faculty of Law of the University of Zagreb University of Nebraska–Lincoln College of Law University of South Carolina Seton Hall University School of Law University of Puerto Rico, Río Piedras Campus University of Puerto Rico School of Law Drake University Law School Delhi School of Economics Columbus School of Law Howard University School of Law Interamerican University of Puerto Rico School of Law UCL Faculty of Laws University of Dar es Salaam Shanxi University Our Lady of the Rosary University Tallinn University Tsinghua University University of Southampton Florida Coastal School of Law Nanjing University Notre Dame Law School Military Engineering-Technical University Pontifical University of John Paul II Duke University School of Law Faculty of Law, Saint Petersburg State University Saskatchewan Institute of Applied Science and Technology University of Connecticut Wayne State University Kwame Nkrumah University of Science and Technology Polytechnic University of the Punjab Ewha Womans University Charles de Gaulle University of humanities arts and social sciences Dongguk University Polish Naval Academy Yaroslavl State University The Fletcher School of Law and Diplomacy Ashesi University University of Oklahoma College of Law University of Idaho Ateneo Law School University of North Carolina School of Law University of Oviedo Cumberland School of Law University of Maine School of Law West Virginia State University Yarmouk University Universal College of Learning University of Belgrade Faculty of Law Hugh Wooding Law School Lodz University of Technology University of Maribor UC Berkeley School of Law Aalto University Chongqing Normal University Dr. Ambedkar Government Law College Swansea University S.J. Quinney College of Law University of Montana Pontifical Athenaeum Regina Apostolorum Yonsei University University of Kansas School of Law Punjab University Law College Bar-Ilan University Emory University School of Law Damascus University Kentucky State University Pontificia Universidad Católica del Ecuador Southeast Missouri State University University of Dublin State and National Law School Lille Catholic University Seoul Women's University Catholic University of Leuven Strathclyde Law School University of San Diego School of Law Technological Educational Institute of Messolonghi Loughborough University University of San Francisco School of Law University of North Dakota University of Vermont Dedman School of Law University of Belgrade Thurgood Marshall School of Law People's Liberation Army Academy of Art Nashville School of Law Yenching University Daejin University Lumière University Lyon 2 San Diego State University Northwestern University School of Law Dublin Institute of Technology University of Pittsburgh Hong Kong Polytechnic University Aichi Institute of Technology British Columbia Institute of Technology Stanford Law School Valdosta State University University of Maine Catholic University of Salta Stellenbosch University Nottingham Law School Istanbul Technical University City Law School Fairmont State University University of California, Hastings College of the Law University of Ghana Markaz Indiana University Maurer School of Law Athlone Institute of Technology Hanyang University University of Wisconsin–Stevens Point Pontifical Catholic University of Valparaíso Washington University School of Law Cork Institute of Technology Metropolitan State University Cape Peninsula University of Technology Inje University Pontifical Gregorian University Pontifícia Universidade Católica de Goiás University of Bahrain University of Agricultural Sciences and Veterinary Medicine of Cluj-Napoca Iowa State University University of Connecticut School of Law University of Houston Law Center Northern Arizona University University of Illinois at Chicago Eastern New Mexico University Wayne State University Law School University of the Virgin Islands Indira Gandhi Institute of Technology (Delhi) Salmon P. Chase College of Law Monterrey Institute of Technology and Higher Education Mississippi College School of Law Northeastern University School of Law University of Cincinnati College of Law Pontifícia Universidade Católica do Rio Grande do Sul University of Zaragoza Indian Institute of Technology Bombay University at Buffalo Law School Saint Louis University School of Law University of Technology of Compiègne UC Davis School of Law San Francisco Law School Feng Chia University New Mexico State University Pontifical Catholic University of Rio de Janeiro South Carolina State University Miami University Royal College of Music University of Divinity Ateneo de Manila University Cecil C. Humphreys School of Law Nanjing University of Technology Mapúa Institute of Technology University of Cincinnati University of Texas at Austin Warsaw School of Social Sciences and Humanities Clemson University Birmingham School of Law Technical University of Lisbon Dalhousie University Georgetown University Law Center St. Mary's University School of Law Fukuoka Institute of Technology USC Gould School of Law University of Oregon Pepperdine University School of Law National Law School of India University University of Tartu Free University of Colombia Willamette University College of Law Temple University Beasley School of Law Royal Agricultural University George Washington University Law School Ural State Technical University University of Madras Washburn University School of Law Politecnico di Torino University of Mississippi School of Law Cleveland–Marshall College of Law Courtauld Institute of Art TU Dortmund University Beijing University of Chemical Technology Military University of Technology in Warsaw University of Cape Coast University of Akron School of Law Victoria University University of Georgia School of Law Anton Bruckner Private University for Music, Drama, and Dance Pontifical Lateran University Sungshin Women's University Ferris University Baylor Law School Oregon State University Eastern Illinois University Institut d'études politiques de Rennes Valparaiso University School of Law Hamline University School of Law Korea University École nationale vétérinaire de Toulouse University of British Columbia University of Pittsburgh School of Law Institut Teknologi Bandung Sejong University Sri Lanka Law College Queen's University Belfast Pontifical Catholic University of Peru University of Detroit Mercy School of Law Kyung Hee University State University of Semarang University of Waterloo Loyola University Chicago School of Law University of Wisconsin–Milwaukee Birla Institute of Technology, Mesra Babol Noshirvani University of Technology The University of Hong Kong University of Missouri University of Illinois College of Law Oxford Brookes University Government Law College, Ernakulam Conservatorio della Svizzera Italiana University of Nebraska Omaha University of Bern Karlsruhe Institute of Technology Heythrop College, University of London University of New South Wales Law School Gurukul Kangri Vishwavidyalaya Southwest Minnesota State University UCLA School of Law Missouri University of Science and Technology Witten/Herdecke University University of North Alabama Pontifícia Universidade Católica de São Paulo Gujarat University Claude Bernard University Lyon 1 University of New South Wales Saint Paul University Colorado State University Pontifícia Universidade Católica do Paraná Fu Jen Catholic University University of Moratuwa Antioch School of Law Northern Kentucky University Montclair State University Western State University College of Law Everest University University of Copenhagen Sogang University Louisiana State University Benjamin N. Cardozo School of Law Université catholique de Louvain University of Michigan Law School South China University of Technology Marquette University Law School Litchfield Law School Busan University of Foreign Studies Kookmin University University of Toledo College of Law Paul M. Hebert Law Center Pontifícia Universidade Católica de Campinas Birkbeck, University of London Inha University Gdańsk University of Technology Northern State University Graz University of Technology St. John's University School of Law Washington State University Lewis & Clark Law School Indian Institute of Technology Madras SAIT Polytechnic University of Minnesota Morris University of Maryland University College Government Law College, Mumbai Jogesh Chandra Chaudhuri Law College Sookmyung Women's University University of Lyon Chosun University Vanderbilt University Law School Osaka Institute of Technology Kyiv National University of Trade and Economics Kyungpook National University Moscow State Open University William H. Bowen School of Law Trinity College Dublin Universidad Técnica del Estado Institut Catholique de Paris Konkuk University Villanova University School of Law Hokkaido University University of Virginia Pontifical University of Salamanca University of Pennsylvania Law School University of Idaho College of Law University of Missouri–Kansas City School of Law University of Missouri School of Law University of North Carolina at Chapel Hill Southern University Law Center Chicago–Kent College of Law University of Washington School of Law Forman Christian College University of Baltimore School of Law People's College of Law St Patrick's College California Polytechnic State University University of Illinois at Urbana–Champaign Southern Illinois University Carbondale Hong Kong University of Science and Technology University of Washington Kuban State Agrarian University Lille University of Health and Law Shepard Broad Law Center University of Law European University Institute University of Virginia School of Law Washington College of Law Northampton Law School University of Tübingen Florida State University College of Law Rutgers School of Law–Camden University of Algiers Texas Tech University School of Law Boston University School of Law University of Alabama School of Law Bahçeşehir University Pontifical University Antonianum University of Miami School of Law Sandra Day O'Connor College of Law Liverpool John Moores University University of Arizona DePaul University College of Law Braunschweig University of Technology Conservatorio Statale Luisa D'Annunzio University of Rhode Island University of Arkansas School of Law
503
action count
action less
action find_reverse_tuple_counts
relation educated at
type university
type common name
action count
action filter_type
action find_reverse
entity King's College London
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:educated_at ?w . ?w rdf:type ontology:university . ?z rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:educated_at resource:King's_College_London . ?x rdf:type ontology:common_name } } . FILTER ( ?q < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q741091
P19
Q56061
USER
Which administrative territory is the place of birth of Christopher Weeramantry ?
(Q741091,P19,c(Q56061))
action filter_type
action find
entity Q741091
relation P19
type Q56061
['Q741091', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q741091 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Christopher Weeramantry
action filter_type
action find
entity Christopher Weeramantry
relation place of birth
type administrative territorial entity
['Christopher Weeramantry', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Christopher_Weeramantry property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q35381
SYSTEM
Colombo
Q35381
(Q741091,P19,c(Q56061))
action filter_type
action find
entity Q741091
relation P19
type Q56061
[ANSWER] is the place of birth of Christopher Weeramantry
['Q741091', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q741091 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Colombo
Colombo is the place of birth of Christopher Weeramantry
Colombo
action filter_type
action find
entity Christopher Weeramantry
relation place of birth
type administrative territorial entity
['Christopher Weeramantry', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Christopher_Weeramantry property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q741091
P166
Q618779
USER
What was received by Christopher Weeramantry ?
(Q741091,P166,c(Q618779))
action filter_type
action find
entity Q741091
relation P166
type Q618779
['Q741091', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q741091 property:P166 ?h . ?h rdf:type ontology:Q618779 }
Christopher Weeramantry
action filter_type
action find
entity Christopher Weeramantry
relation award received
type award
['Christopher Weeramantry', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Christopher_Weeramantry property:award_received ?h . ?h rdf:type ontology:award }
[]
award
Q152770
SYSTEM
Right Livelihood Award
Q152770
(Q741091,P166,c(Q618779))
action filter_type
action find
entity Q741091
relation P166
type Q618779
[ANSWER] was received by Christopher Weeramantry
['Q741091', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q741091 property:P166 ?h . ?h rdf:type ontology:Q618779 }
Right Livelihood Award
Right Livelihood Award was received by Christopher Weeramantry
Right Livelihood Award
action filter_type
action find
entity Christopher Weeramantry
relation award received
type award
['Christopher Weeramantry', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Christopher_Weeramantry property:award_received ?h . ?h rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3102242
Q618779
USER
And also tell me about Georges Barazer de Lannurien?
(Q3102242,P166,c(Q618779))
action filter_type
action find
entity Q3102242
relation P166
type Q618779
['Q3102242', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q618779 . resource:Q3102242 property:P166 ?w }
Georges Barazer de Lannurien
action filter_type
action find
entity Georges Barazer de Lannurien
relation award received
type award
['Georges Barazer de Lannurien', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:award . resource:Georges_Barazer_de_Lannurien property:award_received ?w }
[]
award
Q185493 Q10855195
SYSTEM
Order of Lenin, Officer of the Legion of Honour
Q185493 Q10855195
(Q3102242,P166,c(Q618779))
action filter_type
action find
entity Q3102242
relation P166
type Q618779
[ANSWERS]
['Q3102242', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q618779 . resource:Q3102242 property:P166 ?w }
Order of Lenin Officer of the Legion of Honour
Order of Lenin Officer of the Legion of Honour
action filter_type
action find
entity Georges Barazer de Lannurien
relation award received
type award
['Georges Barazer de Lannurien', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:award . resource:Georges_Barazer_de_Lannurien property:award_received ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3102242
P607
Q198
USER
Which battle did Georges Barazer de Lannurien take part in ?
(Q3102242,P607,c(Q198))
action filter_type
action find
entity Q3102242
relation P607
type Q198
['Q3102242', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q3102242 property:P607 ?s . ?s rdf:type ontology:Q198 }
Georges Barazer de Lannurien
action filter_type
action find
entity Georges Barazer de Lannurien
relation conflict
type war
['Georges Barazer de Lannurien', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Georges_Barazer_de_Lannurien property:conflict ?s . ?s rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q3102242,P607,c(Q198))
action filter_type
action find
entity Q3102242
relation P607
type Q198
Georges Barazer de Lannurien took in part during [ANSWER]
['Q3102242', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q3102242 property:P607 ?s . ?s rdf:type ontology:Q198 }
World War II
Georges Barazer de Lannurien took in part during World War II
World War II
action filter_type
action find
entity Georges Barazer de Lannurien
relation conflict
type war
['Georges Barazer de Lannurien', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Georges_Barazer_de_Lannurien property:conflict ?s . ?s rdf:type ontology:war }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12797451
Q198
USER
And also tell me about Nicolae Scarlat Stoenescu?
(Q12797451,P607,c(Q198))
action filter_type
action find
entity Q12797451
relation P607
type Q198
['Q12797451', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q12797451 property:P607 ?t . ?t rdf:type ontology:Q198 }
Nicolae Scarlat Stoenescu
action filter_type
action find
entity Nicolae Scarlat Stoenescu
relation conflict
type war
['Nicolae Scarlat Stoenescu', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Nicolae_Scarlat_Stoenescu property:conflict ?t . ?t rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q12797451,P607,c(Q198))
action filter_type
action find
entity Q12797451
relation P607
type Q198
[ANSWER]
['Q12797451', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q12797451 property:P607 ?t . ?t rdf:type ontology:Q198 }
World War II
World War II
action filter_type
action find
entity Nicolae Scarlat Stoenescu
relation conflict
type war
['Nicolae Scarlat Stoenescu', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Nicolae_Scarlat_Stoenescu property:conflict ?t . ?t rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q545449
P921
Q198 Q2342494 Q838948
USER
How many wars were the main subjects of around the same number of collectables and works of art 's work as Iraq War ?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q545449
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?a ) WHERE { { ?t rdf:type ontology:Q198 . ?i rdf:type ontology:Q2342494 . ?i property:P921 ?t } UNION { ?i property:P921 ?t . ?t rdf:type ontology:Q198 . ?i rdf:type ontology:Q838948 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { { ?y rdf:type ontology:Q838948 } UNION { ?y rdf:type ontology:Q2342494 } } . ?y property:P921 resource:Q545449 } } . FILTER ( ?a = ?g ) }
Iraq War
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Iraq War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?a ) WHERE { { ?t rdf:type ontology:war . ?i rdf:type ontology:collectable . ?i property:main_subject ?t } UNION { ?i property:main_subject ?t . ?t rdf:type ontology:war . ?i rdf:type ontology:work_of_art } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { { ?y rdf:type ontology:work_of_art } UNION { ?y rdf:type ontology:collectable } } . ?y property:main_subject resource:Iraq_War } } . FILTER ( ?a = ?g ) }
[]
war collectable work of art
SYSTEM
18
Q8683 Q81545 Q211855 Q8676 Q633862 Q188972 Q129053 Q1049945 Q10859 Q209297 Q242352 Q201424 Q142529 Q361 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q545449
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?a ) WHERE { { ?t rdf:type ontology:Q198 . ?i rdf:type ontology:Q2342494 . ?i property:P921 ?t } UNION { ?i property:P921 ?t . ?t rdf:type ontology:Q198 . ?i rdf:type ontology:Q838948 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { { ?y rdf:type ontology:Q838948 } UNION { ?y rdf:type ontology:Q2342494 } } . ?y property:P921 resource:Q545449 } } . FILTER ( ?a = ?g ) }
Cold War 2011 Libyan Civil War Finnish Civil War American Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Spanish Civil War Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War World War I Dirty War Syrian Civil War Iraq War Somali Civil War
18
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Iraq War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?a ) WHERE { { ?t rdf:type ontology:war . ?i rdf:type ontology:collectable . ?i property:main_subject ?t } UNION { ?i property:main_subject ?t . ?t rdf:type ontology:war . ?i rdf:type ontology:work_of_art } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { { ?y rdf:type ontology:work_of_art } UNION { ?y rdf:type ontology:collectable } } . ?y property:main_subject resource:Iraq_War } } . FILTER ( ?a = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q243620
P921
Q198 Q2342494 Q838948
USER
And also tell me about Somali Civil War?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q243620
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:P921 ?j . ?l rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q198 } UNION { ?l property:P921 ?j . ?l rdf:type ontology:Q838948 . ?j rdf:type ontology:Q198 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } . ?b property:P921 resource:Q243620 } } . FILTER ( ?o = ?x ) }
Somali Civil War
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Somali Civil War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:main_subject ?j . ?l rdf:type ontology:collectable . ?j rdf:type ontology:war } UNION { ?l property:main_subject ?j . ?l rdf:type ontology:work_of_art . ?j rdf:type ontology:war } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?g . VALUES ( ?g ) { ( ontology:collectable ) ( ontology:work_of_art ) } } . ?b property:main_subject resource:Somali_Civil_War } } . FILTER ( ?o = ?x ) }
[]
war collectable work of art
SYSTEM
18
Q8683 Q81545 Q211855 Q8676 Q633862 Q188972 Q129053 Q1049945 Q10859 Q209297 Q242352 Q201424 Q142529 Q361 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q243620
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:P921 ?j . ?l rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q198 } UNION { ?l property:P921 ?j . ?l rdf:type ontology:Q838948 . ?j rdf:type ontology:Q198 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } . ?b property:P921 resource:Q243620 } } . FILTER ( ?o = ?x ) }
Cold War 2011 Libyan Civil War Finnish Civil War American Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Spanish Civil War Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War World War I Dirty War Syrian Civil War Iraq War Somali Civil War
18
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Somali Civil War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:main_subject ?j . ?l rdf:type ontology:collectable . ?j rdf:type ontology:war } UNION { ?l property:main_subject ?j . ?l rdf:type ontology:work_of_art . ?j rdf:type ontology:war } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?g . VALUES ( ?g ) { ( ontology:collectable ) ( ontology:work_of_art ) } } . ?b property:main_subject resource:Somali_Civil_War } } . FILTER ( ?o = ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3103281 Q545449
P27 P17
Q15617994
USER
Which administrative territories do Iraq War belong to or are Georges Ouvray an inhabitant of ?
OR((Q545449,P17,c(Q15617994)), (Q3103281,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q545449
relation P17
action find
entity Q3103281
relation P27
type Q15617994
{'OR': [['Q545449', 'P17', {'concept': 'Q15617994'}], ['Q3103281', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q545449 property:P17 ?a } UNION { resource:Q3103281 property:P27 ?a } } }
Georges Ouvray Iraq War
action filter_type
action union
action find
entity Iraq War
relation country
action find
entity Georges Ouvray
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Iraq War', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georges Ouvray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Iraq_War property:country ?a } UNION { resource:Georges_Ouvray property:country_of_citizenship ?a } } }
[]
designation for an administrative territorial entity
Q142 Q145 Q796 Q786 Q30 Q36 Q29
SYSTEM
France, United Kingdom, Iraq, Dominican Republic, United States of America, Poland, Spain
Q142 Q145 Q796 Q786 Q30 Q36 Q29
OR((Q545449,P17,c(Q15617994)), (Q3103281,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q545449
relation P17
action find
entity Q3103281
relation P27
type Q15617994
Iraq War belong to the [ANSWERS] or are Georges Ouvray an inhabitant of
{'OR': [['Q545449', 'P17', {'concept': 'Q15617994'}], ['Q3103281', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q545449 property:P17 ?a } UNION { resource:Q3103281 property:P27 ?a } } }
France United Kingdom Iraq Dominican Republic United States of America Poland Spain
Iraq War belong to the France, United Kingdom, Iraq, Dominican Republic, United States of America, Poland and Spain or are Georges Ouvray an inhabitant of
France United Kingdom Iraq Dominican Republic United States of America Poland Spain
action filter_type
action union
action find
entity Iraq War
relation country
action find
entity Georges Ouvray
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Iraq War', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georges Ouvray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Iraq_War property:country ?a } UNION { resource:Georges_Ouvray property:country_of_citizenship ?a } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4323509
P530
Q1048835
USER
Do Novohryhorivka have ambassadorial relations with those administrative territories ?
(Q4323509,P530,Q142) (Q4323509,P530,Q145) (Q4323509,P530,Q796) (Q4323509,P530,Q786) (Q4323509,P530,Q30) (Q4323509,P530,Q36) (Q4323509,P530,Q29)
action is_in
entity prev_answer
action find
entity Q4323509
relation P530
['Q4323509', 'P530', 'Q142'] ['Q4323509', 'P530', 'Q145'] ['Q4323509', 'P530', 'Q796'] ['Q4323509', 'P530', 'Q786'] ['Q4323509', 'P530', 'Q30'] ['Q4323509', 'P530', 'Q36'] ['Q4323509', 'P530', 'Q29']
ASK WHERE { VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q796 ) } . resource:Q4323509 property:P530 ?n }
Novohryhorivka
action is_in
entity prev_answer
action find
entity Novohryhorivka
relation diplomatic relation
['Novohryhorivka', 'diplomatic relation', 'France'] ['Novohryhorivka', 'diplomatic relation', 'United Kingdom'] ['Novohryhorivka', 'diplomatic relation', 'Iraq'] ['Novohryhorivka', 'diplomatic relation', 'Dominican Republic'] ['Novohryhorivka', 'diplomatic relation', 'United States of America'] ['Novohryhorivka', 'diplomatic relation', 'Poland'] ['Novohryhorivka', 'diplomatic relation', 'Spain']
ASK WHERE { VALUES ( ?n ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Iraq ) } . resource:Novohryhorivka property:diplomatic_relation ?n }
[]
political territorial entity
SYSTEM
NO
(Q4323509,P530,Q142) (Q4323509,P530,Q145) (Q4323509,P530,Q796) (Q4323509,P530,Q786) (Q4323509,P530,Q30) (Q4323509,P530,Q36) (Q4323509,P530,Q29)
action is_in
entity prev_answer
action find
entity Q4323509
relation P530
[ANSWER]
['Q4323509', 'P530', 'Q142'] ['Q4323509', 'P530', 'Q145'] ['Q4323509', 'P530', 'Q796'] ['Q4323509', 'P530', 'Q786'] ['Q4323509', 'P530', 'Q30'] ['Q4323509', 'P530', 'Q36'] ['Q4323509', 'P530', 'Q29']
ASK WHERE { VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q796 ) } . resource:Q4323509 property:P530 ?n }
No
action is_in
entity prev_answer
action find
entity Novohryhorivka
relation diplomatic relation
['Novohryhorivka', 'diplomatic relation', 'France'] ['Novohryhorivka', 'diplomatic relation', 'United Kingdom'] ['Novohryhorivka', 'diplomatic relation', 'Iraq'] ['Novohryhorivka', 'diplomatic relation', 'Dominican Republic'] ['Novohryhorivka', 'diplomatic relation', 'United States of America'] ['Novohryhorivka', 'diplomatic relation', 'Poland'] ['Novohryhorivka', 'diplomatic relation', 'Spain']
ASK WHERE { VALUES ( ?n ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Iraq ) } . resource:Novohryhorivka property:diplomatic_relation ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with less number of administrative territories than Canada ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 . ?n property:P530 ?d } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q16 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?g < ?y ) }
Canada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?d } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Canada property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g < ?y ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWERS] have tactful political relations with less number of administrative territories than Canada
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 . ?n property:P530 ?d } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q16 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?g < ?y ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand have tactful political relations with less number of administrative territories than Canada
Denmark Austria New Zealand
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?d } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Canada property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g < ?y ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q40 Q664
P530
Q1048835
USER
Which political territories have tactful political relations with Denmark, Austria and New Zealand ?
(c(Q1048835),P530,Q35) (c(Q1048835),P530,Q40) (c(Q1048835),P530,Q664)
action union
action filter_type
action find
entity Q35
relation P530
type Q1048835
action filter_type
action find
entity Q40
relation P530
type Q1048835
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q35'] [{'concept': 'Q1048835'}, 'P530', 'Q40'] [{'concept': 'Q1048835'}, 'P530', 'Q664']
SELECT DISTINCT ?h WHERE { { resource:Q35 property:P530 ?h . ?h rdf:type ontology:Q1048835 } UNION { resource:Q40 property:P530 ?h . ?h rdf:type ontology:Q1048835 } }
Denmark Austria New Zealand
action union
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Denmark'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Austria'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'New Zealand']
SELECT DISTINCT ?h WHERE { { resource:Denmark property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } UNION { resource:Austria property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q408 Q183 Q16 Q408 Q183 Q408 Q183 Q16
(c(Q1048835),P530,Q35) (c(Q1048835),P530,Q40) (c(Q1048835),P530,Q664)
action union
action filter_type
action find
entity Q35
relation P530
type Q1048835
action filter_type
action find
entity Q40
relation P530
type Q1048835
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] have tactful political relations with Denmark, Austria and New Zealand
[{'concept': 'Q1048835'}, 'P530', 'Q35'] [{'concept': 'Q1048835'}, 'P530', 'Q40'] [{'concept': 'Q1048835'}, 'P530', 'Q664']
SELECT DISTINCT ?h WHERE { { resource:Q35 property:P530 ?h . ?h rdf:type ontology:Q1048835 } UNION { resource:Q40 property:P530 ?h . ?h rdf:type ontology:Q1048835 } }
Australia Germany Canada Australia Germany Australia Germany Canada
Germany, Germany and Germany have tactful political relations with Denmark, Austria and New Zealand
Germany Germany Germany
action union
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Denmark'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Austria'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'New Zealand']
SELECT DISTINCT ?h WHERE { { resource:Denmark property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } UNION { resource:Austria property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } }
[]