Simple Question (Direct)
Simple Question
Q6528946
P21
Q290
USER
Which sex does Leroy Griffiths have ?
(Q6528946,P21,c(Q290))
action filter_type
action find
entity Q6528946
relation P21
type Q290
['Q6528946', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q6528946 property:P21 ?w . ?w rdf:type ontology:Q290 }
Leroy Griffiths
action filter_type
action find
entity Leroy Griffiths
relation gender
type sex
['Leroy Griffiths', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Leroy_Griffiths property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6528946,P21,c(Q290))
action filter_type
action find
entity Q6528946
relation P21
type Q290
Leroy Griffiths has a [ANSWER]
['Q6528946', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q6528946 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Leroy Griffiths has a male
male
action filter_type
action find
entity Leroy Griffiths
relation gender
type sex
['Leroy Griffiths', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Leroy_Griffiths property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6528946
P641
Q349
USER
What did Leroy Griffiths participate in ?
(Q6528946,P641,c(Q349))
action filter_type
action find
entity Q6528946
relation P641
type Q349
['Q6528946', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q6528946 property:P641 ?x }
Leroy Griffiths
action filter_type
action find
entity Leroy Griffiths
relation sport
type sport
['Leroy Griffiths', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Leroy_Griffiths property:sport ?x }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6528946,P641,c(Q349))
action filter_type
action find
entity Q6528946
relation P641
type Q349
Leroy Griffiths participated in [ANSWER]
['Q6528946', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q6528946 property:P641 ?x }
association football
Leroy Griffiths participated in association football
association football
action filter_type
action find
entity Leroy Griffiths
relation sport
type sport
['Leroy Griffiths', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Leroy_Griffiths property:sport ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6528946
P106
Q12737077
USER
What does Leroy Griffiths do for a living ?
(Q6528946,P106,c(Q12737077))
action filter_type
action find
entity Q6528946
relation P106
type Q12737077
['Q6528946', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6528946 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Leroy Griffiths
action filter_type
action find
entity Leroy Griffiths
relation occupation
type occupation
['Leroy Griffiths', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Leroy_Griffiths property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6528946,P106,c(Q12737077))
action filter_type
action find
entity Q6528946
relation P106
type Q12737077
Leroy Griffiths does an [ANSWER] for a living
['Q6528946', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6528946 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
Leroy Griffiths does an association football player for a living
association football player
action filter_type
action find
entity Leroy Griffiths
relation occupation
type occupation
['Leroy Griffiths', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Leroy_Griffiths property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1611063
Q12737077
USER
And what about Hermann Fischer?
(Q1611063,P106,c(Q12737077))
action filter_type
action find
entity Q1611063
relation P106
type Q12737077
['Q1611063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1611063 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Hermann Fischer
action filter_type
action find
entity Hermann Fischer
relation occupation
type occupation
['Hermann Fischer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Hermann_Fischer property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1611063,P106,c(Q12737077))
action filter_type
action find
entity Q1611063
relation P106
type Q12737077
[ANSWER]
['Q1611063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1611063 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Hermann Fischer
relation occupation
type occupation
['Hermann Fischer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Hermann_Fischer property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1611063
P734
Q82799
USER
Which name is associated with that person ?
(Q82955,P734,c(Q82799))
action filter_type
action find
entity Q1611063
relation P734
type Q82799
['Q82955', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q1611063 property:P734 ?b }
Hermann Fischer
action filter_type
action find
entity Hermann Fischer
relation family name
type name
['politician', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Hermann_Fischer property:family_name ?b }
[]
name
Q11231408
SYSTEM
Fischer
Q11231408
(Q82955,P734,c(Q82799))
action filter_type
action find
entity Q1611063
relation P734
type Q82799
[ANSWER] is associated with that person
['Q82955', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q1611063 property:P734 ?b }
Fischer
Fischer is associated with that person
Fischer
action filter_type
action find
entity Hermann Fischer
relation family name
type name
['politician', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Hermann_Fischer property:family_name ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1611063
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q11231408,P27,c(Q1048835))
action filter_type
action find
entity Q1611063
relation P27
type Q1048835
['Q11231408', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q1611063 property:P27 ?u }
Hermann Fischer
action filter_type
action find
entity Hermann Fischer
relation country of citizenship
type political territorial entity
['Fischer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Hermann_Fischer property:country_of_citizenship ?u }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q11231408,P27,c(Q1048835))
action filter_type
action find
entity Q1611063
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q11231408', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q1611063 property:P27 ?u }
Germany
Germany is the country of citizenship of that person
Germany
action filter_type
action find
entity Hermann Fischer
relation country of citizenship
type political territorial entity
['Fischer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Hermann_Fischer property:country_of_citizenship ?u }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q2912397 Q31629
USER
Which political territories do greater number of single-day races or types of sport start than that political territory ?
(c(Q2912397)|c(Q31629),P1427,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q2912397
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q31629
action count
action filter_multi_types
action find_reverse
entity Q183
relation P1427
type Q2912397
type Q31629
[[{'concept': 'Q2912397'}, {'concept': 'Q31629'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P1427 resource:Q183 . { { ?e rdf:type ontology:Q2912397 } UNION { ?e rdf:type ontology:Q31629 } } } } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2912397 ) ( ontology:Q31629 ) } } GROUP BY ?g } }
action greater
action union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type single-day race
action find_reverse_tuple_counts
relation start point
type political territorial entity
type type of sport
action count
action filter_multi_types
action find_reverse
entity Germany
relation start point
type single-day race
type type of sport
[[{'concept': 'single-day race'}, {'concept': 'type of sport'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:start_point resource:Germany . { { ?e rdf:type ontology:single-day_race } UNION { ?e rdf:type ontology:type_of_sport } } } } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:single-day_race ) ( ontology:type_of_sport ) } } GROUP BY ?g } }
[]
political territorial entity single-day race type of sport
Q12647 Q1552975 Q15486
SYSTEM
Vielha e Mijaran, Sabiñánigo, Bagà
Q572800 Q15907 Q1443867 Q593620 Q615841 Q1552975 Q496424 Q1628353 Q1607762 Q641221 Q1647365 Q671341 Q848172 Q847329 Q1605692 Q11492 Q430454 Q1646362 Q1641632 Q371748 Q1649616 Q634078 Q1186888 Q15486 Q851020 Q846153 Q12540 Q15640 Q492748 Q1617896 Q12686 Q533277 Q636467 Q648921 Q818341 Q221749 Q13614 Q12647 Q976528 Q492420 Q672483 Q693913 Q1605993 Q604810 Q592747
(c(Q2912397)|c(Q31629),P1427,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q2912397
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q31629
action count
action filter_multi_types
action find_reverse
entity Q183
relation P1427
type Q2912397
type Q31629
[ANSWERS] do greater number of single-day races or types of sport start than that political territory
[[{'concept': 'Q2912397'}, {'concept': 'Q31629'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P1427 resource:Q183 . { { ?e rdf:type ontology:Q2912397 } UNION { ?e rdf:type ontology:Q31629 } } } } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2912397 ) ( ontology:Q31629 ) } } GROUP BY ?g } }
Alcañiz Rota Los Corrales de Buelna Monachil Puebla de Don Fadrique Sabiñánigo Calatayud Sasamón Cenlle Viveiro Urdazubi/Urdax Betanzos Caleruega Comillas Palomares del Río Mataró Roa, Burgos Villalpando Jódar San Lorenzo de El Escorial Orio Marín, Pontevedra Denbigh Bagà Xàbia San Roque Calella Sant Joan Despí Estepona Maceda Rialp Almonaster la Real Benicàssim Etxebarria Monforte de Lemos Torrevieja Banyoles Vielha e Mijaran Alhaurín de la Torre Getxo Ordizia Medina del Campo Cistierna Markina-Xemein Las Rozas de Madrid
Vielha e Mijaran, Sabiñánigo and Bagà do greater number of single-day races or types of sport start than that political territory
Vielha e Mijaran Sabiñánigo Bagà
action greater
action union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type single-day race
action find_reverse_tuple_counts
relation start point
type political territorial entity
type type of sport
action count
action filter_multi_types
action find_reverse
entity Germany
relation start point
type single-day race
type type of sport
[[{'concept': 'single-day race'}, {'concept': 'type of sport'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:start_point resource:Germany . { { ?e rdf:type ontology:single-day_race } UNION { ?e rdf:type ontology:type_of_sport } } } } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:single-day_race ) ( ontology:type_of_sport ) } } GROUP BY ?g } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12647 Q1552975 Q15486
P1427
Q31629
USER
Which types of sport have those political territories as the start location ?
(c(Q31629),P1427,Q12647) (c(Q31629),P1427,Q1552975) (c(Q31629),P1427,Q15486)
action filter_type
action find_reverse
entity prev_answer
relation P1427
type Q31629
[{'concept': 'Q31629'}, 'P1427', 'Q12647'] [{'concept': 'Q31629'}, 'P1427', 'Q1552975'] [{'concept': 'Q31629'}, 'P1427', 'Q15486']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q31629 . VALUES ( ?f ) { ( resource:Q572800 ) ( resource:Q15907 ) ( resource:Q1443867 ) } . ?n property:P1427 ?f }
Vielha e Mijaran Sabiñánigo Bagà
action filter_type
action find_reverse
entity prev_answer
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'Vielha e Mijaran'] [{'concept': 'type of sport'}, 'start point', 'Sabiñánigo'] [{'concept': 'type of sport'}, 'start point', 'Bagà']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_sport . VALUES ( ?f ) { ( resource:Alcañiz ) ( resource:Rota ) ( resource:Los_Corrales_de_Buelna ) } . ?n property:start_point ?f }
[]
type of sport
Q21155371 Q21996982 Q22921512
SYSTEM
2016 Tour de France, Stage 9, 2016 Vuelta a España, Stage 15, 2016 Volta a Catalunya, Stage 4
Q21155371 Q21996982 Q22921512
(c(Q31629),P1427,Q12647) (c(Q31629),P1427,Q1552975) (c(Q31629),P1427,Q15486)
action filter_type
action find_reverse
entity prev_answer
relation P1427
type Q31629
[ANSWERS]
[{'concept': 'Q31629'}, 'P1427', 'Q12647'] [{'concept': 'Q31629'}, 'P1427', 'Q1552975'] [{'concept': 'Q31629'}, 'P1427', 'Q15486']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q31629 . VALUES ( ?f ) { ( resource:Q572800 ) ( resource:Q15907 ) ( resource:Q1443867 ) } . ?n property:P1427 ?f }
2016 Tour de France, Stage 9 2016 Vuelta a España, Stage 15 2016 Volta a Catalunya, Stage 4
2016 Tour de France, Stage 9, 2016 Vuelta a España, Stage 15 and 2016 Volta a Catalunya, Stage 4 have those political territories as the start location
2016 Tour de France, Stage 9 2016 Vuelta a España, Stage 15 2016 Volta a Catalunya, Stage 4
action filter_type
action find_reverse
entity prev_answer
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'Vielha e Mijaran'] [{'concept': 'type of sport'}, 'start point', 'Sabiñánigo'] [{'concept': 'type of sport'}, 'start point', 'Bagà']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_sport . VALUES ( ?f ) { ( resource:Alcañiz ) ( resource:Rota ) ( resource:Los_Corrales_de_Buelna ) } . ?n property:start_point ?f }
[]