Simple Question (Direct)
Simple Question
Q464007
P734
Q82799
USER
Who has the surname Ruth Metzler ?
(Q464007,P734,c(Q82799))
action filter_type
action find
entity Q464007
relation P734
type Q82799
['Q464007', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q464007 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Ruth Metzler
action filter_type
action find
entity Ruth Metzler
relation family name
type name
['Ruth Metzler', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Ruth_Metzler property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q694764
SYSTEM
Arnold
Q694764
(Q464007,P734,c(Q82799))
action filter_type
action find
entity Q464007
relation P734
type Q82799
[ANSWER]
['Q464007', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q464007 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Arnold
Arnold
action filter_type
action find
entity Ruth Metzler
relation family name
type name
['Ruth Metzler', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Ruth_Metzler property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q464007
P21
Q290
USER
Which sex does that person belong to ?
(Q694764,P21,c(Q290))
action filter_type
action find
entity Q464007
relation P21
type Q290
['Q694764', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q464007 property:P21 ?w }
Ruth Metzler
action filter_type
action find
entity Ruth Metzler
relation gender
type sex
['Arnold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Ruth_Metzler property:gender ?w }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q694764,P21,c(Q290))
action filter_type
action find
entity Q464007
relation P21
type Q290
[ANSWER]
['Q694764', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q464007 property:P21 ?w }
female
female
action filter_type
action find
entity Ruth Metzler
relation gender
type sex
['Arnold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Ruth_Metzler property:gender ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16872051 Q694764
P734
Q502895
USER
Which people have Arnold or Lenoir as family name ?
OR((c(Q502895),P734,Q694764), (c(Q502895),P734,Q16872051))
action filter_type
action union
action find_reverse
entity Q694764
relation P734
action find_reverse
entity Q16872051
relation P734
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P734', 'Q694764'], [{'concept': 'Q502895'}, 'P734', 'Q16872051']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . { { ?e property:P734 resource:Q694764 } UNION { ?e property:P734 resource:Q16872051 } } }
Lenoir Arnold
action filter_type
action union
action find_reverse
entity Arnold
relation family name
action find_reverse
entity Lenoir
relation family name
type common name
{'OR': [[{'concept': 'common name'}, 'family name', 'Arnold'], [{'concept': 'common name'}, 'family name', 'Lenoir']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . { { ?e property:family_name resource:Arnold } UNION { ?e property:family_name resource:Lenoir } } }
[]
common name
Q157642 Q118706 Q3479412 Q694097 Q1246153 Q321448 Q26815144 Q3164609 Q113051 Q20706681
SYSTEM
Some of them are Vladimir Arnold, Clemens Arnold, Serge Lenoir, Arno Arnold, Dorothea Arnold, Yuri Karlovich Arnold, Heinrich Arnold, Jean-Charles-Pierre Lenoir, Ursula Arnold, Abram Blumenthal Arnold
Q19361121 Q118706 Q823281 Q22665695 Q16833204 Q457493 Q469825 Q204263 Q1126643 Q3173178 Q104258 Q443077 Q15456924 Q3371679 Q17352683 Q128397 Q1509768 Q23045717 Q346285 Q22597973 Q12735184 Q1334598 Q111431 Q3159377 Q361722 Q464007 Q17326466 Q3189147 Q90527 Q271032 Q1606437 Q15623162 Q4120845 Q1231819 Q522803 Q883272 Q2906097 Q865184 Q12935 Q15428903 Q3446801 Q1351968 Q90777 Q20683618 Q1093851 Q2039079 Q173408 Q20706682 Q20706681 Q721943 Q1379741 Q1471561 Q231487 Q896746 Q2501511 Q1246153 Q2834901 Q15445604 Q2644650 Q3605496 Q3479412 Q1687795 Q3289534 Q321448 Q5984752 Q265782 Q1287927 Q15454352 Q992979 Q1410473 Q1689952 Q2172348 Q3132585 Q18019730 Q238374 Q353755 Q3144803 Q2475211 Q16038619 Q105869 Q2898238 Q15695634 Q2428884 Q588053 Q3367253 Q999874 Q3165074 Q915942 Q7161278 Q3313201 Q1109864 Q1600000 Q1391729 Q2959487 Q1078799 Q6500590 Q3456047 Q289837 Q1297401 Q4258652 Q20675897 Q2419954 Q3340524 Q694097 Q111377 Q107728 Q1335795 Q2871337 Q3292649 Q2374153 Q26815144 Q13436926 Q6292678 Q112701 Q535362 Q375985 Q2881941 Q1238138 Q2830767 Q529265 Q3160615 Q651957 Q3164609 Q19361117 Q292892 Q1121306 Q1269502 Q1717642 Q109685 Q120622 Q1341868 Q1650654 Q2831339 Q3302633 Q493053 Q313554 Q1336203 Q1252003 Q157642 Q2934989 Q24731 Q122202 Q2522190 Q2415575 Q1558731 Q1357362 Q1357361 Q324080 Q21405480 Q3158148 Q120634 Q1877625 Q2073719 Q113051 Q436102 Q1614135 Q539136 Q3379241 Q7192031 Q1594497 Q1515516 Q4273363 Q1874165 Q1349827 Q15407096 Q15810107 Q26206440 Q1575934 Q1289540 Q5362341 Q1458557 Q19361095 Q1333384 Q1554871 Q19361093 Q450435 Q16732544 Q96968 Q1778926 Q3426531 Q15967584 Q3310181 Q19787952 Q456894 Q1602906 Q2262069 Q3102209
OR((c(Q502895),P734,Q694764), (c(Q502895),P734,Q16872051))
action filter_type
action union
action find_reverse
entity Q694764
relation P734
action find_reverse
entity Q16872051
relation P734
type Q502895
[ANSWERS]
{'OR': [[{'concept': 'Q502895'}, 'P734', 'Q694764'], [{'concept': 'Q502895'}, 'P734', 'Q16872051']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . { { ?e property:P734 resource:Q694764 } UNION { ?e property:P734 resource:Q16872051 } } }
Angéline Lenoir Clemens Arnold Bernd Arnold Victor Arnold Ludwig Arnold Andrea Arnold P. P. Arnold Reginald Arnold Conrad Arnold Jean Lenoir Dieter Arnold ShyBoy Raymond G. Arnold Paul Lenoir Robert Franz Arnold Lucas Arnold Ker Monty Arnold Kris Arnold David Arnold Madison Arnold Max W. Arnold Emanuel Arnold Lance David Arnold Jacques Lenoir Horace Arnold Ruth Metzler Sydney Arnold, 1st Baron Arnold Julie Arnold Marc Arnold Matthew Arnold Henry Arnold Antonia Arnold Isaac Newton Arnold Rafael Arnold Edward Arnold Lemuel Hastings Arnold Blandine Lenoir Birgit Arnold Etienne Lenoir Maximilian Arnold Rudy Lenoir Jack Arnold Christof Arnold Roger Lenoir Maximilian Arnold Otto Heinrich Arnold Chuck Arnold Richard Dennis Arnold Abram Blumenthal Arnold Eddy Arnold Samuel Arnold Frédéric Lenoir Monica Brad Arnold Ursula Arnold-Cramer Dorothea Arnold Alfred Lenoir Jörg Arnold Alfred Arnold Adolphe Lenoir Serge Lenoir Jerry Arnold Marcelle Arnold Yuri Karlovich Arnold Luke Arnold Noémie Lenoir Eduard Arnold Martin Arnold Bruno Arnold Julia Arnold Joachim Arnold Rudolf Arnold Henry Arnold Heinz Arnold Eve Arnold Tom Arnold Hélène Lenoir Ulli Arnold Simon-Bernard Lenoir Udo Arnold Bernard Lenoir Pierre Lenoir Thordis Arnold Anton Arnold Pascal Arnold Ignaz Ferdinand Arnold Jean-Claude Lenoir Jonathan Arnold Peleg Arnold Mike Arnold Harold D. Arnold Heinz Arnold Pilt Arnold Charles Joseph Lenoir Christian Arnold Laurence F. Arnold Rémi Lenoir Étienne Lenoir Landis Arnold Charles-Amable Lenoir Evan Arnold Martin Arnold Samson-Nicolas Lenoir Arno Arnold Christian Friedrich Arnold Eberhard Arnold Emil Arnold-Holm Auguste Nicolas Lenoir Marie Lenoir Sylvia Arnold Heinrich Arnold Pierre Lenoir José Lenoir Berrit Arnold Susan Arnold Alexandre Lenoir Victor Lenoir Dominique Arnold Alban Lenoir Noëlle Lenoir Jake Arnold Warren O. Arnold Jean-Charles-Pierre Lenoir Zélia Lenoir Virginie Arnold Kenneth Arnold Irmgard Arnold Rolf Arnold Benno Arnold Pierre Arnold Engelbert Arnold Theodor Arnold Albert Lenoir Maxime Lenoir Andre Arnold Malcolm Arnold Graham Arnold Douglas N. Arnold Vladimir Arnold Camille Lenoir Harry Arnold Heinz Ludwig Arnold Victor Arnold Thea Arnold Wolf Arnold Ernst Arnold Ernst Arnold Billy Boy Arnold Georges Lenoir Jacques Arnold Beat Arnold Luqman Arnold Peter Arnold Ursula Arnold Henry H. Arnold Lothar Arnold Denis Lenoir Philippe Arnold Pierre-Yvon Lenoir Heike Arnold Gertrud Arnold Frances Arnold Ludwig Arnold Kokomo Arnold Matthieu Arnold Frank Arnold Carl Johann Arnold Hannes Arnold Eduard Philipp Arnold Elizabeth Arnold Marshall Arnold Clodomir Lenoir Elsa Arnold Gunter Arnold Zélia Lenoir Charlotte Arnold Paul-Marie Lenoir Rainer Arnold Paul Arnold René Lenoir Louis-Charles Lenoir Michel Lenoir Daniel Lenoir Tichina Arnold Hellmut Arnold Sean Arnold Georges Arnold
Vladimir Arnold Clemens Arnold Serge Lenoir Arno Arnold Dorothea Arnold Yuri Karlovich Arnold Heinrich Arnold Jean-Charles-Pierre Lenoir Ursula Arnold Abram Blumenthal Arnold
action filter_type
action union
action find_reverse
entity Arnold
relation family name
action find_reverse
entity Lenoir
relation family name
type common name
{'OR': [[{'concept': 'common name'}, 'family name', 'Arnold'], [{'concept': 'common name'}, 'family name', 'Lenoir']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . { { ?e property:family_name resource:Arnold } UNION { ?e property:family_name resource:Lenoir } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q774334 Q118706
P27 P17
Q1048835
USER
Which political territories do Clemens Arnold belong to and are Aurach present in ?
AND((Q118706,P27,c(Q1048835)), (Q774334,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q118706
relation P27
action find
entity Q774334
relation P17
type Q1048835
{'AND': [['Q118706', 'P27', {'concept': 'Q1048835'}], ['Q774334', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q118706 property:P27 ?e . resource:Q774334 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Aurach Clemens Arnold
action filter_type
action intersection
action find
entity Clemens Arnold
relation country of citizenship
action find
entity Aurach
relation country
type political territorial entity
{'AND': [['Clemens Arnold', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aurach', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Clemens_Arnold property:country_of_citizenship ?e . resource:Aurach property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q118706,P27,c(Q1048835)), (Q774334,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q118706
relation P27
action find
entity Q774334
relation P17
type Q1048835
[ANSWER]
{'AND': [['Q118706', 'P27', {'concept': 'Q1048835'}], ['Q774334', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q118706 property:P27 ?e . resource:Q774334 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action intersection
action find
entity Clemens Arnold
relation country of citizenship
action find
entity Aurach
relation country
type political territorial entity
{'AND': [['Clemens Arnold', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aurach', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Clemens_Arnold property:country_of_citizenship ?e . resource:Aurach property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q774334
P403
Q355304
USER
Which watercourse does that one drain into ?
(Q183,P403,c(Q355304))
action filter_type
action find
entity Q774334
relation P403
type Q355304
['Q183', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q774334 property:P403 ?u . ?u rdf:type ontology:Q355304 }
Aurach
action filter_type
action find
entity Aurach
relation mouth of the watercourse
type watercourse
['Germany', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Aurach property:mouth_of_the_watercourse ?u . ?u rdf:type ontology:watercourse }
[]
watercourse
Q643525
SYSTEM
Regnitz
Q643525
(Q183,P403,c(Q355304))
action filter_type
action find
entity Q774334
relation P403
type Q355304
[ANSWER]
['Q183', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q774334 property:P403 ?u . ?u rdf:type ontology:Q355304 }
Regnitz
Regnitz
action filter_type
action find
entity Aurach
relation mouth of the watercourse
type watercourse
['Germany', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Aurach property:mouth_of_the_watercourse ?u . ?u rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q643525
P30
Q2221906
USER
Which geographic location is that watercourse located in ?
(Q643525,P30,c(Q2221906))
action filter_type
action find
entity Q643525
relation P30
type Q2221906
['Q643525', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q643525 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Regnitz
action filter_type
action find
entity Regnitz
relation continent
type geographic location
['Regnitz', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Regnitz property:continent ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q643525,P30,c(Q2221906))
action filter_type
action find
entity Q643525
relation P30
type Q2221906
[ANSWER]
['Q643525', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q643525 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Europe
Europe
action filter_type
action find
entity Regnitz
relation continent
type geographic location
['Regnitz', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Regnitz property:continent ?e . ?e rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5064997 Q643525
P30
Q2221906
USER
Or Cerro Wawashang Natural Reserve?
OR((Q643525,P30,c(Q2221906)), (Q5064997,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q643525
relation P30
action find
entity Q5064997
relation P30
type Q2221906
{'OR': [['Q643525', 'P30', {'concept': 'Q2221906'}], ['Q5064997', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?u ) { ( resource:Q643525 ) ( resource:Q5064997 ) } . ?u property:P30 ?d } . ?d rdf:type ontology:Q2221906 }
Cerro Wawashang Natural Reserve Regnitz
action filter_type
action union
action find
entity Regnitz
relation continent
action find
entity Cerro Wawashang Natural Reserve
relation continent
type geographic location
{'OR': [['Regnitz', 'continent', {'concept': 'geographic location'}], ['Cerro Wawashang Natural Reserve', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?u ) { ( resource:Regnitz ) ( resource:Cerro_Wawashang_Natural_Reserve ) } . ?u property:continent ?d } . ?d rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q828
SYSTEM
Europe, Americas
Q46 Q828
OR((Q643525,P30,c(Q2221906)), (Q5064997,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q643525
relation P30
action find
entity Q5064997
relation P30
type Q2221906
[ANSWERS]
{'OR': [['Q643525', 'P30', {'concept': 'Q2221906'}], ['Q5064997', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?u ) { ( resource:Q643525 ) ( resource:Q5064997 ) } . ?u property:P30 ?d } . ?d rdf:type ontology:Q2221906 }
Europe Americas
Europe Americas
action filter_type
action union
action find
entity Regnitz
relation continent
action find
entity Cerro Wawashang Natural Reserve
relation continent
type geographic location
{'OR': [['Regnitz', 'continent', {'concept': 'geographic location'}], ['Cerro Wawashang Natural Reserve', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?u ) { ( resource:Regnitz ) ( resource:Cerro_Wawashang_Natural_Reserve ) } . ?u property:continent ?d } . ?d rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q26579728
P180
Q811979
USER
Does 27, Bell Lane depict those geographic locations ?
(Q26579728,P180,Q46) (Q26579728,P180,Q828)
action is_in
entity prev_answer
action find
entity Q26579728
relation P180
['Q26579728', 'P180', 'Q46'] ['Q26579728', 'P180', 'Q828']
ASK WHERE { resource:Q26579728 property:P180 ?m . VALUES ( ?m ) { ( resource:Q46 ) ( resource:Q828 ) } }
27, Bell Lane
action is_in
entity prev_answer
action find
entity 27, Bell Lane
relation depicts
['27, Bell Lane', 'depicts', 'Europe'] ['27, Bell Lane', 'depicts', 'Americas']
ASK WHERE { resource:27,_Bell_Lane property:depicts ?m . VALUES ( ?m ) { ( resource:Europe ) ( resource:Americas ) } }
[]
architectural structure
SYSTEM
NO
(Q26579728,P180,Q46) (Q26579728,P180,Q828)
action is_in
entity prev_answer
action find
entity Q26579728
relation P180
[ANSWER]
['Q26579728', 'P180', 'Q46'] ['Q26579728', 'P180', 'Q828']
ASK WHERE { resource:Q26579728 property:P180 ?m . VALUES ( ?m ) { ( resource:Q46 ) ( resource:Q828 ) } }
No
action is_in
entity prev_answer
action find
entity 27, Bell Lane
relation depicts
['27, Bell Lane', 'depicts', 'Europe'] ['27, Bell Lane', 'depicts', 'Americas']
ASK WHERE { resource:27,_Bell_Lane property:depicts ?m . VALUES ( ?m ) { ( resource:Europe ) ( resource:Americas ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q464007 Q659461 Q11401464
P102
Q7210356
USER
Is Ruth Metzler the member of Christian Democratic People's Party of Switzerland and Algerian Popular Movement ?
(Q464007,P102,Q659461) (Q464007,P102,Q11401464)
action is_in
entity Q464007
action intersection
action find_reverse
entity Q659461
relation P102
action find_reverse
entity Q11401464
relation P102
['Q464007', 'P102', 'Q659461'] ['Q464007', 'P102', 'Q11401464']
ASK WHERE { resource:Q464007 property:P102 resource:Q659461 . resource:Q464007 property:P102 resource:Q11401464 }
Ruth Metzler Christian Democratic People's Party of Switzerland Algerian Popular Movement
action is_in
entity Ruth Metzler
action intersection
action find_reverse
entity Christian Democratic People's Party of Switzerland
relation member of political party
action find_reverse
entity Algerian Popular Movement
relation member of political party
['Ruth Metzler', 'member of political party', "Christian Democratic People's Party of Switzerland"] ['Ruth Metzler', 'member of political party', 'Algerian Popular Movement']
ASK WHERE { resource:Ruth_Metzler property:member_of_political_party resource:Christian_Democratic_People's_Party_of_Switzerland . resource:Ruth_Metzler property:member_of_political_party resource:Algerian_Popular_Movement }
[]
political organization
SYSTEM
YES and NO respectively
(Q464007,P102,Q659461) (Q464007,P102,Q11401464)
action is_in
entity Q464007
action intersection
action find_reverse
entity Q659461
relation P102
action find_reverse
entity Q11401464
relation P102
[ANSWER]
['Q464007', 'P102', 'Q659461'] ['Q464007', 'P102', 'Q11401464']
ASK WHERE { resource:Q464007 property:P102 resource:Q659461 . resource:Q464007 property:P102 resource:Q11401464 }
YES and NO respectively
action is_in
entity Ruth Metzler
action intersection
action find_reverse
entity Christian Democratic People's Party of Switzerland
relation member of political party
action find_reverse
entity Algerian Popular Movement
relation member of political party
['Ruth Metzler', 'member of political party', "Christian Democratic People's Party of Switzerland"] ['Ruth Metzler', 'member of political party', 'Algerian Popular Movement']
ASK WHERE { resource:Ruth_Metzler property:member_of_political_party resource:Christian_Democratic_People's_Party_of_Switzerland . resource:Ruth_Metzler property:member_of_political_party resource:Algerian_Popular_Movement }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q157642 Q1874
P19
Q56061
USER
Was Odessa Vladimir Arnold born ?
(Q157642,P19,Q1874)
action is_in
entity Q1874
action find
entity Q157642
relation P19
['Q157642', 'P19', 'Q1874']
ASK WHERE { resource:Q157642 property:P19 resource:Q1874 }
Vladimir Arnold Odessa
action is_in
entity Odessa
action find
entity Vladimir Arnold
relation place of birth
['Vladimir Arnold', 'place of birth', 'Odessa']
ASK WHERE { resource:Vladimir_Arnold property:place_of_birth resource:Odessa }
[]
administrative territorial entity
SYSTEM
YES
(Q157642,P19,Q1874)
action is_in
entity Q1874
action find
entity Q157642
relation P19
[ANSWER]
['Q157642', 'P19', 'Q1874']
ASK WHERE { resource:Q157642 property:P19 resource:Q1874 }
Yes
action is_in
entity Odessa
action find
entity Vladimir Arnold
relation place of birth
['Vladimir Arnold', 'place of birth', 'Odessa']
ASK WHERE { resource:Vladimir_Arnold property:place_of_birth resource:Odessa }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q452785 Q118706
P27
Q1048835
USER
Which political territories are the native countriesof Clemens Arnold or Nada Mamula ?
OR((Q118706,P27,c(Q1048835)), (Q452785,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q118706
relation P27
action find
entity Q452785
relation P27
type Q1048835
{'OR': [['Q118706', 'P27', {'concept': 'Q1048835'}], ['Q452785', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q118706 property:P27 ?d } UNION { resource:Q452785 property:P27 ?d } } . ?d rdf:type ontology:Q1048835 }
Nada Mamula Clemens Arnold
action filter_type
action union
action find
entity Clemens Arnold
relation country of citizenship
action find
entity Nada Mamula
relation country of citizenship
type political territorial entity
{'OR': [['Clemens Arnold', 'country of citizenship', {'concept': 'political territorial entity'}], ['Nada Mamula', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Clemens_Arnold property:country_of_citizenship ?d } UNION { resource:Nada_Mamula property:country_of_citizenship ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q838261 Q183
SYSTEM
Federal Republic of Yugoslavia, Germany
Q838261 Q183
OR((Q118706,P27,c(Q1048835)), (Q452785,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q118706
relation P27
action find
entity Q452785
relation P27
type Q1048835
[ANSWERS]
{'OR': [['Q118706', 'P27', {'concept': 'Q1048835'}], ['Q452785', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q118706 property:P27 ?d } UNION { resource:Q452785 property:P27 ?d } } . ?d rdf:type ontology:Q1048835 }
Federal Republic of Yugoslavia Germany
Federal Republic of Yugoslavia Germany
action filter_type
action union
action find
entity Clemens Arnold
relation country of citizenship
action find
entity Nada Mamula
relation country of citizenship
type political territorial entity
{'OR': [['Clemens Arnold', 'country of citizenship', {'concept': 'political territorial entity'}], ['Nada Mamula', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Clemens_Arnold property:country_of_citizenship ?d } UNION { resource:Nada_Mamula property:country_of_citizenship ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P138
Q2472587 Q484652
USER
How many peoples and international organizations are namesakes of that political territory ?
(Q183,P138,c(Q2472587)) (Q183,P138,c(Q484652)) (Q838261,P138,c(Q2472587)) (Q838261,P138,c(Q484652)) (Q183,P138,c(Q2472587)) (Q183,P138,c(Q484652))
['Q183', 'P138', {'concept': 'Q2472587'}] ['Q183', 'P138', {'concept': 'Q484652'}] ['Q838261', 'P138', {'concept': 'Q2472587'}] ['Q838261', 'P138', {'concept': 'Q484652'}] ['Q183', 'P138', {'concept': 'Q2472587'}] ['Q183', 'P138', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q423030 property:P138 ?z } UNION { resource:Q423030 property:P138 ?y } UNION { resource:Q838261 property:P138 ?z } UNION { resource:Q838261 property:P138 ?y } UNION { resource:Q423030 property:P138 ?z } UNION { resource:Q423030 property:P138 ?y } } . ?z rdf:type ontology:Q2472587 . ?y rdf:type ontology:Q484652 }
['Germany', 'named after', {'concept': 'people'}] ['Germany', 'named after', {'concept': 'international organization'}] ['Federal Republic of Yugoslavia', 'named after', {'concept': 'people'}] ['Federal Republic of Yugoslavia', 'named after', {'concept': 'international organization'}] ['Germany', 'named after', {'concept': 'people'}] ['Germany', 'named after', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Germany property:named_after ?z } UNION { resource:Germany property:named_after ?y } UNION { resource:Federal_Republic_of_Yugoslavia property:named_after ?z } UNION { resource:Federal_Republic_of_Yugoslavia property:named_after ?y } UNION { resource:Germany property:named_after ?z } UNION { resource:Germany property:named_after ?y } } . ?z rdf:type ontology:people . ?y rdf:type ontology:international_organization }
[]
people international organization
Quantitative|Count|Mult. entity type|Clarification
Q183
SYSTEM
Did you mean Germany ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q423030 property:P138 ?z } UNION { resource:Q423030 property:P138 ?y } UNION { resource:Q838261 property:P138 ?z } UNION { resource:Q838261 property:P138 ?y } UNION { resource:Q423030 property:P138 ?z } UNION { resource:Q423030 property:P138 ?y } } . ?z rdf:type ontology:Q2472587 . ?y rdf:type ontology:Q484652 }
Did you mean Germany ?
Germany
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Germany property:named_after ?z } UNION { resource:Germany property:named_after ?y } UNION { resource:Federal_Republic_of_Yugoslavia property:named_after ?z } UNION { resource:Federal_Republic_of_Yugoslavia property:named_after ?y } UNION { resource:Germany property:named_after ?z } UNION { resource:Germany property:named_after ?y } } . ?z rdf:type ontology:people . ?y rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q183,P138,c(Q2472587)) (Q183,P138,c(Q484652)) (Q838261,P138,c(Q2472587)) (Q838261,P138,c(Q484652)) (Q183,P138,c(Q2472587)) (Q183,P138,c(Q484652))
['Q183', 'P138', {'concept': 'Q2472587'}] ['Q183', 'P138', {'concept': 'Q484652'}] ['Q838261', 'P138', {'concept': 'Q2472587'}] ['Q838261', 'P138', {'concept': 'Q484652'}] ['Q183', 'P138', {'concept': 'Q2472587'}] ['Q183', 'P138', {'concept': 'Q484652'}]
['Germany', 'named after', {'concept': 'people'}] ['Germany', 'named after', {'concept': 'international organization'}] ['Federal Republic of Yugoslavia', 'named after', {'concept': 'people'}] ['Federal Republic of Yugoslavia', 'named after', {'concept': 'international organization'}] ['Germany', 'named after', {'concept': 'people'}] ['Germany', 'named after', {'concept': 'international organization'}]
[]
SYSTEM
1 peoples and 1 international organizations
Q101985 Q132990
(Q183,P138,c(Q2472587)) (Q183,P138,c(Q484652)) (Q838261,P138,c(Q2472587)) (Q838261,P138,c(Q484652)) (Q183,P138,c(Q2472587)) (Q183,P138,c(Q484652))
[ANSWER]
['Q183', 'P138', {'concept': 'Q2472587'}] ['Q183', 'P138', {'concept': 'Q484652'}] ['Q838261', 'P138', {'concept': 'Q2472587'}] ['Q838261', 'P138', {'concept': 'Q484652'}] ['Q183', 'P138', {'concept': 'Q2472587'}] ['Q183', 'P138', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q423030 property:P138 ?z } UNION { resource:Q423030 property:P138 ?y } UNION { resource:Q838261 property:P138 ?z } UNION { resource:Q838261 property:P138 ?y } UNION { resource:Q423030 property:P138 ?z } UNION { resource:Q423030 property:P138 ?y } } . ?z rdf:type ontology:Q2472587 . ?y rdf:type ontology:Q484652 }
Saxons Alamanni
1 peoples and 1 international organizations
['Germany', 'named after', {'concept': 'people'}] ['Germany', 'named after', {'concept': 'international organization'}] ['Federal Republic of Yugoslavia', 'named after', {'concept': 'people'}] ['Federal Republic of Yugoslavia', 'named after', {'concept': 'international organization'}] ['Germany', 'named after', {'concept': 'people'}] ['Germany', 'named after', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Germany property:named_after ?z } UNION { resource:Germany property:named_after ?y } UNION { resource:Federal_Republic_of_Yugoslavia property:named_after ?z } UNION { resource:Federal_Republic_of_Yugoslavia property:named_after ?y } UNION { resource:Germany property:named_after ?z } UNION { resource:Germany property:named_after ?y } } . ?z rdf:type ontology:people . ?y rdf:type ontology:international_organization }
[]