Simple Question (Direct)
Simple Question
Q1254486
P641
Q349
USER
What did Rikiya Kawamae participate in ?
(Q1254486,P641,c(Q349))
action filter_type
action find
entity Q1254486
relation P641
type Q349
['Q1254486', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q1254486 property:P641 ?k . ?k rdf:type ontology:Q349 }
Rikiya Kawamae
action filter_type
action find
entity Rikiya Kawamae
relation sport
type sport
['Rikiya Kawamae', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Rikiya_Kawamae property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1254486,P641,c(Q349))
action filter_type
action find
entity Q1254486
relation P641
type Q349
Rikiya Kawamae participated in [ANSWER]
['Q1254486', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q1254486 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Rikiya Kawamae participated in association football
association football
action filter_type
action find
entity Rikiya Kawamae
relation sport
type sport
['Rikiya Kawamae', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Rikiya_Kawamae property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1254486
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1254486
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1254486 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Rikiya Kawamae
action filter_type
action find
entity Rikiya Kawamae
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Rikiya_Kawamae property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1254486
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1254486 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Rikiya Kawamae
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Rikiya_Kawamae property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q937857 Q2736 Q1497143
P425
Q349
USER
Does that occupation have association football and Working trial as thier field of occupation ?
(Q937857,P425,Q2736) (Q937857,P425,Q1497143)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q1497143
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q1497143']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q1497143 }
association football player association football Working trial
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Working trial
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Working trial']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Working_trial }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q1497143)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q1497143
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q1497143']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q1497143 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Working trial
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Working trial']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Working_trial }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q6671777 Q3084961
USER
Which sports are considered as the main functionality of atleast 1 structures or product linings ?
(c(Q6671777)|c(Q3084961),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
value 1
[[{'concept': 'Q6671777'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?o WHERE { VALUES ( ?v ) { ( ontology:Q6671777 ) ( ontology:Q3084961 ) } . ?p rdf:type ?v } GROUP BY ?o } . FILTER ( ?m >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type product lining
value 1
[[{'concept': 'structure'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?o WHERE { VALUES ( ?v ) { ( ontology:structure ) ( ontology:product_lining ) } . ?p rdf:type ?v } GROUP BY ?o } . FILTER ( ?m >= 1 ) }
[]
sport structure product lining
Q36908 Q1875777 Q22857
SYSTEM
mountaineering, air racing, climbing
Q36908 Q1875777 Q22857
(c(Q6671777)|c(Q3084961),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
value 1
[ANSWERS] are considered as the main functionality of atleast 1 structures or product linings
[[{'concept': 'Q6671777'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?o WHERE { VALUES ( ?v ) { ( ontology:Q6671777 ) ( ontology:Q3084961 ) } . ?p rdf:type ?v } GROUP BY ?o } . FILTER ( ?m >= 1 ) }
mountaineering air racing climbing
Mountaineering, air racing and climbing are considered as the main functionality of atleast 1 structures or product linings
mountaineering air racing climbing
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type product lining
value 1
[[{'concept': 'structure'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?o WHERE { VALUES ( ?v ) { ( ontology:structure ) ( ontology:product_lining ) } . ?p rdf:type ?v } GROUP BY ?o } . FILTER ( ?m >= 1 ) }
[]