Simple Question (Direct)
Simple Question
Q3296667
P1303
Q34379
USER
Which musical instrument can Miloslav Machek perform with ?
(Q3296667,P1303,c(Q34379))
action filter_type
action find
entity Q3296667
relation P1303
type Q34379
['Q3296667', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { resource:Q3296667 property:P1303 ?l . ?l rdf:type ontology:Q34379 }
Miloslav Machek
action filter_type
action find
entity Miloslav Machek
relation instrument
type musical instrument
['Miloslav Machek', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { resource:Miloslav_Machek property:instrument ?l . ?l rdf:type ontology:musical_instrument }
[]
musical instrument
Q8338
SYSTEM
trumpet
Q8338
(Q3296667,P1303,c(Q34379))
action filter_type
action find
entity Q3296667
relation P1303
type Q34379
Miloslav Machek can perform on [ANSWER]
['Q3296667', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { resource:Q3296667 property:P1303 ?l . ?l rdf:type ontology:Q34379 }
trumpet
Miloslav Machek can perform on trumpet
trumpet
action filter_type
action find
entity Miloslav Machek
relation instrument
type musical instrument
['Miloslav Machek', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { resource:Miloslav_Machek property:instrument ?l . ?l rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3296667
P21
Q290
USER
What is the sex of Miloslav Machek ?
(Q3296667,P21,c(Q290))
action filter_type
action find
entity Q3296667
relation P21
type Q290
['Q3296667', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q3296667 property:P21 ?k . ?k rdf:type ontology:Q290 }
Miloslav Machek
action filter_type
action find
entity Miloslav Machek
relation gender
type sex
['Miloslav Machek', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Miloslav_Machek property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3296667,P21,c(Q290))
action filter_type
action find
entity Q3296667
relation P21
type Q290
The sex of Miloslav Machek is the [ANSWER]
['Q3296667', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q3296667 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Miloslav Machek is the male
male
action filter_type
action find
entity Miloslav Machek
relation gender
type sex
['Miloslav Machek', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Miloslav_Machek property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17744468
Q290
USER
And how about Jeffrey T. Pollock?
(Q17744468,P21,c(Q290))
action filter_type
action find
entity Q17744468
relation P21
type Q290
['Q17744468', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q17744468 property:P21 ?l }
Jeffrey T. Pollock
action filter_type
action find
entity Jeffrey T. Pollock
relation gender
type sex
['Jeffrey T. Pollock', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Jeffrey_T._Pollock property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17744468,P21,c(Q290))
action filter_type
action find
entity Q17744468
relation P21
type Q290
[ANSWER]
['Q17744468', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q17744468 property:P21 ?l }
male
male
action filter_type
action find
entity Jeffrey T. Pollock
relation gender
type sex
['Jeffrey T. Pollock', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Jeffrey_T._Pollock property:gender ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P138
Q7946 Q3977918
USER
How many minerals or mineral supergroupss are named after male ?
(c(Q7946),P138,Q6581097) (c(Q3977918),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
[{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q3977918'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { ?s property:P138 resource:Q6581097 . ?s rdf:type ontology:Q7946 } UNION { ?s property:P138 resource:Q6581097 . ?s rdf:type ontology:Q3977918 } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
[{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'mineral supergroups'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { ?s property:named_after resource:male . ?s rdf:type ontology:mineral } UNION { ?s property:named_after resource:male . ?s rdf:type ontology:mineral_supergroups } }
[]
mineral mineral supergroups
SYSTEM
8
Q19861020 Q18375263 Q19861994 Q4006570 Q3565842 Q19862060 Q19861231 Q19833301
(c(Q7946),P138,Q6581097) (c(Q3977918),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
[ANSWER]
[{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q3977918'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { ?s property:P138 resource:Q6581097 . ?s rdf:type ontology:Q7946 } UNION { ?s property:P138 resource:Q6581097 . ?s rdf:type ontology:Q3977918 } }
mendeleevite-(Ce) billwiseite tazzoliite urusovite zirkelite witzkeite reynoldsite carlosbarbosaite
8
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
[{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'mineral supergroups'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { ?s property:named_after resource:male . ?s rdf:type ontology:mineral } UNION { ?s property:named_after resource:male . ?s rdf:type ontology:mineral_supergroups } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3296667
P136
Q151885 Q15850590
USER
How many concepts or theatrical genres can be considered as genre of Miloslav Machek ?
(Q3296667,P136,c(Q151885)) (Q3296667,P136,c(Q15850590))
action count
action union
action filter_type
action find
entity Q3296667
relation P136
type Q151885
action filter_type
action find
entity Q3296667
relation P136
type Q15850590
['Q3296667', 'P136', {'concept': 'Q151885'}] ['Q3296667', 'P136', {'concept': 'Q15850590'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { resource:Q3296667 property:P136 ?n . ?n rdf:type ontology:Q151885 } UNION { resource:Q3296667 property:P136 ?n . ?n rdf:type ontology:Q15850590 } }
Miloslav Machek
action count
action union
action filter_type
action find
entity Miloslav Machek
relation genre
type concept
action filter_type
action find
entity Miloslav Machek
relation genre
type theatrical genre
['Miloslav Machek', 'genre', {'concept': 'concept'}] ['Miloslav Machek', 'genre', {'concept': 'theatrical genre'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { resource:Miloslav_Machek property:genre ?n . ?n rdf:type ontology:concept } UNION { resource:Miloslav_Machek property:genre ?n . ?n rdf:type ontology:theatrical_genre } }
[]
concept theatrical genre
SYSTEM
4
Q373342 Q170384 Q316930 Q9730
(Q3296667,P136,c(Q151885)) (Q3296667,P136,c(Q15850590))
action count
action union
action filter_type
action find
entity Q3296667
relation P136
type Q151885
action filter_type
action find
entity Q3296667
relation P136
type Q15850590
[ANSWER]
['Q3296667', 'P136', {'concept': 'Q151885'}] ['Q3296667', 'P136', {'concept': 'Q15850590'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { resource:Q3296667 property:P136 ?n . ?n rdf:type ontology:Q151885 } UNION { resource:Q3296667 property:P136 ?n . ?n rdf:type ontology:Q15850590 } }
popular music operetta dance music classical music
4
action count
action union
action filter_type
action find
entity Miloslav Machek
relation genre
type concept
action filter_type
action find
entity Miloslav Machek
relation genre
type theatrical genre
['Miloslav Machek', 'genre', {'concept': 'concept'}] ['Miloslav Machek', 'genre', {'concept': 'theatrical genre'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { resource:Miloslav_Machek property:genre ?n . ?n rdf:type ontology:concept } UNION { resource:Miloslav_Machek property:genre ?n . ?n rdf:type ontology:theatrical_genre } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7000312 Q3296667
P19 P20
Q515
USER
Which cities did Miloslav Machek die or were Bruno Varani born at ?
OR((Q3296667,P20,c(Q515)), (Q7000312,P19,c(Q515)))
action filter_type
action union
action find
entity Q3296667
relation P20
action find
entity Q7000312
relation P19
type Q515
{'OR': [['Q3296667', 'P20', {'concept': 'Q515'}], ['Q7000312', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . { { resource:Q3296667 property:P20 ?o } UNION { resource:Q7000312 property:P19 ?o } } }
Bruno Varani Miloslav Machek
action filter_type
action union
action find
entity Miloslav Machek
relation place of death
action find
entity Bruno Varani
relation place of birth
type city
{'OR': [['Miloslav Machek', 'place of death', {'concept': 'city'}], ['Bruno Varani', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . { { resource:Miloslav_Machek property:place_of_death ?o } UNION { resource:Bruno_Varani property:place_of_birth ?o } } }
[]
city
Q14960 Q44244
SYSTEM
Brno, Santa Fe
Q14960 Q44244
OR((Q3296667,P20,c(Q515)), (Q7000312,P19,c(Q515)))
action filter_type
action union
action find
entity Q3296667
relation P20
action find
entity Q7000312
relation P19
type Q515
Miloslav Machek died in [ANSWERS]
{'OR': [['Q3296667', 'P20', {'concept': 'Q515'}], ['Q7000312', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . { { resource:Q3296667 property:P20 ?o } UNION { resource:Q7000312 property:P19 ?o } } }
Brno Santa Fe
Miloslav Machek died in Brno and Santa Fe
Brno Santa Fe
action filter_type
action union
action find
entity Miloslav Machek
relation place of death
action find
entity Bruno Varani
relation place of birth
type city
{'OR': [['Miloslav Machek', 'place of death', {'concept': 'city'}], ['Bruno Varani', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . { { resource:Miloslav_Machek property:place_of_death ?o } UNION { resource:Bruno_Varani property:place_of_birth ?o } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q14960 Q44244
P6
Q502895
USER
Which people have Brno and Santa Fe as their heads of government ?
(Q14960,P6,c(Q502895)) (Q44244,P6,c(Q502895))
action union
action filter_type
action find
entity Q14960
relation P6
type Q502895
action filter_type
action find
entity Q44244
relation P6
type Q502895
['Q14960', 'P6', {'concept': 'Q502895'}] ['Q44244', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { resource:Q14960 property:P6 ?i . ?i rdf:type ontology:Q502895 } UNION { resource:Q44244 property:P6 ?i . ?i rdf:type ontology:Q502895 } }
Brno Santa Fe
action union
action filter_type
action find
entity Brno
relation head of government
type common name
action filter_type
action find
entity Santa Fe
relation head of government
type common name
['Brno', 'head of government', {'concept': 'common name'}] ['Santa Fe', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { resource:Brno property:head_of_government ?i . ?i rdf:type ontology:common_name } UNION { resource:Santa_Fe property:head_of_government ?i . ?i rdf:type ontology:common_name } }
[]
common name
Q84982 Q16713018 Q17541652
SYSTEM
Carl Giskra, Antonín von Haberler, Petr Vokřál
Q12049704 Q84982 Q17541652 Q16713018 Q16298511
(Q14960,P6,c(Q502895)) (Q44244,P6,c(Q502895))
action union
action filter_type
action find
entity Q14960
relation P6
type Q502895
action filter_type
action find
entity Q44244
relation P6
type Q502895
[ANSWERS] have Brno and Santa Fe as their heads of government
['Q14960', 'P6', {'concept': 'Q502895'}] ['Q44244', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { resource:Q14960 property:P6 ?i . ?i rdf:type ontology:Q502895 } UNION { resource:Q44244 property:P6 ?i . ?i rdf:type ontology:Q502895 } }
Roman Onderka Carl Giskra Petr Vokřál Antonín von Haberler José Manuel Corral
Carl Giskra, Antonín von Haberler and Petr Vokřál have Brno and Santa Fe as their heads of government
Carl Giskra Antonín von Haberler Petr Vokřál
action union
action filter_type
action find
entity Brno
relation head of government
type common name
action filter_type
action find
entity Santa Fe
relation head of government
type common name
['Brno', 'head of government', {'concept': 'common name'}] ['Santa Fe', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { resource:Brno property:head_of_government ?i . ?i rdf:type ontology:common_name } UNION { resource:Santa_Fe property:head_of_government ?i . ?i rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q84982 Q16713018 Q17541652
P21
Q290
USER
Which sexes do Carl Giskra, Antonín von Haberler and Petr Vokřál possess ?
(Q84982,P21,c(Q290)) (Q16713018,P21,c(Q290)) (Q17541652,P21,c(Q290))
action union
action filter_type
action find
entity Q84982
relation P21
type Q290
action filter_type
action find
entity Q16713018
relation P21
type Q290
action filter_type
action find
entity Q17541652
relation P21
type Q290
['Q84982', 'P21', {'concept': 'Q290'}] ['Q16713018', 'P21', {'concept': 'Q290'}] ['Q17541652', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:Q290 . resource:Q16713018 property:P21 ?b } UNION { ?b rdf:type ontology:Q290 . resource:Q84982 property:P21 ?b } }
Carl Giskra Antonín von Haberler Petr Vokřál
action union
action filter_type
action find
entity Carl Giskra
relation gender
type sex
action filter_type
action find
entity Antonín von Haberler
relation gender
type sex
action filter_type
action find
entity Petr Vokřál
relation gender
type sex
['Carl Giskra', 'gender', {'concept': 'sex'}] ['Antonín von Haberler', 'gender', {'concept': 'sex'}] ['Petr Vokřál', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:sex . resource:Antonín_von_Haberler property:gender ?b } UNION { ?b rdf:type ontology:sex . resource:Carl_Giskra property:gender ?b } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q84982,P21,c(Q290)) (Q16713018,P21,c(Q290)) (Q17541652,P21,c(Q290))
action union
action filter_type
action find
entity Q84982
relation P21
type Q290
action filter_type
action find
entity Q16713018
relation P21
type Q290
action filter_type
action find
entity Q17541652
relation P21
type Q290
Carl Giskra , Antonín von Haberler and Petr Vokřál possess the [ANSWER], [ANSWER] and [ANSWER]
['Q84982', 'P21', {'concept': 'Q290'}] ['Q16713018', 'P21', {'concept': 'Q290'}] ['Q17541652', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:Q290 . resource:Q16713018 property:P21 ?b } UNION { ?b rdf:type ontology:Q290 . resource:Q84982 property:P21 ?b } }
male male male
Carl Giskra , Antonín von Haberler and Petr Vokřál possess the male, male and male
male male male
action union
action filter_type
action find
entity Carl Giskra
relation gender
type sex
action filter_type
action find
entity Antonín von Haberler
relation gender
type sex
action filter_type
action find
entity Petr Vokřál
relation gender
type sex
['Carl Giskra', 'gender', {'concept': 'sex'}] ['Antonín von Haberler', 'gender', {'concept': 'sex'}] ['Petr Vokřál', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:sex . resource:Antonín_von_Haberler property:gender ?b } UNION { ?b rdf:type ontology:sex . resource:Carl_Giskra property:gender ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84982
P39
Q12737077
USER
Which occupation was a position held by Carl Giskra ?
(Q84982,P39,c(Q12737077))
action filter_type
action find
entity Q84982
relation P39
type Q12737077
['Q84982', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q84982 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Carl Giskra
action filter_type
action find
entity Carl Giskra
relation position held
type occupation
['Carl Giskra', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Carl_Giskra property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q18821575
SYSTEM
Member of the Landtag of Lower Austria
Q18821575
(Q84982,P39,c(Q12737077))
action filter_type
action find
entity Q84982
relation P39
type Q12737077
[ANSWER] was a position held by Carl Giskra
['Q84982', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q84982 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Member of the Landtag of Lower Austria
Member of the Landtag of Lower Austria was a position held by Carl Giskra
Member of the Landtag of Lower Austria
action filter_type
action find
entity Carl Giskra
relation position held
type occupation
['Carl Giskra', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Carl_Giskra property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84982
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q18821575,P27,c(Q1048835))
action filter_type
action find
entity Q84982
relation P27
type Q1048835
['Q18821575', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q84982 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Carl Giskra
action filter_type
action find
entity Carl Giskra
relation country of citizenship
type political territorial entity
['Member of the Landtag of Lower Austria', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Giskra property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q18821575,P27,c(Q1048835))
action filter_type
action find
entity Q84982
relation P27
type Q1048835
That person belongs to [ANSWER]
['Q18821575', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q84982 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Austria
That person belongs to Austria
Austria
action filter_type
action find
entity Carl Giskra
relation country of citizenship
type political territorial entity
['Member of the Landtag of Lower Austria', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Giskra property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]