Simple Question (Direct)
Simple Question
Q2314826
P1303
Q19659292
USER
Which musical instrument part is played by Edwin Roxburgh ?
(Q2314826,P1303,c(Q19659292))
action filter_type
action find
entity Q2314826
relation P1303
type Q19659292
['Q2314826', 'P1303', {'concept': 'Q19659292'}]
SELECT DISTINCT ?x WHERE { resource:Q2314826 property:P1303 ?x . ?x rdf:type ontology:Q19659292 }
Edwin Roxburgh
action filter_type
action find
entity Edwin Roxburgh
relation instrument
type musical instrument part
['Edwin Roxburgh', 'instrument', {'concept': 'musical instrument part'}]
SELECT DISTINCT ?x WHERE { resource:Edwin_Roxburgh property:instrument ?x . ?x rdf:type ontology:musical_instrument_part }
[]
musical instrument part
Q8377
SYSTEM
oboe
Q8377
(Q2314826,P1303,c(Q19659292))
action filter_type
action find
entity Q2314826
relation P1303
type Q19659292
Edwin [ANSWER] is played by Edwin Roxburgh
['Q2314826', 'P1303', {'concept': 'Q19659292'}]
SELECT DISTINCT ?x WHERE { resource:Q2314826 property:P1303 ?x . ?x rdf:type ontology:Q19659292 }
oboe
Edwin oboe is played by Edwin Roxburgh
oboe
action filter_type
action find
entity Edwin Roxburgh
relation instrument
type musical instrument part
['Edwin Roxburgh', 'instrument', {'concept': 'musical instrument part'}]
SELECT DISTINCT ?x WHERE { resource:Edwin_Roxburgh property:instrument ?x . ?x rdf:type ontology:musical_instrument_part }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8377
P1056
Q43229
USER
Who manufactures that musical instrument part ?
(c(Q43229),P1056,Q8377)
action filter_type
action find_reverse
entity Q8377
relation P1056
type Q43229
[{'concept': 'Q43229'}, 'P1056', 'Q8377']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q43229 . ?d property:P1056 resource:Q8377 }
oboe
action filter_type
action find_reverse
entity oboe
relation product
type organization
[{'concept': 'organization'}, 'product', 'oboe']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:organization . ?d property:product resource:oboe }
[]
organization
Q8179964
SYSTEM
A. Laubin
Q8179964
(c(Q43229),P1056,Q8377)
action filter_type
action find_reverse
entity Q8377
relation P1056
type Q43229
[ANSWER] manufactures that musical instrument part
[{'concept': 'Q43229'}, 'P1056', 'Q8377']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q43229 . ?d property:P1056 resource:Q8377 }
A. Laubin
A. Laubin manufactures that musical instrument part
A. Laubin
action filter_type
action find_reverse
entity oboe
relation product
type organization
[{'concept': 'organization'}, 'product', 'oboe']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:organization . ?d property:product resource:oboe }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8179964
P1454
Q155076
USER
Which juridical person is the legal form type of that organization ?
(Q8179964,P1454,c(Q155076))
action filter_type
action find
entity Q8179964
relation P1454
type Q155076
['Q8179964', 'P1454', {'concept': 'Q155076'}]
SELECT DISTINCT ?z WHERE { resource:Q8179964 property:P1454 ?z . ?z rdf:type ontology:Q155076 }
A. Laubin
action filter_type
action find
entity A. Laubin
relation legal form
type juridical person
['A. Laubin', 'legal form', {'concept': 'juridical person'}]
SELECT DISTINCT ?z WHERE { resource:A._Laubin property:legal_form ?z . ?z rdf:type ontology:juridical_person }
[]
juridical person
Q167037
SYSTEM
corporation
Q167037
(Q8179964,P1454,c(Q155076))
action filter_type
action find
entity Q8179964
relation P1454
type Q155076
[ANSWER] is the legal form type of that organization
['Q8179964', 'P1454', {'concept': 'Q155076'}]
SELECT DISTINCT ?z WHERE { resource:Q8179964 property:P1454 ?z . ?z rdf:type ontology:Q155076 }
corporation
Corporation is the legal form type of that organization
corporation
action filter_type
action find
entity A. Laubin
relation legal form
type juridical person
['A. Laubin', 'legal form', {'concept': 'juridical person'}]
SELECT DISTINCT ?z WHERE { resource:A._Laubin property:legal_form ?z . ?z rdf:type ontology:juridical_person }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8179964
P112
Q502895
USER
Who was the founder of that organization ?
(Q167037,P112,c(Q502895))
action filter_type
action find
entity Q8179964
relation P112
type Q502895
['Q167037', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q8179964 property:P112 ?x . ?x rdf:type ontology:Q502895 }
A. Laubin
action filter_type
action find
entity A. Laubin
relation founder
type common name
['corporation', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:A._Laubin property:founder ?x . ?x rdf:type ontology:common_name }
[]
common name
Q4723046
SYSTEM
Alfred Laubin
Q4723046
(Q167037,P112,c(Q502895))
action filter_type
action find
entity Q8179964
relation P112
type Q502895
The founder of that organization was [ANSWER]
['Q167037', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q8179964 property:P112 ?x . ?x rdf:type ontology:Q502895 }
Alfred Laubin
The founder of that organization was Alfred Laubin
Alfred Laubin
action filter_type
action find
entity A. Laubin
relation founder
type common name
['corporation', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:A._Laubin property:founder ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q8179964
P1056
Q2424752 Q19659292
USER
How many products and musical instrument parts are produced by A. Laubin ?
(Q8179964,P1056,c(Q2424752)) (Q8179964,P1056,c(Q19659292))
action count
action union
action filter_type
action find
entity Q8179964
relation P1056
type Q2424752
action filter_type
action find
entity Q8179964
relation P1056
type Q19659292
['Q8179964', 'P1056', {'concept': 'Q2424752'}] ['Q8179964', 'P1056', {'concept': 'Q19659292'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { VALUES ( ?t ) { ( ontology:Q2424752 ) ( ontology:Q19659292 ) } . ?b rdf:type ?t }
A. Laubin
action count
action union
action filter_type
action find
entity A. Laubin
relation product
type product
action filter_type
action find
entity A. Laubin
relation product
type musical instrument part
['A. Laubin', 'product', {'concept': 'product'}] ['A. Laubin', 'product', {'concept': 'musical instrument part'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { VALUES ( ?t ) { ( ontology:product ) ( ontology:musical_instrument_part ) } . ?b rdf:type ?t }
[]
product musical instrument part
SYSTEM
1 products and 1 musical instrument parts
Q8377 Q185041
(Q8179964,P1056,c(Q2424752)) (Q8179964,P1056,c(Q19659292))
action count
action union
action filter_type
action find
entity Q8179964
relation P1056
type Q2424752
action filter_type
action find
entity Q8179964
relation P1056
type Q19659292
[ANSWER]
['Q8179964', 'P1056', {'concept': 'Q2424752'}] ['Q8179964', 'P1056', {'concept': 'Q19659292'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { VALUES ( ?t ) { ( ontology:Q2424752 ) ( ontology:Q19659292 ) } . ?b rdf:type ?t }
oboe Cor anglais
1 products and 1 musical instrument parts
action count
action union
action filter_type
action find
entity A. Laubin
relation product
type product
action filter_type
action find
entity A. Laubin
relation product
type musical instrument part
['A. Laubin', 'product', {'concept': 'product'}] ['A. Laubin', 'product', {'concept': 'musical instrument part'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { VALUES ( ?t ) { ( ontology:product ) ( ontology:musical_instrument_part ) } . ?b rdf:type ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8179964
P17
Q15617994
USER
Which administrative territory does that organization belong to ?
action filter_type
action find
entity Q8179964
relation P17
type Q15617994
SELECT DISTINCT ?f WHERE { resource:Q8179964 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
A. Laubin
action filter_type
action find
entity A. Laubin
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:A._Laubin property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
action filter_type
action find
entity Q8179964
relation P17
type Q15617994
That organization belongs to the [ANSWER]
SELECT DISTINCT ?f WHERE { resource:Q8179964 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
United States of America
That organization belongs to the United States of America
United States of America
action filter_type
action find
entity A. Laubin
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:A._Laubin property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q27
P706
Q2221906 Q107425 Q15617994
USER
Which administrative territories have their location as more number of geographic locations and landscapes than Ireland ?
(c(Q15617994),P706,c(Q2221906)|c(Q107425))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action find_tuple_counts
relation P706
type Q15617994
type Q107425
action count
action filter_multi_types
action find
entity Q27
relation P706
type Q2221906
type Q107425
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?k WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2221906 ) ( ontology:Q107425 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q27 property:P706 ?u . { { ?u rdf:type ontology:Q2221906 } UNION { ?u rdf:type ontology:Q107425 } } } } . FILTER ( ?j > ?w ) }
Ireland
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
action count
action filter_multi_types
action find
entity Ireland
relation located on terrain feature
type geographic location
type landscape
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?k WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:geographic_location ) ( ontology:landscape ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Ireland property:located_on_terrain_feature ?u . { { ?u rdf:type ontology:geographic_location } UNION { ?u rdf:type ontology:landscape } } } } . FILTER ( ?j > ?w ) }
[]
geographic location landscape designation for an administrative territorial entity
Q145 Q33 Q786
SYSTEM
United Kingdom, Finland, Dominican Republic
Q784 Q786 Q790 Q244 Q33 Q145 Q754 Q262684 Q760 Q153969
(c(Q15617994),P706,c(Q2221906)|c(Q107425))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action find_tuple_counts
relation P706
type Q15617994
type Q107425
action count
action filter_multi_types
action find
entity Q27
relation P706
type Q2221906
type Q107425
[ANSWERS] have their location as more number of geographic locations and landscapes than Ireland
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?k WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2221906 ) ( ontology:Q107425 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q27 property:P706 ?u . { { ?u rdf:type ontology:Q2221906 } UNION { ?u rdf:type ontology:Q107425 } } } } . FILTER ( ?j > ?w ) }
Dominica Dominican Republic Haiti Barbados Finland United Kingdom Trinidad and Tobago Füssen Saint Lucia Lindau
United Kingdom, Finland and Dominican Republic have their location as more number of geographic locations and landscapes than Ireland
United Kingdom Finland Dominican Republic
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
action count
action filter_multi_types
action find
entity Ireland
relation located on terrain feature
type geographic location
type landscape
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?k WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:geographic_location ) ( ontology:landscape ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Ireland property:located_on_terrain_feature ?u . { { ?u rdf:type ontology:geographic_location } UNION { ?u rdf:type ontology:landscape } } } } . FILTER ( ?j > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15213143
P706
Q2221906 Q107425 Q15617994
USER
And also tell me about Davgata?
(c(Q15617994),P706,c(Q2221906)|c(Q107425))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action find_tuple_counts
relation P706
type Q15617994
type Q107425
action count
action filter_multi_types
action find
entity Q15213143
relation P706
type Q2221906
type Q107425
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?c WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2221906 ) ( ontology:Q107425 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { { ?x rdf:type ontology:Q2221906 } UNION { ?x rdf:type ontology:Q107425 } } . resource:Q15213143 property:P706 ?x } } . FILTER ( ?j > ?p ) }
Davgata
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
action count
action filter_multi_types
action find
entity Davgata
relation located on terrain feature
type geographic location
type landscape
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?c WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:geographic_location ) ( ontology:landscape ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { { ?x rdf:type ontology:geographic_location } UNION { ?x rdf:type ontology:landscape } } . resource:Davgata property:located_on_terrain_feature ?x } } . FILTER ( ?j > ?p ) }
[]
geographic location landscape designation for an administrative territorial entity
Q145 Q33 Q786
SYSTEM
United Kingdom, Finland, Dominican Republic
Q784 Q786 Q790 Q244 Q33 Q145 Q754 Q262684 Q760 Q153969
(c(Q15617994),P706,c(Q2221906)|c(Q107425))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action find_tuple_counts
relation P706
type Q15617994
type Q107425
action count
action filter_multi_types
action find
entity Q15213143
relation P706
type Q2221906
type Q107425
[ANSWERS]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?c WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2221906 ) ( ontology:Q107425 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { { ?x rdf:type ontology:Q2221906 } UNION { ?x rdf:type ontology:Q107425 } } . resource:Q15213143 property:P706 ?x } } . FILTER ( ?j > ?p ) }
Dominica Dominican Republic Haiti Barbados Finland United Kingdom Trinidad and Tobago Füssen Saint Lucia Lindau
United Kingdom Finland Dominican Republic
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
action count
action filter_multi_types
action find
entity Davgata
relation located on terrain feature
type geographic location
type landscape
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?c WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:geographic_location ) ( ontology:landscape ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { { ?x rdf:type ontology:geographic_location } UNION { ?x rdf:type ontology:landscape } } . resource:Davgata property:located_on_terrain_feature ?x } } . FILTER ( ?j > ?p ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17578638 Q33
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Finland or are food a part of ?
OR((Q33,P530,c(Q15617994)), (Q17578638,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q33
relation P530
action find
entity Q17578638
relation P17
type Q15617994
{'OR': [['Q33', 'P530', {'concept': 'Q15617994'}], ['Q17578638', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q17578638 property:P17 ?c } UNION { resource:Q33 property:P530 ?c } } . ?c rdf:type ontology:Q15617994 }
food Finland
action filter_type
action union
action find
entity Finland
relation diplomatic relation
action find
entity food
relation country
type designation for an administrative territorial entity
{'OR': [['Finland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['food', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:food property:country ?c } UNION { resource:Finland property:diplomatic_relation ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q34
SYSTEM
Italy, Sweden
Q38 Q34
OR((Q33,P530,c(Q15617994)), (Q17578638,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q33
relation P530
action find
entity Q17578638
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Finland or are food a part of
{'OR': [['Q33', 'P530', {'concept': 'Q15617994'}], ['Q17578638', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q17578638 property:P17 ?c } UNION { resource:Q33 property:P530 ?c } } . ?c rdf:type ontology:Q15617994 }
Italy Sweden
Italy and Sweden have diplomatic relationships with Finland or are food a part of
Italy Sweden
action filter_type
action union
action find
entity Finland
relation diplomatic relation
action find
entity food
relation country
type designation for an administrative territorial entity
{'OR': [['Finland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['food', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:food property:country ?c } UNION { resource:Finland property:diplomatic_relation ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]