Simple Question (Direct)
Simple Question
Q2121056
P86
Q502895
USER
Who composed Superman/Batman: Public Enemies ?
(Q2121056,P86,c(Q502895))
action filter_type
action find
entity Q2121056
relation P86
type Q502895
['Q2121056', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2121056 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Superman/Batman: Public Enemies
action filter_type
action find
entity Superman/Batman: Public Enemies
relation composer
type common name
['Superman/Batman: Public Enemies', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Superman/Batman:_Public_Enemies property:composer ?u . ?u rdf:type ontology:common_name }
[]
common name
Q5112243
SYSTEM
Christopher Drake
Q5112243
(Q2121056,P86,c(Q502895))
action filter_type
action find
entity Q2121056
relation P86
type Q502895
[ANSWER] composed Superman/Batman: Public Enemies
['Q2121056', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2121056 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Christopher Drake
Christopher Drake composed Superman/Batman: Public Enemies
Christopher Drake
action filter_type
action find
entity Superman/Batman: Public Enemies
relation composer
type common name
['Superman/Batman: Public Enemies', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Superman/Batman:_Public_Enemies property:composer ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5112243
P106
Q12737077
USER
What is the profession of that person ?
(Q5112243,P106,c(Q12737077))
action filter_type
action find
entity Q5112243
relation P106
type Q12737077
['Q5112243', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q5112243 property:P106 ?b }
Christopher Drake
action filter_type
action find
entity Christopher Drake
relation occupation
type occupation
['Christopher Drake', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Christopher_Drake property:occupation ?b }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q5112243,P106,c(Q12737077))
action filter_type
action find
entity Q5112243
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q5112243', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q5112243 property:P106 ?b }
composer
The profession of that person is a composer
composer
action filter_type
action find
entity Christopher Drake
relation occupation
type occupation
['Christopher Drake', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Christopher_Drake property:occupation ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2926875
Q12737077
USER
And what about Bruno Lomas?
(Q2926875,P106,c(Q12737077))
action filter_type
action find
entity Q2926875
relation P106
type Q12737077
['Q2926875', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q2926875 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Bruno Lomas
action filter_type
action find
entity Bruno Lomas
relation occupation
type occupation
['Bruno Lomas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Bruno_Lomas property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q177220
SYSTEM
singer
Q177220
(Q2926875,P106,c(Q12737077))
action filter_type
action find
entity Q2926875
relation P106
type Q12737077
[ANSWER]
['Q2926875', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q2926875 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
singer
singer
action filter_type
action find
entity Bruno Lomas
relation occupation
type occupation
['Bruno Lomas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Bruno_Lomas property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q177220
P425
Q9332
USER
Which behavior has that one as the associated field of occupation ?
(Q177220,P425,c(Q9332))
action filter_type
action find
entity Q177220
relation P425
type Q9332
['Q177220', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?j WHERE { resource:Q177220 property:P425 ?j . ?j rdf:type ontology:Q9332 }
singer
action filter_type
action find
entity singer
relation field of this occupation
type behavior
['singer', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?j WHERE { resource:singer property:field_of_this_occupation ?j . ?j rdf:type ontology:behavior }
[]
behavior
Q27939
SYSTEM
singing
Q27939
(Q177220,P425,c(Q9332))
action filter_type
action find
entity Q177220
relation P425
type Q9332
[ANSWER] has that one as the associated field of occupation
['Q177220', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?j WHERE { resource:Q177220 property:P425 ?j . ?j rdf:type ontology:Q9332 }
singing
Singing has that one as the associated field of occupation
singing
action filter_type
action find
entity singer
relation field of this occupation
type behavior
['singer', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?j WHERE { resource:singer property:field_of_this_occupation ?j . ?j rdf:type ontology:behavior }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q838566 Q177220
P425
Q9332
USER
Or metalsmith?
OR((Q177220,P425,c(Q9332)), (Q838566,P425,c(Q9332)))
action filter_type
action union
action find
entity Q177220
relation P425
action find
entity Q838566
relation P425
type Q9332
{'OR': [['Q177220', 'P425', {'concept': 'Q9332'}], ['Q838566', 'P425', {'concept': 'Q9332'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q177220 property:P425 ?m } UNION { resource:Q838566 property:P425 ?m } } . ?m rdf:type ontology:Q9332 }
metalsmith singer
action filter_type
action union
action find
entity singer
relation field of this occupation
action find
entity metalsmith
relation field of this occupation
type behavior
{'OR': [['singer', 'field of this occupation', {'concept': 'behavior'}], ['metalsmith', 'field of this occupation', {'concept': 'behavior'}]]}
SELECT DISTINCT ?m WHERE { { { resource:singer property:field_of_this_occupation ?m } UNION { resource:metalsmith property:field_of_this_occupation ?m } } . ?m rdf:type ontology:behavior }
[]
behavior
Q193057 Q27939
SYSTEM
forging, singing
Q193057 Q27939
OR((Q177220,P425,c(Q9332)), (Q838566,P425,c(Q9332)))
action filter_type
action union
action find
entity Q177220
relation P425
action find
entity Q838566
relation P425
type Q9332
[ANSWERS]
{'OR': [['Q177220', 'P425', {'concept': 'Q9332'}], ['Q838566', 'P425', {'concept': 'Q9332'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q177220 property:P425 ?m } UNION { resource:Q838566 property:P425 ?m } } . ?m rdf:type ontology:Q9332 }
forging singing
forging singing
action filter_type
action union
action find
entity singer
relation field of this occupation
action find
entity metalsmith
relation field of this occupation
type behavior
{'OR': [['singer', 'field of this occupation', {'concept': 'behavior'}], ['metalsmith', 'field of this occupation', {'concept': 'behavior'}]]}
SELECT DISTINCT ?m WHERE { { { resource:singer property:field_of_this_occupation ?m } UNION { resource:metalsmith property:field_of_this_occupation ?m } } . ?m rdf:type ontology:behavior }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1362246
P366
Q9332 Q11436 Q337060
USER
How many behaviors are recognized as the main use of more number of aircrafts and perceptible objects than Security of train rides ?
(c(Q11436)|c(Q337060),P366,c(Q9332))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q9332
type Q11436
action find_reverse_tuple_counts
relation P366
type Q9332
type Q337060
action count
action filter_multi_types
action find_reverse
entity Q1362246
relation P366
type Q11436
type Q337060
[[{'concept': 'Q11436'}, {'concept': 'Q337060'}], 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P366 resource:Q1362246 . { { ?u rdf:type ontology:Q11436 } UNION { ?u rdf:type ontology:Q337060 } } } } . FILTER ( ?h > ?t ) . { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?s ) { ( ontology:Q11436 ) ( ontology:Q337060 ) } . ?n rdf:type ?s } GROUP BY ?w } }
Security of train rides
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type behavior
type aircraft
action find_reverse_tuple_counts
relation use
type behavior
type perceptible object
action count
action filter_multi_types
action find_reverse
entity Security of train rides
relation use
type aircraft
type perceptible object
[[{'concept': 'aircraft'}, {'concept': 'perceptible object'}], 'use', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:use resource:Security_of_train_rides . { { ?u rdf:type ontology:aircraft } UNION { ?u rdf:type ontology:perceptible_object } } } } . FILTER ( ?h > ?t ) . { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?s ) { ( ontology:aircraft ) ( ontology:perceptible_object ) } . ?n rdf:type ?s } GROUP BY ?w } }
[]
behavior aircraft perceptible object
SYSTEM
8
Q17200001 Q11880995 Q192043 Q15449497 Q20976913 Q9640723 Q1571929 Q321476
(c(Q11436)|c(Q337060),P366,c(Q9332))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q9332
type Q11436
action find_reverse_tuple_counts
relation P366
type Q9332
type Q337060
action count
action filter_multi_types
action find_reverse
entity Q1362246
relation P366
type Q11436
type Q337060
[ANSWER]
[[{'concept': 'Q11436'}, {'concept': 'Q337060'}], 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P366 resource:Q1362246 . { { ?u rdf:type ontology:Q11436 } UNION { ?u rdf:type ontology:Q337060 } } } } . FILTER ( ?h > ?t ) . { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?s ) { ( ontology:Q11436 ) ( ontology:Q337060 ) } . ?n rdf:type ?s } GROUP BY ?w } }
cleaning berry picking electrical wiring executive transport commercial air service commercial aviation general aviation Wire stripping
8
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type behavior
type aircraft
action find_reverse_tuple_counts
relation use
type behavior
type perceptible object
action count
action filter_multi_types
action find_reverse
entity Security of train rides
relation use
type aircraft
type perceptible object
[[{'concept': 'aircraft'}, {'concept': 'perceptible object'}], 'use', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:use resource:Security_of_train_rides . { { ?u rdf:type ontology:aircraft } UNION { ?u rdf:type ontology:perceptible_object } } } } . FILTER ( ?h > ?t ) . { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?s ) { ( ontology:aircraft ) ( ontology:perceptible_object ) } . ?n rdf:type ?s } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q8434
P366
Q9332 Q11436 Q337060
USER
And what about education?
(c(Q11436)|c(Q337060),P366,c(Q9332))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q9332
type Q11436
action find_reverse_tuple_counts
relation P366
type Q9332
type Q337060
action count
action filter_multi_types
action find_reverse
entity Q8434
relation P366
type Q11436
type Q337060
[[{'concept': 'Q11436'}, {'concept': 'Q337060'}], 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P366 resource:Q8434 . { { ?o rdf:type ontology:Q11436 } UNION { ?o rdf:type ontology:Q337060 } } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?v WHERE { ?n rdf:type ?l . VALUES ( ?l ) { ( ontology:Q11436 ) ( ontology:Q337060 ) } } GROUP BY ?v } }
education
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type behavior
type aircraft
action find_reverse_tuple_counts
relation use
type behavior
type perceptible object
action count
action filter_multi_types
action find_reverse
entity education
relation use
type aircraft
type perceptible object
[[{'concept': 'aircraft'}, {'concept': 'perceptible object'}], 'use', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:use resource:education . { { ?o rdf:type ontology:aircraft } UNION { ?o rdf:type ontology:perceptible_object } } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?v WHERE { ?n rdf:type ?l . VALUES ( ?l ) { ( ontology:aircraft ) ( ontology:perceptible_object ) } } GROUP BY ?v } }
[]
behavior aircraft perceptible object
SYSTEM
8
Q17200001 Q11880995 Q192043 Q15449497 Q20976913 Q9640723 Q1571929 Q321476
(c(Q11436)|c(Q337060),P366,c(Q9332))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q9332
type Q11436
action find_reverse_tuple_counts
relation P366
type Q9332
type Q337060
action count
action filter_multi_types
action find_reverse
entity Q8434
relation P366
type Q11436
type Q337060
[ANSWER]
[[{'concept': 'Q11436'}, {'concept': 'Q337060'}], 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P366 resource:Q8434 . { { ?o rdf:type ontology:Q11436 } UNION { ?o rdf:type ontology:Q337060 } } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?v WHERE { ?n rdf:type ?l . VALUES ( ?l ) { ( ontology:Q11436 ) ( ontology:Q337060 ) } } GROUP BY ?v } }
cleaning berry picking electrical wiring executive transport commercial air service commercial aviation general aviation Wire stripping
8
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type behavior
type aircraft
action find_reverse_tuple_counts
relation use
type behavior
type perceptible object
action count
action filter_multi_types
action find_reverse
entity education
relation use
type aircraft
type perceptible object
[[{'concept': 'aircraft'}, {'concept': 'perceptible object'}], 'use', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:use resource:education . { { ?o rdf:type ontology:aircraft } UNION { ?o rdf:type ontology:perceptible_object } } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?v WHERE { ?n rdf:type ?l . VALUES ( ?l ) { ( ontology:aircraft ) ( ontology:perceptible_object ) } } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P417
Q502895
USER
Who is the patron saint of composer ?
(Q36834,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q36834 property:P417 ?e . ?e rdf:type ontology:Q502895 }
composer
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:composer property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
common name
Q80513
SYSTEM
Saint Cecilia
Q80513
(Q36834,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
The patron saint of composer is the [ANSWER]
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q36834 property:P417 ?e . ?e rdf:type ontology:Q502895 }
Saint Cecilia
The patron saint of composer is the Saint Cecilia
Saint Cecilia
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:composer property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]