Simple Question (Direct)
Simple Question
Q598959
P19
Q56061
USER
Which administrative territory is the birthplace of Heinz Karl Gruber ?
(Q598959,P19,c(Q56061))
action filter_type
action find
entity Q598959
relation P19
type Q56061
['Q598959', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q598959 property:P19 ?n }
Heinz Karl Gruber
action filter_type
action find
entity Heinz Karl Gruber
relation place of birth
type administrative territorial entity
['Heinz Karl Gruber', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Heinz_Karl_Gruber property:place_of_birth ?n }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q598959,P19,c(Q56061))
action filter_type
action find
entity Q598959
relation P19
type Q56061
[ANSWER] is the birthplace of Heinz Karl Gruber
['Q598959', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q598959 property:P19 ?n }
Vienna
Vienna is the birthplace of Heinz Karl Gruber
Vienna
action filter_type
action find
entity Heinz Karl Gruber
relation place of birth
type administrative territorial entity
['Heinz Karl Gruber', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Heinz_Karl_Gruber property:place_of_birth ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q598959
P21
Q290
USER
Which sex does Heinz Karl Gruber possess ?
(Q598959,P21,c(Q290))
action filter_type
action find
entity Q598959
relation P21
type Q290
['Q598959', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q598959 property:P21 ?u }
Heinz Karl Gruber
action filter_type
action find
entity Heinz Karl Gruber
relation gender
type sex
['Heinz Karl Gruber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Heinz_Karl_Gruber property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q598959,P21,c(Q290))
action filter_type
action find
entity Q598959
relation P21
type Q290
Heinz Karl Gruber possesses a [ANSWER]
['Q598959', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q598959 property:P21 ?u }
male
Heinz Karl Gruber possesses a male
male
action filter_type
action find
entity Heinz Karl Gruber
relation gender
type sex
['Heinz Karl Gruber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Heinz_Karl_Gruber property:gender ?u }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q492446
Q290
USER
And how about Luís Galego?
(Q492446,P21,c(Q290))
action filter_type
action find
entity Q492446
relation P21
type Q290
['Q492446', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q492446 property:P21 ?m . ?m rdf:type ontology:Q290 }
Luís Galego
action filter_type
action find
entity Luís Galego
relation gender
type sex
['Luís Galego', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Luís_Galego property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q492446,P21,c(Q290))
action filter_type
action find
entity Q492446
relation P21
type Q290
[ANSWER]
['Q492446', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q492446 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Luís Galego
relation gender
type sex
['Luís Galego', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Luís_Galego property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q492446
P641
Q31629
USER
Which type of sport was that person a part of ?
(Q6581097,P641,c(Q31629))
action filter_type
action find
entity Q492446
relation P641
type Q31629
['Q6581097', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q492446 property:P641 ?y . ?y rdf:type ontology:Q31629 }
Luís Galego
action filter_type
action find
entity Luís Galego
relation sport
type type of sport
['male', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:Luís_Galego property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
type of sport
Q718
SYSTEM
chess
Q718
(Q6581097,P641,c(Q31629))
action filter_type
action find
entity Q492446
relation P641
type Q31629
Playing [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q492446 property:P641 ?y . ?y rdf:type ontology:Q31629 }
chess
Playing chess was that person a part of
chess
action filter_type
action find
entity Luís Galego
relation sport
type type of sport
['male', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:Luís_Galego property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1741 Q781
P85
Q7725634
USER
How many literary works are the national anthems of Vienna or Antigua and Barbuda ?
(Q1741,P85,c(Q7725634)) (Q781,P85,c(Q7725634))
action count
action union
action filter_type
action find
entity Q1741
relation P85
type Q7725634
action filter_type
action find
entity Q781
relation P85
type Q7725634
['Q1741', 'P85', {'concept': 'Q7725634'}] ['Q781', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ontology:Q7725634 . resource:Q1741 property:P85 ?q } UNION { resource:Q781 property:P85 ?q . ?q rdf:type ontology:Q7725634 } }
Vienna Antigua and Barbuda
action count
action union
action filter_type
action find
entity Vienna
relation anthem
type literary work
action filter_type
action find
entity Antigua and Barbuda
relation anthem
type literary work
['Vienna', 'anthem', {'concept': 'literary work'}] ['Antigua and Barbuda', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ontology:literary_work . resource:Vienna property:anthem ?q } UNION { resource:Antigua_and_Barbuda property:anthem ?q . ?q rdf:type ontology:literary_work } }
[]
literary work
SYSTEM
2
Q322631 Q40807
(Q1741,P85,c(Q7725634)) (Q781,P85,c(Q7725634))
action count
action union
action filter_type
action find
entity Q1741
relation P85
type Q7725634
action filter_type
action find
entity Q781
relation P85
type Q7725634
[ANSWER]
['Q1741', 'P85', {'concept': 'Q7725634'}] ['Q781', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ontology:Q7725634 . resource:Q1741 property:P85 ?q } UNION { resource:Q781 property:P85 ?q . ?q rdf:type ontology:Q7725634 } }
Fair Antigua, We Salute Thee God Save the Queen
2
action count
action union
action filter_type
action find
entity Vienna
relation anthem
type literary work
action filter_type
action find
entity Antigua and Barbuda
relation anthem
type literary work
['Vienna', 'anthem', {'concept': 'literary work'}] ['Antigua and Barbuda', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ontology:literary_work . resource:Vienna property:anthem ?q } UNION { resource:Antigua_and_Barbuda property:anthem ?q . ?q rdf:type ontology:literary_work } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q598959
P136
Q15198957
USER
Which aspect of music is the genre for Heinz Karl Gruber ?
(Q598959,P136,c(Q15198957))
action filter_type
action find
entity Q598959
relation P136
type Q15198957
['Q598959', 'P136', {'concept': 'Q15198957'}]
SELECT DISTINCT ?m WHERE { resource:Q598959 property:P136 ?m . ?m rdf:type ontology:Q15198957 }
Heinz Karl Gruber
action filter_type
action find
entity Heinz Karl Gruber
relation genre
type aspect of music
['Heinz Karl Gruber', 'genre', {'concept': 'aspect of music'}]
SELECT DISTINCT ?m WHERE { resource:Heinz_Karl_Gruber property:genre ?m . ?m rdf:type ontology:aspect_of_music }
[]
aspect of music
Q1344
SYSTEM
opera
Q1344
(Q598959,P136,c(Q15198957))
action filter_type
action find
entity Q598959
relation P136
type Q15198957
The [ANSWER] is the genre for Heinz Karl Gruber
['Q598959', 'P136', {'concept': 'Q15198957'}]
SELECT DISTINCT ?m WHERE { resource:Q598959 property:P136 ?m . ?m rdf:type ontology:Q15198957 }
opera
The opera is the genre for Heinz Karl Gruber
opera
action filter_type
action find
entity Heinz Karl Gruber
relation genre
type aspect of music
['Heinz Karl Gruber', 'genre', {'concept': 'aspect of music'}]
SELECT DISTINCT ?m WHERE { resource:Heinz_Karl_Gruber property:genre ?m . ?m rdf:type ontology:aspect_of_music }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q598959
P106
Q12737077
USER
What are the professions of that person ?
(Q1344,P106,c(Q12737077))
action filter_type
action find
entity Q598959
relation P106
type Q12737077
['Q1344', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q598959 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Heinz Karl Gruber
action filter_type
action find
entity Heinz Karl Gruber
relation occupation
type occupation
['opera', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Heinz_Karl_Gruber property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q158852 Q36834 Q177220
SYSTEM
conductor, composer, singer
Q158852 Q36834 Q177220
(Q1344,P106,c(Q12737077))
action filter_type
action find
entity Q598959
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q1344', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q598959 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
conductor composer singer
The professions of that person are conductor, composer and singer
conductor composer singer
action filter_type
action find
entity Heinz Karl Gruber
relation occupation
type occupation
['opera', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Heinz_Karl_Gruber property:occupation ?s . ?s rdf:type ontology:occupation }
[]