Simple Question (Direct)
Simple Question
Q22343738
P136
Q15617994
USER
Which administrative territory can be considered as genre of Aubrie Sellers ?
(Q22343738,P136,c(Q15617994))
action filter_type
action find
entity Q22343738
relation P136
type Q15617994
['Q22343738', 'P136', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q22343738 property:P136 ?y . ?y rdf:type ontology:Q15617994 }
Aubrie Sellers
action filter_type
action find
entity Aubrie Sellers
relation genre
type designation for an administrative territorial entity
['Aubrie Sellers', 'genre', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Aubrie_Sellers property:genre ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q6256
SYSTEM
country
Q6256
(Q22343738,P136,c(Q15617994))
action filter_type
action find
entity Q22343738
relation P136
type Q15617994
[ANSWER] can be considered as genre of Aubrie Sellers
['Q22343738', 'P136', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q22343738 property:P136 ?y . ?y rdf:type ontology:Q15617994 }
country
Country can be considered as genre of Aubrie Sellers
country
action filter_type
action find
entity Aubrie Sellers
relation genre
type designation for an administrative territorial entity
['Aubrie Sellers', 'genre', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Aubrie_Sellers property:genre ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22343738
P551
Q56061
USER
What was the place of residence of Aubrie Sellers ?
(Q22343738,P551,c(Q56061))
action filter_type
action find
entity Q22343738
relation P551
type Q56061
['Q22343738', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q22343738 property:P551 ?u . ?u rdf:type ontology:Q56061 }
Aubrie Sellers
action filter_type
action find
entity Aubrie Sellers
relation residence
type administrative territorial entity
['Aubrie Sellers', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Aubrie_Sellers property:residence ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23197
SYSTEM
Nashville
Q23197
(Q22343738,P551,c(Q56061))
action filter_type
action find
entity Q22343738
relation P551
type Q56061
The place of residence of Aubrie Sellers was [ANSWER]
['Q22343738', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q22343738 property:P551 ?u . ?u rdf:type ontology:Q56061 }
Nashville
The place of residence of Aubrie Sellers was Nashville
Nashville
action filter_type
action find
entity Aubrie Sellers
relation residence
type administrative territorial entity
['Aubrie Sellers', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Aubrie_Sellers property:residence ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18707652
Q56061
USER
And also tell me about Natalia Vikhlyantseva?
(Q18707652,P551,c(Q56061))
action filter_type
action find
entity Q18707652
relation P551
type Q56061
['Q18707652', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q18707652 property:P551 ?t }
Natalia Vikhlyantseva
action filter_type
action find
entity Natalia Vikhlyantseva
relation residence
type administrative territorial entity
['Natalia Vikhlyantseva', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Natalia_Vikhlyantseva property:residence ?t }
[]
administrative territorial entity
Q914
SYSTEM
Volgograd
Q914
(Q18707652,P551,c(Q56061))
action filter_type
action find
entity Q18707652
relation P551
type Q56061
[ANSWER]
['Q18707652', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q18707652 property:P551 ?t }
Volgograd
Volgograd
action filter_type
action find
entity Natalia Vikhlyantseva
relation residence
type administrative territorial entity
['Natalia Vikhlyantseva', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Natalia_Vikhlyantseva property:residence ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q355304 Q502895
USER
How many watercourses or people are the etymology of that administrative territory ?
(Q914,P138,c(Q355304)) (Q914,P138,c(Q502895)) (Q914,P138,c(Q355304)) (Q914,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q914
relation P138
type Q355304
action filter_type
action find
entity Q914
relation P138
type Q502895
['Q914', 'P138', {'concept': 'Q355304'}] ['Q914', 'P138', {'concept': 'Q502895'}] ['Q914', 'P138', {'concept': 'Q355304'}] ['Q914', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { ?a rdf:type ontology:Q502895 . resource:Q914 property:P138 ?a } UNION { resource:Q914 property:P138 ?a . ?a rdf:type ontology:Q355304 } }
action count
action union
action filter_type
action find
entity Volgograd
relation named after
type watercourse
action filter_type
action find
entity Volgograd
relation named after
type common name
['Volgograd', 'named after', {'concept': 'watercourse'}] ['Volgograd', 'named after', {'concept': 'common name'}] ['Volgograd', 'named after', {'concept': 'watercourse'}] ['Volgograd', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { ?a rdf:type ontology:common_name . resource:Volgograd property:named_after ?a } UNION { resource:Volgograd property:named_after ?a . ?a rdf:type ontology:watercourse } }
[]
watercourse common name
SYSTEM
2
Q626 Q855
(Q914,P138,c(Q355304)) (Q914,P138,c(Q502895)) (Q914,P138,c(Q355304)) (Q914,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q914
relation P138
type Q355304
action filter_type
action find
entity Q914
relation P138
type Q502895
[ANSWER]
['Q914', 'P138', {'concept': 'Q355304'}] ['Q914', 'P138', {'concept': 'Q502895'}] ['Q914', 'P138', {'concept': 'Q355304'}] ['Q914', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { ?a rdf:type ontology:Q502895 . resource:Q914 property:P138 ?a } UNION { resource:Q914 property:P138 ?a . ?a rdf:type ontology:Q355304 } }
Volga Joseph Stalin
2
action count
action union
action filter_type
action find
entity Volgograd
relation named after
type watercourse
action filter_type
action find
entity Volgograd
relation named after
type common name
['Volgograd', 'named after', {'concept': 'watercourse'}] ['Volgograd', 'named after', {'concept': 'common name'}] ['Volgograd', 'named after', {'concept': 'watercourse'}] ['Volgograd', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { ?a rdf:type ontology:common_name . resource:Volgograd property:named_after ?a } UNION { resource:Volgograd property:named_after ?a . ?a rdf:type ontology:watercourse } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q794802
P559
Q56061 Q44377 Q34442
USER
Which administrative territories serve as the endpoint for around the same number of tunnels or roads as Otira ?
(c(Q44377)|c(Q34442),P559,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q794802
relation P559
type Q44377
type Q34442
[[{'concept': 'Q44377'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?p WHERE { { ?f property:P559 ?p . ?p rdf:type ontology:Q56061 . ?f rdf:type ontology:Q44377 } UNION { ?f property:P559 ?p . ?f rdf:type ontology:Q34442 . ?p rdf:type ontology:Q56061 } } GROUP BY ?p } . FILTER ( ?o = ?s ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P559 resource:Q794802 . { { ?k rdf:type ontology:Q44377 } UNION { ?k rdf:type ontology:Q34442 } } } } }
Otira
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action count
action filter_multi_types
action find_reverse
entity Otira
relation terminus
type tunnel
type road
[[{'concept': 'tunnel'}, {'concept': 'road'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?p WHERE { { ?f property:terminus ?p . ?p rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:tunnel } UNION { ?f property:terminus ?p . ?f rdf:type ontology:road . ?p rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?o = ?s ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:terminus resource:Otira . { { ?k rdf:type ontology:tunnel } UNION { ?k rdf:type ontology:road } } } } }
[]
administrative territorial entity tunnel road
Q1735 Q12439 Q35433
SYSTEM
Innsbruck, Detroit, Saint-Rhémy-en-Bosses
Q3051477 Q3812238 Q375314 Q12439 Q4825403 Q5902931 Q7651719 Q992420 Q7050868 Q5032535 Q35433 Q66208 Q2796951 Q687945 Q782155 Q12714367 Q6820370 Q2703030 Q794802 Q6275457 Q1735 Q1229951 Q634172
(c(Q44377)|c(Q34442),P559,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q794802
relation P559
type Q44377
type Q34442
[ANSWERS] serve as the endpoint for around the same number of tunnels or roads as Otira
[[{'concept': 'Q44377'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?p WHERE { { ?f property:P559 ?p . ?p rdf:type ontology:Q56061 . ?f rdf:type ontology:Q44377 } UNION { ?f property:P559 ?p . ?f rdf:type ontology:Q34442 . ?p rdf:type ontology:Q56061 } } GROUP BY ?p } . FILTER ( ?o = ?s ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P559 resource:Q794802 . { { ?k rdf:type ontology:Q44377 } UNION { ?k rdf:type ontology:Q34442 } } } } }
Ellewoutsdijk Bronygarth Folkestone Detroit Austrepollen Horda, Norway Svartnes Fjærland Nordrepollen Cann River Saint-Rhémy-en-Bosses Frutigen Cumberland Gap San Bernardino Jarrow Granvin Merritton, Ontario Kilsby Otira Jong, Norway Innsbruck L'Estaque Banihal
Innsbruck, Detroit and Saint-Rhémy-en-Bosses serve as the endpoint for around the same number of tunnels or roads as Otira
Innsbruck Detroit Saint-Rhémy-en-Bosses
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action count
action filter_multi_types
action find_reverse
entity Otira
relation terminus
type tunnel
type road
[[{'concept': 'tunnel'}, {'concept': 'road'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?p WHERE { { ?f property:terminus ?p . ?p rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:tunnel } UNION { ?f property:terminus ?p . ?f rdf:type ontology:road . ?p rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?o = ?s ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:terminus resource:Otira . { { ?k rdf:type ontology:tunnel } UNION { ?k rdf:type ontology:road } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3060152 Q22343738
P737 P7
Q502895
USER
Which people had an influence on Aubrie Sellers or are Eugène Rostand a sibling of ?
OR((Q22343738,P737,c(Q502895)), (Q3060152,P7,c(Q502895)))
action filter_type
action union
action find
entity Q22343738
relation P737
action find
entity Q3060152
relation P7
type Q502895
{'OR': [['Q22343738', 'P737', {'concept': 'Q502895'}], ['Q3060152', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q22343738 property:P737 ?f } UNION { resource:Q3060152 property:P7 ?f } } . ?f rdf:type ontology:Q502895 }
Eugène Rostand Aubrie Sellers
action filter_type
action union
action find
entity Aubrie Sellers
relation influenced by
action find
entity Eugène Rostand
relation brother
type common name
{'OR': [['Aubrie Sellers', 'influenced by', {'concept': 'common name'}], ['Eugène Rostand', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Aubrie_Sellers property:influenced_by ?f } UNION { resource:Eugène_Rostand property:brother ?f } } . ?f rdf:type ontology:common_name }
[]
common name
Q633 Q3302436 Q15631982 Q1347095 Q455754 Q457190 Q392
SYSTEM
Neil Young, Ralph Stanley, Alexis Rostand, Ricky Skaggs, Screamin' Jay Hawkins, Patty Griffin, Bob Dylan
Q633 Q3302436 Q15631982 Q1347095 Q455754 Q457190 Q392
OR((Q22343738,P737,c(Q502895)), (Q3060152,P7,c(Q502895)))
action filter_type
action union
action find
entity Q22343738
relation P737
action find
entity Q3060152
relation P7
type Q502895
[ANSWERS] had an influence on Aubrie Sellers or are Eugène Rostand a sibling of
{'OR': [['Q22343738', 'P737', {'concept': 'Q502895'}], ['Q3060152', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q22343738 property:P737 ?f } UNION { resource:Q3060152 property:P7 ?f } } . ?f rdf:type ontology:Q502895 }
Neil Young Ralph Stanley Alexis Rostand Ricky Skaggs Screamin' Jay Hawkins Patty Griffin Bob Dylan
Neil Young, Ralph Stanley, Alexis Rostand, Ricky Skaggs, Screamin' Jay Hawkins, Patty Griffin and Bob Dylan had an influence on Aubrie Sellers or are Eugène Rostand a sibling of
Neil Young Ralph Stanley Alexis Rostand Ricky Skaggs Screamin' Jay Hawkins Patty Griffin Bob Dylan
action filter_type
action union
action find
entity Aubrie Sellers
relation influenced by
action find
entity Eugène Rostand
relation brother
type common name
{'OR': [['Aubrie Sellers', 'influenced by', {'concept': 'common name'}], ['Eugène Rostand', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Aubrie_Sellers property:influenced_by ?f } UNION { resource:Eugène_Rostand property:brother ?f } } . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 2058 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2058
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?b >= 2058 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2058
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?b >= 2058 ) }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2058
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?b >= 2058 ) }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2058
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?b >= 2058 ) }
[]