Simple Question (Direct)
Simple Question
Q12392502
P1412
Q34770
USER
Which language does Luis Cordeiro speak in ?
(Q12392502,P1412,c(Q34770))
action filter_type
action find
entity Q12392502
relation P1412
type Q34770
['Q12392502', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q12392502 property:P1412 ?y }
Luis Cordeiro
action filter_type
action find
entity Luis Cordeiro
relation languages spoken, written or signed
type language
['Luis Cordeiro', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Luis_Cordeiro property:languages_spoken,_written_or_signed ?y }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q12392502,P1412,c(Q34770))
action filter_type
action find
entity Q12392502
relation P1412
type Q34770
Luis Cordeiro speaks the [ANSWER]
['Q12392502', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q12392502 property:P1412 ?y }
Spanish
Luis Cordeiro speaks the Spanish
Spanish
action filter_type
action find
entity Luis Cordeiro
relation languages spoken, written or signed
type language
['Luis Cordeiro', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Luis_Cordeiro property:languages_spoken,_written_or_signed ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12392502
P19
Q1048835
USER
Which political territory was that person born at ?
(Q1321,P19,c(Q1048835))
action filter_type
action find
entity Q12392502
relation P19
type Q1048835
['Q1321', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q12392502 property:P19 ?z . ?z rdf:type ontology:Q1048835 }
Luis Cordeiro
action filter_type
action find
entity Luis Cordeiro
relation place of birth
type political territorial entity
['Spanish', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Luis_Cordeiro property:place_of_birth ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q842216
SYSTEM
Palas de Rei
Q842216
(Q1321,P19,c(Q1048835))
action filter_type
action find
entity Q12392502
relation P19
type Q1048835
That person was born in [ANSWER]
['Q1321', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q12392502 property:P19 ?z . ?z rdf:type ontology:Q1048835 }
Palas de Rei
That person was born in Palas de Rei
Palas de Rei
action filter_type
action find
entity Luis Cordeiro
relation place of birth
type political territorial entity
['Spanish', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Luis_Cordeiro property:place_of_birth ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q842216 Q29 Q39354
P17
Q15617994
USER
Is that political territory situated in Spain and Delebio ?
(Q842216,P17,Q29) (Q842216,P17,Q39354)
action is_in
entity Q842216
action intersection
action find_reverse
entity Q29
relation P17
action find_reverse
entity Q39354
relation P17
['Q842216', 'P17', 'Q29'] ['Q842216', 'P17', 'Q39354']
ASK WHERE { resource:Q842216 property:P17 resource:Q39354 . resource:Q842216 property:P17 resource:Q29 }
Palas de Rei Spain Delebio
action is_in
entity Palas de Rei
action intersection
action find_reverse
entity Spain
relation country
action find_reverse
entity Delebio
relation country
['Palas de Rei', 'country', 'Spain'] ['Palas de Rei', 'country', 'Delebio']
ASK WHERE { resource:Palas_de_Rei property:country resource:Delebio . resource:Palas_de_Rei property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q842216,P17,Q29) (Q842216,P17,Q39354)
action is_in
entity Q842216
action intersection
action find_reverse
entity Q29
relation P17
action find_reverse
entity Q39354
relation P17
[ANSWER]
['Q842216', 'P17', 'Q29'] ['Q842216', 'P17', 'Q39354']
ASK WHERE { resource:Q842216 property:P17 resource:Q39354 . resource:Q842216 property:P17 resource:Q29 }
YES and NO respectively
action is_in
entity Palas de Rei
action intersection
action find_reverse
entity Spain
relation country
action find_reverse
entity Delebio
relation country
['Palas de Rei', 'country', 'Spain'] ['Palas de Rei', 'country', 'Delebio']
ASK WHERE { resource:Palas_de_Rei property:country resource:Delebio . resource:Palas_de_Rei property:country resource:Spain }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15734263
P608
Q464980 Q33506 Q502895
USER
Which people were presented at greater number of exhibitions or museums than Johanna Bleuland van Oordt ?
(c(Q502895),P608,c(Q464980)|c(Q33506))
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q15734263
relation P608
type Q464980
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } . ?k rdf:type ?t } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q15734263 property:P608 ?g . { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } } } . FILTER ( ?v > ?y ) }
Johanna Bleuland van Oordt
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Johanna Bleuland van Oordt
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:exhibition ) ( ontology:museum ) } . ?k rdf:type ?t } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Johanna_Bleuland_van_Oordt property:exhibition_history ?g . { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:exhibition ) ( ontology:museum ) } } } } . FILTER ( ?v > ?y ) }
[]
exhibition museum common name
Q1964408 Q5040332 Q3289592
SYSTEM
Nan Hoover, Carl Holty, Moniek Toebosch
Q70006 Q17314881 Q6196481 Q4945678 Q16004451 Q4648360 Q7649008 Q6990118 Q17625628 Q1964408 Q5040332 Q3289592 Q20888837 Q5375139 Q16080418 Q16121375 Q16968866
(c(Q502895),P608,c(Q464980)|c(Q33506))
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q15734263
relation P608
type Q464980
type Q33506
[ANSWERS] were presented at greater number of exhibitions or museums than Johanna Bleuland van Oordt
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } . ?k rdf:type ?t } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q15734263 property:P608 ?g . { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } } } . FILTER ( ?v > ?y ) }
Lotte Jacobi René Izaure Jim Love Martha Edelheit Jennifer Bolande A. S. Baylinson Susie Bootja Bootja Napaltjarri Nellie Mae Rowe Deborah De Robertis Nan Hoover Carl Holty Moniek Toebosch Angélique Bègue Ena Swansea Alyce Frank Judith Lowry Lydia Schouten
Nan Hoover, Carl Holty and Moniek Toebosch were presented at greater number of exhibitions or museums than Johanna Bleuland van Oordt
Nan Hoover Carl Holty Moniek Toebosch
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Johanna Bleuland van Oordt
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:exhibition ) ( ontology:museum ) } . ?k rdf:type ?t } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Johanna_Bleuland_van_Oordt property:exhibition_history ?g . { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:exhibition ) ( ontology:museum ) } } } } . FILTER ( ?v > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16121375
P608
Q464980 Q33506 Q502895
USER
And how about Judith Lowry?
(c(Q502895),P608,c(Q464980)|c(Q33506))
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q16121375
relation P608
type Q464980
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?f WHERE { { ?f property:P608 ?s . ?f rdf:type ontology:Q502895 . ?s rdf:type ontology:Q464980 } UNION { ?f rdf:type ontology:Q502895 . ?s rdf:type ontology:Q33506 . ?f property:P608 ?s } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q16121375 property:P608 ?z . { { ?z rdf:type ontology:Q464980 } UNION { ?z rdf:type ontology:Q33506 } } } } . FILTER ( ?u > ?h ) }
Judith Lowry
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Judith Lowry
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?f WHERE { { ?f property:exhibition_history ?s . ?f rdf:type ontology:common_name . ?s rdf:type ontology:exhibition } UNION { ?f rdf:type ontology:common_name . ?s rdf:type ontology:museum . ?f property:exhibition_history ?s } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Judith_Lowry property:exhibition_history ?z . { { ?z rdf:type ontology:exhibition } UNION { ?z rdf:type ontology:museum } } } } . FILTER ( ?u > ?h ) }
[]
exhibition museum common name
Q5040332 Q4945678 Q4648360
SYSTEM
Carl Holty, Martha Edelheit, A. S. Baylinson
Q4945678 Q16004451 Q4648360 Q6990118 Q5040332
(c(Q502895),P608,c(Q464980)|c(Q33506))
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q16121375
relation P608
type Q464980
type Q33506
[ANSWERS]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?f WHERE { { ?f property:P608 ?s . ?f rdf:type ontology:Q502895 . ?s rdf:type ontology:Q464980 } UNION { ?f rdf:type ontology:Q502895 . ?s rdf:type ontology:Q33506 . ?f property:P608 ?s } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q16121375 property:P608 ?z . { { ?z rdf:type ontology:Q464980 } UNION { ?z rdf:type ontology:Q33506 } } } } . FILTER ( ?u > ?h ) }
Martha Edelheit Jennifer Bolande A. S. Baylinson Nellie Mae Rowe Carl Holty
Carl Holty Martha Edelheit A. S. Baylinson
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Judith Lowry
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?f WHERE { { ?f property:exhibition_history ?s . ?f rdf:type ontology:common_name . ?s rdf:type ontology:exhibition } UNION { ?f rdf:type ontology:common_name . ?s rdf:type ontology:museum . ?f property:exhibition_history ?s } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Judith_Lowry property:exhibition_history ?z . { { ?z rdf:type ontology:exhibition } UNION { ?z rdf:type ontology:museum } } } } . FILTER ( ?u > ?h ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q842216
P19 P106
Q502895
USER
Which people were born at Palas de Rei and have career as politician ?
AND((c(Q502895),P19,Q842216), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q842216
relation P19
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q842216'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?i WHERE { ?i property:P106 resource:Q82955 . ?i property:P19 resource:Q842216 . ?i rdf:type ontology:Q502895 }
politician Palas de Rei
action filter_type
action intersection
action find_reverse
entity Palas de Rei
relation place of birth
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Palas de Rei'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?i WHERE { ?i property:occupation resource:politician . ?i property:place_of_birth resource:Palas_de_Rei . ?i rdf:type ontology:common_name }
[]
common name
Q628418 Q12392502
SYSTEM
José Blanco López, Luis Cordeiro
Q628418 Q12392502
AND((c(Q502895),P19,Q842216), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q842216
relation P19
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS] were born at Palas de Rei and have career as politician
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q842216'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?i WHERE { ?i property:P106 resource:Q82955 . ?i property:P19 resource:Q842216 . ?i rdf:type ontology:Q502895 }
José Blanco López Luis Cordeiro
José Blanco López and Luis Cordeiro were born at Palas de Rei and have career as politician
José Blanco López Luis Cordeiro
action filter_type
action intersection
action find_reverse
entity Palas de Rei
relation place of birth
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Palas de Rei'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?i WHERE { ?i property:occupation resource:politician . ?i property:place_of_birth resource:Palas_de_Rei . ?i rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person a civilian of ?
(Q628418,P27,c(Q15617994))
['Q628418', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q628418 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['José Blanco López', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:José_Blanco_López property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q12392502
SYSTEM
Did you mean Luis Cordeiro ?
(Q628418,P27,c(Q15617994)) (Q12392502,P27,c(Q15617994))
[ANSWER]
['Q628418', 'P27', {'concept': 'Q15617994'}] ['Q12392502', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q628418 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Luis Cordeiro ?
Luis Cordeiro
['José Blanco López', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Luis Cordeiro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:José_Blanco_López property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant José Blanco López. Could you tell me the answer for that?
(Q628418,P27,c(Q15617994))
Q628418
['Q628418', 'P27', {'concept': 'Q15617994'}]
['José Blanco López', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q29
(Q628418,P27,c(Q15617994))
[ANSWER]
['Q628418', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q628418 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Spain
1
['José Blanco López', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:José_Blanco_López property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4792834 Q628418
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of José Blanco López or Armando Silvestre ?
OR((Q628418,P27,c(Q15617994)), (Q4792834,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q628418
relation P27
action find
entity Q4792834
relation P27
type Q15617994
{'OR': [['Q628418', 'P27', {'concept': 'Q15617994'}], ['Q4792834', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q4792834 property:P27 ?w } UNION { resource:Q628418 property:P27 ?w } } }
Armando Silvestre José Blanco López
action filter_type
action union
action find
entity José Blanco López
relation country of citizenship
action find
entity Armando Silvestre
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Blanco López', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Armando Silvestre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Armando_Silvestre property:country_of_citizenship ?w } UNION { resource:José_Blanco_López property:country_of_citizenship ?w } } }
[]
designation for an administrative territorial entity
Q29 Q96 Q30
SYSTEM
Spain, Mexico, United States of America
Q29 Q96 Q30
OR((Q628418,P27,c(Q15617994)), (Q4792834,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q628418
relation P27
action find
entity Q4792834
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of José Blanco López or Armando Silvestre
{'OR': [['Q628418', 'P27', {'concept': 'Q15617994'}], ['Q4792834', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q4792834 property:P27 ?w } UNION { resource:Q628418 property:P27 ?w } } }
Spain Mexico United States of America
Spain, Mexico and United States of America are the countries of citizenship of José Blanco López or Armando Silvestre
Spain Mexico United States of America
action filter_type
action union
action find
entity José Blanco López
relation country of citizenship
action find
entity Armando Silvestre
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Blanco López', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Armando Silvestre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Armando_Silvestre property:country_of_citizenship ?w } UNION { resource:José_Blanco_López property:country_of_citizenship ?w } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4792834
P161
Q838948
USER
How many works of art have Armando Silvestre as actor ?
(c(Q838948),P161,Q4792834)
action count
action filter_type
action find_reverse
entity Q4792834
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q4792834']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P161 resource:Q4792834 . ?e rdf:type ontology:Q838948 }
Armando Silvestre
action count
action filter_type
action find_reverse
entity Armando Silvestre
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Armando Silvestre']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:cast_member resource:Armando_Silvestre . ?e rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
25
Q7314137 Q1554665 Q18340290 Q20649688 Q3472962 Q5352474 Q20814555 Q25136406 Q3412915 Q25858 Q3331768 Q7282835 Q8073835 Q24514508 Q20814621 Q934911 Q24895252 Q3039150 Q24895217 Q898348 Q25206778 Q19516230 Q19516201 Q6461800 Q6777832
(c(Q838948),P161,Q4792834)
action count
action filter_type
action find_reverse
entity Q4792834
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q4792834']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P161 resource:Q4792834 . ?e rdf:type ontology:Q838948 }
Reportaje The Scalphunters La hija de Moctezuma Midnight Dolls Santo Contra los Zombis El muro del silencio Here Comes Martin Corona The Desperate Mission Apache Drums Kings of the Sun Mystery in Mexico Rage Zona Roja Women of the Theatre Lola Casanova Two Mules for Sister Sara Invincible Guns Geronimo The Miracle Roses Rossana Coquette Take Me in Your Arms Fé, Esperanza y Caridad La Choca Martín Romero El Rápido
25
action count
action filter_type
action find_reverse
entity Armando Silvestre
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Armando Silvestre']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:cast_member resource:Armando_Silvestre . ?e rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q2342494 Q838948 Q502895
USER
Which people appear in max number of collectables or works of art ?
(c(Q502895),P1441,c(Q2342494)|c(Q838948))
action argmax
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q838948
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?a ) { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?m rdf:type ?p } GROUP BY ?h } } . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?y } . FILTER ( ?s = ?a ) }
action argmax
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'work of art'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?a ) { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?m rdf:type ?p } GROUP BY ?h } } . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?y } . FILTER ( ?s = ?a ) }
[]
collectable work of art common name
Q9077 Q37085
SYSTEM
Moses, Solomon
Q9077 Q37085
(c(Q502895),P1441,c(Q2342494)|c(Q838948))
action argmax
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q838948
[ANSWERS] appear in max number of collectables or works of art
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?a ) { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?m rdf:type ?p } GROUP BY ?h } } . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?y } . FILTER ( ?s = ?a ) }
Moses Solomon
Moses and Solomon appear in max number of collectables or works of art
Moses Solomon
action argmax
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'work of art'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?a ) { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?m rdf:type ?p } GROUP BY ?h } } . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?y } . FILTER ( ?s = ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P740
Q215380
USER
What is the band that was formed at Spain ?
(c(Q215380),P740,Q29)
action filter_type
action find_reverse
entity Q29
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q29']
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q29 . ?k rdf:type ontology:Q215380 }
Spain
action filter_type
action find_reverse
entity Spain
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Spain']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Spain . ?k rdf:type ontology:band }
[]
band
Q2873355
SYSTEM
Avantgarde
Q2873355
(c(Q215380),P740,Q29)
action filter_type
action find_reverse
entity Q29
relation P740
type Q215380
The band that was formed at Spain is the [ANSWER]
[{'concept': 'Q215380'}, 'P740', 'Q29']
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q29 . ?k rdf:type ontology:Q215380 }
Avantgarde
The band that was formed at Spain is the Avantgarde
Avantgarde
action filter_type
action find_reverse
entity Spain
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Spain']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Spain . ?k rdf:type ontology:band }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2873355
P264
Q334453
USER
What is the record label of that band ?
(Q2873355,P264,c(Q334453))
action filter_type
action find
entity Q2873355
relation P264
type Q334453
['Q2873355', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { resource:Q2873355 property:P264 ?r . ?r rdf:type ontology:Q334453 }
Avantgarde
action filter_type
action find
entity Avantgarde
relation record label
type division
['Avantgarde', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { resource:Avantgarde property:record_label ?r . ?r rdf:type ontology:division }
[]
division
Q1191537
SYSTEM
V2 Records
Q1191537
(Q2873355,P264,c(Q334453))
action filter_type
action find
entity Q2873355
relation P264
type Q334453
The record label of that band is called [ANSWER]
['Q2873355', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { resource:Q2873355 property:P264 ?r . ?r rdf:type ontology:Q334453 }
V2 Records
The record label of that band is called V2 Records
V2 Records
action filter_type
action find
entity Avantgarde
relation record label
type division
['Avantgarde', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { resource:Avantgarde property:record_label ?r . ?r rdf:type ontology:division }
[]