Simple Question (Direct)
Simple Question
Q7114682
P106
Q151885
USER
Which concept is the profession of Owen Von Richter ?
(Q7114682,P106,c(Q151885))
action filter_type
action find
entity Q7114682
relation P106
type Q151885
['Q7114682', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q7114682 property:P106 ?o . ?o rdf:type ontology:Q151885 }
Owen Von Richter
action filter_type
action find
entity Owen Von Richter
relation occupation
type concept
['Owen Von Richter', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Owen_Von_Richter property:occupation ?o . ?o rdf:type ontology:concept }
[]
concept
Q10843402
SYSTEM
swimmer
Q10843402
(Q7114682,P106,c(Q151885))
action filter_type
action find
entity Q7114682
relation P106
type Q151885
The [ANSWER] is the profession of Owen Von Richter
['Q7114682', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q7114682 property:P106 ?o . ?o rdf:type ontology:Q151885 }
swimmer
The swimmer is the profession of Owen Von Richter
swimmer
action filter_type
action find
entity Owen Von Richter
relation occupation
type concept
['Owen Von Richter', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Owen_Von_Richter property:occupation ?o . ?o rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7114682
P734
Q82799
USER
Who is associated with that person ?
(Q10843402,P734,c(Q82799))
action filter_type
action find
entity Q7114682
relation P734
type Q82799
['Q10843402', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q7114682 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Owen Von Richter
action filter_type
action find
entity Owen Von Richter
relation family name
type name
['swimmer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Owen_Von_Richter property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q7941505
SYSTEM
Von Richter
Q7941505
(Q10843402,P734,c(Q82799))
action filter_type
action find
entity Q7114682
relation P734
type Q82799
[ANSWER] is associated with that person
['Q10843402', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q7114682 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Von Richter
Von Richter is associated with that person
Von Richter
action filter_type
action find
entity Owen Von Richter
relation family name
type name
['swimmer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Owen_Von_Richter property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7114682
P19
Q2089229
USER
Which city in Alberta was that person born in ?
(Q7941505,P19,c(Q2089229))
action filter_type
action find
entity Q7114682
relation P19
type Q2089229
['Q7941505', 'P19', {'concept': 'Q2089229'}]
SELECT DISTINCT ?v WHERE { resource:Q7114682 property:P19 ?v . ?v rdf:type ontology:Q2089229 }
Owen Von Richter
action filter_type
action find
entity Owen Von Richter
relation place of birth
type city in Alberta
['Von Richter', 'place of birth', {'concept': 'city in Alberta'}]
SELECT DISTINCT ?v WHERE { resource:Owen_Von_Richter property:place_of_birth ?v . ?v rdf:type ontology:city_in_Alberta }
[]
city in Alberta
Q36312
SYSTEM
Calgary
Q36312
(Q7941505,P19,c(Q2089229))
action filter_type
action find
entity Q7114682
relation P19
type Q2089229
Which city in Alberta was that person born in
['Q7941505', 'P19', {'concept': 'Q2089229'}]
SELECT DISTINCT ?v WHERE { resource:Q7114682 property:P19 ?v . ?v rdf:type ontology:Q2089229 }
Calgary
Which city in Alberta was that person born in
Calgary
action filter_type
action find
entity Owen Von Richter
relation place of birth
type city in Alberta
['Von Richter', 'place of birth', {'concept': 'city in Alberta'}]
SELECT DISTINCT ?v WHERE { resource:Owen_Von_Richter property:place_of_birth ?v . ?v rdf:type ontology:city_in_Alberta }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7114682
P69
Q3918
USER
Which university is the alma mater of Owen Von Richter ?
(Q7114682,P69,c(Q3918))
action filter_type
action find
entity Q7114682
relation P69
type Q3918
['Q7114682', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?q WHERE { resource:Q7114682 property:P69 ?q . ?q rdf:type ontology:Q3918 }
Owen Von Richter
action filter_type
action find
entity Owen Von Richter
relation educated at
type university
['Owen Von Richter', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?q WHERE { resource:Owen_Von_Richter property:educated_at ?q . ?q rdf:type ontology:university }
[]
university
Q230492
SYSTEM
University of Michigan
Q230492
(Q7114682,P69,c(Q3918))
action filter_type
action find
entity Q7114682
relation P69
type Q3918
The [ANSWER] is the alma mater of Owen Von Richter
['Q7114682', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?q WHERE { resource:Q7114682 property:P69 ?q . ?q rdf:type ontology:Q3918 }
University of Michigan
The University of Michigan is the alma mater of Owen Von Richter
University of Michigan
action filter_type
action find
entity Owen Von Richter
relation educated at
type university
['Owen Von Richter', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?q WHERE { resource:Owen_Von_Richter property:educated_at ?q . ?q rdf:type ontology:university }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6012879 Q7114682
P69
Q3918
USER
Or Michael Roll?
OR((Q7114682,P69,c(Q3918)), (Q6012879,P69,c(Q3918)))
action filter_type
action union
action find
entity Q7114682
relation P69
action find
entity Q6012879
relation P69
type Q3918
{'OR': [['Q7114682', 'P69', {'concept': 'Q3918'}], ['Q6012879', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?r WHERE { { ?q property:P69 ?r . VALUES ( ?q ) { ( resource:Q7114682 ) ( resource:Q6012879 ) } } . ?r rdf:type ontology:Q3918 }
Michael Roll Owen Von Richter
action filter_type
action union
action find
entity Owen Von Richter
relation educated at
action find
entity Michael Roll
relation educated at
type university
{'OR': [['Owen Von Richter', 'educated at', {'concept': 'university'}], ['Michael Roll', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?r WHERE { { ?q property:educated_at ?r . VALUES ( ?q ) { ( resource:Owen_Von_Richter ) ( resource:Michael_Roll ) } } . ?r rdf:type ontology:university }
[]
university
Q230492 Q174710
SYSTEM
University of Michigan, University of California, Los Angeles
Q230492 Q174710
OR((Q7114682,P69,c(Q3918)), (Q6012879,P69,c(Q3918)))
action filter_type
action union
action find
entity Q7114682
relation P69
action find
entity Q6012879
relation P69
type Q3918
[ANSWERS]
{'OR': [['Q7114682', 'P69', {'concept': 'Q3918'}], ['Q6012879', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?r WHERE { { ?q property:P69 ?r . VALUES ( ?q ) { ( resource:Q7114682 ) ( resource:Q6012879 ) } } . ?r rdf:type ontology:Q3918 }
University of Michigan University of California, Los Angeles
University of Michigan University of California, Los Angeles
action filter_type
action union
action find
entity Owen Von Richter
relation educated at
action find
entity Michael Roll
relation educated at
type university
{'OR': [['Owen Von Richter', 'educated at', {'concept': 'university'}], ['Michael Roll', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?r WHERE { { ?q property:educated_at ?r . VALUES ( ?q ) { ( resource:Owen_Von_Richter ) ( resource:Michael_Roll ) } } . ?r rdf:type ontology:university }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q151885 Q17335294 Q3305213
USER
Which concepts are expressed in around 111 coats of arms and paintings ?
(c(Q17335294)|c(Q3305213),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3305213
value 111
[[{'concept': 'Q17335294'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q3305213 ) ( ontology:Q17335294 ) } } GROUP BY ?e } . FILTER ( ?y = 111 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type concept
type painting
value 111
[[{'concept': 'flag or coat of arms'}, {'concept': 'painting'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:painting ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?e } . FILTER ( ?y = 111 ) }
[]
concept flag or coat of arms painting
Q467 Q527
SYSTEM
woman, sky
Q467 Q527
(c(Q17335294)|c(Q3305213),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3305213
value 111
[ANSWERS] are expressed in around 111 coats of arms and paintings
[[{'concept': 'Q17335294'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q3305213 ) ( ontology:Q17335294 ) } } GROUP BY ?e } . FILTER ( ?y = 111 ) }
woman sky
Woman and sky are expressed in around 111 coats of arms and paintings
woman sky
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type concept
type painting
value 111
[[{'concept': 'flag or coat of arms'}, {'concept': 'painting'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:painting ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?e } . FILTER ( ?y = 111 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P636
Q151885 Q3249551 Q12136
USER
How many concepts are the routes of administration of around 3 processes and diseases ?
(c(Q3249551)|c(Q12136),P636,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
value 3
[[{'concept': 'Q3249551'}, {'concept': 'Q12136'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P636 ?i . ?i rdf:type ontology:Q151885 . ?y rdf:type ontology:Q12136 } UNION { ?y property:P636 ?i . ?y rdf:type ontology:Q3249551 . ?i rdf:type ontology:Q151885 } } GROUP BY ?i } . FILTER ( ?r = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
value 3
[[{'concept': 'process'}, {'concept': 'disease'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:route_of_administration ?i . ?i rdf:type ontology:concept . ?y rdf:type ontology:disease } UNION { ?y property:route_of_administration ?i . ?y rdf:type ontology:process . ?i rdf:type ontology:concept } } GROUP BY ?i } . FILTER ( ?r = 3 ) }
[]
concept process disease
SYSTEM
4
Q21074571 Q640448 Q1663054 Q10268830
(c(Q3249551)|c(Q12136),P636,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
value 3
[ANSWER]
[[{'concept': 'Q3249551'}, {'concept': 'Q12136'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P636 ?i . ?i rdf:type ontology:Q151885 . ?y rdf:type ontology:Q12136 } UNION { ?y property:P636 ?i . ?y rdf:type ontology:Q3249551 . ?i rdf:type ontology:Q151885 } } GROUP BY ?i } . FILTER ( ?r = 3 ) }
eye contact intravenous infusion ingestion inhalation
4
action count
action approx
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
value 3
[[{'concept': 'process'}, {'concept': 'disease'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:route_of_administration ?i . ?i rdf:type ontology:concept . ?y rdf:type ontology:disease } UNION { ?y property:route_of_administration ?i . ?y rdf:type ontology:process . ?i rdf:type ontology:concept } } GROUP BY ?i } . FILTER ( ?r = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q151885 Q82799
USER
Which names have max number of concepts as their toponym ?
(c(Q82799),P138,c(Q151885))
action argmax
action find_tuple_counts
relation P138
type Q82799
type Q151885
[{'concept': 'Q82799'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?l ) { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?m ) WHERE { ?d property:P138 ?a . ?a rdf:type ontology:Q151885 . ?d rdf:type ontology:Q82799 } GROUP BY ?d } } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?b ) WHERE { ?x property:P138 ?n . ?x rdf:type ontology:Q82799 . ?n rdf:type ontology:Q151885 } GROUP BY ?x } }
action argmax
action find_tuple_counts
relation named after
type name
type concept
[{'concept': 'name'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?l ) { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?m ) WHERE { ?d property:named_after ?a . ?a rdf:type ontology:concept . ?d rdf:type ontology:name } GROUP BY ?d } } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?b ) WHERE { ?x property:named_after ?n . ?x rdf:type ontology:name . ?n rdf:type ontology:concept } GROUP BY ?x } }
[]
concept name
Q13626156
SYSTEM
Ackermann
Q13626156
(c(Q82799),P138,c(Q151885))
action argmax
action find_tuple_counts
relation P138
type Q82799
type Q151885
[ANSWER] have max number of concepts as their toponym
[{'concept': 'Q82799'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?l ) { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?m ) WHERE { ?d property:P138 ?a . ?a rdf:type ontology:Q151885 . ?d rdf:type ontology:Q82799 } GROUP BY ?d } } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?b ) WHERE { ?x property:P138 ?n . ?x rdf:type ontology:Q82799 . ?n rdf:type ontology:Q151885 } GROUP BY ?x } }
Ackermann
Ackermann have max number of concepts as their toponym
Ackermann
action argmax
action find_tuple_counts
relation named after
type name
type concept
[{'concept': 'name'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?l ) { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?m ) WHERE { ?d property:named_after ?a . ?a rdf:type ontology:concept . ?d rdf:type ontology:name } GROUP BY ?d } } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?b ) WHERE { ?x property:named_after ?n . ?x rdf:type ontology:name . ?n rdf:type ontology:concept } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3438108 Q7114682
P27
Q1048835
USER
Which political territories are Owen Von Richter or Rod Taylor a civilian of ?
OR((Q7114682,P27,c(Q1048835)), (Q3438108,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7114682
relation P27
action find
entity Q3438108
relation P27
type Q1048835
{'OR': [['Q7114682', 'P27', {'concept': 'Q1048835'}], ['Q3438108', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { ?d property:P27 ?j . VALUES ( ?d ) { ( resource:Q7114682 ) ( resource:Q3438108 ) } } . ?j rdf:type ontology:Q1048835 }
Rod Taylor Owen Von Richter
action filter_type
action union
action find
entity Owen Von Richter
relation country of citizenship
action find
entity Rod Taylor
relation country of citizenship
type political territorial entity
{'OR': [['Owen Von Richter', 'country of citizenship', {'concept': 'political territorial entity'}], ['Rod Taylor', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?d property:country_of_citizenship ?j . VALUES ( ?d ) { ( resource:Owen_Von_Richter ) ( resource:Rod_Taylor ) } } . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q766
SYSTEM
Canada, Jamaica
Q16 Q766
OR((Q7114682,P27,c(Q1048835)), (Q3438108,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7114682
relation P27
action find
entity Q3438108
relation P27
type Q1048835
[ANSWERS] are Owen Von Richter or Rod Taylor a civilian of
{'OR': [['Q7114682', 'P27', {'concept': 'Q1048835'}], ['Q3438108', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { ?d property:P27 ?j . VALUES ( ?d ) { ( resource:Q7114682 ) ( resource:Q3438108 ) } } . ?j rdf:type ontology:Q1048835 }
Canada Jamaica
Canada and Jamaica are Owen Von Richter or Rod Taylor a civilian of
Canada Jamaica
action filter_type
action union
action find
entity Owen Von Richter
relation country of citizenship
action find
entity Rod Taylor
relation country of citizenship
type political territorial entity
{'OR': [['Owen Von Richter', 'country of citizenship', {'concept': 'political territorial entity'}], ['Rod Taylor', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?d property:country_of_citizenship ?j . VALUES ( ?d ) { ( resource:Owen_Von_Richter ) ( resource:Rod_Taylor ) } } . ?j rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6419310
P27
Q502895
USER
Are Kjeld Gogosha-Clark a citizen of those political territories ?
(Q6419310,P27,Q16) (Q6419310,P27,Q766)
action is_in
entity prev_answer
action find
entity Q6419310
relation P27
['Q6419310', 'P27', 'Q16'] ['Q6419310', 'P27', 'Q766']
ASK WHERE { VALUES ( ?d ) { ( resource:Q16 ) ( resource:Q766 ) } . resource:Q6419310 property:P27 ?d }
Kjeld Gogosha-Clark
action is_in
entity prev_answer
action find
entity Kjeld Gogosha-Clark
relation country of citizenship
['Kjeld Gogosha-Clark', 'country of citizenship', 'Canada'] ['Kjeld Gogosha-Clark', 'country of citizenship', 'Jamaica']
ASK WHERE { VALUES ( ?d ) { ( resource:Canada ) ( resource:Jamaica ) } . resource:Kjeld_Gogosha-Clark property:country_of_citizenship ?d }
[]
common name
SYSTEM
NO
(Q6419310,P27,Q16) (Q6419310,P27,Q766)
action is_in
entity prev_answer
action find
entity Q6419310
relation P27
[ANSWER]
['Q6419310', 'P27', 'Q16'] ['Q6419310', 'P27', 'Q766']
ASK WHERE { VALUES ( ?d ) { ( resource:Q16 ) ( resource:Q766 ) } . resource:Q6419310 property:P27 ?d }
No
action is_in
entity prev_answer
action find
entity Kjeld Gogosha-Clark
relation country of citizenship
['Kjeld Gogosha-Clark', 'country of citizenship', 'Canada'] ['Kjeld Gogosha-Clark', 'country of citizenship', 'Jamaica']
ASK WHERE { VALUES ( ?d ) { ( resource:Canada ) ( resource:Jamaica ) } . resource:Kjeld_Gogosha-Clark property:country_of_citizenship ?d }
[]