Simple Question (Direct)
Simple Question
Q235796
P734
Q82799
USER
Which name is associated with Vsevolod Miller ?
(Q235796,P734,c(Q82799))
action filter_type
action find
entity Q235796
relation P734
type Q82799
['Q235796', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q235796 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Vsevolod Miller
action filter_type
action find
entity Vsevolod Miller
relation family name
type name
['Vsevolod Miller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Vsevolod_Miller property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q1605060
SYSTEM
Miller
Q1605060
(Q235796,P734,c(Q82799))
action filter_type
action find
entity Q235796
relation P734
type Q82799
[ANSWER] is associated with Vsevolod [ANSWER]
['Q235796', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q235796 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Miller
Miller is associated with Vsevolod Miller
Miller
action filter_type
action find
entity Vsevolod Miller
relation family name
type name
['Vsevolod Miller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Vsevolod_Miller property:family_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235796
P184
Q502895
USER
Who has that one as doctor advisor ?
(c(Q502895),P184,Q1605060)
action filter_type
action find_reverse
entity Q235796
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q1605060']
SELECT DISTINCT ?i WHERE { ?i property:P184 resource:Q235796 . ?i rdf:type ontology:Q502895 }
Vsevolod Miller
action filter_type
action find_reverse
entity Vsevolod Miller
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Miller']
SELECT DISTINCT ?i WHERE { ?i property:doctoral_advisor resource:Vsevolod_Miller . ?i rdf:type ontology:common_name }
[]
common name
Q4519851
SYSTEM
Sergei Shambinago
Q4519851
(c(Q502895),P184,Q1605060)
action filter_type
action find_reverse
entity Q235796
relation P184
type Q502895
[ANSWER] has that one as doctor advisor
[{'concept': 'Q502895'}, 'P184', 'Q1605060']
SELECT DISTINCT ?i WHERE { ?i property:P184 resource:Q235796 . ?i rdf:type ontology:Q502895 }
Sergei Shambinago
Sergei Shambinago has that one as doctor advisor
Sergei Shambinago
action filter_type
action find_reverse
entity Vsevolod Miller
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Miller']
SELECT DISTINCT ?i WHERE { ?i property:doctoral_advisor resource:Vsevolod_Miller . ?i rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5
P180
Q82799 Q11060274 Q15709879
USER
How many names are expressed in less number of prints and artwork series than human ?
(c(Q11060274)|c(Q15709879),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q5
relation P180
type Q11060274
type Q15709879
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?p WHERE { VALUES ( ?d ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } . ?w rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { { ?u rdf:type ontology:Q11060274 } UNION { ?u rdf:type ontology:Q15709879 } } . ?u property:P180 resource:Q5 } } . FILTER ( ?l < ?s ) }
human
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity human
relation depicts
type print
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?p WHERE { VALUES ( ?d ) { ( ontology:print ) ( ontology:artwork_series ) } . ?w rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { { ?u rdf:type ontology:print } UNION { ?u rdf:type ontology:artwork_series } } . ?u property:depicts resource:human } } . FILTER ( ?l < ?s ) }
[]
name print artwork series
SYSTEM
54
Q13219075 Q134609 Q726 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(Q11060274)|c(Q15709879),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q5
relation P180
type Q11060274
type Q15709879
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?p WHERE { VALUES ( ?d ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } . ?w rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { { ?u rdf:type ontology:Q11060274 } UNION { ?u rdf:type ontology:Q15709879 } } . ?u property:P180 resource:Q5 } } . FILTER ( ?l < ?s ) }
octopus Cynara scolymus horse 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 less
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity human
relation depicts
type print
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?p WHERE { VALUES ( ?d ) { ( ontology:print ) ( ontology:artwork_series ) } . ?w rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { { ?u rdf:type ontology:print } UNION { ?u rdf:type ontology:artwork_series } } . ?u property:depicts resource:human } } . FILTER ( ?l < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1367
P180
Q82799 Q11060274 Q15709879
USER
And what about monkey?
(c(Q11060274)|c(Q15709879),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1367
relation P180
type Q11060274
type Q15709879
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:P180 ?o . ?o rdf:type ontology:Q82799 . ?g rdf:type ontology:Q11060274 } UNION { ?g property:P180 ?o . ?o rdf:type ontology:Q82799 . ?g rdf:type ontology:Q15709879 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P180 resource:Q1367 . { { ?m rdf:type ontology:Q11060274 } UNION { ?m rdf:type ontology:Q15709879 } } } } . FILTER ( ?r < ?u ) }
monkey
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity monkey
relation depicts
type print
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:depicts ?o . ?o rdf:type ontology:name . ?g rdf:type ontology:print } UNION { ?g property:depicts ?o . ?o rdf:type ontology:name . ?g rdf:type ontology:artwork_series } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:depicts resource:monkey . { { ?m rdf:type ontology:print } UNION { ?m rdf:type ontology:artwork_series } } } } . FILTER ( ?r < ?u ) }
[]
name print artwork series
SYSTEM
45
Q13219075 Q134609 Q6453151 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q15709879),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1367
relation P180
type Q11060274
type Q15709879
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:P180 ?o . ?o rdf:type ontology:Q82799 . ?g rdf:type ontology:Q11060274 } UNION { ?g property:P180 ?o . ?o rdf:type ontology:Q82799 . ?g rdf:type ontology:Q15709879 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P180 resource:Q1367 . { { ?m rdf:type ontology:Q11060274 } UNION { ?m rdf:type ontology:Q15709879 } } } } . FILTER ( ?r < ?u ) }
octopus Cynara scolymus toad mule wolf Partridge sugarcane shrimp dolphin eagle butterfly trout cattle goose Boy cannoneer leek fox raven hawk frog donkeys whale clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo fly jay
45
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action count
action filter_multi_types
action find_reverse
entity monkey
relation depicts
type print
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:depicts ?o . ?o rdf:type ontology:name . ?g rdf:type ontology:print } UNION { ?g property:depicts ?o . ?o rdf:type ontology:name . ?g rdf:type ontology:artwork_series } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:depicts resource:monkey . { { ?m rdf:type ontology:print } UNION { ?m rdf:type ontology:artwork_series } } } } . FILTER ( ?r < ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4519851
P119
Q43229
USER
Which organization is the resting place of Sergei Shambinago ?
(Q4519851,P119,c(Q43229))
action filter_type
action find
entity Q4519851
relation P119
type Q43229
['Q4519851', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q4519851 property:P119 ?t . ?t rdf:type ontology:Q43229 }
Sergei Shambinago
action filter_type
action find
entity Sergei Shambinago
relation place of burial
type organization
['Sergei Shambinago', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:Sergei_Shambinago property:place_of_burial ?t . ?t rdf:type ontology:organization }
[]
organization
Q1517387
SYSTEM
Vvedenskoye Cemetery
Q1517387
(Q4519851,P119,c(Q43229))
action filter_type
action find
entity Q4519851
relation P119
type Q43229
[ANSWER] is the resting place of Sergei Shambinago
['Q4519851', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q4519851 property:P119 ?t . ?t rdf:type ontology:Q43229 }
Vvedenskoye Cemetery
Vvedenskoye Cemetery is the resting place of Sergei Shambinago
Vvedenskoye Cemetery
action filter_type
action find
entity Sergei Shambinago
relation place of burial
type organization
['Sergei Shambinago', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:Sergei_Shambinago property:place_of_burial ?t . ?t rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4519851
P27
Q7275
USER
Which state is Sergei Shambinago a civilian of ?
(Q4519851,P27,c(Q7275))
action filter_type
action find
entity Q4519851
relation P27
type Q7275
['Q4519851', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q4519851 property:P27 ?x . ?x rdf:type ontology:Q7275 }
Sergei Shambinago
action filter_type
action find
entity Sergei Shambinago
relation country of citizenship
type state
['Sergei Shambinago', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Sergei_Shambinago property:country_of_citizenship ?x . ?x rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4519851,P27,c(Q7275))
action filter_type
action find
entity Q4519851
relation P27
type Q7275
The [ANSWER] is Sergei Shambinago a civilian of
['Q4519851', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q4519851 property:P27 ?x . ?x rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is Sergei Shambinago a civilian of
Soviet Union
action filter_type
action find
entity Sergei Shambinago
relation country of citizenship
type state
['Sergei Shambinago', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Sergei_Shambinago property:country_of_citizenship ?x . ?x rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4519851
P19
Q56061
USER
Which administrative territory is the birthplace of Sergei Shambinago ?
(Q4519851,P19,c(Q56061))
action filter_type
action find
entity Q4519851
relation P19
type Q56061
['Q4519851', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q4519851 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Sergei Shambinago
action filter_type
action find
entity Sergei Shambinago
relation place of birth
type administrative territorial entity
['Sergei Shambinago', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Sergei_Shambinago property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4519851,P19,c(Q56061))
action filter_type
action find
entity Q4519851
relation P19
type Q56061
[ANSWER] is the birthplace of Sergei Shambinago
['Q4519851', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q4519851 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Moscow
Moscow is the birthplace of Sergei Shambinago
Moscow
action filter_type
action find
entity Sergei Shambinago
relation place of birth
type administrative territorial entity
['Sergei Shambinago', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Sergei_Shambinago property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q649 Q6432354 Q3805
P190
Q56061
USER
Is that administrative territory twin city of Korlar and Amman ?
(Q649,P190,Q6432354) (Q649,P190,Q3805)
action is_in
entity Q649
action intersection
action find_reverse
entity Q6432354
relation P190
action find_reverse
entity Q3805
relation P190
['Q649', 'P190', 'Q6432354'] ['Q649', 'P190', 'Q3805']
ASK WHERE { resource:Q649 property:P190 resource:Q6432354 . resource:Q649 property:P190 resource:Q3805 }
Moscow Korlar Amman
action is_in
entity Moscow
action intersection
action find_reverse
entity Korlar
relation sister city
action find_reverse
entity Amman
relation sister city
['Moscow', 'sister city', 'Korlar'] ['Moscow', 'sister city', 'Amman']
ASK WHERE { resource:Moscow property:sister_city resource:Korlar . resource:Moscow property:sister_city resource:Amman }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q649,P190,Q6432354) (Q649,P190,Q3805)
action is_in
entity Q649
action intersection
action find_reverse
entity Q6432354
relation P190
action find_reverse
entity Q3805
relation P190
[ANSWER]
['Q649', 'P190', 'Q6432354'] ['Q649', 'P190', 'Q3805']
ASK WHERE { resource:Q649 property:P190 resource:Q6432354 . resource:Q649 property:P190 resource:Q3805 }
NO and YES respectively
action is_in
entity Moscow
action intersection
action find_reverse
entity Korlar
relation sister city
action find_reverse
entity Amman
relation sister city
['Moscow', 'sister city', 'Korlar'] ['Moscow', 'sister city', 'Amman']
ASK WHERE { resource:Moscow property:sister_city resource:Korlar . resource:Moscow property:sister_city resource:Amman }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P921
Q205464
USER
Which algebraic structure is Soviet Union a main subject of ?
(c(Q205464),P921,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P921
type Q205464
[{'concept': 'Q205464'}, 'P921', 'Q15180']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q15180 . ?m rdf:type ontology:Q205464 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation main subject
type algebraic structure
[{'concept': 'algebraic structure'}, 'main subject', 'Soviet Union']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Soviet_Union . ?m rdf:type ontology:algebraic_structure }
[]
algebraic structure
Q7571815
SYSTEM
Soviet women in World War II
Q7571815
(c(Q205464),P921,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P921
type Q205464
The [ANSWER] is Soviet Union a main subject of
[{'concept': 'Q205464'}, 'P921', 'Q15180']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q15180 . ?m rdf:type ontology:Q205464 }
Soviet women in World War II
The Soviet women in World War II is Soviet Union a main subject of
Soviet women in World War II
action filter_type
action find_reverse
entity Soviet Union
relation main subject
type algebraic structure
[{'concept': 'algebraic structure'}, 'main subject', 'Soviet Union']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Soviet_Union . ?m rdf:type ontology:algebraic_structure }
[]