Simple Question (Direct)
Simple Question
Q1093466
P1196
Q1914636
USER
Which activity best describes with type of death of Paulus Atreides ?
(Q1093466,P1196,c(Q1914636))
action filter_type
action find
entity Q1093466
relation P1196
type Q1914636
['Q1093466', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { resource:Q1093466 property:P1196 ?u . ?u rdf:type ontology:Q1914636 }
Paulus Atreides
action filter_type
action find
entity Paulus Atreides
relation manner of death
type activity
['Paulus Atreides', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { resource:Paulus_Atreides property:manner_of_death ?u . ?u rdf:type ontology:activity }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q1093466,P1196,c(Q1914636))
action filter_type
action find
entity Q1093466
relation P1196
type Q1914636
[ANSWER] best describes with type of death of Paulus Atreides
['Q1093466', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { resource:Q1093466 property:P1196 ?u . ?u rdf:type ontology:Q1914636 }
homicide
Homicide best describes with type of death of Paulus Atreides
homicide
action filter_type
action find
entity Paulus Atreides
relation manner of death
type activity
['Paulus Atreides', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { resource:Paulus_Atreides property:manner_of_death ?u . ?u rdf:type ontology:activity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q1914636 Q223557 Q1914636
USER
Which activities are recognized as the main use of min number of physical objects and activities ?
(c(Q223557)|c(Q1914636),P366,c(Q1914636))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q223557
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q1914636
[[{'concept': 'Q223557'}, {'concept': 'Q1914636'}], 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:Q223557 ) ( ontology:Q1914636 ) } } GROUP BY ?c } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P366 ?r . ?r rdf:type ontology:Q1914636 . ?m rdf:type ontology:Q223557 } UNION { ?m property:P366 ?r . ?r rdf:type ontology:Q1914636 . ?m rdf:type ontology:Q1914636 } } GROUP BY ?r } } }
action argmin
action union
action find_reverse_tuple_counts
relation use
type activity
type physical object
action find_reverse_tuple_counts
relation use
type activity
type activity
[[{'concept': 'physical object'}, {'concept': 'activity'}], 'use', {'concept': 'activity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:physical_object ) ( ontology:activity ) } } GROUP BY ?c } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:use ?r . ?r rdf:type ontology:activity . ?m rdf:type ontology:physical_object } UNION { ?m property:use ?r . ?r rdf:type ontology:activity . ?m rdf:type ontology:activity } } GROUP BY ?r } } }
[]
activity physical object activity
Q5873 Q692096 Q49389
SYSTEM
sexual intercourse, cleanliness, tourism
Q1069 Q1096878 Q1133228 Q11034 Q574814 Q1392605 Q627716 Q836610 Q179661 Q5873 Q8789 Q1729126 Q184485 Q600236 Q383695 Q602507 Q216048 Q692096 Q3569648 Q5409930 Q1135885 Q5386 Q1761108 Q16868432 Q2310303 Q49389 Q1386523 Q11635 Q12014035 Q10566551 Q11410 Q6888390 Q22940089 Q219067 Q1194492 Q6502154 Q40283 Q206814 Q643227 Q638 Q1816033 Q373557 Q160398 Q177777 Q266177 Q7173 Q2351849 Q12271 Q949180 Q1924397 Q5367 Q1468942 Q890097 Q124946 Q19359011 Q474100 Q678305 Q1719546 Q18156017 Q16861871 Q192296 Q42767 Q991265 Q1644573 Q31728 Q25261 Q4688034 Q1472221 Q886533 Q15817877 Q4752911 Q396053 Q1270401 Q931309 Q2301555 Q925667 Q1787378 Q4168000
(c(Q223557)|c(Q1914636),P366,c(Q1914636))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q223557
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q1914636
[ANSWERS] are recognized as the main use of min number of physical objects and activities
[[{'concept': 'Q223557'}, {'concept': 'Q1914636'}], 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:Q223557 ) ( ontology:Q1914636 ) } } GROUP BY ?c } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P366 ?r . ?r rdf:type ontology:Q1914636 . ?m rdf:type ontology:Q223557 } UNION { ?m property:P366 ?r . ?r rdf:type ontology:Q1914636 . ?m rdf:type ontology:Q1914636 } } GROUP BY ?r } } }
geology scuba diving air taxi printing Discrete event simulation Bicycle technology military aviation signals intelligence therapy sexual intercourse cryptography cardioversion performing arts operation flight training hand-to-hand combat team sport cleanliness air cargo supply circumnavigation auto racing impedance matching cabinetwork simulation game tourism Production Planning and Productioncontrol theater hiking safety game modelling biological systems automobile endurance racing physical exercise angling exploration self-defence civil aviation passive fire protection music competitive sport aerobatics crystallography logistics Scrapbooking marine biology military education and training architecture financial accounting measurement technology motorsport pedophile activism bodyboarding gardening illicit flight pyrotechnics ultralight aviation recreational diving glider towing job training weaving whaling keratometry pilgrimage public administration meteorology aerial survey early childhood education medicinal leech therapy scheduled air service Ancient Roman bathing aerial application electronic circuit simulation medical imaging open-loop controller computer simulation parts cleaning military intelligence
Sexual intercourse, cleanliness and tourism are recognized as the main use of min number of physical objects and activities
sexual intercourse cleanliness tourism
action argmin
action union
action find_reverse_tuple_counts
relation use
type activity
type physical object
action find_reverse_tuple_counts
relation use
type activity
type activity
[[{'concept': 'physical object'}, {'concept': 'activity'}], 'use', {'concept': 'activity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:physical_object ) ( ontology:activity ) } } GROUP BY ?c } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:use ?r . ?r rdf:type ontology:activity . ?m rdf:type ontology:physical_object } UNION { ?m property:use ?r . ?r rdf:type ontology:activity . ?m rdf:type ontology:activity } } GROUP BY ?r } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5873
P1542
Q9332
USER
Which behavior has its outcome as that activity ?
(c(Q9332),P1542,Q5873)
action filter_type
action find_reverse
entity Q5873
relation P1542
type Q9332
[{'concept': 'Q9332'}, 'P1542', 'Q5873']
SELECT DISTINCT ?b WHERE { ?b property:P1542 resource:Q5873 . ?b rdf:type ontology:Q9332 }
sexual intercourse
action filter_type
action find_reverse
entity sexual intercourse
relation cause of
type behavior
[{'concept': 'behavior'}, 'cause of', 'sexual intercourse']
SELECT DISTINCT ?b WHERE { ?b property:cause_of resource:sexual_intercourse . ?b rdf:type ontology:behavior }
[]
behavior
Clarification for simple ques.
Q49389
SYSTEM
Did you mean tourism ?
Q5873 Q692096 Q49389
(c(Q9332),P1542,Q5873) (c(Q9332),P1542,Q692096) (c(Q9332),P1542,Q49389)
[ANSWER]
[{'concept': 'Q9332'}, 'P1542', 'Q5873'] [{'concept': 'Q9332'}, 'P1542', 'Q692096'] [{'concept': 'Q9332'}, 'P1542', 'Q49389']
SELECT DISTINCT ?b WHERE { ?b property:P1542 resource:Q5873 . ?b rdf:type ontology:Q9332 }
sexual intercourse cleanliness tourism
Did you mean tourism ?
tourism
[{'concept': 'behavior'}, 'cause of', 'sexual intercourse'] [{'concept': 'behavior'}, 'cause of', 'cleanliness'] [{'concept': 'behavior'}, 'cause of', 'tourism']
SELECT DISTINCT ?b WHERE { ?b property:cause_of resource:sexual_intercourse . ?b rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
USER
No, I meant sexual intercourse. Could you tell me the answer for that?
(c(Q9332),P1542,Q5873)
Q5873
[{'concept': 'Q9332'}, 'P1542', 'Q5873']
[{'concept': 'behavior'}, 'cause of', 'sexual intercourse']
[]
Q608
SYSTEM
human sexual activity
Q608
(c(Q9332),P1542,Q5873)
action filter_type
action find_reverse
entity Q5873
relation P1542
type Q9332
The [ANSWER] has its outcome as that activity
[{'concept': 'Q9332'}, 'P1542', 'Q5873']
SELECT DISTINCT ?b WHERE { ?b property:P1542 resource:Q5873 . ?b rdf:type ontology:Q9332 }
human sexual activity
The human sexual activity has its outcome as that activity
human sexual activity
action filter_type
action find_reverse
entity sexual intercourse
relation cause of
type behavior
[{'concept': 'behavior'}, 'cause of', 'sexual intercourse']
SELECT DISTINCT ?b WHERE { ?b property:cause_of resource:sexual_intercourse . ?b rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q608
P921
Q483394
USER
Which genre was mainly based on that behavior ?
(c(Q483394),P921,Q608)
action filter_type
action find_reverse
entity Q608
relation P921
type Q483394
[{'concept': 'Q483394'}, 'P921', 'Q608']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q483394 . ?x property:P921 resource:Q608 }
human sexual activity
action filter_type
action find_reverse
entity human sexual activity
relation main subject
type genre
[{'concept': 'genre'}, 'main subject', 'human sexual activity']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:genre . ?x property:main_subject resource:human_sexual_activity }
[]
genre
Q4879416
SYSTEM
bedroom farce
Q4879416
(c(Q483394),P921,Q608)
action filter_type
action find_reverse
entity Q608
relation P921
type Q483394
[ANSWER] was mainly based on that behavior
[{'concept': 'Q483394'}, 'P921', 'Q608']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q483394 . ?x property:P921 resource:Q608 }
bedroom farce
Bedroom farce was mainly based on that behavior
bedroom farce
action filter_type
action find_reverse
entity human sexual activity
relation main subject
type genre
[{'concept': 'genre'}, 'main subject', 'human sexual activity']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:genre . ?x property:main_subject resource:human_sexual_activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4879416
P136
Q15961987
USER
Which television genre as that genre as its category ?
(c(Q15961987),P136,Q4879416)
action filter_type
action find_reverse
entity Q4879416
relation P136
type Q15961987
[{'concept': 'Q15961987'}, 'P136', 'Q4879416']
SELECT DISTINCT ?y WHERE { ?y property:P136 resource:Q4879416 . ?y rdf:type ontology:Q15961987 }
bedroom farce
action filter_type
action find_reverse
entity bedroom farce
relation genre
type television genre
[{'concept': 'television genre'}, 'genre', 'bedroom farce']
SELECT DISTINCT ?y WHERE { ?y property:genre resource:bedroom_farce . ?y rdf:type ontology:television_genre }
[]
television genre
Q171803
SYSTEM
La Blue Girl
Q171803
(c(Q15961987),P136,Q4879416)
action filter_type
action find_reverse
entity Q4879416
relation P136
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P136', 'Q4879416']
SELECT DISTINCT ?y WHERE { ?y property:P136 resource:Q4879416 . ?y rdf:type ontology:Q15961987 }
La Blue Girl
La Blue Girl
action filter_type
action find_reverse
entity bedroom farce
relation genre
type television genre
[{'concept': 'television genre'}, 'genre', 'bedroom farce']
SELECT DISTINCT ?y WHERE { ?y property:genre resource:bedroom_farce . ?y rdf:type ontology:television_genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q27333810
P1441
Q15961987 Q3895768
USER
How many fictional locations are from the works of greater number of television genres than Route 102 ?
(c(Q3895768),P1441,c(Q15961987))
action count
action greater
action find_tuple_counts
relation P1441
type Q3895768
type Q15961987
action count
action filter_type
action find
entity Q27333810
relation P1441
type Q3895768
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?x ) WHERE { ?b property:P1441 ?t . ?b rdf:type ontology:Q3895768 . ?t rdf:type ontology:Q15961987 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q27333810 property:P1441 ?z . ?z rdf:type ontology:Q3895768 } } . FILTER ( ?x > ?w ) }
Route 102
action count
action greater
action find_tuple_counts
relation present in work
type fictional location
type television genre
action count
action filter_type
action find
entity Route 102
relation present in work
type fictional location
[{'concept': 'fictional location'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?x ) WHERE { ?b property:present_in_work ?t . ?b rdf:type ontology:fictional_location . ?t rdf:type ontology:television_genre } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Route_102 property:present_in_work ?z . ?z rdf:type ontology:fictional_location } } . FILTER ( ?x > ?w ) }
[]
television genre fictional location
SYSTEM
14
Q3285391 Q6045191 Q5795541 Q5888160 Q1983907 Q766099 Q2199750 Q7831763 Q11695978 Q151076 Q3279818 Q5734165 Q3176924 Q6049336
(c(Q3895768),P1441,c(Q15961987))
action count
action greater
action find_tuple_counts
relation P1441
type Q3895768
type Q15961987
action count
action filter_type
action find
entity Q27333810
relation P1441
type Q3895768
[ANSWER]
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?x ) WHERE { ?b property:P1441 ?t . ?b rdf:type ontology:Q3895768 . ?t rdf:type ontology:Q15961987 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q27333810 property:P1441 ?z . ?z rdf:type ontology:Q3895768 } } . FILTER ( ?x > ?w ) }
Shelbyville North Haverbrook Cypress Creek Guidopolis Springfield Nuclear Power Plant Wakanda Champignac Tracy Island North Takoma Springfield Springfield Retirement Home Brockway Capital City Ogdenville
14
action count
action greater
action find_tuple_counts
relation present in work
type fictional location
type television genre
action count
action filter_type
action find
entity Route 102
relation present in work
type fictional location
[{'concept': 'fictional location'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?x ) WHERE { ?b property:present_in_work ?t . ?b rdf:type ontology:fictional_location . ?t rdf:type ontology:television_genre } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Route_102 property:present_in_work ?z . ?z rdf:type ontology:fictional_location } } . FILTER ( ?x > ?w ) }
[]