Simple Question (Direct)
Simple Question
Q4833986
P21
Q290
USER
Which sex does B. G. Dyess belong to ?
(Q4833986,P21,c(Q290))
action filter_type
action find
entity Q4833986
relation P21
type Q290
['Q4833986', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4833986 property:P21 ?v . ?v rdf:type ontology:Q290 }
B. G. Dyess
action filter_type
action find
entity B. G. Dyess
relation gender
type sex
['B. G. Dyess', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:B._G._Dyess property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4833986,P21,c(Q290))
action filter_type
action find
entity Q4833986
relation P21
type Q290
B. G. Dyess belongs to [ANSWER]
['Q4833986', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4833986 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
B. G. Dyess belongs to male
male
action filter_type
action find
entity B. G. Dyess
relation gender
type sex
['B. G. Dyess', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:B._G._Dyess property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4833986
P735
Q82799
USER
Which name is B. G. Dyess known by ?
(Q4833986,P735,c(Q82799))
action filter_type
action find
entity Q4833986
relation P735
type Q82799
['Q4833986', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q4833986 property:P735 ?p . ?p rdf:type ontology:Q82799 }
B. G. Dyess
action filter_type
action find
entity B. G. Dyess
relation given name
type name
['B. G. Dyess', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:B._G._Dyess property:given_name ?p . ?p rdf:type ontology:name }
[]
name
Q19803497
SYSTEM
B.
Q19803497
(Q4833986,P735,c(Q82799))
action filter_type
action find
entity Q4833986
relation P735
type Q82799
Which name is [ANSWER] G. Dyess known by
['Q4833986', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q4833986 property:P735 ?p . ?p rdf:type ontology:Q82799 }
B.
Which name is B. G. Dyess known by
B.
action filter_type
action find
entity B. G. Dyess
relation given name
type name
['B. G. Dyess', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:B._G._Dyess property:given_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19613620
Q82799
USER
And what about R.C. Buyers?
(Q19613620,P735,c(Q82799))
action filter_type
action find
entity Q19613620
relation P735
type Q82799
['Q19613620', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q19613620 property:P735 ?h . ?h rdf:type ontology:Q82799 }
R.C. Buyers
action filter_type
action find
entity R.C. Buyers
relation given name
type name
['R.C. Buyers', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:R.C._Buyers property:given_name ?h . ?h rdf:type ontology:name }
[]
name
Q19803517
SYSTEM
R.
Q19803517
(Q19613620,P735,c(Q82799))
action filter_type
action find
entity Q19613620
relation P735
type Q82799
[ANSWER]
['Q19613620', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q19613620 property:P735 ?h . ?h rdf:type ontology:Q82799 }
R.
R.
action filter_type
action find
entity R.C. Buyers
relation given name
type name
['R.C. Buyers', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:R.C._Buyers property:given_name ?h . ?h rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q1792379 Q15709879
USER
How many names are depicted in atmost 7 art genres or artwork series ?
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 7
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:Q15709879 ) ( ontology:Q1792379 ) } . ?e rdf:type ?b } GROUP BY ?y } . FILTER ( ?p <= 7 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 7
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:artwork_series ) ( ontology:art_genre ) } . ?e rdf:type ?b } GROUP BY ?y } . FILTER ( ?p <= 7 ) }
[]
name art genre artwork series
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 7
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:Q15709879 ) ( ontology:Q1792379 ) } . ?e rdf:type ?b } GROUP BY ?y } . FILTER ( ?p <= 7 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 7
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:artwork_series ) ( ontology:art_genre ) } . ?e rdf:type ?b } GROUP BY ?y } . FILTER ( ?p <= 7 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q874405 Q8436 Q82799
USER
Which names are parts of atleast 1 social groups and families ?
(c(Q82799),P361,c(Q874405)|c(Q8436))
action atleast
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q8436
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { { ?o property:P361 ?t . ?o rdf:type ontology:Q82799 . ?t rdf:type ontology:Q874405 } UNION { ?o rdf:type ontology:Q82799 . ?t rdf:type ontology:Q8436 . ?o property:P361 ?t } } GROUP BY ?o } . FILTER ( ?g >= 1 ) }
action atleast
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type family
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'family'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { { ?o property:part_of ?t . ?o rdf:type ontology:name . ?t rdf:type ontology:social_group } UNION { ?o rdf:type ontology:name . ?t rdf:type ontology:family . ?o property:part_of ?t } } GROUP BY ?o } . FILTER ( ?g >= 1 ) }
[]
social group family name
Q235598 Q742083 Q1557998
SYSTEM
Piso, Princes of Paliano, Gyalwang Drukpa
Q235598 Q742083 Q1557998
(c(Q82799),P361,c(Q874405)|c(Q8436))
action atleast
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q8436
value 1
[ANSWERS] are parts of atleast 1 social groups and families
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { { ?o property:P361 ?t . ?o rdf:type ontology:Q82799 . ?t rdf:type ontology:Q874405 } UNION { ?o rdf:type ontology:Q82799 . ?t rdf:type ontology:Q8436 . ?o property:P361 ?t } } GROUP BY ?o } . FILTER ( ?g >= 1 ) }
Piso Princes of Paliano Gyalwang Drukpa
Piso, Princes of Paliano and Gyalwang Drukpa are parts of atleast 1 social groups and families
Piso Princes of Paliano Gyalwang Drukpa
action atleast
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type family
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'family'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { { ?o property:part_of ?t . ?o rdf:type ontology:name . ?t rdf:type ontology:social_group } UNION { ?o rdf:type ontology:name . ?t rdf:type ontology:family . ?o property:part_of ?t } } GROUP BY ?o } . FILTER ( ?g >= 1 ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27664891
Q12737077
USER
And also tell me about Judge Brown?
(Q27664891,P106,c(Q12737077))
action filter_type
action find
entity Q27664891
relation P106
type Q12737077
['Q27664891', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q27664891 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Judge Brown
action filter_type
action find
entity Judge Brown
relation occupation
type occupation
['Judge Brown', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Judge_Brown property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q16533
SYSTEM
judge
Q16533
(Q27664891,P106,c(Q12737077))
action filter_type
action find
entity Q27664891
relation P106
type Q12737077
[ANSWER]
['Q27664891', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q27664891 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
judge
judge
action filter_type
action find
entity Judge Brown
relation occupation
type occupation
['Judge Brown', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Judge_Brown property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27664891
P734
Q82799
USER
Which name is associated with that fictional humanoid ?
(Q16533,P734,c(Q82799))
action filter_type
action find
entity Q27664891
relation P734
type Q82799
['Q16533', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q27664891 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Judge Brown
action filter_type
action find
entity Judge Brown
relation family name
type name
['judge', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Judge_Brown property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q13421990
SYSTEM
Brown
Q13421990
(Q16533,P734,c(Q82799))
action filter_type
action find
entity Q27664891
relation P734
type Q82799
[ANSWER] is associated with that fictional humanoid
['Q16533', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q27664891 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Brown
Brown is associated with that fictional humanoid
Brown
action filter_type
action find
entity Judge Brown
relation family name
type name
['judge', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Judge_Brown property:family_name ?r . ?r rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13421990 Q172236
P734
Q502895
USER
Does Alan Brown have that one as their family name ?
(Q172236,P734,Q13421990)
action is_in
entity Q13421990
action find
entity Q172236
relation P734
['Q172236', 'P734', 'Q13421990']
ASK WHERE { resource:Q172236 property:P734 resource:Q13421990 }
Brown Alan Brown
action is_in
entity Brown
action find
entity Alan Brown
relation family name
['Alan Brown', 'family name', 'Brown']
ASK WHERE { resource:Alan_Brown property:family_name resource:Brown }
[]
common name
SYSTEM
YES
(Q172236,P734,Q13421990)
action is_in
entity Q13421990
action find
entity Q172236
relation P734
[ANSWER]
['Q172236', 'P734', 'Q13421990']
ASK WHERE { resource:Q172236 property:P734 resource:Q13421990 }
Yes
action is_in
entity Brown
action find
entity Alan Brown
relation family name
['Alan Brown', 'family name', 'Brown']
ASK WHERE { resource:Alan_Brown property:family_name resource:Brown }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4833986
P39
Q12737077
USER
Which occupation was a position for which B. G. Dyess was appointed ?
(Q4833986,P39,c(Q12737077))
action filter_type
action find
entity Q4833986
relation P39
type Q12737077
['Q4833986', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q4833986 property:P39 ?f }
B. G. Dyess
action filter_type
action find
entity B. G. Dyess
relation position held
type occupation
['B. G. Dyess', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:B._G._Dyess property:position_held ?f }
[]
occupation
Q18091440
SYSTEM
member of the State Senate of Louisiana
Q18091440
(Q4833986,P39,c(Q12737077))
action filter_type
action find
entity Q4833986
relation P39
type Q12737077
A [ANSWER] was a position for which B. G. Dyess was appointed
['Q4833986', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q4833986 property:P39 ?f }
member of the State Senate of Louisiana
A member of the State Senate of Louisiana was a position for which B. G. Dyess was appointed
member of the State Senate of Louisiana
action filter_type
action find
entity B. G. Dyess
relation position held
type occupation
['B. G. Dyess', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:B._G._Dyess property:position_held ?f }
[]