Simple Question (Direct)
Simple Question
Q427701
P21
Q290
USER
Which sex does Robert Cambert have ?
(Q427701,P21,c(Q290))
action filter_type
action find
entity Q427701
relation P21
type Q290
['Q427701', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q427701 property:P21 ?e . ?e rdf:type ontology:Q290 }
Robert Cambert
action filter_type
action find
entity Robert Cambert
relation gender
type sex
['Robert Cambert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Robert_Cambert property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q427701,P21,c(Q290))
action filter_type
action find
entity Q427701
relation P21
type Q290
Robert Cambert has a [ANSWER]
['Q427701', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q427701 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Robert Cambert has a male
male
action filter_type
action find
entity Robert Cambert
relation gender
type sex
['Robert Cambert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Robert_Cambert property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q427701
P86
Q15850590
USER
Which theatrical genre was composed by that person ?
(c(Q15850590),P86,Q6581097)
action filter_type
action find_reverse
entity Q427701
relation P86
type Q15850590
[{'concept': 'Q15850590'}, 'P86', 'Q6581097']
SELECT DISTINCT ?e WHERE { ?e property:P86 resource:Q427701 . ?e rdf:type ontology:Q15850590 }
Robert Cambert
action filter_type
action find_reverse
entity Robert Cambert
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', 'male']
SELECT DISTINCT ?e WHERE { ?e property:composer resource:Robert_Cambert . ?e rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q3294489
SYSTEM
Pomone
Q3294489
(c(Q15850590),P86,Q6581097)
action filter_type
action find_reverse
entity Q427701
relation P86
type Q15850590
[ANSWER] was composed by that person
[{'concept': 'Q15850590'}, 'P86', 'Q6581097']
SELECT DISTINCT ?e WHERE { ?e property:P86 resource:Q427701 . ?e rdf:type ontology:Q15850590 }
Pomone
Pomone was composed by that person
Pomone
action filter_type
action find_reverse
entity Robert Cambert
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', 'male']
SELECT DISTINCT ?e WHERE { ?e property:composer resource:Robert_Cambert . ?e rdf:type ontology:theatrical_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3294489 Q427701
P86
Q502895
USER
Did Robert Cambert compose that theatrical genre ?
(Q3294489,P86,Q427701)
action is_in
entity Q427701
action find
entity Q3294489
relation P86
['Q3294489', 'P86', 'Q427701']
ASK WHERE { resource:Q3294489 property:P86 resource:Q427701 }
Pomone Robert Cambert
action is_in
entity Robert Cambert
action find
entity Pomone
relation composer
['Pomone', 'composer', 'Robert Cambert']
ASK WHERE { resource:Pomone property:composer resource:Robert_Cambert }
[]
common name
SYSTEM
YES
(Q3294489,P86,Q427701)
action is_in
entity Q427701
action find
entity Q3294489
relation P86
[ANSWER]
['Q3294489', 'P86', 'Q427701']
ASK WHERE { resource:Q3294489 property:P86 resource:Q427701 }
Yes
action is_in
entity Robert Cambert
action find
entity Pomone
relation composer
['Pomone', 'composer', 'Robert Cambert']
ASK WHERE { resource:Pomone property:composer resource:Robert_Cambert }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q477248
P138
Q7946
USER
How many minerals have male or pastry as their namesake ?
(c(Q7946),P138,Q6581097) (c(Q7946),P138,Q477248)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
action filter_type
action find_reverse
entity Q477248
relation P138
type Q7946
[{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q7946'}, 'P138', 'Q477248']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z rdf:type ontology:Q7946 . ?z property:P138 resource:Q6581097 } UNION { ?z rdf:type ontology:Q7946 . ?z property:P138 resource:Q477248 } }
male pastry
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral
action filter_type
action find_reverse
entity pastry
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'mineral'}, 'named after', 'pastry']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z rdf:type ontology:mineral . ?z property:named_after resource:male } UNION { ?z rdf:type ontology:mineral . ?z property:named_after resource:pastry } }
[]
mineral
SYSTEM
7
Q19861020 Q18375263 Q4006570 Q3565842 Q19862060 Q19861231 Q19833301
(c(Q7946),P138,Q6581097) (c(Q7946),P138,Q477248)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
action filter_type
action find_reverse
entity Q477248
relation P138
type Q7946
[ANSWER]
[{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q7946'}, 'P138', 'Q477248']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z rdf:type ontology:Q7946 . ?z property:P138 resource:Q6581097 } UNION { ?z rdf:type ontology:Q7946 . ?z property:P138 resource:Q477248 } }
mendeleevite-(Ce) billwiseite urusovite zirkelite witzkeite reynoldsite carlosbarbosaite
7
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral
action filter_type
action find_reverse
entity pastry
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'mineral'}, 'named after', 'pastry']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z rdf:type ontology:mineral . ?z property:named_after resource:male } UNION { ?z rdf:type ontology:mineral . ?z property:named_after resource:pastry } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q427701
P1066
Q502895
USER
Who was the teacher of Robert Cambert ?
(Q427701,P1066,c(Q502895))
action filter_type
action find
entity Q427701
relation P1066
type Q502895
['Q427701', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q427701 property:P1066 ?v . ?v rdf:type ontology:Q502895 }
Robert Cambert
action filter_type
action find
entity Robert Cambert
relation student of
type common name
['Robert Cambert', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Cambert property:student_of ?v . ?v rdf:type ontology:common_name }
[]
common name
Q725685
SYSTEM
Jacques Champion de Chambonnières
Q725685
(Q427701,P1066,c(Q502895))
action filter_type
action find
entity Q427701
relation P1066
type Q502895
The teacher of Robert Cambert was called [ANSWER]
['Q427701', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q427701 property:P1066 ?v . ?v rdf:type ontology:Q502895 }
Jacques Champion de Chambonnières
The teacher of Robert Cambert was called Jacques Champion de Chambonnières
Jacques Champion de Chambonnières
action filter_type
action find
entity Robert Cambert
relation student of
type common name
['Robert Cambert', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Cambert property:student_of ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q725685
P106
Q12737077
USER
What does that person do for a living ?
(Q725685,P106,c(Q12737077))
action filter_type
action find
entity Q725685
relation P106
type Q12737077
['Q725685', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q725685 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Jacques Champion de Chambonnières
action filter_type
action find
entity Jacques Champion de Chambonnières
relation occupation
type occupation
['Jacques Champion de Chambonnières', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jacques_Champion_de_Chambonnières property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q725685,P106,c(Q12737077))
action filter_type
action find
entity Q725685
relation P106
type Q12737077
The [ANSWER] that person does for a living
['Q725685', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q725685 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
composer
The composer that person does for a living
composer
action filter_type
action find
entity Jacques Champion de Chambonnières
relation occupation
type occupation
['Jacques Champion de Chambonnières', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jacques_Champion_de_Chambonnières property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36834
P425
Q838948
USER
Who is associated with the field of occupation that one ?
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { resource:Q36834 property:P425 ?i . ?i rdf:type ontology:Q838948 }
composer
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { resource:composer property:field_of_this_occupation ?i . ?i rdf:type ontology:work_of_art }
[]
work of art
Q207628
SYSTEM
musical composition
Q207628
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
The [ANSWER] is associated with the field of occupation that one
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { resource:Q36834 property:P425 ?i . ?i rdf:type ontology:Q838948 }
musical composition
The musical composition is associated with the field of occupation that one
musical composition
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { resource:composer property:field_of_this_occupation ?i . ?i rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q838948 Q43229
USER
Which works of art do approximately the same number of organizations belong to as that work of art ?
(c(Q43229),P101,c(Q838948))
action approx
action find_reverse_tuple_counts
relation P101
type Q838948
type Q43229
action count
action filter_type
action find
entity Q207628
relation P101
type Q838948
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P101 ?b . ?b rdf:type ontology:Q838948 . ?r rdf:type ontology:Q43229 } GROUP BY ?b } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q207628 property:P101 ?p . ?p rdf:type ontology:Q838948 } } }
action approx
action find_reverse_tuple_counts
relation field of work
type work of art
type organization
action count
action filter_type
action find
entity musical composition
relation field of work
type work of art
[{'concept': 'organization'}, 'field of work', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:field_of_work ?b . ?b rdf:type ontology:work_of_art . ?r rdf:type ontology:organization } GROUP BY ?b } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:musical_composition property:field_of_work ?p . ?p rdf:type ontology:work_of_art } } }
[]
work of art organization
Q7435316 Q50030 Q12043905
SYSTEM
Score, watercolor, pastel
Q50030 Q12043905 Q201022 Q207628 Q763709 Q3305213 Q217199 Q244475 Q279272 Q9764 Q7435316 Q93184 Q23811232
(c(Q43229),P101,c(Q838948))
action approx
action find_reverse_tuple_counts
relation P101
type Q838948
type Q43229
action count
action filter_type
action find
entity Q207628
relation P101
type Q838948
[ANSWERS] approximately the same number of organizations belong to as that work of art
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P101 ?b . ?b rdf:type ontology:Q838948 . ?r rdf:type ontology:Q43229 } GROUP BY ?b } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q207628 property:P101 ?p . ?p rdf:type ontology:Q838948 } } }
watercolor pastel folk dance musical composition White ground technique painting soundtrack tap dance Musikdrama flamenco Score drawing film and series for children
Score, watercolor and pastel approximately the same number of organizations belong to as that work of art
Score watercolor pastel
action approx
action find_reverse_tuple_counts
relation field of work
type work of art
type organization
action count
action filter_type
action find
entity musical composition
relation field of work
type work of art
[{'concept': 'organization'}, 'field of work', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:field_of_work ?b . ?b rdf:type ontology:work_of_art . ?r rdf:type ontology:organization } GROUP BY ?b } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:musical_composition property:field_of_work ?p . ?p rdf:type ontology:work_of_art } } }
[]