Simple Question (Direct)
Simple Question
Q330670
P27
Q15617994
USER
Which administrative territory is the native country of Abraham Valdelomar ?
(Q330670,P27,c(Q15617994))
action filter_type
action find
entity Q330670
relation P27
type Q15617994
['Q330670', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q330670 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Abraham Valdelomar
action filter_type
action find
entity Abraham Valdelomar
relation country of citizenship
type designation for an administrative territorial entity
['Abraham Valdelomar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Abraham_Valdelomar property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419
SYSTEM
Peru
Q419
(Q330670,P27,c(Q15617994))
action filter_type
action find
entity Q330670
relation P27
type Q15617994
[ANSWER] is the native country of Abraham Valdelomar
['Q330670', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q330670 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Peru
Peru is the native country of Abraham Valdelomar
Peru
action filter_type
action find
entity Abraham Valdelomar
relation country of citizenship
type designation for an administrative territorial entity
['Abraham Valdelomar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Abraham_Valdelomar property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q330670
P1412
Q34770
USER
Which language is spoken by that person ?
(Q419,P1412,c(Q34770))
action filter_type
action find
entity Q330670
relation P1412
type Q34770
['Q419', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q330670 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Abraham Valdelomar
action filter_type
action find
entity Abraham Valdelomar
relation languages spoken, written or signed
type language
['Peru', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Abraham_Valdelomar property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q419,P1412,c(Q34770))
action filter_type
action find
entity Q330670
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q419', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q330670 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Abraham Valdelomar
relation languages spoken, written or signed
type language
['Peru', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Abraham_Valdelomar property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1412
Q11424 Q82799
USER
How many films or names use that language ?
(c(Q11424),P1412,Q1321) (c(Q82799),P1412,Q1321) (c(Q11424),P1412,Q1321) (c(Q82799),P1412,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P1412
type Q11424
action filter_type
action find_reverse
entity Q1321
relation P1412
type Q82799
[{'concept': 'Q11424'}, 'P1412', 'Q1321'] [{'concept': 'Q82799'}, 'P1412', 'Q1321'] [{'concept': 'Q11424'}, 'P1412', 'Q1321'] [{'concept': 'Q82799'}, 'P1412', 'Q1321']
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { ?l rdf:type ontology:Q11424 . ?l property:P1412 resource:Q1321 } UNION { ?l property:P1412 resource:Q1321 . ?l rdf:type ontology:Q82799 } }
action count
action union
action filter_type
action find_reverse
entity Spanish
relation languages spoken, written or signed
type film
action filter_type
action find_reverse
entity Spanish
relation languages spoken, written or signed
type name
[{'concept': 'film'}, 'languages spoken, written or signed', 'Spanish'] [{'concept': 'name'}, 'languages spoken, written or signed', 'Spanish'] [{'concept': 'film'}, 'languages spoken, written or signed', 'Spanish'] [{'concept': 'name'}, 'languages spoken, written or signed', 'Spanish']
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { ?l rdf:type ontology:film . ?l property:languages_spoken,_written_or_signed resource:Spanish } UNION { ?l property:languages_spoken,_written_or_signed resource:Spanish . ?l rdf:type ontology:name } }
[]
film name
SYSTEM
2
Q200661 Q5699812
(c(Q11424),P1412,Q1321) (c(Q82799),P1412,Q1321) (c(Q11424),P1412,Q1321) (c(Q82799),P1412,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P1412
type Q11424
action filter_type
action find_reverse
entity Q1321
relation P1412
type Q82799
[ANSWER]
[{'concept': 'Q11424'}, 'P1412', 'Q1321'] [{'concept': 'Q82799'}, 'P1412', 'Q1321'] [{'concept': 'Q11424'}, 'P1412', 'Q1321'] [{'concept': 'Q82799'}, 'P1412', 'Q1321']
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { ?l rdf:type ontology:Q11424 . ?l property:P1412 resource:Q1321 } UNION { ?l property:P1412 resource:Q1321 . ?l rdf:type ontology:Q82799 } }
Juan Rulfo Antonio Salas
2
action count
action union
action filter_type
action find_reverse
entity Spanish
relation languages spoken, written or signed
type film
action filter_type
action find_reverse
entity Spanish
relation languages spoken, written or signed
type name
[{'concept': 'film'}, 'languages spoken, written or signed', 'Spanish'] [{'concept': 'name'}, 'languages spoken, written or signed', 'Spanish'] [{'concept': 'film'}, 'languages spoken, written or signed', 'Spanish'] [{'concept': 'name'}, 'languages spoken, written or signed', 'Spanish']
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { ?l rdf:type ontology:film . ?l property:languages_spoken,_written_or_signed resource:Spanish } UNION { ?l property:languages_spoken,_written_or_signed resource:Spanish . ?l rdf:type ontology:name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P710
Q350604
USER
Which armed conflict was Peru a participant of ?
(c(Q350604),P710,Q419)
action filter_type
action find_reverse
entity Q419
relation P710
type Q350604
[{'concept': 'Q350604'}, 'P710', 'Q419']
SELECT DISTINCT ?m WHERE { ?m property:P710 resource:Q419 . ?m rdf:type ontology:Q350604 }
Peru
action filter_type
action find_reverse
entity Peru
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Peru']
SELECT DISTINCT ?m WHERE { ?m property:participant resource:Peru . ?m rdf:type ontology:armed_conflict }
[]
armed conflict
Q2337340
SYSTEM
Cenepa War
Q2337340
(c(Q350604),P710,Q419)
action filter_type
action find_reverse
entity Q419
relation P710
type Q350604
Which armed conflict was Peru a participant of
[{'concept': 'Q350604'}, 'P710', 'Q419']
SELECT DISTINCT ?m WHERE { ?m property:P710 resource:Q419 . ?m rdf:type ontology:Q350604 }
Cenepa War
Which armed conflict was Peru a participant of
Cenepa War
action filter_type
action find_reverse
entity Peru
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Peru']
SELECT DISTINCT ?m WHERE { ?m property:participant resource:Peru . ?m rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P495
Q838948
USER
What are Peru a country of origin of ?
(c(Q838948),P495,Q419)
action filter_type
action find_reverse
entity Q419
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q419']
SELECT DISTINCT ?y WHERE { ?y property:P495 resource:Q419 . ?y rdf:type ontology:Q838948 }
Peru
action filter_type
action find_reverse
entity Peru
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Peru']
SELECT DISTINCT ?y WHERE { ?y property:country_of_origin resource:Peru . ?y rdf:type ontology:work_of_art }
[]
work of art
Q309246 Q1129420 Q19863009
SYSTEM
The Motorcycle Diaries, The Milk of Sorrow, Asu Mare 2
Q6095452 Q19966891 Q21044223 Q11679558 Q484949 Q2640882 Q8458358 Q1129420 Q5508042 Q20925580 Q7770134 Q5944178 Q4733262 Q15138402 Q3331959 Q4920470 Q25208708 Q26933778 Q5531759 Q2314364 Q6442596 Q7738216 Q3038802 Q22288084 Q14781693 Q7045002 Q19581621 Q20925631 Q21480368 Q8028217 Q5716885 Q7311904 Q1507689 Q1439334 Q6307727 Q20993881 Q5188663 Q6105846 Q21044241 Q19615323 Q309246 Q6003095 Q8778548 Q3880781 Q4740885 Q1216016 Q16325978 Q19863009 Q16142409 Q9019195 Q3234740
(c(Q838948),P495,Q419)
action filter_type
action find_reverse
entity Q419
relation P495
type Q838948
Peru a country of origin of are also [ANSWERS]
[{'concept': 'Q838948'}, 'P495', 'Q419']
SELECT DISTINCT ?y WHERE { ?y property:P495 resource:Q419 . ?y rdf:type ontology:Q838948 }
Quizás mañana Desaparecer Alias 'La Gringa' Asu Mare La mujer de mi hermano Undertow Ciudad de M The Milk of Sorrow Full Fathom Five Magallanes The Trial La piedra cansada Allpakallpa The Cleaner Mancora Black Butterfly Kuntur Wachana Videophilia (and Other Viral Syndromes) General Cemetery Captain Pantoja and the Special Services Kukuli The Green Wall Dragones: destino de fuego F-27 Sigo siendo (Kachkaniraqmi) No Stars in the Jungle Rodencia y el Diente de la Princesa The Vanished Elephant The Entity Without Compassion Under the Skin Reminiscences Madeinusa No se lo digas a nadie Juliana NN Crossing a Shadow Report on Death Fallen from Heaven Runan Caycu The Motorcycle Diaries Maruja in Hell Mirage October Amazonia for Sale The Mouth of the Wolf El Mudo Asu Mare 2 The Gospel of the Flesh The City and the Dogs Pirates in Callao
Peru a country of origin of are also The Motorcycle Diaries, The Milk of Sorrow and Asu Mare 2
The Motorcycle Diaries The Milk of Sorrow Asu Mare 2
action filter_type
action find_reverse
entity Peru
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Peru']
SELECT DISTINCT ?y WHERE { ?y property:country_of_origin resource:Peru . ?y rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19863009
P58
Q502895
USER
Who wrote the script for that work of art ?
(Q19863009,P58,c(Q502895))
action filter_type
action find
entity Q19863009
relation P58
type Q502895
['Q19863009', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q19863009 property:P58 ?j . ?j rdf:type ontology:Q502895 }
Asu Mare 2
action filter_type
action find
entity Asu Mare 2
relation screenwriter
type common name
['Asu Mare 2', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Asu_Mare_2 property:screenwriter ?j . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q19863009
SYSTEM
Did you mean Asu Mare 2 ?
Q309246 Q1129420 Q19863009
(Q309246,P58,c(Q502895)) (Q1129420,P58,c(Q502895)) (Q19863009,P58,c(Q502895))
[ANSWER]
['Q309246', 'P58', {'concept': 'Q502895'}] ['Q1129420', 'P58', {'concept': 'Q502895'}] ['Q19863009', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q19863009 property:P58 ?j . ?j rdf:type ontology:Q502895 }
The Motorcycle Diaries The Milk of Sorrow Asu Mare 2
Did you mean Asu Mare 2 ?
Asu Mare 2
['The Motorcycle Diaries', 'screenwriter', {'concept': 'common name'}] ['The Milk of Sorrow', 'screenwriter', {'concept': 'common name'}] ['Asu Mare 2', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Asu_Mare_2 property:screenwriter ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q19863009,P58,c(Q502895))
['Q19863009', 'P58', {'concept': 'Q502895'}]
['Asu Mare 2', 'screenwriter', {'concept': 'common name'}]
[]
Q749146
SYSTEM
Carlos Alcántara
Q749146
(Q19863009,P58,c(Q502895))
action filter_type
action find
entity Q19863009
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q19863009', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q19863009 property:P58 ?j . ?j rdf:type ontology:Q502895 }
Carlos Alcántara
Carlos Alcántara wrote the script for that work of art
Carlos Alcántara
action filter_type
action find
entity Asu Mare 2
relation screenwriter
type common name
['Asu Mare 2', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Asu_Mare_2 property:screenwriter ?j . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q749146 Q20755615
P641
Q349
USER
Did that person participate in 2017 Formula One season ?
(Q749146,P641,Q20755615)
action is_in
entity Q20755615
action find
entity Q749146
relation P641
['Q749146', 'P641', 'Q20755615']
ASK WHERE { resource:Q749146 property:P641 resource:Q20755615 }
Carlos Alcántara 2017 Formula One season
action is_in
entity 2017 Formula One season
action find
entity Carlos Alcántara
relation sport
['Carlos Alcántara', 'sport', '2017 Formula One season']
ASK WHERE { resource:Carlos_Alcántara property:sport resource:2017_Formula_One_season }
[]
sport
SYSTEM
NO
(Q749146,P641,Q20755615)
action is_in
entity Q20755615
action find
entity Q749146
relation P641
[ANSWER]
['Q749146', 'P641', 'Q20755615']
ASK WHERE { resource:Q749146 property:P641 resource:Q20755615 }
No
action is_in
entity 2017 Formula One season
action find
entity Carlos Alcántara
relation sport
['Carlos Alcántara', 'sport', '2017 Formula One season']
ASK WHERE { resource:Carlos_Alcántara property:sport resource:2017_Formula_One_season }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q22807426
P144
Q838948 Q5398426 Q201658
USER
How many works of art are greater number of television series or film genres considered a copy of than Tom & Viv ?
(c(Q5398426)|c(Q201658),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q22807426
relation P144
type Q5398426
type Q201658
[[{'concept': 'Q5398426'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?c WHERE { { ?p property:P144 ?c . ?p rdf:type ontology:Q5398426 . ?c rdf:type ontology:Q838948 } UNION { ?p property:P144 ?c . ?c rdf:type ontology:Q838948 . ?p rdf:type ontology:Q201658 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { { ?w rdf:type ontology:Q5398426 } UNION { ?w rdf:type ontology:Q201658 } } . ?w property:P144 resource:Q22807426 } } . FILTER ( ?m > ?i ) }
Tom & Viv
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action count
action filter_multi_types
action find_reverse
entity Tom & Viv
relation based on
type television series
type film genre
[[{'concept': 'television series'}, {'concept': 'film genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?c WHERE { { ?p property:based_on ?c . ?p rdf:type ontology:television_series . ?c rdf:type ontology:work_of_art } UNION { ?p property:based_on ?c . ?c rdf:type ontology:work_of_art . ?p rdf:type ontology:film_genre } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { { ?w rdf:type ontology:television_series } UNION { ?w rdf:type ontology:film_genre } } . ?w property:based_on resource:Tom_&_Viv } } . FILTER ( ?m > ?i ) }
[]
work of art television series film genre
SYSTEM
28
Q5331173 Q130283 Q7457308 Q5095462 Q7548351 Q83186 Q7722470 Q3987496 Q1248928 Q2337685 Q7713385 Q7715789 Q41567 Q669694 Q7776285 Q26833 Q176465 Q3481943 Q7991351 Q321047 Q4685705 Q7754681 Q7837980 Q3740328 Q3989443 Q1212719 Q1169767 Q3066270
(c(Q5398426)|c(Q201658),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q22807426
relation P144
type Q5398426
type Q201658
[ANSWER]
[[{'concept': 'Q5398426'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?c WHERE { { ?p property:P144 ?c . ?p rdf:type ontology:Q5398426 . ?c rdf:type ontology:Q838948 } UNION { ?p property:P144 ?c . ?c rdf:type ontology:Q838948 . ?p rdf:type ontology:Q201658 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { { ?w rdf:type ontology:Q5398426 } UNION { ?w rdf:type ontology:Q201658 } } . ?w property:P144 resource:Q22807426 } } . FILTER ( ?m > ?i ) }
Easy Virtue Macbeth Seven Keys to Baldpate Chicago Snow White and the Seven Dwarfs Romeo and Juliet The Children's Hour The Heart of Maryland The Admirable Crichton Angels in America: A Gay Fantasia on National Themes The Amazons The Bat Hamlet A Doll's House The Wrecker Othello Hedda Gabler Sherlock Holmes What Price Glory? Abie's Irish Rose Adrienne Lecouvreur The Octoroon Trelawny of the 'Wells' The Cat and the Canary The Squaw Man The Lady from the Sea The Miracle Florodora
28
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action count
action filter_multi_types
action find_reverse
entity Tom & Viv
relation based on
type television series
type film genre
[[{'concept': 'television series'}, {'concept': 'film genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?c WHERE { { ?p property:based_on ?c . ?p rdf:type ontology:television_series . ?c rdf:type ontology:work_of_art } UNION { ?p property:based_on ?c . ?c rdf:type ontology:work_of_art . ?p rdf:type ontology:film_genre } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { { ?w rdf:type ontology:television_series } UNION { ?w rdf:type ontology:film_genre } } . ?w property:based_on resource:Tom_&_Viv } } . FILTER ( ?m > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5151111
P144
Q838948 Q5398426 Q201658
USER
And also tell me about Come Back to the Five and Dime, Jimmy Dean, Jimmy Dean?
(c(Q5398426)|c(Q201658),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q5151111
relation P144
type Q5398426
type Q201658
[[{'concept': 'Q5398426'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P144 resource:Q5151111 . { { ?j rdf:type ontology:Q5398426 } UNION { ?j rdf:type ontology:Q201658 } } } } . FILTER ( ?o > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?z WHERE { VALUES ( ?l ) { ( ontology:Q5398426 ) ( ontology:Q201658 ) } . ?c rdf:type ?l } GROUP BY ?z } }
Come Back to the Five and Dime, Jimmy Dean, Jimmy Dean
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action count
action filter_multi_types
action find_reverse
entity Come Back to the Five and Dime, Jimmy Dean, Jimmy Dean
relation based on
type television series
type film genre
[[{'concept': 'television series'}, {'concept': 'film genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:based_on resource:Come_Back_to_the_Five_and_Dime,_Jimmy_Dean,_Jimmy_Dean . { { ?j rdf:type ontology:television_series } UNION { ?j rdf:type ontology:film_genre } } } } . FILTER ( ?o > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?z WHERE { VALUES ( ?l ) { ( ontology:television_series ) ( ontology:film_genre ) } . ?c rdf:type ?l } GROUP BY ?z } }
[]
work of art television series film genre
SYSTEM
28
Q5331173 Q130283 Q7457308 Q5095462 Q7548351 Q83186 Q7722470 Q3987496 Q1248928 Q2337685 Q7713385 Q7715789 Q41567 Q669694 Q7776285 Q26833 Q176465 Q3481943 Q7991351 Q321047 Q4685705 Q7754681 Q7837980 Q3740328 Q3989443 Q1212719 Q1169767 Q3066270
(c(Q5398426)|c(Q201658),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q5151111
relation P144
type Q5398426
type Q201658
[ANSWER]
[[{'concept': 'Q5398426'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P144 resource:Q5151111 . { { ?j rdf:type ontology:Q5398426 } UNION { ?j rdf:type ontology:Q201658 } } } } . FILTER ( ?o > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?z WHERE { VALUES ( ?l ) { ( ontology:Q5398426 ) ( ontology:Q201658 ) } . ?c rdf:type ?l } GROUP BY ?z } }
Easy Virtue Macbeth Seven Keys to Baldpate Chicago Snow White and the Seven Dwarfs Romeo and Juliet The Children's Hour The Heart of Maryland The Admirable Crichton Angels in America: A Gay Fantasia on National Themes The Amazons The Bat Hamlet A Doll's House The Wrecker Othello Hedda Gabler Sherlock Holmes What Price Glory? Abie's Irish Rose Adrienne Lecouvreur The Octoroon Trelawny of the 'Wells' The Cat and the Canary The Squaw Man The Lady from the Sea The Miracle Florodora
28
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television series
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action count
action filter_multi_types
action find_reverse
entity Come Back to the Five and Dime, Jimmy Dean, Jimmy Dean
relation based on
type television series
type film genre
[[{'concept': 'television series'}, {'concept': 'film genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:based_on resource:Come_Back_to_the_Five_and_Dime,_Jimmy_Dean,_Jimmy_Dean . { { ?j rdf:type ontology:television_series } UNION { ?j rdf:type ontology:film_genre } } } } . FILTER ( ?o > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?z WHERE { VALUES ( ?l ) { ( ontology:television_series ) ( ontology:film_genre ) } . ?c rdf:type ?l } GROUP BY ?z } }
[]