Simple Question (Direct)
Simple Question
Q5366521
P19
Q56061
USER
Where was Elmer Dessens born ?
(Q5366521,P19,c(Q56061))
action filter_type
action find
entity Q5366521
relation P19
type Q56061
['Q5366521', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5366521 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Elmer Dessens
action filter_type
action find
entity Elmer Dessens
relation place of birth
type administrative territorial entity
['Elmer Dessens', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Elmer_Dessens property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q189138
SYSTEM
Hermosillo
Q189138
(Q5366521,P19,c(Q56061))
action filter_type
action find
entity Q5366521
relation P19
type Q56061
Elmer Dessens was born in [ANSWER]
['Q5366521', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5366521 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Hermosillo
Elmer Dessens was born in Hermosillo
Hermosillo
action filter_type
action find
entity Elmer Dessens
relation place of birth
type administrative territorial entity
['Elmer Dessens', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Elmer_Dessens property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5366521
P106
Q151885
USER
What is the profession of Elmer Dessens ?
(Q5366521,P106,c(Q151885))
action filter_type
action find
entity Q5366521
relation P106
type Q151885
['Q5366521', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q5366521 property:P106 ?v . ?v rdf:type ontology:Q151885 }
Elmer Dessens
action filter_type
action find
entity Elmer Dessens
relation occupation
type concept
['Elmer Dessens', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Elmer_Dessens property:occupation ?v . ?v rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q5366521,P106,c(Q151885))
action filter_type
action find
entity Q5366521
relation P106
type Q151885
The profession of Elmer Dessens is a [ANSWER]
['Q5366521', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q5366521 property:P106 ?v . ?v rdf:type ontology:Q151885 }
baseball player
The profession of Elmer Dessens is a baseball player
baseball player
action filter_type
action find
entity Elmer Dessens
relation occupation
type concept
['Elmer Dessens', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Elmer_Dessens property:occupation ?v . ?v rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P106
Q151885 Q502895
USER
Which concepts are the professions of approximately the same number of people as that concept ?
(c(Q502895),P106,c(Q151885))
action approx
action find_reverse_tuple_counts
relation P106
type Q151885
type Q502895
action count
action filter_type
action find
entity Q10871364
relation P106
type Q151885
[{'concept': 'Q502895'}, 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P106 ?c . ?c rdf:type ontology:Q151885 . ?h rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q10871364 property:P106 ?g . ?g rdf:type ontology:Q151885 } } . FILTER ( ?d = ?p ) }
action approx
action find_reverse_tuple_counts
relation occupation
type concept
type common name
action count
action filter_type
action find
entity baseball player
relation occupation
type concept
[{'concept': 'common name'}, 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:occupation ?c . ?c rdf:type ontology:concept . ?h rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:baseball_player property:occupation ?g . ?g rdf:type ontology:concept } } . FILTER ( ?d = ?p ) }
[]
concept common name
Q10871364
SYSTEM
baseball player
Q10871364
(c(Q502895),P106,c(Q151885))
action approx
action find_reverse_tuple_counts
relation P106
type Q151885
type Q502895
action count
action filter_type
action find
entity Q10871364
relation P106
type Q151885
[ANSWER] is the professions of approximately the same number of people as that concept
[{'concept': 'Q502895'}, 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P106 ?c . ?c rdf:type ontology:Q151885 . ?h rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q10871364 property:P106 ?g . ?g rdf:type ontology:Q151885 } } . FILTER ( ?d = ?p ) }
baseball player
Baseball player is the professions of approximately the same number of people as that concept
baseball player
action approx
action find_reverse_tuple_counts
relation occupation
type concept
type common name
action count
action filter_type
action find
entity baseball player
relation occupation
type concept
[{'concept': 'common name'}, 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:occupation ?c . ?c rdf:type ontology:concept . ?h rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:baseball_player property:occupation ?g . ?g rdf:type ontology:concept } } . FILTER ( ?d = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189138
P190
Q515
USER
Which cities are twin towns of Hermosillo ?
(Q189138,P190,c(Q515))
action filter_type
action find
entity Q189138
relation P190
type Q515
['Q189138', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q189138 property:P190 ?n . ?n rdf:type ontology:Q515 }
Hermosillo
action filter_type
action find
entity Hermosillo
relation sister city
type city
['Hermosillo', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Hermosillo property:sister_city ?n . ?n rdf:type ontology:city }
[]
city
Q18575 Q3692
SYSTEM
Tucson, Riyadh
Q18575 Q3692
(Q189138,P190,c(Q515))
action filter_type
action find
entity Q189138
relation P190
type Q515
[ANSWERS] are twin towns of Hermosillo
['Q189138', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q189138 property:P190 ?n . ?n rdf:type ontology:Q515 }
Tucson Riyadh
Tucson and Riyadh are twin towns of Hermosillo
Tucson Riyadh
action filter_type
action find
entity Hermosillo
relation sister city
type city
['Hermosillo', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Hermosillo property:sister_city ?n . ?n rdf:type ontology:city }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q189138
Q56061
USER
And which administrative territory?
(Q189138,P190,c(Q56061))
action filter_type
action find
entity Q189138
relation P190
type Q56061
['Q189138', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q189138 property:P190 ?d }
Hermosillo
action filter_type
action find
entity Hermosillo
relation sister city
type administrative territorial entity
['Hermosillo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Hermosillo property:sister_city ?d }
[]
administrative territorial entity
Q49219 Q16556 Q494715
SYSTEM
Irvine, Phoenix, Norwalk
Q49219 Q16556 Q494715
(Q189138,P190,c(Q56061))
action filter_type
action find
entity Q189138
relation P190
type Q56061
[ANSWERS]
['Q189138', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q189138 property:P190 ?d }
Irvine Phoenix Norwalk
Irvine Phoenix Norwalk
action filter_type
action find
entity Hermosillo
relation sister city
type administrative territorial entity
['Hermosillo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Hermosillo property:sister_city ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q189138
P19
Q167170 Q502895
USER
How many multi-sport events or people have location of birth at Hermosillo ?
(c(Q167170),P19,Q189138) (c(Q502895),P19,Q189138)
action count
action union
action filter_type
action find_reverse
entity Q189138
relation P19
type Q167170
action filter_type
action find_reverse
entity Q189138
relation P19
type Q502895
[{'concept': 'Q167170'}, 'P19', 'Q189138'] [{'concept': 'Q502895'}, 'P19', 'Q189138']
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { ?d property:P19 resource:Q189138 . ?d rdf:type ontology:Q167170 } UNION { ?d property:P19 resource:Q189138 . ?d rdf:type ontology:Q502895 } }
Hermosillo
action count
action union
action filter_type
action find_reverse
entity Hermosillo
relation place of birth
type multi-sport event
action filter_type
action find_reverse
entity Hermosillo
relation place of birth
type common name
[{'concept': 'multi-sport event'}, 'place of birth', 'Hermosillo'] [{'concept': 'common name'}, 'place of birth', 'Hermosillo']
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { ?d property:place_of_birth resource:Hermosillo . ?d rdf:type ontology:multi-sport_event } UNION { ?d property:place_of_birth resource:Hermosillo . ?d rdf:type ontology:common_name } }
[]
multi-sport event common name
SYSTEM
75
Q20816441 Q2478428 Q18343666 Q5647634 Q26129618 Q16300471 Q5366521 Q16193112 Q5665190 Q23907060 Q5934672 Q17037849 Q15144679 Q19979404 Q16213395 Q11348857 Q5950389 Q607790 Q862316 Q289402 Q6014243 Q5837908 Q5373221 Q20994797 Q3236914 Q951330 Q19948854 Q9051670 Q496513 Q6020655 Q26235486 Q4764864 Q20873577 Q5707542 Q5831501 Q19668667 Q1150769 Q5704654 Q5836729 Q5993294 Q937438 Q3176278 Q7294453 Q4105723 Q1756257 Q2517548 Q16192629 Q1277927 Q21010166 Q15379214 Q3934289 Q5405532 Q20994268 Q27772497 Q21424473 Q2352901 Q4395 Q3773472 Q3186560 Q6188508 Q943659 Q26132601 Q2110332 Q3297133 Q16728214 Q179958 Q11087293 Q6188369 Q5866140 Q6873263 Q19912988 Q20994264 Q3050489 Q3124411 Q10525963
(c(Q167170),P19,Q189138) (c(Q502895),P19,Q189138)
action count
action union
action filter_type
action find_reverse
entity Q189138
relation P19
type Q167170
action filter_type
action find_reverse
entity Q189138
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q167170'}, 'P19', 'Q189138'] [{'concept': 'Q502895'}, 'P19', 'Q189138']
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { ?d property:P19 resource:Q189138 . ?d rdf:type ontology:Q167170 } UNION { ?d property:P19 resource:Q189138 . ?d rdf:type ontology:Q502895 } }
César Montes Jesús Molina Carlos Alberto Navarro Sugich Francisco Burruel Burruel Miguel Tapias Alejandro Arturo García Elmer Dessens Aarón Gamal Alejandro López Caballero Franco Félix Jorge Camacho Homero Ríos Murrieta Humberto Prieto Herrera Jorge Luis Moreno Alejandra López Noriega Luis Carlos García Juan José Méndez Humberto Rales Bill Melendez Elsa Benítez Miguel Elizalde María Dolores del Río Emmanuel Espinosa Susana Corella Platt Leticia Murray Luis Aguilar Damián Zepeda Vidales Octavio Galindo Yahir Moisés Canale Rodríguez Eva Gurrola Ernesto P. Uruchurtu Luis Alejandro Capdevielle Flores Arturo Velasco Emma Larios Gaxiola Marco Cedano Cesar Rosas Armando Vallejo Jesús Ochoa Manuel Ignacio Acosta Gutiérrez Ernesto Gándara Camou Ignacio Bonillas Fraijo Raquel Torres Isela Vega Alejandra Valencia Manuel Saval Francisco de Paula Búrquez Rafael Amaya Luis Oropeza Lorenia Valles Sampedro Ricardo Ceceña Ignacio M. Beteta Ramon Martin del Campo Jorge Luis Martínez Adolfo Félix Loustaunau Yuridia Florencia de Saracho Cajemé José Salazar Ilarregui Jesús León Erika Honstein Mónica Domínguez Javier Gándara Magaña Erubiel Durazo Ramón Corral Ávila Alejandro Cárdenas Perla Encinas Jesús Adrián Romero Francisco Javier Dórame Miriam Rivera Alí Soto Ramón Antonio García Elda Peralta Manuel Uruchurtu Ramírez Horacio Biebrich
75
action count
action union
action filter_type
action find_reverse
entity Hermosillo
relation place of birth
type multi-sport event
action filter_type
action find_reverse
entity Hermosillo
relation place of birth
type common name
[{'concept': 'multi-sport event'}, 'place of birth', 'Hermosillo'] [{'concept': 'common name'}, 'place of birth', 'Hermosillo']
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { ?d property:place_of_birth resource:Hermosillo . ?d rdf:type ontology:multi-sport_event } UNION { ?d property:place_of_birth resource:Hermosillo . ?d rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q189138
P551
Q502895
USER
Which person dwells at that administrative territory ?
action filter_type
action find_reverse
entity Q189138
relation P551
type Q502895
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P551 resource:Q189138 }
Hermosillo
action filter_type
action find_reverse
entity Hermosillo
relation residence
type common name
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:residence resource:Hermosillo }
[]
common name
Q4105723
SYSTEM
Isela Vega
Q4105723
action filter_type
action find_reverse
entity Q189138
relation P551
type Q502895
[ANSWER] dwells at that administrative territory
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P551 resource:Q189138 }
Isela Vega
Isela Vega dwells at that administrative territory
Isela Vega
action filter_type
action find_reverse
entity Hermosillo
relation residence
type common name
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:residence resource:Hermosillo }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4105723
P57
Q838948
USER
Which work of art did that person direct ?
(c(Q838948),P57,Q4105723)
action filter_type
action find_reverse
entity Q4105723
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q4105723']
SELECT DISTINCT ?t WHERE { ?t property:P57 resource:Q4105723 . ?t rdf:type ontology:Q838948 }
Isela Vega
action filter_type
action find_reverse
entity Isela Vega
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Isela Vega']
SELECT DISTINCT ?t WHERE { ?t property:director resource:Isela_Vega . ?t rdf:type ontology:work_of_art }
[]
work of art
Q6681904
SYSTEM
Los Amantes del Señor de la Noche
Q6681904
(c(Q838948),P57,Q4105723)
action filter_type
action find_reverse
entity Q4105723
relation P57
type Q838948
That person directed to [ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q4105723']
SELECT DISTINCT ?t WHERE { ?t property:P57 resource:Q4105723 . ?t rdf:type ontology:Q838948 }
Los Amantes del Señor de la Noche
That person directed to Los Amantes del Señor de la Noche
Los Amantes del Señor de la Noche
action filter_type
action find_reverse
entity Isela Vega
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Isela Vega']
SELECT DISTINCT ?t WHERE { ?t property:director resource:Isela_Vega . ?t rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3279
Q502895 Q15991303 Q18608583
USER
Which people were the statistical leaders of max number of association football leagues and recurring sporting events ?
(c(Q15991303)|c(Q18608583),P3279,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?x WHERE { VALUES ( ?a ) { ( ontology:Q15991303 ) ( ontology:Q18608583 ) } . ?j rdf:type ?a } GROUP BY ?x } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?o WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15991303 ) ( ontology:Q18608583 ) } } GROUP BY ?o } } }
action argmax
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?x WHERE { VALUES ( ?a ) { ( ontology:association_football_league ) ( ontology:recurring_sporting_event ) } . ?j rdf:type ?a } GROUP BY ?x } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?o WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:association_football_league ) ( ontology:recurring_sporting_event ) } } GROUP BY ?o } } }
[]
common name association football league recurring sporting event
Q43744
SYSTEM
Gerd Müller
Q43744
(c(Q15991303)|c(Q18608583),P3279,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
[ANSWER] was the statistical leaders of max number of association football leagues and recurring sporting events
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?x WHERE { VALUES ( ?a ) { ( ontology:Q15991303 ) ( ontology:Q18608583 ) } . ?j rdf:type ?a } GROUP BY ?x } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?o WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15991303 ) ( ontology:Q18608583 ) } } GROUP BY ?o } } }
Gerd Müller
Gerd Müller was the statistical leaders of max number of association football leagues and recurring sporting events
Gerd Müller
action argmax
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?x WHERE { VALUES ( ?a ) { ( ontology:association_football_league ) ( ontology:recurring_sporting_event ) } . ?j rdf:type ?a } GROUP BY ?x } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?o WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:association_football_league ) ( ontology:recurring_sporting_event ) } } GROUP BY ?o } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q18575
P190
Q486972 Q15617994
USER
How many human settlements or administrative territories are partner towns of Tucson ?
(Q18575,P190,c(Q486972)) (Q18575,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q18575
relation P190
type Q486972
action filter_type
action find
entity Q18575
relation P190
type Q15617994
['Q18575', 'P190', {'concept': 'Q486972'}] ['Q18575', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?r . VALUES ( ?r ) { ( ontology:Q486972 ) ( ontology:Q15617994 ) } }
Tucson
action count
action union
action filter_type
action find
entity Tucson
relation sister city
type human settlement
action filter_type
action find
entity Tucson
relation sister city
type designation for an administrative territorial entity
['Tucson', 'sister city', {'concept': 'human settlement'}] ['Tucson', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?r . VALUES ( ?r ) { ( ontology:human_settlement ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
human settlement designation for an administrative territorial entity
SYSTEM
2
Q82670 Q681340
(Q18575,P190,c(Q486972)) (Q18575,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q18575
relation P190
type Q486972
action filter_type
action find
entity Q18575
relation P190
type Q15617994
[ANSWER]
['Q18575', 'P190', {'concept': 'Q486972'}] ['Q18575', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?r . VALUES ( ?r ) { ( ontology:Q486972 ) ( ontology:Q15617994 ) } }
Fiesole Ciudad Obregón
2
action count
action union
action filter_type
action find
entity Tucson
relation sister city
type human settlement
action filter_type
action find
entity Tucson
relation sister city
type designation for an administrative territorial entity
['Tucson', 'sister city', {'concept': 'human settlement'}] ['Tucson', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?r . VALUES ( ?r ) { ( ontology:human_settlement ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 2410 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2410
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?r = 2410 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2410
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?r = 2410 ) }
[]
musical instrument common name
SYSTEM
4
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2410
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?r = 2410 ) }
bass guitar trumpet organ drum kit
4
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2410
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?r = 2410 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q43744 Q1520192
P161
Q838948
USER
How many works of art stars Gerd Müller or Minakshi as actor ?
(c(Q838948),P161,Q43744) (c(Q838948),P161,Q1520192)
action count
action union
action filter_type
action find_reverse
entity Q43744
relation P161
type Q838948
action filter_type
action find_reverse
entity Q1520192
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q43744'] [{'concept': 'Q838948'}, 'P161', 'Q1520192']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P161 ?a . VALUES ( ?a ) { ( resource:Q1520192 ) ( resource:Q43744 ) } }
Gerd Müller Minakshi
action count
action union
action filter_type
action find_reverse
entity Gerd Müller
relation cast member
type work of art
action filter_type
action find_reverse
entity Minakshi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Gerd Müller'] [{'concept': 'work of art'}, 'cast member', 'Minakshi']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:cast_member ?a . VALUES ( ?a ) { ( resource:Minakshi ) ( resource:Gerd_Müller ) } }
[]
work of art
SYSTEM
2
Q2559488 Q851395
(c(Q838948),P161,Q43744) (c(Q838948),P161,Q1520192)
action count
action union
action filter_type
action find_reverse
entity Q43744
relation P161
type Q838948
action filter_type
action find_reverse
entity Q1520192
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q43744'] [{'concept': 'Q838948'}, 'P161', 'Q1520192']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P161 ?a . VALUES ( ?a ) { ( resource:Q1520192 ) ( resource:Q43744 ) } }
Wenn Ludwig ins Manöver zieht Pakeezah
2
action count
action union
action filter_type
action find_reverse
entity Gerd Müller
relation cast member
type work of art
action filter_type
action find_reverse
entity Minakshi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Gerd Müller'] [{'concept': 'work of art'}, 'cast member', 'Minakshi']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:cast_member ?a . VALUES ( ?a ) { ( resource:Minakshi ) ( resource:Gerd_Müller ) } }
[]