Simple Question (Direct)
Simple Question
Q4354935
P58
Q502895
USER
Who served as the screenwriter for Pappa polis ?
(Q4354935,P58,c(Q502895))
action filter_type
action find
entity Q4354935
relation P58
type Q502895
['Q4354935', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4354935 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Pappa polis
action filter_type
action find
entity Pappa polis
relation screenwriter
type common name
['Pappa polis', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Pappa_polis property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
common name
Q4582169
SYSTEM
Laura Trenter
Q4582169
(Q4354935,P58,c(Q502895))
action filter_type
action find
entity Q4354935
relation P58
type Q502895
[ANSWER] served as the screenwriter for Pappa polis
['Q4354935', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4354935 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Laura Trenter
Laura Trenter served as the screenwriter for Pappa polis
Laura Trenter
action filter_type
action find
entity Pappa polis
relation screenwriter
type common name
['Pappa polis', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Pappa_polis property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4582169
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q4582169,P27,c(Q15617994))
action filter_type
action find
entity Q4582169
relation P27
type Q15617994
['Q4582169', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4582169 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Laura Trenter
action filter_type
action find
entity Laura Trenter
relation country of citizenship
type designation for an administrative territorial entity
['Laura Trenter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Laura_Trenter property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q4582169,P27,c(Q15617994))
action filter_type
action find
entity Q4582169
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q4582169', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4582169 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of that person
Sweden
action filter_type
action find
entity Laura Trenter
relation country of citizenship
type designation for an administrative territorial entity
['Laura Trenter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Laura_Trenter property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3440324 Q4582169
P106
Q12737077
USER
Which occupations are the professions of Laura Trenter or Rolande Désormeaux ?
OR((Q4582169,P106,c(Q12737077)), (Q3440324,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4582169
relation P106
action find
entity Q3440324
relation P106
type Q12737077
{'OR': [['Q4582169', 'P106', {'concept': 'Q12737077'}], ['Q3440324', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4582169 property:P106 ?v } UNION { resource:Q3440324 property:P106 ?v } } . ?v rdf:type ontology:Q12737077 }
Rolande Désormeaux Laura Trenter
action filter_type
action union
action find
entity Laura Trenter
relation occupation
action find
entity Rolande Désormeaux
relation occupation
type occupation
{'OR': [['Laura Trenter', 'occupation', {'concept': 'occupation'}], ['Rolande Désormeaux', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Laura_Trenter property:occupation ?v } UNION { resource:Rolande_Désormeaux property:occupation ?v } } . ?v rdf:type ontology:occupation }
[]
occupation
Q4853732 Q36180 Q947873 Q177220
SYSTEM
children's writer, writer, television presenter, singer
Q4853732 Q36180 Q947873 Q177220
OR((Q4582169,P106,c(Q12737077)), (Q3440324,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4582169
relation P106
action find
entity Q3440324
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q4582169', 'P106', {'concept': 'Q12737077'}], ['Q3440324', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4582169 property:P106 ?v } UNION { resource:Q3440324 property:P106 ?v } } . ?v rdf:type ontology:Q12737077 }
children's writer writer television presenter singer
Children's writer, television presenter and singer are the professions of Laura Trenter or Rolande Désormeaux
children's writer writer television presenter singer
action filter_type
action union
action find
entity Laura Trenter
relation occupation
action find
entity Rolande Désormeaux
relation occupation
type occupation
{'OR': [['Laura Trenter', 'occupation', {'concept': 'occupation'}], ['Rolande Désormeaux', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Laura_Trenter property:occupation ?v } UNION { resource:Rolande_Désormeaux property:occupation ?v } } . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q739092
P26
Q502895
USER
How many people are married to Kevin Harvick ?
(c(Q502895),P26,Q739092)
action count
action filter_type
action find_reverse
entity Q739092
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q739092']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P26 resource:Q739092 . ?w rdf:type ontology:Q502895 }
Kevin Harvick
action count
action filter_type
action find_reverse
entity Kevin Harvick
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kevin Harvick']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:spouse resource:Kevin_Harvick . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q5243964
(c(Q502895),P26,Q739092)
action count
action filter_type
action find_reverse
entity Q739092
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q739092']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P26 resource:Q739092 . ?w rdf:type ontology:Q502895 }
DeLana Harvick
1
action count
action filter_type
action find_reverse
entity Kevin Harvick
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kevin Harvick']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:spouse resource:Kevin_Harvick . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739092
P26
Q502895
USER
Which person has that one as spouse ?
action filter_type
action find
entity Q739092
relation P26
type Q502895
SELECT DISTINCT ?h WHERE { resource:Q739092 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Kevin Harvick
action filter_type
action find
entity Kevin Harvick
relation spouse
type common name
SELECT DISTINCT ?h WHERE { resource:Kevin_Harvick property:spouse ?h . ?h rdf:type ontology:common_name }
[]
common name
Q5243964
SYSTEM
DeLana Harvick
Q5243964
action filter_type
action find
entity Q739092
relation P26
type Q502895
[ANSWER] has that one as spouse
SELECT DISTINCT ?h WHERE { resource:Q739092 property:P26 ?h . ?h rdf:type ontology:Q502895 }
DeLana Harvick
DeLana Harvick has that one as spouse
DeLana Harvick
action filter_type
action find
entity Kevin Harvick
relation spouse
type common name
SELECT DISTINCT ?h WHERE { resource:Kevin_Harvick property:spouse ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5243964 Q739092
P26
Q502895
USER
Is Kevin Harvick the life partner of that one ?
(Q739092,P26,Q5243964)
action is_in
entity Q739092
action find
entity Q5243964
relation P26
['Q739092', 'P26', 'Q5243964']
ASK WHERE { resource:Q5243964 property:P26 resource:Q739092 }
DeLana Harvick Kevin Harvick
action is_in
entity Kevin Harvick
action find
entity DeLana Harvick
relation spouse
['Kevin Harvick', 'spouse', 'DeLana Harvick']
ASK WHERE { resource:DeLana_Harvick property:spouse resource:Kevin_Harvick }
[]
common name
SYSTEM
YES
(Q739092,P26,Q5243964)
action is_in
entity Q739092
action find
entity Q5243964
relation P26
[ANSWER]
['Q739092', 'P26', 'Q5243964']
ASK WHERE { resource:Q5243964 property:P26 resource:Q739092 }
Yes
action is_in
entity Kevin Harvick
action find
entity DeLana Harvick
relation spouse
['Kevin Harvick', 'spouse', 'DeLana Harvick']
ASK WHERE { resource:DeLana_Harvick property:spouse resource:Kevin_Harvick }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2626746 Q4354935
P495 P17
Q15617994
USER
Which administrative territories are the countries of origin of Pappa polis or are Kacha located in ?
OR((Q4354935,P495,c(Q15617994)), (Q2626746,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4354935
relation P495
action find
entity Q2626746
relation P17
type Q15617994
{'OR': [['Q4354935', 'P495', {'concept': 'Q15617994'}], ['Q2626746', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2626746 property:P17 ?j } UNION { resource:Q4354935 property:P495 ?j } } . ?j rdf:type ontology:Q15617994 }
Kacha Pappa polis
action filter_type
action union
action find
entity Pappa polis
relation country of origin
action find
entity Kacha
relation country
type designation for an administrative territorial entity
{'OR': [['Pappa polis', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Kacha', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Kacha property:country ?j } UNION { resource:Pappa_polis property:country_of_origin ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q159 Q34
SYSTEM
Ukraine, Russia, Sweden
Q212 Q159 Q34
OR((Q4354935,P495,c(Q15617994)), (Q2626746,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4354935
relation P495
action find
entity Q2626746
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q4354935', 'P495', {'concept': 'Q15617994'}], ['Q2626746', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2626746 property:P17 ?j } UNION { resource:Q4354935 property:P495 ?j } } . ?j rdf:type ontology:Q15617994 }
Ukraine Russia Sweden
Which administrative territories are the countries of origin of Pappa polis or are Kacha located in
Ukraine Russia Sweden
action filter_type
action union
action find
entity Pappa polis
relation country of origin
action find
entity Kacha
relation country
type designation for an administrative territorial entity
{'OR': [['Pappa polis', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Kacha', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Kacha property:country ?j } UNION { resource:Pappa_polis property:country_of_origin ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23028
P530
Q1048835
USER
Do Puçol have diplomatic associations with those administrative territories ?
(Q23028,P530,Q212) (Q23028,P530,Q159) (Q23028,P530,Q34)
action is_in
entity prev_answer
action find
entity Q23028
relation P530
['Q23028', 'P530', 'Q212'] ['Q23028', 'P530', 'Q159'] ['Q23028', 'P530', 'Q34']
ASK WHERE { VALUES ( ?y ) { ( resource:Q212 ) ( resource:Q159 ) ( resource:Q34 ) } . resource:Q23028 property:P530 ?y }
Puçol
action is_in
entity prev_answer
action find
entity Puçol
relation diplomatic relation
['Puçol', 'diplomatic relation', 'Ukraine'] ['Puçol', 'diplomatic relation', 'Russia'] ['Puçol', 'diplomatic relation', 'Sweden']
ASK WHERE { VALUES ( ?y ) { ( resource:Ukraine ) ( resource:Russia ) ( resource:Sweden ) } . resource:Puçol property:diplomatic_relation ?y }
[]
political territorial entity
SYSTEM
NO
(Q23028,P530,Q212) (Q23028,P530,Q159) (Q23028,P530,Q34)
action is_in
entity prev_answer
action find
entity Q23028
relation P530
[ANSWER]
['Q23028', 'P530', 'Q212'] ['Q23028', 'P530', 'Q159'] ['Q23028', 'P530', 'Q34']
ASK WHERE { VALUES ( ?y ) { ( resource:Q212 ) ( resource:Q159 ) ( resource:Q34 ) } . resource:Q23028 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity Puçol
relation diplomatic relation
['Puçol', 'diplomatic relation', 'Ukraine'] ['Puçol', 'diplomatic relation', 'Russia'] ['Puçol', 'diplomatic relation', 'Sweden']
ASK WHERE { VALUES ( ?y ) { ( resource:Ukraine ) ( resource:Russia ) ( resource:Sweden ) } . resource:Puçol property:diplomatic_relation ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q49405
P706
Q15617994
USER
How many administrative territories are located in Russia or Franconian Lake District ?
(c(Q15617994),P706,Q159) (c(Q15617994),P706,Q49405)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P706
type Q15617994
action filter_type
action find_reverse
entity Q49405
relation P706
type Q15617994
[{'concept': 'Q15617994'}, 'P706', 'Q159'] [{'concept': 'Q15617994'}, 'P706', 'Q49405']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { ?d rdf:type ontology:Q15617994 . ?d property:P706 resource:Q159 } UNION { ?d rdf:type ontology:Q15617994 . ?d property:P706 resource:Q49405 } }
Russia Franconian Lake District
action count
action union
action filter_type
action find_reverse
entity Russia
relation located on terrain feature
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Franconian Lake District
relation located on terrain feature
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', 'Russia'] [{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', 'Franconian Lake District']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:located_on_terrain_feature resource:Russia } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:located_on_terrain_feature resource:Franconian_Lake_District } }
[]
designation for an administrative territorial entity
SYSTEM
10
Q525945 Q252320 Q31640 Q521132 Q520347 Q588957 Q525879 Q331886 Q267993 Q312335
(c(Q15617994),P706,Q159) (c(Q15617994),P706,Q49405)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P706
type Q15617994
action filter_type
action find_reverse
entity Q49405
relation P706
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', 'Q159'] [{'concept': 'Q15617994'}, 'P706', 'Q49405']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { ?d rdf:type ontology:Q15617994 . ?d property:P706 resource:Q159 } UNION { ?d rdf:type ontology:Q15617994 . ?d property:P706 resource:Q49405 } }
Pfofeld Pleinfeld Unterschwaningen Hilpoltstein Röttenbach, Roth Allersberg Haundorf Absberg Muhr am See Spalt
10
action count
action union
action filter_type
action find_reverse
entity Russia
relation located on terrain feature
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Franconian Lake District
relation located on terrain feature
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', 'Russia'] [{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', 'Franconian Lake District']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:located_on_terrain_feature resource:Russia } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:located_on_terrain_feature resource:Franconian_Lake_District } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7917044 Q739092
P27
Q15617994
USER
Which administrative territories are Kevin Harvick or Vasyl' Potapenko a civilian of ?
OR((Q739092,P27,c(Q15617994)), (Q7917044,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q739092
relation P27
action find
entity Q7917044
relation P27
type Q15617994
{'OR': [['Q739092', 'P27', {'concept': 'Q15617994'}], ['Q7917044', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q739092 property:P27 ?a } UNION { resource:Q7917044 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Vasyl' Potapenko Kevin Harvick
action filter_type
action union
action find
entity Kevin Harvick
relation country of citizenship
action find
entity Vasyl' Potapenko
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kevin Harvick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["Vasyl' Potapenko", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Kevin_Harvick property:country_of_citizenship ?a } UNION { resource:Vasyl'_Potapenko property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q30
SYSTEM
Ukraine, United States of America
Q212 Q30
OR((Q739092,P27,c(Q15617994)), (Q7917044,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q739092
relation P27
action find
entity Q7917044
relation P27
type Q15617994
[ANSWERS] are Kevin Harvick or Vasyl' Potapenko a civilian of
{'OR': [['Q739092', 'P27', {'concept': 'Q15617994'}], ['Q7917044', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q739092 property:P27 ?a } UNION { resource:Q7917044 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Ukraine United States of America
Ukraine and United States of America are Kevin Harvick or Vasyl' Potapenko a civilian of
Ukraine United States of America
action filter_type
action union
action find
entity Kevin Harvick
relation country of citizenship
action find
entity Vasyl' Potapenko
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kevin Harvick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["Vasyl' Potapenko", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Kevin_Harvick property:country_of_citizenship ?a } UNION { resource:Vasyl'_Potapenko property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1872037
P27
Q502895
USER
Are Louis Waldman a citizen of those administrative territories ?
(Q1872037,P27,Q212) (Q1872037,P27,Q30)
action is_in
entity prev_answer
action find
entity Q1872037
relation P27
['Q1872037', 'P27', 'Q212'] ['Q1872037', 'P27', 'Q30']
ASK WHERE { resource:Q1872037 property:P27 ?z . VALUES ( ?z ) { ( resource:Q212 ) ( resource:Q30 ) } }
Louis Waldman
action is_in
entity prev_answer
action find
entity Louis Waldman
relation country of citizenship
['Louis Waldman', 'country of citizenship', 'Ukraine'] ['Louis Waldman', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Louis_Waldman property:country_of_citizenship ?z . VALUES ( ?z ) { ( resource:Ukraine ) ( resource:United_States_of_America ) } }
[]
common name
SYSTEM
YES
(Q1872037,P27,Q212) (Q1872037,P27,Q30)
action is_in
entity prev_answer
action find
entity Q1872037
relation P27
[ANSWER]
['Q1872037', 'P27', 'Q212'] ['Q1872037', 'P27', 'Q30']
ASK WHERE { resource:Q1872037 property:P27 ?z . VALUES ( ?z ) { ( resource:Q212 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Louis Waldman
relation country of citizenship
['Louis Waldman', 'country of citizenship', 'Ukraine'] ['Louis Waldman', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Louis_Waldman property:country_of_citizenship ?z . VALUES ( ?z ) { ( resource:Ukraine ) ( resource:United_States_of_America ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q613
P20
Q502895
USER
How many people have Russia or Emirate of Dubai as the location of death ?
(c(Q502895),P20,Q159) (c(Q502895),P20,Q613)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P20
type Q502895
action filter_type
action find_reverse
entity Q613
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q159'] [{'concept': 'Q502895'}, 'P20', 'Q613']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q159 } UNION { ?e property:P20 resource:Q613 . ?e rdf:type ontology:Q502895 } }
Russia Emirate of Dubai
action count
action union
action filter_type
action find_reverse
entity Russia
relation place of death
type common name
action filter_type
action find_reverse
entity Emirate of Dubai
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Russia'] [{'concept': 'common name'}, 'place of death', 'Emirate of Dubai']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:Russia } UNION { ?e property:place_of_death resource:Emirate_of_Dubai . ?e rdf:type ontology:common_name } }
[]
common name
SYSTEM
140
Q456780 Q18201545 Q4242229 Q18511631 Q7518868 Q5504981 Q20625629 Q10298699 Q7109510 Q1165316 Q2863328 Q4104084 Q1405104 Q718173 Q22341919 Q1688648 Q4413242 Q3768075 Q3372398 Q16266908 Q521586 Q15622170 Q827116 Q2365928 Q18224673 Q6371479 Q23818749 Q18203729 Q386076 Q4410125 Q4070667 Q1596760 Q3207867 Q1603011 Q96352 Q4058836 Q323122 Q2701484 Q7151040 Q3133999 Q69597 Q3888308 Q18045188 Q3108128 Q16977158 Q4481003 Q376231 Q15078996 Q1395690 Q785386 Q16528560 Q67279 Q15711028 Q7910854 Q6828500 Q4398970 Q12028388 Q2150522 Q1691550 Q754387 Q809349 Q4209402 Q18055920 Q4333710 Q21091948 Q5700208 Q952189 Q7377146 Q1635627 Q6371627 Q23012207 Q5436156 Q1684931 Q3126971 Q12123646 Q1717018 Q4074568 Q1600497 Q5394960 Q3770710 Q5265750 Q6204659 Q338315 Q4340845 Q2161951 Q68404 Q12194994 Q1115432 Q5492681 Q6371434 Q4015582 Q1970350 Q1319717 Q12784191 Q4528202 Q1549878 Q10393623 Q18044759 Q23007296 Q4723066 Q9374970 Q10307786 Q5927638 Q5709599 Q91324 Q2373762 Q3839774 Q3120350 Q6688631 Q561466 Q5930085 Q3817485 Q12787383 Q2361654 Q1560496 Q1968013 Q312799 Q15061609 Q4076365 Q87166 Q7377156 Q5492787 Q5339894 Q5504928 Q4236017 Q4226364 Q20046973 Q5650314 Q23309439 Q1854114 Q2466898 Q877362 Q4344020 Q5406910 Q69100 Q4277992 Q887237 Q5387997 Q462207 Q4443029
(c(Q502895),P20,Q159) (c(Q502895),P20,Q613)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P20
type Q502895
action filter_type
action find_reverse
entity Q613
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q159'] [{'concept': 'Q502895'}, 'P20', 'Q613']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q159 } UNION { ?e property:P20 resource:Q613 . ?e rdf:type ontology:Q502895 } }
Tatyana Dmitrieva Boris Frolov Yuri Kushak Viktor Antonovich Temin Simon Grascher Fritz Neumüller Avksentiy Mordinov Hubert Brinkforth Otto Alberts Danzig Sergejewitsch Baldajew Arno Jahr Lev Varshavsky Ferdinand Baston de La Riboisière Sulim Yamadayev Giovanni Battista Ortolani Damon Yevgeny Lyadin Pelageya Sekirkina Giovanni Rustici Paul Völckers Leonid Grabkin Rostislav Stratimirovic Sergio Sammartino Hans Eller Martin Wandel Bruno Strappini Karl-Heinz Worthmann Giovanni Bortolotto Yury Slavnitsky Willi Moser Roza Sverdlova Lyudmila Arkharova Heinrich Bischoff Yevgeni Skomorokhov Hellmuth Muntschick Hermann Wesel Mark Ayzerman Michel-Joseph Gebauer Andrei Zazroyev Paul Gurran Sveigðir Werner Mummert Olga Taratuta Anna Filonenko-Kamayeva Joseph Pinetti Anatoly Aleksandrov Aleksandr Falkovsky Stanislav Markelov Vassili Passetski Suzanne Tamim Oleg Morozov Arnaldo Dell'Ira Ernst Pistulla Vincenzo De Michiel Valentina Chebotaryova Michael Bauer Vladimir Rubanovsky Karel Macháň Richard Schlemmer Albert Schamoni Ernst Leman Bartolomäus Ghotan Rifkat Kalimullin Klavdiya Khantova Konstantin Oleshkevich Vladimir Vasilyev Heinrich Krafft Nikolai Sverchkov Rudolf Behr Hugo Rühle von Lilienstern Karl Betz Karl Helmuth Bonde Farooq Sheikh Johann Hornung Hans Kamecke Tatyana Mitrushina Jürgen Bertelsmann Mark Babushkin Heinz Kortenbeutel Ernst David Giuseppe Grandi Detlev Graf von Garnier-Turawa Joachim Wandel Hermann Gramlich Pavel K. Oshchepkov Roger Boch Julius von Bernuth Elias Farah Johann Schwarz Franz Ammann Karl-Heinz Greisert Vittorio Zampedri Tsarevich Dmitry Ivanovich of Russia Giustiniano Bellavitis Aleksander Astašev Adriaan Schoonebeek Viktor Yaroslavtsev Wilhelm Büsing Vladimir Tsarsky Tamara Valasiadi Alfred Lex Wincenty Bortkiewicz Johannes Arndt Hubert Strassl Helmut Frink Plato von Ustinov Nikolai Rysakov Luigi Leone Prince Wilhelm of Hesse-Philippsthal-Barchfeld Louise Berger Mahmoud al-Mabhouh Hugh Boustead Kurt Oleska Davorin Bole Matija Zmajević Günter Gentz Viktor Voroshilov Nikolai Kondratiev Gennady Khrapunkov Vladislav Balandin Hans Lipps Rudolf Bornhof Franz Graf von Bellegarde Edmund Wagner Fritz Hertzsch Svetlana Kotikova Vasilisa Kozhina Feras Saied Hans Kolbow Ciro Menotti Ales Prudnikau Mikhail Levashev Karl Auer Varvara Panina Eugen Garski Ludwig Vörg Yevgeny Malishevsky Maria Kryuchkova Erich Abraham Pavel Sudoplatov Lev Stolyarov
140
action count
action union
action filter_type
action find_reverse
entity Russia
relation place of death
type common name
action filter_type
action find_reverse
entity Emirate of Dubai
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Russia'] [{'concept': 'common name'}, 'place of death', 'Emirate of Dubai']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:Russia } UNION { ?e property:place_of_death resource:Emirate_of_Dubai . ?e rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q191633 Q177220
P106
Q502895
USER
Which people have a job as singer and mangaka ?
AND((c(Q502895),P106,Q177220), (c(Q502895),P106,Q191633))
action filter_type
action intersection
action find_reverse
entity Q177220
relation P106
action find_reverse
entity Q191633
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q177220'], [{'concept': 'Q502895'}, 'P106', 'Q191633']]}
SELECT DISTINCT ?w WHERE { ?w property:P106 resource:Q177220 . ?w property:P106 resource:Q191633 . ?w rdf:type ontology:Q502895 }
mangaka singer
action filter_type
action intersection
action find_reverse
entity singer
relation occupation
action find_reverse
entity mangaka
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'singer'], [{'concept': 'common name'}, 'occupation', 'mangaka']]}
SELECT DISTINCT ?w WHERE { ?w property:occupation resource:singer . ?w property:occupation resource:mangaka . ?w rdf:type ontology:common_name }
[]
common name
Q17350032 Q256425 Q420417 Q11473948 Q665398 Q3081347 Q640945
SYSTEM
Yū Suzunoki, Riyoko Ikeda, Sora Tokui, Yūichi Okano, Eri Kitamura, Shungicu Uchida, Noriko Sakai
Q17350032 Q256425 Q420417 Q11473948 Q665398 Q3081347 Q640945
AND((c(Q502895),P106,Q177220), (c(Q502895),P106,Q191633))
action filter_type
action intersection
action find_reverse
entity Q177220
relation P106
action find_reverse
entity Q191633
relation P106
type Q502895
[ANSWERS] have a job as singer and mangaka
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q177220'], [{'concept': 'Q502895'}, 'P106', 'Q191633']]}
SELECT DISTINCT ?w WHERE { ?w property:P106 resource:Q177220 . ?w property:P106 resource:Q191633 . ?w rdf:type ontology:Q502895 }
Yū Suzunoki Riyoko Ikeda Sora Tokui Yūichi Okano Eri Kitamura Shungicu Uchida Noriko Sakai
Yū Suzunoki, Riyoko Ikeda, Sora Tokui, Yūichi Okano, Eri Kitamura, Shungicu Uchida and Noriko Sakai have a job as singer and mangaka
Yū Suzunoki Riyoko Ikeda Sora Tokui Yūichi Okano Eri Kitamura Shungicu Uchida Noriko Sakai
action filter_type
action intersection
action find_reverse
entity singer
relation occupation
action find_reverse
entity mangaka
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'singer'], [{'concept': 'common name'}, 'occupation', 'mangaka']]}
SELECT DISTINCT ?w WHERE { ?w property:occupation resource:singer . ?w property:occupation resource:mangaka . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2895291 Q3440324
P19
Q56061
USER
Which administrative territories were Rolande Désormeaux or Ingrid Claes born in ?
OR((Q3440324,P19,c(Q56061)), (Q2895291,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3440324
relation P19
action find
entity Q2895291
relation P19
type Q56061
{'OR': [['Q3440324', 'P19', {'concept': 'Q56061'}], ['Q2895291', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3440324 property:P19 ?y } UNION { resource:Q2895291 property:P19 ?y } } . ?y rdf:type ontology:Q56061 }
Ingrid Claes Rolande Désormeaux
action filter_type
action union
action find
entity Rolande Désormeaux
relation place of birth
action find
entity Ingrid Claes
relation place of birth
type administrative territorial entity
{'OR': [['Rolande Désormeaux', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ingrid Claes', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Rolande_Désormeaux property:place_of_birth ?y } UNION { resource:Ingrid_Claes property:place_of_birth ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340 Q58780
SYSTEM
Montreal, Hasselt
Q340 Q58780
OR((Q3440324,P19,c(Q56061)), (Q2895291,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3440324
relation P19
action find
entity Q2895291
relation P19
type Q56061
Rolande Désormeaux or Ingrid Claes were born in [ANSWERS]
{'OR': [['Q3440324', 'P19', {'concept': 'Q56061'}], ['Q2895291', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3440324 property:P19 ?y } UNION { resource:Q2895291 property:P19 ?y } } . ?y rdf:type ontology:Q56061 }
Montreal Hasselt
Rolande Désormeaux or Ingrid Claes were born in Montreal and Hasselt
Montreal Hasselt
action filter_type
action union
action find
entity Rolande Désormeaux
relation place of birth
action find
entity Ingrid Claes
relation place of birth
type administrative territorial entity
{'OR': [['Rolande Désormeaux', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ingrid Claes', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Rolande_Désormeaux property:place_of_birth ?y } UNION { resource:Ingrid_Claes property:place_of_birth ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]