Simple Question (Direct)
Simple Question
Q8862524
P119
Q43229
USER
Which organization is the tomb of Tadeusz Kroński ?
(Q8862524,P119,c(Q43229))
action filter_type
action find
entity Q8862524
relation P119
type Q43229
['Q8862524', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q8862524 property:P119 ?f . ?f rdf:type ontology:Q43229 }
Tadeusz Kroński
action filter_type
action find
entity Tadeusz Kroński
relation place of burial
type organization
['Tadeusz Kroński', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Tadeusz_Kroński property:place_of_burial ?f . ?f rdf:type ontology:organization }
[]
organization
Q168886
SYSTEM
Powązki Cemetery
Q168886
(Q8862524,P119,c(Q43229))
action filter_type
action find
entity Q8862524
relation P119
type Q43229
In [ANSWER] is the tomb of Tadeusz Kroński
['Q8862524', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q8862524 property:P119 ?f . ?f rdf:type ontology:Q43229 }
Powązki Cemetery
In Powązki Cemetery is the tomb of Tadeusz Kroński
Powązki Cemetery
action filter_type
action find
entity Tadeusz Kroński
relation place of burial
type organization
['Tadeusz Kroński', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Tadeusz_Kroński property:place_of_burial ?f . ?f rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q168886
P17
Q15617994
USER
Which administrative territory does that organization belong to ?
(Q168886,P17,c(Q15617994))
action filter_type
action find
entity Q168886
relation P17
type Q15617994
['Q168886', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q168886 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Powązki Cemetery
action filter_type
action find
entity Powązki Cemetery
relation country
type designation for an administrative territorial entity
['Powązki Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Powązki_Cemetery property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q168886,P17,c(Q15617994))
action filter_type
action find
entity Q168886
relation P17
type Q15617994
That organization belongs to the [ANSWER]
['Q168886', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q168886 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Poland
That organization belongs to the Poland
Poland
action filter_type
action find
entity Powązki Cemetery
relation country
type designation for an administrative territorial entity
['Powązki Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Powązki_Cemetery property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P35
Q502895
USER
Who are the heads of state of that administrative territory ?
(Q36,P35,c(Q502895))
action filter_type
action find
entity Q36
relation P35
type Q502895
['Q36', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q36 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Poland
action filter_type
action find
entity Poland
relation head of state
type common name
['Poland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Poland property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
common name
Q444 Q55758 Q2757
SYSTEM
Lech Wałęsa, Aleksander Kwaśniewski, Lech Kaczyński
Q2757 Q444 Q9151911 Q55758
(Q36,P35,c(Q502895))
action filter_type
action find
entity Q36
relation P35
type Q502895
The heads of state of that administrative territory are [ANSWERS]
['Q36', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q36 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Lech Kaczyński Lech Wałęsa Andrzej Duda Aleksander Kwaśniewski
The heads of state of that administrative territory are Lech Wałęsa, Aleksander Kwaśniewski and Lech Kaczyński
Lech Wałęsa Aleksander Kwaśniewski Lech Kaczyński
action filter_type
action find
entity Poland
relation head of state
type common name
['Poland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Poland property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q444 Q55758 Q2757
P26
Q502895
USER
Which people are married to Lech Wałęsa, Aleksander Kwaśniewski and Lech Kaczyński ?
(c(Q502895),P26,Q444) (c(Q502895),P26,Q55758) (c(Q502895),P26,Q2757)
action union
action filter_type
action find
entity Q444
relation P26
type Q502895
action filter_type
action find
entity Q55758
relation P26
type Q502895
action filter_type
action find
entity Q2757
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q444'] [{'concept': 'Q502895'}, 'P26', 'Q55758'] [{'concept': 'Q502895'}, 'P26', 'Q2757']
SELECT DISTINCT ?x WHERE { { resource:Q444 property:P26 ?x . ?x rdf:type ontology:Q502895 } UNION { resource:Q55758 property:P26 ?x . ?x rdf:type ontology:Q502895 } }
Lech Wałęsa Aleksander Kwaśniewski Lech Kaczyński
action union
action filter_type
action find
entity Lech Wałęsa
relation spouse
type common name
action filter_type
action find
entity Aleksander Kwaśniewski
relation spouse
type common name
action filter_type
action find
entity Lech Kaczyński
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lech Wałęsa'] [{'concept': 'common name'}, 'spouse', 'Aleksander Kwaśniewski'] [{'concept': 'common name'}, 'spouse', 'Lech Kaczyński']
SELECT DISTINCT ?x WHERE { { resource:Lech_Wałęsa property:spouse ?x . ?x rdf:type ontology:common_name } UNION { resource:Aleksander_Kwaśniewski property:spouse ?x . ?x rdf:type ontology:common_name } }
[]
common name
Q468844 Q55756 Q215342
SYSTEM
Danuta Wałęsa, Jolanta Kwaśniewska, Maria Kaczyńska
Q468844 Q55756 Q215342
(c(Q502895),P26,Q444) (c(Q502895),P26,Q55758) (c(Q502895),P26,Q2757)
action union
action filter_type
action find
entity Q444
relation P26
type Q502895
action filter_type
action find
entity Q55758
relation P26
type Q502895
action filter_type
action find
entity Q2757
relation P26
type Q502895
[ANSWERS] are married to Lech Wałęsa, Aleksander Kwaśniewski and Lech Kaczyński
[{'concept': 'Q502895'}, 'P26', 'Q444'] [{'concept': 'Q502895'}, 'P26', 'Q55758'] [{'concept': 'Q502895'}, 'P26', 'Q2757']
SELECT DISTINCT ?x WHERE { { resource:Q444 property:P26 ?x . ?x rdf:type ontology:Q502895 } UNION { resource:Q55758 property:P26 ?x . ?x rdf:type ontology:Q502895 } }
Danuta Wałęsa Jolanta Kwaśniewska Maria Kaczyńska
Danuta Wałęsa, Jolanta Kwaśniewska and Maria Kaczyńska are married to Lech Wałęsa, Aleksander Kwaśniewski and Lech Kaczyński
Danuta Wałęsa Jolanta Kwaśniewska Maria Kaczyńska
action union
action filter_type
action find
entity Lech Wałęsa
relation spouse
type common name
action filter_type
action find
entity Aleksander Kwaśniewski
relation spouse
type common name
action filter_type
action find
entity Lech Kaczyński
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lech Wałęsa'] [{'concept': 'common name'}, 'spouse', 'Aleksander Kwaśniewski'] [{'concept': 'common name'}, 'spouse', 'Lech Kaczyński']
SELECT DISTINCT ?x WHERE { { resource:Lech_Wałęsa property:spouse ?x . ?x rdf:type ontology:common_name } UNION { resource:Aleksander_Kwaśniewski property:spouse ?x . ?x rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q468844 Q55756 Q215342
P26
Q502895
USER
Who are the spouse of those ones ?
(c(Q502895),P26,Q468844) (c(Q502895),P26,Q55756) (c(Q502895),P26,Q215342)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q468844'] [{'concept': 'Q502895'}, 'P26', 'Q55756'] [{'concept': 'Q502895'}, 'P26', 'Q215342']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q468844 ) ( resource:Q55756 ) ( resource:Q215342 ) } . ?o property:P26 ?z }
Danuta Wałęsa Jolanta Kwaśniewska Maria Kaczyńska
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Danuta Wałęsa'] [{'concept': 'common name'}, 'spouse', 'Jolanta Kwaśniewska'] [{'concept': 'common name'}, 'spouse', 'Maria Kaczyńska']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:Danuta_Wałęsa ) ( resource:Jolanta_Kwaśniewska ) ( resource:Maria_Kaczyńska ) } . ?o property:spouse ?z }
[]
common name
Q444 Q55758 Q2757
SYSTEM
Lech Wałęsa, Aleksander Kwaśniewski, Lech Kaczyński
Q444 Q55758 Q2757
(c(Q502895),P26,Q468844) (c(Q502895),P26,Q55756) (c(Q502895),P26,Q215342)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
The spouse of those ones are [ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q468844'] [{'concept': 'Q502895'}, 'P26', 'Q55756'] [{'concept': 'Q502895'}, 'P26', 'Q215342']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q468844 ) ( resource:Q55756 ) ( resource:Q215342 ) } . ?o property:P26 ?z }
Lech Wałęsa Aleksander Kwaśniewski Lech Kaczyński
The spouse of those ones are Lech Wałęsa, Aleksander Kwaśniewski and Lech Kaczyński
Lech Wałęsa Aleksander Kwaśniewski Lech Kaczyński
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Danuta Wałęsa'] [{'concept': 'common name'}, 'spouse', 'Jolanta Kwaśniewska'] [{'concept': 'common name'}, 'spouse', 'Maria Kaczyńska']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:Danuta_Wałęsa ) ( resource:Jolanta_Kwaśniewska ) ( resource:Maria_Kaczyńska ) } . ?o property:spouse ?z }
[]
Clarification
Simple Question|Single Entity|Indirect
Q55758
P39
Q12737077
USER
What were the positions for which that person were appointed ?
(Q55758,P39,c(Q12737077))
action filter_type
action find
entity Q55758
relation P39
type Q12737077
['Q55758', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q55758 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Aleksander Kwaśniewski
action filter_type
action find
entity Aleksander Kwaśniewski
relation position held
type occupation
['Aleksander Kwaśniewski', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Aleksander_Kwaśniewski property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q444
SYSTEM
Did you mean Lech Wałęsa ?
Q444 Q55758 Q2757
(Q444,P39,c(Q12737077)) (Q55758,P39,c(Q12737077)) (Q2757,P39,c(Q12737077))
[ANSWER]
['Q444', 'P39', {'concept': 'Q12737077'}] ['Q55758', 'P39', {'concept': 'Q12737077'}] ['Q2757', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q55758 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Lech Wałęsa Aleksander Kwaśniewski Lech Kaczyński
Did you mean Lech Wałęsa ?
Lech Wałęsa
['Lech Wałęsa', 'position held', {'concept': 'occupation'}] ['Aleksander Kwaśniewski', 'position held', {'concept': 'occupation'}] ['Lech Kaczyński', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Aleksander_Kwaśniewski property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Aleksander Kwaśniewski. Could you tell me the answer for that?
(Q55758,P39,c(Q12737077))
Q55758
['Q55758', 'P39', {'concept': 'Q12737077'}]
['Aleksander Kwaśniewski', 'position held', {'concept': 'occupation'}]
[]
Q21328636 Q1054799
SYSTEM
Member of the Sejm of the Republic of Poland, President of Poland
Q21328636 Q1054799
(Q55758,P39,c(Q12737077))
action filter_type
action find
entity Q55758
relation P39
type Q12737077
The [ANSWERS]
['Q55758', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q55758 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Member of the Sejm of the Republic of Poland President of Poland
The Member of the Sejm of the Republic of Poland and President of Poland
Member of the Sejm of the Republic of Poland President of Poland
action filter_type
action find
entity Aleksander Kwaśniewski
relation position held
type occupation
['Aleksander Kwaśniewski', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Aleksander_Kwaśniewski property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16193044
P39
Q502895
USER
Were Benjamín Castillo Valdez responsible for occupying the position of those occupations ?
(Q16193044,P39,Q21328636) (Q16193044,P39,Q1054799)
action is_in
entity prev_answer
action find
entity Q16193044
relation P39
['Q16193044', 'P39', 'Q21328636'] ['Q16193044', 'P39', 'Q1054799']
ASK WHERE { VALUES ( ?t ) { ( resource:Q21328636 ) ( resource:Q1054799 ) } . resource:Q16193044 property:P39 ?t }
Benjamín Castillo Valdez
action is_in
entity prev_answer
action find
entity Benjamín Castillo Valdez
relation position held
['Benjamín Castillo Valdez', 'position held', 'Member of the Sejm of the Republic of Poland'] ['Benjamín Castillo Valdez', 'position held', 'President of Poland']
ASK WHERE { VALUES ( ?t ) { ( resource:Member_of_the_Sejm_of_the_Republic_of_Poland ) ( resource:President_of_Poland ) } . resource:Benjamín_Castillo_Valdez property:position_held ?t }
[]
common name
SYSTEM
NO
(Q16193044,P39,Q21328636) (Q16193044,P39,Q1054799)
action is_in
entity prev_answer
action find
entity Q16193044
relation P39
[ANSWER]
['Q16193044', 'P39', 'Q21328636'] ['Q16193044', 'P39', 'Q1054799']
ASK WHERE { VALUES ( ?t ) { ( resource:Q21328636 ) ( resource:Q1054799 ) } . resource:Q16193044 property:P39 ?t }
No
action is_in
entity prev_answer
action find
entity Benjamín Castillo Valdez
relation position held
['Benjamín Castillo Valdez', 'position held', 'Member of the Sejm of the Republic of Poland'] ['Benjamín Castillo Valdez', 'position held', 'President of Poland']
ASK WHERE { VALUES ( ?t ) { ( resource:Member_of_the_Sejm_of_the_Republic_of_Poland ) ( resource:President_of_Poland ) } . resource:Benjamín_Castillo_Valdez property:position_held ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1054799
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of President of Poland ?
(Q1054799,P1001,c(Q15617994))
action filter_type
action find
entity Q1054799
relation P1001
type Q15617994
['Q1054799', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1054799 property:P1001 ?a . ?a rdf:type ontology:Q15617994 }
President of Poland
action filter_type
action find
entity President of Poland
relation applies to jurisdiction
type designation for an administrative territorial entity
['President of Poland', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:President_of_Poland property:applies_to_jurisdiction ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q1054799,P1001,c(Q15617994))
action filter_type
action find
entity Q1054799
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of President of [ANSWER]
['Q1054799', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1054799 property:P1001 ?a . ?a rdf:type ontology:Q15617994 }
Poland
Poland belongs to jurisdiction of President of Poland
Poland
action filter_type
action find
entity President of Poland
relation applies to jurisdiction
type designation for an administrative territorial entity
['President of Poland', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:President_of_Poland property:applies_to_jurisdiction ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1054799
P1027
Q618779
USER
Which awards are conferred by that occupation ?
(c(Q618779),P1027,Q36)
action filter_type
action find_reverse
entity Q1054799
relation P1027
type Q618779
[{'concept': 'Q618779'}, 'P1027', 'Q36']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q618779 . ?f property:P1027 resource:Q1054799 }
President of Poland
action filter_type
action find_reverse
entity President of Poland
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Poland']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:award . ?f property:conferred_by resource:President_of_Poland }
[]
award
Q4287039 Q4286925
SYSTEM
Medal for Sacrifice and Courage, Medal for Long Marital Life
Q4287039 Q4286925
(c(Q618779),P1027,Q36)
action filter_type
action find_reverse
entity Q1054799
relation P1027
type Q618779
And [ANSWERS] are conferred by that occupation
[{'concept': 'Q618779'}, 'P1027', 'Q36']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q618779 . ?f property:P1027 resource:Q1054799 }
Medal for Sacrifice and Courage Medal for Long Marital Life
And Medal for Sacrifice and Courage and Medal for Long Marital Life are conferred by that occupation
Medal for Sacrifice and Courage Medal for Long Marital Life
action filter_type
action find_reverse
entity President of Poland
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Poland']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:award . ?f property:conferred_by resource:President_of_Poland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1054799
P39
Q502895
USER
How many people were appointed for the position of President of Poland ?
(c(Q502895),P39,Q1054799)
action count
action filter_type
action find_reverse
entity Q1054799
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1054799']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P39 resource:Q1054799 . ?i rdf:type ontology:Q502895 }
President of Poland
action count
action filter_type
action find_reverse
entity President of Poland
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Poland']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:position_held resource:President_of_Poland . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q55844 Q55840 Q55832 Q55832 Q55836 Q55834 Q55758 Q2757 Q444 Q9151911 Q310594 Q42939 Q246296
(c(Q502895),P39,Q1054799)
action count
action filter_type
action find_reverse
entity Q1054799
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q1054799']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P39 resource:Q1054799 . ?i rdf:type ontology:Q502895 }
Stanisław Wojciechowski Władysław Raczkiewicz Bolesław Bierut Bolesław Bierut Gabriel Narutowicz Wojciech Jaruzelski Aleksander Kwaśniewski Lech Kaczyński Lech Wałęsa Andrzej Duda Ignacy Mościcki Bronisław Komorowski Maciej Rataj
13
action count
action filter_type
action find_reverse
entity President of Poland
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Poland']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:position_held resource:President_of_Poland . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q18180908
P39
Q502895
USER
And what about member of the California State Assembly?
(c(Q502895),P39,Q18180908)
action count
action filter_type
action find_reverse
entity Q18180908
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q18180908']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P39 resource:Q18180908 . ?e rdf:type ontology:Q502895 }
member of the California State Assembly
action count
action filter_type
action find_reverse
entity member of the California State Assembly
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'member of the California State Assembly']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:position_held resource:member_of_the_California_State_Assembly . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
646
Q5076040 Q16241196 Q7323655 Q1064708 Q1855840 Q5622576 Q5248443 Q4908134 Q6750991 Q469139 Q7114684 Q4647468 Q5696648 Q16228816 Q16193184 Q5485313 Q6685454 Q5343438 Q16882044 Q7792046 Q16065816 Q1234235 Q469115 Q3870723 Q7350241 Q974431 Q183043 Q16146165 Q583529 Q2355703 Q3408766 Q5363004 Q7614512 Q1707859 Q5722545 Q6829626 Q7182427 Q6212324 Q14858465 Q7925778 Q16210078 Q724941 Q4909893 Q6838602 Q1368417 Q1547785 Q16241177 Q6763451 Q3276717 Q6212357 Q6144904 Q1373041 Q6197041 Q539549 Q434142 Q5222847 Q4908900 Q368868 Q6285755 Q6244736 Q352953 Q7356325 Q16866360 Q776941 Q1184601 Q6829617 Q16114182 Q1585452 Q7814952 Q7435966 Q5729725 Q16148188 Q1094733 Q16200533 Q460675 Q6777376 Q7144115 Q5290574 Q3577073 Q6166819 Q5213891 Q5077006 Q7183963 Q7154643 Q6128138 Q6243830 Q518779 Q6660142 Q2345028 Q4910057 Q5365075 Q5365075 Q5365075 Q6204898 Q16887179 Q8019846 Q6668412 Q4800478 Q215216 Q880400 Q7612581 Q6170696 Q5248343 Q1410588 Q1252320 Q6183738 Q6770450 Q714909 Q7146854 Q7786889 Q16136711 Q16227302 Q6261837 Q6551621 Q5195383 Q1063454 Q5342862 Q7615078 Q4798769 Q5364795 Q4964873 Q16886461 Q7816093 Q5194980 Q4978076 Q5345731 Q289317 Q5111087 Q7818099 Q5218755 Q1310298 Q7488882 Q5195419 Q5360898 Q7332273 Q4704495 Q5083228 Q7812647 Q6812805 Q7932083 Q1842365 Q7048183 Q166390 Q862763 Q16873191 Q6174508 Q1043079 Q2423887 Q8014848 Q16238243 Q6249592 Q7339983 Q16208553 Q5053032 Q7817857 Q7358099 Q4820785 Q4898279 Q6775493 Q2085915 Q8022696 Q4899318 Q561826 Q2217949 Q6215181 Q16203078 Q1259528 Q6700297 Q7152903 Q16206650 Q7403264 Q5334646 Q16241578 Q5339473 Q16866390 Q5228596 Q461974 Q7815510 Q132302 Q2277788 Q4766893 Q2347916 Q7358720 Q5981090 Q442050 Q5726873 Q7647786 Q17308810 Q15993378 Q5549498 Q4707765 Q6375310 Q3528567 Q5053049 Q1428544 Q428521 Q6685676 Q675869 Q16062864 Q7296147 Q7693433 Q16866534 Q1562541 Q6846974 Q5228555 Q4964589 Q7519720 Q5525338 Q16059815 Q6964507 Q425949 Q15525026 Q6193580 Q6193586 Q4897498 Q1699479 Q7803829 Q766866 Q7149208 Q7151378 Q8006252 Q4934384 Q16241271 Q16206309 Q7349511 Q7327003 Q1517351 Q16187117 Q7328466 Q880378 Q8003416 Q535887 Q6847037 Q5226471 Q6173918 Q1699893 Q5393001 Q5568788 Q7803436 Q6197397 Q7498770 Q538888 Q6234003 Q16206095 Q7328586 Q7407191 Q16887208 Q6862199 Q6142559 Q16213249 Q6388065 Q1064856 Q5560484 Q4707410 Q8015233 Q6709380 Q5279263 Q7405170 Q4747932 Q2424476 Q17091363 Q472199 Q15430147 Q1606767 Q518938 Q16878154 Q4965254 Q1703840 Q8006618 Q5542774 Q7693450 Q6681126 Q7836196 Q675348 Q7693212 Q6114714 Q1531081 Q7647593 Q7817900 Q14917142 Q5272612 Q976392 Q6769432 Q4773294 Q7356700 Q6774391 Q7407065 Q5427670 Q2522387 Q3740782 Q5120567 Q15993459 Q6939391 Q15732226 Q4908398 Q13562255 Q5161840 Q5585275 Q6397491 Q16067338 Q4771970 Q4909636 Q1066416 Q4978357 Q16145933 Q1680423 Q781113 Q7369439 Q5915564 Q7038827 Q5545697 Q4834225 Q16015662 Q6115464 Q6674610 Q7364720 Q7814901 Q16885406 Q6384943 Q5077082 Q16084356 Q5441978 Q6990045 Q4819123 Q5044443 Q5585227 Q6765444 Q7308256 Q6756846 Q2422593 Q16215776 Q6697081 Q5074679 Q7151856 Q6224820 Q7355750 Q478094 Q16091249 Q7597897 Q2581565 Q7297600 Q2895991 Q6763506 Q16206278 Q16227010 Q4096455 Q7934595 Q16866434 Q7343714 Q5623444 Q6528929 Q6769874 Q5026379 Q1677280 Q7151836 Q6763063 Q4933445 Q1687753 Q3000097 Q1669554 Q4819745 Q7937844 Q552548 Q16866342 Q5571451 Q1633053 Q364538 Q2580886 Q6193889 Q16013011 Q4942388 Q1700670 Q2150724 Q6394585 Q5253082 Q16066089 Q3791701 Q356929 Q17091268 Q7841114 Q16072996 Q7816302 Q1351459 Q16206191 Q5921161 Q1387025 Q7410897 Q5293312 Q4685737 Q5083358 Q4932870 Q5092702 Q6197179 Q16241731 Q4773347 Q1922193 Q6397820 Q5543467 Q1507259 Q7324216 Q6779741 Q6240947 Q7345472 Q6397046 Q1507018 Q9365294 Q4796675 Q6662402 Q6148973 Q16206545 Q5498340 Q7331507 Q5544109 Q1811793 Q1262258 Q1527673 Q1768196 Q5217038 Q13562258 Q13562259 Q13562256 Q13562254 Q5094138 Q7437510 Q5186348 Q7911293 Q5542478 Q7847728 Q7822962 Q7498880 Q572941 Q6712531 Q1700568 Q344538 Q5107602 Q7349013 Q6861321 Q7328265 Q4666597 Q218544 Q6832418 Q7787378 Q4933574 Q6213175 Q16210121 Q1065970 Q5271478 Q7325716 Q50610 Q4864375 Q5353159 Q1395723 Q17182610 Q5531363 Q4894477 Q16122049 Q16192704 Q3343727 Q6761840 Q495050 Q8009505 Q4908975 Q881348 Q915122 Q1918896 Q4703471 Q7906131 Q538206 Q5605227 Q5258524 Q16106802 Q5495639 Q4910265 Q218511 Q16205568 Q6233465 Q7342707 Q16205990 Q4299765 Q7437509 Q5246147 Q7323278 Q13562257 Q5271519 Q4978005 Q4964238 Q5481591 Q16729363 Q7150687 Q5273215 Q6396609 Q4933520 Q6279566 Q6078402 Q5542782 Q7143837 Q7416887 Q353121 Q6828172 Q5292135 Q460035 Q5229056 Q6767311 Q6525523 Q4910221 Q2578546 Q8020252 Q1687054 Q16205841 Q5081851 Q7613060 Q4858701 Q16091901 Q6846132 Q8022653 Q6397062 Q1044298 Q6438177 Q16030753 Q16885907 Q7173912 Q3050997 Q14859204 Q6848616 Q399621 Q6755698 Q5540766 Q6757421 Q4730821 Q461709 Q16206251 Q6662349 Q2092070 Q6195076 Q7447591 Q5368320 Q4908857 Q4963505 Q461739 Q6759906 Q5921211 Q4975002 Q5080565 Q461727 Q7050069 Q5213651 Q5004468 Q5386971 Q16734821 Q16734822 Q4898871 Q5245980 Q2903273 Q7341970 Q5498439 Q1711965 Q6279480 Q7405307 Q7358328 Q15993687 Q5115670 Q7322693 Q6835100 Q6115051 Q682552 Q1508047 Q6390347 Q7795700 Q16981639 Q17423792 Q18684632 Q1424689 Q2806243 Q5115660 Q6253684 Q6208971 Q16206466 Q448252 Q7490197 Q6200205 Q979566 Q5077262 Q4712215 Q5106899 Q7182574 Q1899123 Q7148691 Q16206355 Q11310816 Q16151544 Q4931858 Q6489988 Q6298898 Q4738741 Q7185706 Q16146892 Q8015875 Q16209154 Q7350720 Q5387476 Q5346437 Q16206586 Q16240944 Q3672666 Q1356917 Q5482629 Q15997133 Q16031200 Q545221 Q561547 Q6705565 Q5294972 Q2268730 Q5220384 Q5648770 Q6524265 Q6524265 Q6780670 Q6708994 Q1701424 Q6387474 Q8004065 Q7342618 Q16206317 Q569995 Q14948795 Q6175509 Q350542 Q6114380 Q7301702 Q16866655 Q6848113 Q6066221 Q6775510 Q5293495 Q16009773 Q1700888 Q5344395 Q5916610 Q1340268 Q690354 Q1064314 Q1909500 Q5080971 Q7970208 Q16499767
(c(Q502895),P39,Q18180908)
action count
action filter_type
action find_reverse
entity Q18180908
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q18180908']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P39 resource:Q18180908 . ?e rdf:type ontology:Q502895 }
Charles Calderon Jose M. Covarrubias Richard Alarcón Charles H. Wilson Xavier Becerra Guy S. Houston Debra Bowen Bill Berryhill Manny Diaz Grace Napolitano Owen Wade A. A. H. Tuttle Hector De La Torre Jonathan J. Warner Howard Kaloogian Frank Bigelow Lou Correa Edward Hernandez Asa Ellis Thomas M. Hannigan David Fairchild Stephen Johnson Field Lucille Roybal-Allard Nathan Coombs Robert T. Monagan William J. Knight James A. Johnson D. B. Bailey Gary Condit Fiona Ma Paul Cook Elizabeth Hughes Steven Bradford Joseph R. Knowland Henry Hancock Michael D. Duvall Phil Soto Joe Shell Joe Coto Victor Calvo R.P. Mace Joseph McKenna Bill Leonard Mickey Conroy Wally Herger Grove L. Johnson Manuel F. Coronel Mariko Yamada Jared Huffman Joe Simitian James W. Silliman Eugene A. Chappie Jim Morrissey Joe Baca Caspar Weinberger Dario Frommer Bill Emmerson Ellis E. Patterson Joseph Nation John Lewis Tom Hayden Rod Pacheco James L. Halsted Henry Waxman Delos R. Ashley Michael D. Antonovich Bruce Bronzan Harlan Hagen Tom Berryhill Scott Baugh Henry W. Wright Christopher Chandler Clair Burgener H. W. Briggs Susan Davis Marty Block Pat Wiggins Dominic L. Cortese Julia Brownley Jay La Suer Dan Logue Charles Duncombe Philip Leget Edwards Paula Boland James A. Hayes John Laird Leo Ryan Liz Figueroa Stephen Peace Bill Maze Willie Brown, Jr. Willie Brown, Jr. Willie Brown, Jr. Joan Buchanan Edwin L. Z'berg William W. Upton Lois Wolk Arthur Torres Julius Kahn Lilburn Boggs Steve Fox Jean Fuller Deborah Ortiz Henry Stanley Benedict Douglas H. Bosco Jerry Hill Mark Wyland Pete Wilson Patrick Johnston Thomas A. Maloney John Longville Eugene Lies John Vasconcellos Linda Halderman Curt Hagman Charles A. Barlow Edward Falles Spence Steven N. Samuelian Arthur G. Fisk Ellen Corbett Brian Nestande John A. Watson Tom Harman Curren Price Bruce Nestande Edward Vincent Barbara Lee Christine Kehoe Tom Woods Daniel Showalter Eugene F. Loud Shannon Grove Curt Pringle Elijah Carson Hart Rico Oller Al Muratsuchi Charles W. Lyon Todd Spitzer Melissa Melendez Vincent Thomas Wesley Chesbro Nolan Frizzelle Thomas M. Rees J. Neely Johnson Roy J. Nielsen Jeff Miller Carlos Moorhead Thomas Fitch William M. Buell Sebastian Ridley-Thomas John Morton Eshleman Rob Bonta Richard Dickerson Cathie Wright Tom Torlakson Roger Dickinson Leland Yee Betsy Butler Martin Gallegos Philemon T. Herbert Wilmer Carter Bev Hansen George Hearst Samuel Augustus Merritt Johan Klehs Charles W. Dannals Ronald B. Cameron Luis Alejo Paul Peek J. Milton Williams Sal Cannella Ed Chau A. S. Ensworth Edmund Francis Dunne Brice M. Henry Dave Cox Juanita Millender-McDonald Tom Daly Bill Thomas Sheila Kuehl Anna Caballero Noreen Evans Roger Niello Ian Calderon Edward A. Stevenson Henry Perea Susan Eggman S. L. Blackwell Nicholas C. Petris Gerald R. Eaves Alan Sieroty Katcho Achadjian David Valadao Cathleen Galgiani Robert Badham Anthony Caminetti Lou Papan Jim Costa Asa Kinney Raul Bocanegra Ted Lempert Edward J. C. Kewan H. Allen Smith Mike Gatto Dave Cogdill Brian Maienschein Simon Salinas Gary K. Hart Fenton M. Slaughter Nao Takasugi Romualdo Pacheco Jesse M. Unruh Jim Battin Jim Beall Beth Gaines John C. Burch Tim Leslie Kevin McCarthy Paul Bannai Paul Horcher William Byron Rumford Bob Wieckowski Charles W. Dana James C. Pemberton Robert S. Stevens Richard Katz James E. Rogan Jerome Horton Richard Polanco C. C. Young Willard H. Murray, Jr. Tom McClintock Mike Gordon Das Williams Jeff Gorell John E. Moss Ernest E. Debs Glenn E. Coolidge Tim Donnelly Jim Patterson Shirley Horton Dennis Cardoza John Franklin Swift William Kehoe Richard Rainey Sam Blakeslee Paul E. Zeltner Mimi Walters James Russell Vineyard Tony Strickland Ken Maddox Charles Hiram Randall Gil Cedillo Alan Nakanishi William Matthew Byrne, Sr. Lynne Leach Dion Aroner Sally J. Lieber Amos P. Catlin Thomas H. Werdel Rudy Salas Jerry Lewis John W. Dwinelle Henry G. Worthington John Pérez Benjamin Barton Brian Setencich Doug LaMalfa William Cary Van Fleet George N. Whitman Ted Lieu Lori Saldaña Travis Allen Sam Farr Ted Gaines Jack R. Fenton Glenn M. Anderson Susan Bonilla Tom Umberg Herschel Rosenthal Dick Ackerman Edward S. Salomon Mark Ridley-Thomas Anthony Portantino Roderick Wright Martha Escutia Sam Aanestad Fabian Núñez Victor H. Fazio Alan Lowenthal Cindy Montañez Newton Russell Murray Morrison Frederick F. Houser Bill Campbell Holly Mitchell Connie Conway Gordon Hickman Garland Kevin Shelley Chester M. Gannon Anthony Adams Bill Jones Charles West Kendall Bruce Thompson Joe Baca, Jr. James G. Maguire Gary Miller Ross Johnson William F. Knowland Ninian E. Whiteside George W. Milias B. T. Collins Laughlin Edward Waters, Sr. Jack Tenney Loni Hancock Ronald Calderon Tom Bates A. Van Leuven Keith Richman Charles E. DeLong Larry Chimbole Felipe Fuentes Nell Soto Tom Ammiano Carol Liu Gordon Hahn Marion W. La Follette Reggie Jones-Sawyer March Fong Eu Thomas Bowles Shannon Nathan Fletcher Lucien Heath Charlene Zettel Paul Krekorian John Calhoun Johnson Rocky Chávez John B. T. Campbell III Bob Margett Stan Statham Willis W. Bradley Ray Haynes Benjamin B. Redding Marilyn Brewer H. C. Nelson Charles H. Johnson John Briggs Virginia Strom-Martin Hiram A. Imus, Jr. Robert Dutton Gwen Moore Leroy F. Greene Mark Stone Cameron Smyth Jackie Goldberg Paul Koretz Marie Waldron Bob Moretti Jerome R. Waldie Adam Gray John M. Coghlan Audie Bock Vivien Bronshvag Sam Yorty Robert W. Groom Gloria Romero Hubert B. Scudder Charles L. Robinson William W. Bowers Jim Brulte Ray E. Johnson Bonnie Lowenthal John K. Luttrell Richard T. Hanna Kerry Mazzoni Delaine Eastin Charles Wesley Piercy Juan Vargas Gray Davis Freddie Rodriguez Tricia Hunter Frank P. Belotti Tom J. Bordonaro, Jr. Wayne R. Grisham William T. McElhany Howard W. Davis Pauline Davis Samuel Bell Don Perata Adrin Nazarian Charles Warren Bob Huff Cheryl Brown Jim Nielsen Charles Ford Anthony Rendon Mervyn M. Dymally Kevin de León George Plescia George E. Danielson Richard Bloom Mary Hayashi John J. Benoit Robert Hertzberg Kevin Mullin George Brown Van Tran Art Agnos Lloyd E. Levine Jan Goldsmith E. C. Tully Frederick Madison Roberts Rick Keene George Runner Lee E. Geyer William P. Baker Phillip Burton Victor Veysey Daniel E. Boatwright Nicole Parra Helen Thomson Joyce Mojonnier Bonnie Garcia Chet Wolfrum Scott Wilk Cristina Garcia Valerie K. Brown George Miller Truman Reeves Tony Mendoza Shirley Weber Anthony C. Beilenson M. David Stirling John J. De Haven Thomas Kuchel Chris Norby Robert Prenter Milton Marks Richard Pan Abel Maldonado Jackie Speier Michael Machado Thomas Bard McFarland Bob Pacheco Joel Anderson Miriano Malarin Charles Gubser Diane Harkey Richard Floyd Hilda Solis Barry Keene Elaine Alquist Toni Atkins Carlos Bee Gene Mullin Bernie Richter Pedro Nava Mike Feuer Norma Torres Marian Bergeson Andrea Seastrand William G. Bonelli Bill Filante William Irwin Charles Clayton Mel Levine Al Alquist V. Manuel Perez Yvonne Brathwaite Burke Greg Aghazarian Dennis Hollingsworth Jim Silva Fred Keeley Bill Morrow Antonio Villaraigosa Matt Dababneh John Flint Kidder Robert Campbell Raymon J. Hill Roy Ashburn Scott Wildman Dean Florez Rich Gordon Gloria Molina Diane Martinez Bruce McPherson Brian Jones Francis K. Shattuck Lorena Gonzalez Paul Fong Dick Mountjoy Kevin Jeffries Bob Nimmo Jose Solorio Isadore Hall, III George Nakano Pat Nolan Sandré Swanson Louis Caldera Michael Allen Don A. Allen Judy Chu Dave Jones Mark DeSaulnier Leonard M. Landsborough Bill Monning William E. Dannemeyer William Wheaton Jenny Oropeza Francis F. Fargo Charles R. Imbrecht Steve Knight Barbara Alby William H. Lancaster Mike Briggs Wilma Chan Kevin Murray Carole Migden Kristin Olsen William Alexander Conn William H. Stone Peter F. Schabarum Elijah Steele Darrell Steinberg Mike Roos Mike Honda Marc Levine George House Marco Antonio Firebaugh Allan Mansoor George Deukmejian James H. Morgan Lloyd Connelly Albert Dekker Jim Frazier Selden A. McMeans Elwood Bruner Bill Duplissea Brian Dahle Karen Bass Margaret Snyder Howard Wayne Brooks Firestone Charles Maclay Maxine Waters Nora Campos Dan Hauser Byron Sher Eric Linder Bill Quirk Sharon Quirk-Silva Betty Karnette Dean Andal Bill Lockyer Robert Beardslee Frederick N. Howser Julian C. Dixon Jose Medina Sally Tanner Roger Hernández George N. Zenovich Chuck Quackenbush Ricardo Lara Michael Villines Jack Scott Steven T. Kuykendall George Paul Miller Kenneth L. Maddy Thompson Campbell Michael Sweeney Henry Pettit Sweetland Patricia Bates Richard H. Lehman Andrés Pico Chuck Poochigian John Quimby Joe Canciamilla James P. Springer Alvan Flanders Sharon Runner Jimmy Gomez John J. McFall Charles Edward Chapel Alberto Torrico Chris Holden Phil Wyman Marion Biggs Patty Berg William P. Rodgers John Veneman Herb Wesson Bob Blumenfield Larry Bowler Juan Arambula Alyson Huber Phillip Isenberg Peter C. Appling William Moseley Jones E. W. Doss Robert W. Naylor Eric Seastrand Edwin G. Waite James N. Walker Tom Calderon Gloria Negrete McLeod Ernie Konnyu Francis Tukey William H. Waste Maurice Timothy Dooling Howard Berman Augustus F. Hawkins Luther H. Cary Donald P. Wagner Selucius Garfielde Danny Gilmore Hannah-Beth Jackson Leo T. McCarthy Leo T. McCarthy Mary Salas Lynn Daucher John J. Phillips Ken Cooley William A. Sutherland Robert C. Kirkwood William H. Peterson Anson P.K. Safford Mike Davis Jefferson Hunt Mark Leno Jack O'Connell Rebecca Cohn Lloyd W. Lowrey Mike Morrell Ira Ruskin Martin Garrick Don Sebastiani Albert Charles Wollenberg John L. Burton Edward McGarry Houston I. Flournoy John Garamendi Agoston Haraszthy Charles F. Curry Matthew G. Martínez Charles Miner Goodall Warren Furutani Wally Knox
646
action count
action filter_type
action find_reverse
entity member of the California State Assembly
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'member of the California State Assembly']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:position_held resource:member_of_the_California_State_Assembly . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55758
P108
Q163740
USER
Which nonprofit organization employs Aleksander Kwaśniewski ?
(Q55758,P108,c(Q163740))
action filter_type
action find
entity Q55758
relation P108
type Q163740
['Q55758', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?h WHERE { resource:Q55758 property:P108 ?h . ?h rdf:type ontology:Q163740 }
Aleksander Kwaśniewski
action filter_type
action find
entity Aleksander Kwaśniewski
relation employer
type nonprofit organization
['Aleksander Kwaśniewski', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?h WHERE { resource:Aleksander_Kwaśniewski property:employer ?h . ?h rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q333886
SYSTEM
Georgetown University
Q333886
(Q55758,P108,c(Q163740))
action filter_type
action find
entity Q55758
relation P108
type Q163740
[ANSWER] employs Aleksander Kwaśniewski
['Q55758', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?h WHERE { resource:Q55758 property:P108 ?h . ?h rdf:type ontology:Q163740 }
Georgetown University
Georgetown University employs Aleksander Kwaśniewski
Georgetown University
action filter_type
action find
entity Aleksander Kwaśniewski
relation employer
type nonprofit organization
['Aleksander Kwaśniewski', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?h WHERE { resource:Aleksander_Kwaśniewski property:employer ?h . ?h rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q201658 Q1001378
USER
Which people are max number of film genres or cinematic techniques adapted from ?
(c(Q201658)|c(Q1001378),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q201658
action find_reverse_tuple_counts
relation P144
type Q502895
type Q1001378
[[{'concept': 'Q201658'}, {'concept': 'Q1001378'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?z WHERE { ?b rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1001378 ) ( ontology:Q201658 ) } } GROUP BY ?z } } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?j WHERE { { ?j rdf:type ontology:Q502895 . ?q rdf:type ontology:Q201658 . ?q property:P144 ?j } UNION { ?q property:P144 ?j . ?j rdf:type ontology:Q502895 . ?q rdf:type ontology:Q1001378 } } GROUP BY ?j } }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type film genre
action find_reverse_tuple_counts
relation based on
type common name
type cinematic technique
[[{'concept': 'film genre'}, {'concept': 'cinematic technique'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?z WHERE { ?b rdf:type ?f . VALUES ( ?f ) { ( ontology:cinematic_technique ) ( ontology:film_genre ) } } GROUP BY ?z } } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?j WHERE { { ?j rdf:type ontology:common_name . ?q rdf:type ontology:film_genre . ?q property:based_on ?j } UNION { ?q property:based_on ?j . ?j rdf:type ontology:common_name . ?q rdf:type ontology:cinematic_technique } } GROUP BY ?j } }
[]
common name film genre cinematic technique
Q4800758
SYSTEM
Arthur Wright
Q4800758
(c(Q201658)|c(Q1001378),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q201658
action find_reverse_tuple_counts
relation P144
type Q502895
type Q1001378
[ANSWER] is max number of film genres or cinematic techniques adapted from
[[{'concept': 'Q201658'}, {'concept': 'Q1001378'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?z WHERE { ?b rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1001378 ) ( ontology:Q201658 ) } } GROUP BY ?z } } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?j WHERE { { ?j rdf:type ontology:Q502895 . ?q rdf:type ontology:Q201658 . ?q property:P144 ?j } UNION { ?q property:P144 ?j . ?j rdf:type ontology:Q502895 . ?q rdf:type ontology:Q1001378 } } GROUP BY ?j } }
Arthur Wright
Arthur Wright is max number of film genres or cinematic techniques adapted from
Arthur Wright
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type film genre
action find_reverse_tuple_counts
relation based on
type common name
type cinematic technique
[[{'concept': 'film genre'}, {'concept': 'cinematic technique'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?z WHERE { ?b rdf:type ?f . VALUES ( ?f ) { ( ontology:cinematic_technique ) ( ontology:film_genre ) } } GROUP BY ?z } } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?j WHERE { { ?j rdf:type ontology:common_name . ?q rdf:type ontology:film_genre . ?q property:based_on ?j } UNION { ?q property:based_on ?j . ?j rdf:type ontology:common_name . ?q rdf:type ontology:cinematic_technique } } GROUP BY ?j } }
[]