Simple Question (Direct)
Simple Question
Q1758991
P106
Q12737077
USER
What is the job of William Kent ?
(Q1758991,P106,c(Q12737077))
action filter_type
action find
entity Q1758991
relation P106
type Q12737077
['Q1758991', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1758991 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
William Kent
action filter_type
action find
entity William Kent
relation occupation
type occupation
['William Kent', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:William_Kent property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1758991,P106,c(Q12737077))
action filter_type
action find
entity Q1758991
relation P106
type Q12737077
The job of William Kent is a [ANSWER]
['Q1758991', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1758991 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
The job of William Kent is a politician
politician
action filter_type
action find
entity William Kent
relation occupation
type occupation
['William Kent', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:William_Kent property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1758991
P102
Q7210356
USER
Which party is William Kent affiliated with ?
(Q1758991,P102,c(Q7210356))
action filter_type
action find
entity Q1758991
relation P102
type Q7210356
['Q1758991', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q1758991 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
William Kent
action filter_type
action find
entity William Kent
relation member of political party
type political organization
['William Kent', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:William_Kent property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q1758991,P102,c(Q7210356))
action filter_type
action find
entity Q1758991
relation P102
type Q7210356
William Kent is affiliated with [ANSWER]
['Q1758991', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q1758991 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Republican Party
William Kent is affiliated with Republican Party
Republican Party
action filter_type
action find
entity William Kent
relation member of political party
type political organization
['William Kent', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:William_Kent property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1758991
P69
Q163740
USER
Which nonprofit organization was William Kent educated at ?
(Q1758991,P69,c(Q163740))
action filter_type
action find
entity Q1758991
relation P69
type Q163740
['Q1758991', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?v WHERE { resource:Q1758991 property:P69 ?v . ?v rdf:type ontology:Q163740 }
William Kent
action filter_type
action find
entity William Kent
relation educated at
type nonprofit organization
['William Kent', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?v WHERE { resource:William_Kent property:educated_at ?v . ?v rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q1758991,P69,c(Q163740))
action filter_type
action find
entity Q1758991
relation P69
type Q163740
William Kent was educated at [ANSWER]
['Q1758991', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?v WHERE { resource:Q1758991 property:P69 ?v . ?v rdf:type ontology:Q163740 }
Yale University
William Kent was educated at Yale University
Yale University
action filter_type
action find
entity William Kent
relation educated at
type nonprofit organization
['William Kent', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?v WHERE { resource:William_Kent property:educated_at ?v . ?v rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16733286
Q163740
USER
And how about Neil Newhouse?
(Q16733286,P69,c(Q163740))
action filter_type
action find
entity Q16733286
relation P69
type Q163740
['Q16733286', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q16733286 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Neil Newhouse
action filter_type
action find
entity Neil Newhouse
relation educated at
type nonprofit organization
['Neil Newhouse', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:Neil_Newhouse property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q168751
SYSTEM
Duke University
Q168751
(Q16733286,P69,c(Q163740))
action filter_type
action find
entity Q16733286
relation P69
type Q163740
[ANSWER]
['Q16733286', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q16733286 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Duke University
Duke University
action filter_type
action find
entity Neil Newhouse
relation educated at
type nonprofit organization
['Neil Newhouse', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:Neil_Newhouse property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q40218 Q12973014
USER
How many people were the crew members of approximately 1 spacecrafts and sports teams ?
(c(Q40218)|c(Q12973014),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
value 1
[[{'concept': 'Q40218'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?z WHERE { { ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q40218 . ?a property:P1029 ?z } UNION { ?a rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q502895 . ?a property:P1029 ?z } } GROUP BY ?z } }
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
value 1
[[{'concept': 'spacecraft'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?z WHERE { { ?z rdf:type ontology:common_name . ?a rdf:type ontology:spacecraft . ?a property:crew_member ?z } UNION { ?a rdf:type ontology:sports_team . ?z rdf:type ontology:common_name . ?a property:crew_member ?z } } GROUP BY ?z } }
[]
common name spacecraft sports team
SYSTEM
106
Q11813619 Q470059 Q8070347 Q172001 Q257778 Q310924 Q554538 Q7327 Q363976 Q61395 Q147581 Q173190 Q362174 Q17541629 Q70928 Q182642 Q18431930 Q78499 Q121797 Q159681 Q557082 Q82798 Q3183604 Q1400906 Q82864 Q1693251 Q1680121 Q445419 Q110450 Q529119 Q15613580 Q171294 Q390344 Q731751 Q446917 Q115552 Q453542 Q44371 Q23663985 Q82667 Q719413 Q312833 Q116294 Q961419 Q977386 Q68329 Q70033 Q1361680 Q352137 Q536632 Q4252659 Q361113 Q172783 Q213076 Q344892 Q152298 Q104865 Q1448596 Q312474 Q2093835 Q124809 Q578675 Q1914370 Q320068 Q73081 Q616303 Q644837 Q23664678 Q235266 Q1853048 Q17542124 Q197135 Q3339766 Q247508 Q335503 Q82901 Q85493 Q171310 Q1333070 Q3189408 Q23664692 Q17385517 Q23664385 Q174979 Q2279606 Q154269 Q507046 Q1985717 Q466522 Q23664799 Q460440 Q2050429 Q84178 Q110879 Q977664 Q157931 Q705626 Q1872734 Q171302 Q172838 Q118490 Q906626 Q64684 Q723989 Q171319 Q442910
(c(Q40218)|c(Q12973014),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
value 1
[ANSWER]
[[{'concept': 'Q40218'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?z WHERE { { ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q40218 . ?a property:P1029 ?z } UNION { ?a rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q502895 . ?a property:P1029 ?z } } GROUP BY ?z } }
Paul-Loup Chatin Liu Wang Zhang Xiaoguang Tiago Monteiro Danny Watts Alan Bean Nicolas Minassian Yuri Gagarin Jack R. Lousma André Lotterer Yang Liwei Gianmaria Bruni Ho-Pin Tung Vincent Capillaire Daniel Abt John Glenn Matt Rao Alexander Wurz Mathias Beche Valery Bykovsky Liu Boming Kamui Kobayashi Jonny Kane Tom Dillmann Bruno Senna Nick Tandy James Calado Andy Priaulx Wally Schirra James Rossiter Gustavo Menezes Vitantonio Liuzzi Edward Gibson Marino Franchitti Joseph P. Kerwin Neel Jani Davide Rigon Valentina Tereshkova Billy Johnson Mark Webber David Heinemeier Hansson Gordon Cooper Marcel Fässler John Martin Roberto Merhi Stefan Mücke Marc Lieb Nathanaël Berthon Boris Yegorov Paul J. Weitz Kirill Ladygin Brendon Hartley Lucas di Grassi Pete Conrad Fei Junlong Gherman Titov Vladimir Komarov Harry Tincknell Andriyan Nikolayev Pierre Ragues Mathéo Tuscher Benoît Tréluyer Oliver Webb Konstantin Feoktistov Pierre Kaffer Stéphane Richelmi Gerald P. Carr Chris Cumming Liu Yang Michael Christensen Viktor Shaitar Zhai Zhigang Nick Leventis Marco Bonanomi Scott Carpenter Vitaly Petrov Richard Lietz Sébastien Buemi Oliver Jarvis Julien Canal David Cheng Matthew Howson Maurizio Mediani Alan Shepard Jon Fogarty Alexey Leonov Owen K. Garriott Nicki Thiim Gustavo Yacamán Yutaka Yamagishi William R. Pogue Paolo Ruberti Christian Klien Gus Grissom Marco Sørensen Pavel Belyayev Wang Yaping Loïc Duval Kazuki Nakajima Nelson Piquet Jr. Pavel Popovich Romain Dumas Timo Bernhard Tsugio Matsuda Anthony Davidson Darren Turner
106
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
value 1
[[{'concept': 'spacecraft'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?z WHERE { { ?z rdf:type ontology:common_name . ?a rdf:type ontology:spacecraft . ?a property:crew_member ?z } UNION { ?a rdf:type ontology:sports_team . ?z rdf:type ontology:common_name . ?a property:crew_member ?z } } GROUP BY ?z } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4536435 Q168751
P140 P463
Q874405
USER
Which social groups had Duke University as their member or are the religious affiliation of Jerzy Jazłowiecki ?
OR((Q168751,P463,c(Q874405)), (Q4536435,P140,c(Q874405)))
action filter_type
action union
action find
entity Q168751
relation P463
action find
entity Q4536435
relation P140
type Q874405
{'OR': [['Q168751', 'P463', {'concept': 'Q874405'}], ['Q4536435', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q168751 property:P463 ?l } UNION { resource:Q4536435 property:P140 ?l } } . ?l rdf:type ontology:Q874405 }
Jerzy Jazłowiecki Duke University
action filter_type
action union
action find
entity Duke University
relation member of
action find
entity Jerzy Jazłowiecki
relation religion
type social group
{'OR': [['Duke University', 'member of', {'concept': 'social group'}], ['Jerzy Jazłowiecki', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Duke_University property:member_of ?l } UNION { resource:Jerzy_Jazłowiecki property:religion ?l } } . ?l rdf:type ontology:social_group }
[]
social group
Q5583848 Q101849
SYSTEM
Oak Ridge Associated Universities, Calvinism
Q5583848 Q101849
OR((Q168751,P463,c(Q874405)), (Q4536435,P140,c(Q874405)))
action filter_type
action union
action find
entity Q168751
relation P463
action find
entity Q4536435
relation P140
type Q874405
[ANSWERS] had Duke University as their member or are the religious affiliation of Jerzy Jazłowiecki
{'OR': [['Q168751', 'P463', {'concept': 'Q874405'}], ['Q4536435', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q168751 property:P463 ?l } UNION { resource:Q4536435 property:P140 ?l } } . ?l rdf:type ontology:Q874405 }
Oak Ridge Associated Universities Calvinism
Oak Ridge Associated Universities and Calvinism had Duke University as their member or are the religious affiliation of Jerzy Jazłowiecki
Oak Ridge Associated Universities Calvinism
action filter_type
action union
action find
entity Duke University
relation member of
action find
entity Jerzy Jazłowiecki
relation religion
type social group
{'OR': [['Duke University', 'member of', {'concept': 'social group'}], ['Jerzy Jazłowiecki', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Duke_University property:member_of ?l } UNION { resource:Jerzy_Jazłowiecki property:religion ?l } } . ?l rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q168751
P69 P21
Q502895
USER
Which people studied at Duke University and have the gender as male ?
AND((c(Q502895),P69,Q168751), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q168751
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q168751'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P69 resource:Q168751 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
male Duke University
action filter_type
action intersection
action find_reverse
entity Duke University
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Duke University'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:educated_at resource:Duke_University . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
common name
Q348618 Q6831427 Q6795784 Q7327938 Q7281909 Q7381576 Q1189280 Q953579 Q4758429 Q649511
SYSTEM
Some of them are Kyrie Irving, Michael J. Ingelido, Saree Makdisi, Richard Muller, Rae Berger, Russell Humphreys, Dennis L. McKiernan, Ronald Fogleman, Andrew Rosen, Kyle Singler
Q1345241 Q6241754 Q20740665 Q5082266 Q4866335 Q18739785 Q7962783 Q7499400 Q6237600 Q4707731 Q6230945 Q16215905 Q5126565 Q4954892 Q6834019 Q5499398 Q1569378 Q5980403 Q6241305 Q6227838 Q1093714 Q5232033 Q3018737 Q7441499 Q7350690 Q5535973 Q16980635 Q5300697 Q6307434 Q3759415 Q18808822 Q7369428 Q7597768 Q1728011 Q923960 Q7807281 Q708241 Q5318771 Q5628324 Q6236844 Q6456531 Q4746862 Q20639301 Q5041658 Q6176326 Q6264619 Q6194839 Q7018456 Q5673798 Q16213240 Q5238817 Q20273809 Q7615022 Q5229668 Q3496831 Q5585047 Q224628 Q3132849 Q21028347 Q212706 Q5585162 Q18097924 Q6271549 Q20668471 Q5585059 Q7372999 Q21611977 Q8018989 Q12884244 Q6217811 Q5335505 Q5218889 Q5234042 Q6127554 Q7456454 Q7153950 Q16886508 Q4730594 Q7381576 Q5293724 Q20980596 Q4885665 Q7410695 Q4763235 Q7327198 Q348618 Q7807623 Q6230325 Q1367397 Q5497469 Q5282704 Q6834165 Q4849922 Q5524976 Q5593217 Q5239026 Q6764547 Q683235 Q102058 Q7613574 Q18631424 Q5462477 Q18631429 Q10342982 Q353587 Q6271417 Q6846377 Q3191926 Q22108067 Q4756265 Q92934 Q5181408 Q2100759 Q7093801 Q6239298 Q4275767 Q5485131 Q1701714 Q92632 Q6176111 Q934642 Q3308529 Q5233201 Q6828614 Q6276430 Q6319341 Q5339851 Q16202520 Q1640277 Q736343 Q7610185 Q1383565 Q2418726 Q5343226 Q19832419 Q15491241 Q20980926 Q6396863 Q1585515 Q16007464 Q3273920 Q2420023 Q533136 Q3915426 Q7436037 Q8007482 Q15455679 Q967630 Q18352546 Q22246729 Q6196949 Q5236654 Q5562495 Q5231002 Q440910 Q5294619 Q14954806 Q15126494 Q21266693 Q485163 Q4916131 Q20984500 Q3791514 Q5677084 Q2018092 Q6236474 Q7329702 Q2044760 Q5239210 Q7329705 Q16194792 Q6232565 Q5665604 Q16980646 Q5596179 Q3783042 Q4354619 Q4662186 Q92984 Q6384057 Q4647671 Q4909781 Q4452187 Q4706956 Q3849464 Q16885798 Q6776526 Q19560381 Q15490870 Q7345102 Q5485425 Q7367526 Q3435150 Q6767357 Q20738109 Q7323560 Q5228700 Q648542 Q7346533 Q158997 Q16220869 Q5101482 Q4931858 Q16730680 Q5300636 Q3298949 Q4893632 Q5321826 Q4908290 Q8018870 Q5246490 Q6969726 Q5560936 Q16015567 Q5292784 Q6218873 Q803804 Q5236193 Q1583907 Q5386615 Q16732909 Q5462492 Q8016052 Q6646548 Q7381664 Q5106219 Q7968971 Q16731709 Q7968972 Q16089901 Q5525421 Q524480 Q5621282 Q8026048 Q23656743 Q5083690 Q7323590 Q14949629 Q16234219 Q262534 Q7344133 Q19867147 Q877900 Q6237856 Q15461420 Q16001727 Q7514112 Q551828 Q7052267 Q19281782 Q4865093 Q6554897 Q7614498 Q16106504 Q5387105 Q5525991 Q1594111 Q326996 Q26093 Q5258484 Q16230594 Q7508102 Q4707825 Q5592707 Q1498123 Q2263705 Q245257 Q4888942 Q263283 Q7349966 Q2836073 Q5077717 Q6674699 Q5485454 Q1840588 Q373274 Q321940 Q17151290 Q7149133 Q6232897 Q7341844 Q5210332 Q7291797 Q16136811 Q7086151 Q4386768 Q7349759 Q5721692 Q6176336 Q6145972 Q1627788 Q509295 Q8017720 Q6181102 Q7325021 Q4275191 Q1941306 Q114867 Q6243415 Q516820 Q1517302 Q5523868 Q6162551 Q16208764 Q7976009 Q7147656 Q1740154 Q6536281 Q1396316 Q15455384 Q6378065 Q6112754 Q7815984 Q16104415 Q5217607 Q6251594 Q331 Q16150039 Q4758429 Q7615140 Q7615143 Q16221616 Q21063670 Q702111 Q7615223 Q8019422 Q1174682 Q4648029 Q2170769 Q512356 Q3275786 Q16732371 Q7171916 Q6433885 Q5129898 Q7346540 Q7347175 Q6831427 Q7021755 Q6273342 Q1927978 Q7327988 Q5212898 Q5213958 Q1618750 Q5301181 Q665919 Q7816384 Q6140936 Q1542901 Q17479619 Q6504433 Q5549228 Q4823153 Q4707034 Q5301603 Q92609 Q5607061 Q7154900 Q4908973 Q7114114 Q7964638 Q21176832 Q7288104 Q2157154 Q5233215 Q20972594 Q1630242 Q6791187 Q7287196 Q17184052 Q16981091 Q1523999 Q7417640 Q7341744 Q7327938 Q16089892 Q5407015 Q1701532 Q3157186 Q18619002 Q7183574 Q5550065 Q4977775 Q16224592 Q7612752 Q5486400 Q7341551 Q137688 Q7341251 Q16731520 Q6240726 Q7328861 Q7365292 Q15993340 Q5487914 Q2817328 Q12735081 Q20675614 Q7819873 Q5232704 Q780398 Q6835533 Q2896108 Q17037421 Q6709291 Q1676471 Q5006275 Q19768440 Q6114423 Q192708 Q14592504 Q731905 Q4240910 Q20708403 Q6104844 Q310281 Q2079052 Q6287482 Q17574882 Q5006271 Q19818629 Q978830 Q8037644 Q6224311 Q5203825 Q7843192 Q5079929 Q8003969 Q6162170 Q6066108 Q1822170 Q7436800 Q16193093 Q3136269 Q6093931 Q5511994 Q6932386 Q723414 Q7347192 Q6514181 Q8004441 Q1820958 Q6525808 Q4888389 Q2151648 Q7599809 Q15435397 Q4983802 Q6513191 Q989831 Q5088255 Q715515 Q14594654 Q4833811 Q7083022 Q7693220 Q5105894 Q4505803 Q6144848 Q17305867 Q3568093 Q1428445 Q6687316 Q5230441 Q327426 Q18379003 Q16011624 Q7817879 Q7346610 Q5325748 Q6490596 Q375381 Q5344628 Q7614977 Q2423909 Q6828484 Q14946697 Q15462962 Q6111799 Q7793418 Q7931691 Q6769363 Q5006897 Q6217651 Q21176486 Q518424 Q362500 Q816587 Q1351133 Q4823182 Q21004823 Q1576153 Q6130179 Q5181586 Q953579 Q7965818 Q16186461 Q7341280 Q1339625 Q3124136 Q7493538 Q184566 Q5334511 Q6795784 Q5497165 Q7613091 Q7319125 Q16091167 Q4802070 Q2375557 Q5218878 Q16193458 Q862036 Q1691745 Q649511 Q6414559 Q5240143 Q18922832 Q7786906 Q829804 Q6390935 Q5234501 Q5115539 Q8018239 Q5210325 Q7349583 Q6117145 Q4908267 Q463557 Q7347157 Q2619779 Q92819 Q16734772 Q5182352 Q22096252 Q5415568 Q3298995 Q4662313 Q16733286 Q6261496 Q6769559 Q5545409 Q5387316 Q5081866 Q16982345 Q16730417 Q2926411 Q7410939 Q6235952 Q705980 Q5512264 Q6914822 Q3421066 Q1311683 Q5346857 Q5236362 Q18379594 Q1189280 Q16734456 Q2544053 Q7331296 Q16887072 Q6834317 Q5175099 Q7281909 Q5107200 Q4980366 Q7327638 Q7077530 Q70532 Q7184473 Q16499868 Q7843723 Q6217902 Q7285292 Q15443166 Q7612773 Q367056 Q5262156 Q7945369 Q4800422 Q6243596 Q4757559 Q6258645 Q7678717 Q372686 Q1680753 Q7176091 Q7349743 Q9588 Q433148 Q881624 Q16192650 Q5018728 Q7489656 Q16212588 Q3023173 Q15442911 Q5598303 Q15505371 Q6144803 Q7090173 Q15433039 Q16499783 Q7183879 Q470503 Q5082298 Q5083753 Q7807581 Q746999 Q340018 Q1101614 Q1393271 Q5238800 Q368984 Q17019594 Q5237466 Q7047166 Q1608378 Q5225161 Q4934352 Q16019725 Q5525497 Q5606378 Q16218923 Q7781767 Q7609901 Q4756869 Q18645835 Q6103950 Q7964711 Q3849433 Q2058762 Q5423913 Q6115697 Q309829 Q5214819 Q6251659 Q17541481 Q4679786 Q519305 Q7822986 Q7173371 Q6724874 Q16216035 Q16215223 Q6292143 Q4133188 Q4493800 Q19663732 Q362840 Q16189468 Q7346235 Q2485594 Q6833471 Q5047661 Q7597571 Q5300923 Q4934440 Q2477253 Q161817 Q4731747 Q5235878 Q5093448 Q506069 Q6251484 Q7377291 Q7815528 Q6847072 Q8010543 Q17411139 Q1530854 Q6235961 Q1621829 Q5075508 Q5040365 Q6113981 Q16013987 Q16240991 Q7437504 Q5549465 Q19768173 Q5233304 Q7610567 Q6137670 Q816883 Q3938264 Q476534 Q7323684 Q5300813 Q5596942 Q7343388 Q5660755 Q16213987 Q3086933 Q15126279 Q888008 Q5127233 Q7175070 Q5047126 Q1699702 Q6513521 Q6176327 Q23008782 Q16200912 Q7693848 Q17402946 Q5467883 Q7693486 Q5230980 Q5230986 Q8007450 Q5084719 Q6384583 Q5424065 Q1626464 Q6830115 Q6537170 Q8012601 Q22278077 Q16206978 Q17305957 Q5234971 Q16089780 Q275183 Q16728774 Q4758595 Q7327699 Q15995589 Q6209668 Q7812514 Q8007614 Q4999124 Q5387463 Q5106419 Q8002894 Q15453345 Q1670645 Q7292327 Q19405076 Q7693908 Q16745272 Q525883 Q268284 Q5358365 Q6107112 Q5545059 Q6105389 Q2159790 Q460161 Q265852 Q2534475 Q7152241 Q6110020 Q538062 Q3543687 Q768394 Q19597281 Q4931933 Q3703034 Q7626496 Q6317351 Q370921 Q5335378 Q7945770 Q3568759 Q16225348 Q7177493 Q6396753 Q20630663 Q5253153 Q16937685 Q6515163 Q7343613 Q6772671 Q5234568 Q4499405 Q6167007 Q16854000 Q18748979 Q5235204 Q6137980 Q6106540 Q20090659 Q4309932 Q6523161 Q795202 Q4819158 Q16009082 Q19665876 Q16194198 Q743442 Q6238161 Q6775927 Q16981964 Q5081926 Q5926031 Q16194160 Q7373444 Q5237908 Q1176453 Q12497198 Q115900 Q5006314 Q6906742 Q15453604 Q435056 Q8004669 Q5494816 Q2060902 Q7441247 Q5999017 Q5126715 Q5534554 Q6286978 Q2044274 Q7322675 Q2470860 Q7182388 Q7172548 Q5301686 Q6197872 Q17331560 Q16214980 Q21066802 Q7183940 Q5980728 Q6198539 Q15052243 Q487609 Q907936 Q5075271 Q6257680
AND((c(Q502895),P69,Q168751), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q168751
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] studied at Duke University and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q168751'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P69 resource:Q168751 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
Reggie Love John Jefferson Davis Rick Brewer Charles S. Hamilton Bascom Lamar Lunsford James E. Moore Wallace E. Boston, Jr. Shivinder Mohan Singh John Hanger Alan Schwartz John E. Thomas John C. Mack Clarence Harris Bradley Byrne Michael Ruhlman Fredric N. Busch Thomas S. Gettys Iain Cheeseman John J. Tharp, Jr. John Culliney Josephus Daniels David C. Miller David Rubenstein Sean Trende Robert W. Jordan George A. Keyworth, II Eric Sapp Doug Mankoff Julian P. Boyd Gene Banks Robert E. Kay Ross J. Connelly Stan Lundine Maurice G. Burnside Peter Maas Timothy J. Corrigan Ken Starr Dylan Smith H. Jefferson Powell John H. Gibbons L. Kevin Kelly Amit Mitra Christopher Karpowitz Carlos A. Peres Jeffrey Vinik John Winkin Jim Ellis Newman Ivey White Harsha V. Agadi Nick Galifianakis David R. Goode David Tab Rasmussen Steven Marks Dave Richard Palmer Stanley Hilton Gordon Dalbey Eddy Cue Henry Hyde Frank H. Akers, Jr. Allan H. Meltzer Gordon Giffin Stan Crisson Jon Shain O'Kelley Whitaker Gordon Dean Roy J. Bostock Craig Koslofsky William Swain Lee Savvas Agouridis John A. Maher Ed Turlington Daniel T. Willingham David Garrow Jamal Harrison Bryant Seth Curry Paul Teller Daniel Werfel Allan Fels Russell Humphreys Don Willett Thomas Reardon Ben Fountain Samuel A. Banks Angier Buchanan Duke Richard L. Morrill Kyrie Irving Timothy Z. Keith John Dull John Hope Franklin Frederick C. Kulow Disque Deane Michael Scharf Balamurali Ambati Gary Dickinson Graham Scott David Rice Mario Azevedo Ryan Carnes Martin J. Lohse Steve Pedersen George Way Harley Floyd M. Riddick Mark S. Komrad Bernard Chan Les Brown Jon R. Fahs Jr. Mike Connell Kai Nielsen Christopher H. Martin Andrew James Baldwin Mark P. McCahill Craig S. Keener Harold E. Robinson Ong Kian Ming John Hillen Lionel W. McKenzie Frank B. McDonald John Seigenthaler John Cocke Jeffrey L. Fisher Frank G. Slaughter Michael Stevens David E. Orton Michael Best Jordan Cila Jyles Coggins Edmund T. Pratt, Jr. Shavar Jeffries Kenneth J. Gergen David Drake Stephen Pagliuca Alexi Murdoch Theodore Jennings Edward H. Deets Doug Harlan Eugene C. Brooks David M. Pennock Kevin Martin Harley Orrin Staggers W. Darrell Overdyke Mac Hyman Josh McRoberts Kenny Dennard Mo Cowan Scott Brister William D. Johnson Larry Klayman Mike Dunleavy, Jr. Anselmo Lastra Clarence Brown Jim Miles David Lisak Gilmary M. Hostage III David B. Snow, Jr. Ken Jeong Donald K. Fry Mangesh Hattikudur Jens Ludwig Jeffrey W. Ubben Sonny Burke Birdsall S. Viault Charles Hardaway Marks Scott Peters Harvey Bullock John Robert McNeill John Gromada Richard W. Garnett David G. Bromley David Roselle Richard W. Graber Philip Schwalb John F. Sweets Harrison Farber Claudio Saunt Grant DePorter Hank Nichols J. David Singer Aaron Lazar Luis von Ahn Keith Bergelt A. D. Kirwan Bill Kramer Daniel Tarullo Alan Jabbour Mark Crow Jimmy Soni William Eacho Paul W. Downs Robinson O. Everett Robert H. Scales Frank Bowman Roscoe Reynolds Robert C. Frasure Mark Dever Paul Hardin III Richard A. Friedman Dave Dunaway Art Heyman Robert L. Clifford Russell Kirk Drew Cannon Chip Brian Bob Blumenfield Joseph A. Kéchichian Doug Kistler Travis Lane Stork Bernard Schweizer E. Duncan Getchell Bill Brown William Stone Dean Strausbaugh Nathaniel Lande Gilbert Gottlieb Ned Martin Don Higginbotham John Altieri Bailey Chase David L. Downie Bob Gantt Eric Greitens Chip Mosher Floyd McKissick, Jr. William Neal Reynolds Liston Pope Russell M. Robinson, II Chris Collins Ward Armstrong Andrew D. Luster Ward B. Pafford John M. Bevan Gary L. Wilson Shane Battier Gustave Diamond Winston Choo Todd Kuiken Charles Woodbridge Richard A. Oppel, Jr. Roger Sarty Marcus Stroman Nick Rahall Robert Everett Kevin Sack D. Richard Hipp John Harmon Brendan Nyhan James B. Adams Silas Bissell Robert Yeoman Norman Gilliland Robert Califf Bart McDade Linton Brooks Steven Black Thomas S. White, Jr. Eric Miller Reeves Gary Stein Karl von der Heyden G. William Domhoff Martin Dempsey Dennis Hargrove Cooke Daniel Garibaldi Siddharth Kara Alan Stephen Gold Graham Calder Mullen Lee Slater Overman Paul Farmer William Styron Benjamin Ladner Hugh Quincy Alexander Robert Sprague Scott Guthrie Charles Flynn Lonnie D. Kliever Frank Braynard Bob Krueger Eric Shinseki Dave Sime Viswa Subbaraman Paul Auerbach John Feinstein Robert Bandeen Dale Allison Randolph Chitwood John Matoian Oleg Timofeyev Eduardo Rabossi Robert Sherwood Dillon Henry G. Brinton Jeffrey W. Johnson James Young Antonio Lang Chris Capuano William Rodney Allen Jeremy Beck Richard Cytowic John J. Mack Mo Brooks Jerome Bruner John Koskinen John M. MacDougal Wilfred D. Turner Garrett Brown, Jr. Jason Gaverick Matheny J. Kane Ditto Wayne Ambler Patrick Smathers Kevin Gray Lewis B. Campbell Thomas D. Clark Will Pearson Katsuei Hirasawa Jack Gosnell Tom Grady Neil Conn Daniel J. Clancy John P. Hannah Ricardo Lagos Lewis Pulsipher Andrew Rosen Steven Petrow Steven Pierce Frank Warner David S. Taylor Charlie Soong Steven S. Long William Timmerman David Hartman A. K. M. Adam Roy Baumeister Trajan Langdon Jeffrey Zients Joey McMahon Pete Crossland Kotaro Tamura Clay Felker Robert L. Cook Robert M. Price Michael J. Ingelido Ng Jui Ping Jonathan Harmsworth, 4th Viscount Rothermere Michael Peterson Richard N. Fogoros Damon Wilson Dan McCarthy Mike Gminski Douglas A. Hicks Ted Kaufman Tom Kain James Parker Jones James B. Pearson W. W. Abbot Lawrence O. Gostin Gerald Hassell Austin Knickerbocker Alan Keith-Lucas Douglas Hodgkin Fred Brooks Gregory Mahler Paulie Harraka Bill Fick Ovid C. Lewis Walter D. Knight Bruce Ryburn Payne Ralph Snyderman Robert Franklin Armfield David E. Sweet William J. Becker Randall L. Tobias Matthew S. Holland Ralph B. Everett William Freeman Twaddell Michael Sorrell Gilbert Kaplan Sanford Levinson Robert B. Redman Richard Muller William R Allen Eugene A. Stead Walter Lambeth Jack Granatstein William Bevan Philip Froelich Gerard Louis Goettel Bruce Karsh Juan Pablo Cappello Steve Handelsman Frank E. Sheeder III Robert Antoni Jack Coleman Robert A. Jarrow Hugo Lindgren John Idzik, Jr. Richard Salsman Ronald Sokol Burl Noggle Frank Lentricchia Prince Hashim Al Hussein Mark Gitenstein Radhe Mohan Tommy Sowers David Cuddy Bob Wise Michael Zucchet Peter Turchin John Jost Lynn Wardle Nick Galifianakis C. Anderson Johnson Henry D. Messer Jack O. Bovender, Jr. Robert Coleman Richardson Merritt Eldred Hoag Dan Ariely Wayne Krivsky Andrew Gerber J. Bowyer Bell Elton Brand Peter Hochachka Joseph Travis Georg Friedrich Wilhelm Schaeffler C. Allen Parker Craig W. Richards Richard Zimler Wray Carlton John C. Browne D. Stephen Long Trip MacCracken Charles L. Copeland William A. Hawkins Jason Carter Ira Hyman Lewis W. Wannamaker Scott McCartney Joe Ellington Hiromasa Yonekura Itamar Simonson G.C. Waldrep Muhammad Ali Pate Dean Karlan Robert M. Townsend Lee Jones William Andrew Moffett Lester Luborsky Leonard W. Doob Benjamin Chavis Rick Wagoner Stanley Moskowitz Harold Ginsberg Bud Brown Lee Caplin Enrique Peñalosa Chauncey Parker Charlie Rose Wendell Craig Williams B.J. Lawson Olaf von Ramm Ted Gayer Chris Best Theodore Ziolkowski James W. McElhaney Kenneth A. Dodge Wilbur Howard Duncan Walter Hines Page Louis H. Mackey David A. Bramlett Sean Flynn Jim Krekorian Benjamin Muse Tom Truscott Robert L. Morris Earl Brian Larry K. Monteith Daniel C. Roper Edward Nixon Steven Lett Tom Flanagan Michael Bassett Hugo Keuzenkamp Tony Tost Jack Conway Thomas Rausch Vincent Brown Mark R. Beissinger C. Thomas Caskey John A. English Josiah Charles Trent Dan Lipinski Jared Harris Ben Quayle Eric Bolling Austin M. Allran David F. Anderson Hannibal Lafayette Godwin James Braxton Craven, Jr. Craig Whitlock Ronald Fogleman Walter Perez William Sager Robert A. Pascal Randall Wallace Gérard Louis-Dreyfus Sheldon Pinnell Charles Hard Townes Ed Austin Saree Makdisi Frederic Whitehurst Steve Lach Rex Adams Narvel J. Crawford Arun Agrawal Daniel Ewing Daniel T. Blue, Jr. Terry Myerson Bill Cunliffe Joel Shankle Kyle Singler Kip Allen Frey David Strom Martin S. Auer Thomas A. Schwartz Willis Smith Kennon Sheldon David H. Adams Chuck Howard William Seale Dale A. Whitman Robert Satloff Jackson Hill Bill Brill Rand Paul Robert M. McDowell Reynolds Price Edmund M. Clarke Ken Pugh Crash Davis Kendall Dabaghi Evan Whitfield George M. Church Aaron Patzer Neil Newhouse John Tyler Caldwell Mark Sable George V. Allen Eric R. Dinallo Charles R. Middleton David Trott Tyus Jones Bruce Coville Samuel Bogley John Graham John Sirica G. Harrold Carswell Morton Beiser Raymond Nasher Michael Kenyon Edwin T. Boykin David Lauren John Diamond Dennis L. McKiernan Gunnar Peterson Walter E. Johnston, III Rick Chryst Eric Winer Michael Shannon Costen Jordan Harrell Rae Berger Chris Lauzen Bryan Sharratt Richard Mark Gergel Odds Bodkin Hans Georg Dehmelt Philip Tinari Michael R. Williams Tripp York John A. Reed, Jr. Raj Goyle William Schwartz Steve Harrigan Ben Mulroney Derek Lowe W. Bruce Johnson Arthur Talmage Abernethy John L. Helgerson Andrew K. Golden John Spencer Bassett Tal Smith Edward Gurney James MacKay Peter Nicholas Robert Sheheen Richard Nixon Christian Laettner R. Gregg Cherry Michael Ching Jumanne Maghembe Sharif Abdel Kouddous Jeffrey Fox Dennis Marks Merrimon Cuninggim Graydon Eggers Dan Abrams James W. Holsinger Omid Safi Haun Saussy Dan Levitan Philip K. Lundeberg Walter Rudin Charles S. Terry Charles Xiaolin Wang Timothy Tyson René Echevarria Lawrence Quincy Mumford Clint Murchison, Jr. John Chambers David R. Bryant Randy Jones George Crady David McSweeney Noel Perrin Dick Groat Darren Spedale Bob Wheeler Herb Kirsh Gary Lynch Greg Veis Jared Weinstein Theodore E. Long Stephen Markman Andrew E. Unsworth Allard Roen J.B. Pritzker Walter E. Boomer Mark Alarie Paul B. Henry F. Herbert Bormann Jack Weatherford Ken Wilber Dana S. Nau John P. McGovern Mark Pryor Adam Silver Roshown McLeod Tony Mills Peter Cook Macon Phillips Doug Reynolds Husein Cumber José Esteban Muñoz G. B. Pegram J. B. Fuqua Robert M. Koerner William B. Umstead Jeffrey Reich Robert K. Steel Lance Thomas Michael Penn Cary Wolfe Stan Brookshire Doug Sosnik Bob Wolff Zia Inayat Khan Dahntay Jones Allen L. Seaman David Kaylor Chester A. Weidenburner Guy Davenport John P. Angelos Rudolf Raff Tom Davin Mike Greenly William H. Pauley III Douglas Brunt Glen Stassen John Graham Jim Courter Charles Becton Carl J. Stewart, Jr. Jack McDowall Karl Weidel Carter Murray Scott Wiener Ken Keyes, Jr. Matthew Levering David Efird Stephen Sohn James L. Vincent Benedict T. Viviano R. Edward Freeman Irwin Fridovich Richard Allen Doug Perlman Granville Semmes Robert Daniel Potter Harold G. Koenig Clay Helton Fred R. Klenner Thomas Borcherding Bob Inglis Clark G. Reynolds Peter K. Manning Carter Beard Alan R. Saltiel Lee Edwards Jeffrey Vitter Robert Windom Mickey Conlon Ted Wang William Barber II Ford O'Connell Ted Mann David B. Ingram David B. Massey William D. Cohan Charlie Condon Keith K. Hilbig F. Vernon Boozer Bobby Hurley Michael Elston Lewis White Beck William Howell Pegram Huck Gutman Seth Davis Clark Gibson David Hibbett Marshall Rauch Luol Deng W. Neil Eggleston Andrew Skurka Richard Maxwell R. Sanders Williams Joe Edwards Todd M. Hughes William David McCain Burleigh Taylor Wilkins Eric Schoomaker Chris Dorworth Will Inman Haim Watzman William Wrigley, Jr. II Randy Minchew James R. Acker Ted Yamamori C. B. Embry Ian Barbour Mike Posner Henry Spencer J. Spencer Bell George T. Winston J. Dewey Daane Robin Hayes Henry Hartsfield Tim Cook Thomas Franklin Daniel Paul Martin Newby Jabari Parker Patrick Williams James E. Boyd Nathaniel Philbrick Craig Gentry Bob Brodhead David Henderson Stuart E. Jones Justin Beckett Steven Pressfield Ed Schrader W. Kent Fuchs William Kennedy Smith J. Frank Harrison III Peter Verniero Kevin Lane Keller Christian Campbell Delano Meriwether Ira D. Gruber Lee Stiff Robert Dove Marquis Lafayette Wood David H. Steinberg D. Kern Holoman Jay P. Sanford James Skillen Alex Epstein David Hudgins James Leon Holmes J. Michael Pearson Eric Coleman Jack F. Matlock, Jr. Lenox Baker B. Everett Jordan Aubrey McClendon Blake S. Wilson Samuel Paul Garner Robert McMahan Claude R. Kirk John Harwood Martin Kratt Cleon F. Thompson Charles Randolph-Wright Walter P. McConaughy Robert Levitan Roy Underhill David Nahmias David Addington Marzuki Usman Eben Alexander C. Brice Ratchford Monty Sarhan Woody Holton John W. Campbell William Atwater Fred Chappell Mark Dodd Sean McManus Lou Allen Clarence Ray Carpenter Geoffrey Dabelko Joseph Shivers Christian Van Thillo Ricardo J. Komotar Robbie Russell Phil Schubert Peter Applebome Douglas Kim Jim Rosenfield Aaron Fussell Mathew Martoma Neil Smit Philip Lader Ian Abrams Jim Toomey Eric M. Meyers Robert Sink Bill Gross Charles Ayres John Shields
Kyrie Irving, Michael J. Ingelido, Saree Makdisi, Richard Muller, Rae Berger, Russell Humphreys, Dennis L. McKiernan, Ronald Fogleman, Andrew Rosen and Kyle Singler studied at Duke University and have the gender as male
Kyrie Irving Michael J. Ingelido Saree Makdisi Richard Muller Rae Berger Russell Humphreys Dennis L. McKiernan Ronald Fogleman Andrew Rosen Kyle Singler
action filter_type
action intersection
action find_reverse
entity Duke University
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Duke University'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:educated_at resource:Duke_University . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q237333 Q1758991
P19 P190
Q56061
USER
Which administrative territories are the places of birth of William Kent or are twin towns of Franconville ?
OR((Q1758991,P19,c(Q56061)), (Q237333,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1758991
relation P19
action find
entity Q237333
relation P190
type Q56061
{'OR': [['Q1758991', 'P19', {'concept': 'Q56061'}], ['Q237333', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1758991 property:P19 ?w } UNION { resource:Q237333 property:P190 ?w } } . ?w rdf:type ontology:Q56061 }
Franconville William Kent
action filter_type
action union
action find
entity William Kent
relation place of birth
action find
entity Franconville
relation sister city
type administrative territorial entity
{'OR': [['William Kent', 'place of birth', {'concept': 'administrative territorial entity'}], ['Franconville', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:William_Kent property:place_of_birth ?w } UNION { resource:Franconville property:sister_city ?w } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q19775 Q16055 Q1297
SYSTEM
Potters Bar, Viernheim, Chicago
Q19775 Q16055 Q1297
OR((Q1758991,P19,c(Q56061)), (Q237333,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1758991
relation P19
action find
entity Q237333
relation P190
type Q56061
[ANSWERS] are the places of birth of William Kent or are twin towns of Franconville
{'OR': [['Q1758991', 'P19', {'concept': 'Q56061'}], ['Q237333', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1758991 property:P19 ?w } UNION { resource:Q237333 property:P190 ?w } } . ?w rdf:type ontology:Q56061 }
Potters Bar Viernheim Chicago
Potters Bar, Viernheim and Chicago are the places of birth of William Kent or are twin towns of Franconville
Potters Bar Viernheim Chicago
action filter_type
action union
action find
entity William Kent
relation place of birth
action find
entity Franconville
relation sister city
type administrative territorial entity
{'OR': [['William Kent', 'place of birth', {'concept': 'administrative territorial entity'}], ['Franconville', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:William_Kent property:place_of_birth ?w } UNION { resource:Franconville property:sister_city ?w } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16055
P17
Q1048835
USER
Which political territory does that administrative territory belong to ?
(Q16055,P17,c(Q1048835))
action filter_type
action find
entity Q16055
relation P17
type Q1048835
['Q16055', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q16055 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Viernheim
action filter_type
action find
entity Viernheim
relation country
type political territorial entity
['Viernheim', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Viernheim property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q19775
SYSTEM
Did you mean Potters Bar ?
Q19775 Q16055 Q1297
(Q19775,P17,c(Q1048835)) (Q16055,P17,c(Q1048835)) (Q1297,P17,c(Q1048835))
[ANSWER]
['Q19775', 'P17', {'concept': 'Q1048835'}] ['Q16055', 'P17', {'concept': 'Q1048835'}] ['Q1297', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q16055 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Potters Bar Viernheim Chicago
Did you mean Potters Bar ?
Potters Bar
['Potters Bar', 'country', {'concept': 'political territorial entity'}] ['Viernheim', 'country', {'concept': 'political territorial entity'}] ['Chicago', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Viernheim property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Viernheim. Could you tell me the answer for that?
(Q16055,P17,c(Q1048835))
Q16055
['Q16055', 'P17', {'concept': 'Q1048835'}]
['Viernheim', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q16055,P17,c(Q1048835))
action filter_type
action find
entity Q16055
relation P17
type Q1048835
That administrative territory belongs to Federal [ANSWER]
['Q16055', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q16055 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Germany
That administrative territory belongs to Federal Germany
Germany
action filter_type
action find
entity Viernheim
relation country
type political territorial entity
['Viernheim', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Viernheim property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]