Simple Question (Direct)
Simple Question
Q238391
P106
Q28640
USER
What are the job of Haya Harareet ?
(Q238391,P106,c(Q28640))
action filter_type
action find
entity Q238391
relation P106
type Q28640
['Q238391', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q238391 property:P106 ?u . ?u rdf:type ontology:Q28640 }
Haya Harareet
action filter_type
action find
entity Haya Harareet
relation occupation
type profession
['Haya Harareet', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Haya_Harareet property:occupation ?u . ?u rdf:type ontology:profession }
[]
profession
Q10800557 Q28389
SYSTEM
film actor, screenwriter
Q10800557 Q28389
(Q238391,P106,c(Q28640))
action filter_type
action find
entity Q238391
relation P106
type Q28640
The job of Haya Harareet are a [ANSWERS]
['Q238391', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q238391 property:P106 ?u . ?u rdf:type ontology:Q28640 }
film actor screenwriter
The job of Haya Harareet are a film actor and screenwriter
film actor screenwriter
action filter_type
action find
entity Haya Harareet
relation occupation
type profession
['Haya Harareet', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Haya_Harareet property:occupation ?u . ?u rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q238391
P26
Q502895
USER
Who is married to Haya Harareet ?
(Q238391,P26,c(Q502895))
action filter_type
action find
entity Q238391
relation P26
type Q502895
['Q238391', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q238391 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Haya Harareet
action filter_type
action find
entity Haya Harareet
relation spouse
type common name
['Haya Harareet', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Haya_Harareet property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q17887
SYSTEM
Jack Clayton
Q17887
(Q238391,P26,c(Q502895))
action filter_type
action find
entity Q238391
relation P26
type Q502895
In [ANSWER] is married to Haya Harareet
['Q238391', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q238391 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Jack Clayton
In Jack Clayton is married to Haya Harareet
Jack Clayton
action filter_type
action find
entity Haya Harareet
relation spouse
type common name
['Haya Harareet', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Haya_Harareet property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q82955 Q28389
P106
Q502895
USER
Which people have a job as screenwriter and politician ?
AND((c(Q502895),P106,Q28389), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q28389
relation P106
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q28389'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P106 resource:Q28389 . ?n property:P106 resource:Q82955 }
politician screenwriter
action filter_type
action intersection
action find_reverse
entity screenwriter
relation occupation
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'screenwriter'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:occupation resource:screenwriter . ?n property:occupation resource:politician }
[]
common name
Q335467 Q224902 Q456413 Q109738 Q223949 Q1196814 Q266146 Q333468 Q3618980 Q457840
SYSTEM
Some of them are Edward George, Baron George, Jozef Banáš, Clare Boothe Luce, Rudolf Petershagen, Maurice Druon, José María Iglesias, Chris Bryant, Robert Maxwell, Antonello Trombadori, Will Rogers
Q945936 Q544187 Q64503 Q334252 Q53040 Q161933 Q72800 Q3523458 Q1046501 Q76876 Q51506 Q160802 Q3664231 Q940617 Q3856741 Q532279 Q984154 Q55406 Q1898621 Q1053244 Q368920 Q5628434 Q1397450 Q982809 Q332632 Q106465 Q1609304 Q1362809 Q3066875 Q8016 Q1582072 Q288562 Q3609322 Q2718927 Q65437 Q874588 Q516318 Q2345028 Q312628 Q2319562 Q138765 Q10390 Q200619 Q11671256 Q7437040 Q214475 Q283493 Q435210 Q11884411 Q1196814 Q1983805 Q319084 Q214622 Q11528498 Q431848 Q444143 Q471328 Q3098632 Q57266 Q386438 Q662406 Q3751130 Q364228 Q105476 Q159813 Q4716022 Q5384798 Q2632284 Q2846296 Q232260 Q3520208 Q1380425 Q2440035 Q1768119 Q272067 Q561255 Q21403106 Q792886 Q1246500 Q77447 Q1152252 Q1323196 Q2093366 Q333468 Q3938383 Q861241 Q319111 Q266146 Q517161 Q52249 Q524127 Q902285 Q117858 Q885860 Q729701 Q3848905 Q7796018 Q53010 Q333004 Q57382 Q4013521 Q332419 Q606360 Q1704763 Q3618980 Q21482389 Q3518383 Q2308461 Q6828594 Q335467 Q223949 Q4982361 Q224902 Q4889592 Q182642 Q1179412 Q778445 Q484292 Q956335 Q7278741 Q3889308 Q7910821 Q757800 Q3032067 Q26694683 Q4907951 Q919835 Q159169 Q741709 Q38849 Q50612 Q11521994 Q3288244 Q219646 Q962031 Q193236 Q3659814 Q2058876 Q833879 Q694799 Q1122937 Q2912103 Q347767 Q3833075 Q513960 Q6110593 Q255434 Q993199 Q6769693 Q3830078 Q173839 Q252083 Q6892273 Q718935 Q41749 Q964355 Q189869 Q35610 Q508497 Q336018 Q382638 Q53037 Q1297365 Q457840 Q377789 Q5479793 Q993477 Q201392 Q1553398 Q635696 Q566106 Q12882557 Q67637 Q456413 Q1259413 Q274404 Q64043 Q1029208 Q1377159 Q39803 Q3852594 Q509441 Q317142 Q154756 Q519536 Q737845 Q62703 Q19185 Q721749 Q4993107 Q717522 Q1209801 Q982389 Q21993655 Q794087 Q151164 Q444509 Q21019390 Q1130103 Q248059 Q1251690 Q109738 Q1511912 Q659712 Q336881 Q3595535 Q382786 Q1376173 Q122770 Q2218865 Q55245 Q115581 Q3627696 Q5809 Q346976 Q704249 Q5293456 Q1501730 Q993009 Q59210 Q4330794 Q1122051 Q11409405 Q9960 Q1396115 Q109701 Q257752 Q336074 Q157004 Q470875 Q530655 Q525511 Q1710071 Q271889 Q107050
AND((c(Q502895),P106,Q28389), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q28389
relation P106
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS] have a job as screenwriter and politician
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q28389'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P106 resource:Q28389 . ?n property:P106 resource:Q82955 }
Roger Hanin Maria Mercè Roca Bruno Apitz R. K. Narayan Franco Zeffirelli Alberto Moravia Bodo Uhse Murasoli Maran Alexander Korneychuk Baldur von Schirach Richard Attenborough Marcel Dassault Celeste Negarville Homero Manzi Michele Pantaleone Jim Webb Vladimir Bortko Shyam Benegal Mario Alicata Enrico Montesano George J. Mitchell H. Montgomery Hyde Jan Terlouw Mrinal Sen Eduardo De Filippo John Grisham Juan Ignacio Luca de Tena, 2nd Marquis of Luca de Tena Vassilis Vassilikos Farid Dms Debah Winston Churchill Hans Rodenberg Érik Orsenna Aldo Semerari Pentti Saarikoski Bernd Lange Sándor Csoóri Max Gallo Stephen Peace Carlo Levi Javed Akhtar C. N. Annadurai John McCain Þráinn Bertelsson Tetsurō Takahashi Scott Perry Ayaan Hirsi Ali Sergei Mavrodi Massimo Boldi Niina Lahtinen José María Iglesias Nikolai Gubenko Al Franken Nikos Kazantzakis Ken Tōgō Moufida Tlatli Edoardo Sanguineti Paolo Villaggio Gary Victor Ernst Toller Françoise Giroud Jean-François Deniau Franco Barberi Adolf Schütz Helmut Sakowski Nick Griffin Aleksi Bardy Florian Kronbichler Ivan Drach Andrea Barbato Ruth Rendell Roja Renato Angiolillo Tom Reed Alexander Stenbock-Fermor Biljana Srbljanović Claude Autant-Lara Cora Caballes Aydın Engin Gianrico Carofiglio Friedrich Wolf Francesco Giunta Mike Thompson Pierre Curzi Robert Maxwell Robert Muller Fukuchi Genichiro Chris Dodd Chris Bryant Claudio Fava Colette Audry Michael Musmanno József Darvas Klaus Schädelin William H. James Furio Colombo Mario Pannunzio Thoppil Bhasi Marco Bellocchio John Buchan, 1st Baron Tweedsmuir Christa Wolf Vincenzo Siniscalchi Michael Foot Ferenc Török Nicholas Mosley, 3rd Baron Ravensdale Antonello Trombadori John Kakoulidis Jaya Prada Henri Alleg Michael Berg Edward George, Baron George Maurice Druon Solveig Ternström Jozef Banáš Benn Levy John Glenn Claudio Bisio Giulio Carlo Argan Chinghiz Aitmatov Bill Graham Rabina Khan Yuriy Shcherbak Valentin Todercan Atsuo Nakamura William Douglas-Home Alberto Consiglio Bill Arp Eric Linklater Nargis Moni Ovadia Shintarō Ishihara Susan Rice Tomosuke Sugisaki Marc Maurette Vicente Blasco Ibañez Carlo Petrini Gabriele D'Annunzio Carlo Russo Yuya Uchida Iván Boldizsár Emilio Lussu Diego Novelli Boubou Hama Jerzy Andrzejewski Lino Jannuzzi Tim Ryan Rodolfo Sierra Radek John Bruno Doehring Mark Shepard Lelio Luttazzi Tom Cole Ángeles González-Sinde Mohammad Nourizad Tom Laughlin Joseph Goebbels José María Pemán Benito Pérez Galdós Arthur Conan Doyle Fernando Solanas Julian Fellowes Enzo Biagi Ettore Scola Victor Shenderovich Will Rogers Dilip Kumar Franci Slak Bruno Lauzi Domenico Modugno Guglielmo Giannini Thomas Cullinan Annelie Thorndike Petros Tatsopoulos Konrad Wolf Clare Boothe Luce Francis Cockrell Claudio Magris Hermann Kant Kurt Barthel Stanislav Govorukhin Mario Vargas Llosa Maurizio Ferrara Mark Hanna Leonardo Sciascia Italo Calvino Jean Masson Sabri Godo Wolfgang Thierse George Bernard Shaw Johan Falkberget Thomas Dixon, Jr. Arvo Valton Dick Thompson Morgan Sırrı Süreyya Önder Zdeněk Dokládal Azouz Begag André Malraux Franca Rame Harada Shigehisa Corrado Augias Zülfü Livaneli Hans-Werner Honert Rudolf Petershagen Gerhard Klein Luca Barbareschi Melvyn Bragg Dasari Narayana Rao A. E. W. Mason Yuan Muzhi Bernhard Seeger Kamiel Vanhole Laurence Olivier Pierre Aubert Asvero Gravelli Che Guevara Pasquale Squitieri Federico Moccia Don Ryan William Dudley Pelley Bruno Baum Mario Soldati Ruben Hovsepyan Compton Mackenzie Kenzaburo Hara Ronald Reagan Paul Diehl Günter Görlich Frédéric Mitterrand Christopher Guest Jorge Semprún Karunanidhi Carlo Cassola Arvo Salo Jozef Heriban Kenneth Clarke Felix von Eckardt
Edward George, Baron George, Jozef Banáš, Clare Boothe Luce, Rudolf Petershagen, Maurice Druon, José María Iglesias, Chris Bryant, Robert Maxwell, Antonello Trombadori and Will Rogers have a job as screenwriter and politician
Edward George, Baron George Jozef Banáš Clare Boothe Luce Rudolf Petershagen Maurice Druon José María Iglesias Chris Bryant Robert Maxwell Antonello Trombadori Will Rogers
action filter_type
action intersection
action find_reverse
entity screenwriter
relation occupation
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'screenwriter'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:occupation resource:screenwriter . ?n property:occupation resource:politician }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Which human behaviour has politician as the associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?b WHERE { resource:Q82955 property:P425 ?b . ?b rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?b WHERE { resource:politician property:field_of_this_occupation ?b . ?b rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has politician as the associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?b WHERE { resource:Q82955 property:P425 ?b . ?b rdf:type ontology:Q3769299 }
politics
Politics has politician as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?b WHERE { resource:politician property:field_of_this_occupation ?b . ?b rdf:type ontology:human_behaviour }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q7163)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q7163']
SELECT DISTINCT ?m WHERE { ?m property:P39 resource:Q82955 . ?m rdf:type ontology:Q502895 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politics']
SELECT DISTINCT ?m WHERE { ?m property:position_held resource:politician . ?m rdf:type ontology:common_name }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q7163)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q7163']
SELECT DISTINCT ?m WHERE { ?m property:P39 resource:Q82955 . ?m rdf:type ontology:Q502895 }
Morteza Azari
Morteza Azari held the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politics']
SELECT DISTINCT ?m WHERE { ?m property:position_held resource:politician . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26215129 Q5708162
P19
Q56061
USER
Is Pirhadi the place of birth of that person ?
(Q26215129,P19,Q5708162)
action is_in
entity Q5708162
action find
entity Q26215129
relation P19
['Q26215129', 'P19', 'Q5708162']
ASK WHERE { resource:Q26215129 property:P19 resource:Q5708162 }
Morteza Azari Pirhadi
action is_in
entity Pirhadi
action find
entity Morteza Azari
relation place of birth
['Morteza Azari', 'place of birth', 'Pirhadi']
ASK WHERE { resource:Morteza_Azari property:place_of_birth resource:Pirhadi }
[]
administrative territorial entity
SYSTEM
NO
(Q26215129,P19,Q5708162)
action is_in
entity Q5708162
action find
entity Q26215129
relation P19
[ANSWER]
['Q26215129', 'P19', 'Q5708162']
ASK WHERE { resource:Q26215129 property:P19 resource:Q5708162 }
No
action is_in
entity Pirhadi
action find
entity Morteza Azari
relation place of birth
['Morteza Azari', 'place of birth', 'Pirhadi']
ASK WHERE { resource:Morteza_Azari property:place_of_birth resource:Pirhadi }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26215129
P140
Q874405
USER
What is the religion associated with that person ?
action filter_type
action find
entity Q26215129
relation P140
type Q874405
SELECT DISTINCT ?c WHERE { resource:Q26215129 property:P140 ?c . ?c rdf:type ontology:Q874405 }
Morteza Azari
action filter_type
action find
entity Morteza Azari
relation religion
type social group
SELECT DISTINCT ?c WHERE { resource:Morteza_Azari property:religion ?c . ?c rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
action filter_type
action find
entity Q26215129
relation P140
type Q874405
The religion associated with that person is [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q26215129 property:P140 ?c . ?c rdf:type ontology:Q874405 }
Islam
The religion associated with that person is Islam
Islam
action filter_type
action find
entity Morteza Azari
relation religion
type social group
SELECT DISTINCT ?c WHERE { resource:Morteza_Azari property:religion ?c . ?c rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26215129
P21
Q290
USER
Which sex does Morteza Azari belong to ?
(Q26215129,P21,c(Q290))
action filter_type
action find
entity Q26215129
relation P21
type Q290
['Q26215129', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q26215129 property:P21 ?u }
Morteza Azari
action filter_type
action find
entity Morteza Azari
relation gender
type sex
['Morteza Azari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Morteza_Azari property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q26215129,P21,c(Q290))
action filter_type
action find
entity Q26215129
relation P21
type Q290
Morteza Azari belongs to [ANSWER]
['Q26215129', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q26215129 property:P21 ?u }
male
Morteza Azari belongs to male
male
action filter_type
action find
entity Morteza Azari
relation gender
type sex
['Morteza Azari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Morteza_Azari property:gender ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26215129
P27
Q15617994
USER
Which administrative territory is the native country of Morteza Azari ?
(Q26215129,P27,c(Q15617994))
action filter_type
action find
entity Q26215129
relation P27
type Q15617994
['Q26215129', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q26215129 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Morteza Azari
action filter_type
action find
entity Morteza Azari
relation country of citizenship
type designation for an administrative territorial entity
['Morteza Azari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Morteza_Azari property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q26215129,P27,c(Q15617994))
action filter_type
action find
entity Q26215129
relation P27
type Q15617994
[ANSWER] is the native country of Morteza Azari
['Q26215129', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q26215129 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Iran
Iran is the native country of Morteza Azari
Iran
action filter_type
action find
entity Morteza Azari
relation country of citizenship
type designation for an administrative territorial entity
['Morteza Azari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Morteza_Azari property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]