Simple Question (Direct)
Simple Question
Q4074737
P166
Q1788716
USER
What were won by Andrey Baghdassarov ?
(Q4074737,P166,c(Q1788716))
action filter_type
action find
entity Q4074737
relation P166
type Q1788716
['Q4074737', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?d WHERE { resource:Q4074737 property:P166 ?d . ?d rdf:type ontology:Q1788716 }
Andrey Baghdassarov
action filter_type
action find
entity Andrey Baghdassarov
relation award received
type military decoration
['Andrey Baghdassarov', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?d WHERE { resource:Andrey_Baghdassarov property:award_received ?d . ?d rdf:type ontology:military_decoration }
[]
military decoration
Q1069798 Q278798
SYSTEM
Medal "For the Defence of Moscow", Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
Q1069798 Q278798
(Q4074737,P166,c(Q1788716))
action filter_type
action find
entity Q4074737
relation P166
type Q1788716
The [ANSWERS] were won by Andrey Baghdassarov
['Q4074737', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?d WHERE { resource:Q4074737 property:P166 ?d . ?d rdf:type ontology:Q1788716 }
Medal "For the Defence of Moscow" Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
The Medal "For the Defence of Moscow" and Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" were won by Andrey Baghdassarov
Medal "For the Defence of Moscow" Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
action filter_type
action find
entity Andrey Baghdassarov
relation award received
type military decoration
['Andrey Baghdassarov', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?d WHERE { resource:Andrey_Baghdassarov property:award_received ?d . ?d rdf:type ontology:military_decoration }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4074737
P108
Q895526
USER
Which authority organ is the employer of that person ?
(Q1069798,P108,c(Q895526)) (Q278798,P108,c(Q895526))
action filter_type
action find
entity Q4074737
relation P108
type Q895526
['Q1069798', 'P108', {'concept': 'Q895526'}] ['Q278798', 'P108', {'concept': 'Q895526'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q895526 . resource:Q4074737 property:P108 ?q }
Andrey Baghdassarov
action filter_type
action find
entity Andrey Baghdassarov
relation employer
type authority organ
['Medal "For the Defence of Moscow"', 'employer', {'concept': 'authority organ'}] ['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'employer', {'concept': 'authority organ'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:authority_organ . resource:Andrey_Baghdassarov property:employer ?q }
[]
authority organ
Q6867098
SYSTEM
USSR Ministry of Health
Q6867098
(Q1069798,P108,c(Q895526)) (Q278798,P108,c(Q895526))
action filter_type
action find
entity Q4074737
relation P108
type Q895526
[ANSWER] is the employer of that person
['Q1069798', 'P108', {'concept': 'Q895526'}] ['Q278798', 'P108', {'concept': 'Q895526'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q895526 . resource:Q4074737 property:P108 ?q }
USSR Ministry of Health
USSR Ministry of Health is the employer of that person
USSR Ministry of Health
action filter_type
action find
entity Andrey Baghdassarov
relation employer
type authority organ
['Medal "For the Defence of Moscow"', 'employer', {'concept': 'authority organ'}] ['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'employer', {'concept': 'authority organ'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:authority_organ . resource:Andrey_Baghdassarov property:employer ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1069798
P17
Q7275
USER
Which state is Medal "For the Defence of Moscow" situated in ?
(Q1069798,P17,c(Q7275))
action filter_type
action find
entity Q1069798
relation P17
type Q7275
['Q1069798', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q1069798 property:P17 ?x . ?x rdf:type ontology:Q7275 }
Medal "For the Defence of Moscow"
action filter_type
action find
entity Medal "For the Defence of Moscow"
relation country
type state
['Medal "For the Defence of Moscow"', 'country', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Medal_"For_the_Defence_of_Moscow" property:country ?x . ?x rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q1069798,P17,c(Q7275))
action filter_type
action find
entity Q1069798
relation P17
type Q7275
Which state is Medal "For the Defence of Moscow" situated in
['Q1069798', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q1069798 property:P17 ?x . ?x rdf:type ontology:Q7275 }
Soviet Union
Which state is Medal "For the Defence of Moscow" situated in
Soviet Union
action filter_type
action find
entity Medal "For the Defence of Moscow"
relation country
type state
['Medal "For the Defence of Moscow"', 'country', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Medal_"For_the_Defence_of_Moscow" property:country ?x . ?x rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q7275 Q486972
USER
How many human settlements are center of administration for approximately 2 states ?
(c(Q486972),P1376,c(Q7275))
action count
action approx
action find_tuple_counts
relation P1376
type Q486972
type Q7275
value 2
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { FILTER ( ?g = 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?g ) WHERE { ?i property:P1376 ?s . ?i rdf:type ontology:Q486972 . ?s rdf:type ontology:Q7275 } GROUP BY ?i } }
action count
action approx
action find_tuple_counts
relation capital of
type human settlement
type state
value 2
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { FILTER ( ?g = 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?g ) WHERE { ?i property:capital_of ?s . ?i rdf:type ontology:human_settlement . ?s rdf:type ontology:state } GROUP BY ?i } }
[]
state human settlement
SYSTEM
1
Q31487
(c(Q486972),P1376,c(Q7275))
action count
action approx
action find_tuple_counts
relation P1376
type Q486972
type Q7275
value 2
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { FILTER ( ?g = 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?g ) WHERE { ?i property:P1376 ?s . ?i rdf:type ontology:Q486972 . ?s rdf:type ontology:Q7275 } GROUP BY ?i } }
Kraków
1
action count
action approx
action find_tuple_counts
relation capital of
type human settlement
type state
value 2
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { FILTER ( ?g = 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?g ) WHERE { ?i property:capital_of ?s . ?i rdf:type ontology:human_settlement . ?s rdf:type ontology:state } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P163
Q14660
USER
What is the name of flag associated with Soviet Union ?
(Q15180,P163,c(Q14660))
action filter_type
action find
entity Q15180
relation P163
type Q14660
['Q15180', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { resource:Q15180 property:P163 ?q . ?q rdf:type ontology:Q14660 }
Soviet Union
action filter_type
action find
entity Soviet Union
relation flag
type flag
['Soviet Union', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?q WHERE { resource:Soviet_Union property:flag ?q . ?q rdf:type ontology:flag }
[]
flag
Q165230
SYSTEM
flag of the Soviet Union
Q165230
(Q15180,P163,c(Q14660))
action filter_type
action find
entity Q15180
relation P163
type Q14660
The name of flag associated with Soviet Union is the [ANSWER]
['Q15180', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { resource:Q15180 property:P163 ?q . ?q rdf:type ontology:Q14660 }
flag of the Soviet Union
The name of flag associated with Soviet Union is the flag of the Soviet Union
flag of the Soviet Union
action filter_type
action find
entity Soviet Union
relation flag
type flag
['Soviet Union', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?q WHERE { resource:Soviet_Union property:flag ?q . ?q rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P163
Q7275
USER
How many states are associated with that flag ?
(c(Q7275),P163,Q165230)
action count
action filter_type
action find_reverse
entity Q165230
relation P163
type Q7275
[{'concept': 'Q7275'}, 'P163', 'Q165230']
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P163 resource:Q165230 . ?c rdf:type ontology:Q7275 }
action count
action filter_type
action find_reverse
entity flag of the Soviet Union
relation flag
type state
[{'concept': 'state'}, 'flag', 'flag of the Soviet Union']
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:flag resource:flag_of_the_Soviet_Union . ?c rdf:type ontology:state }
[]
state
SYSTEM
1
Q15180
(c(Q7275),P163,Q165230)
action count
action filter_type
action find_reverse
entity Q165230
relation P163
type Q7275
[ANSWER]
[{'concept': 'Q7275'}, 'P163', 'Q165230']
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P163 resource:Q165230 . ?c rdf:type ontology:Q7275 }
Soviet Union
1
action count
action filter_type
action find_reverse
entity flag of the Soviet Union
relation flag
type state
[{'concept': 'state'}, 'flag', 'flag of the Soviet Union']
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:flag resource:flag_of_the_Soviet_Union . ?c rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q604735
P941
Q14660 Q14660
USER
How many flags were inspired by approximately the same number of flags as Flag of Sint Maarten ?
(c(Q14660),P941,c(Q14660))
action count
action approx
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q604735
relation P941
type Q14660
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?q ) WHERE { ?p property:P941 ?m . ?p rdf:type ontology:Q14660 . ?m rdf:type ontology:Q14660 } GROUP BY ?p } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q604735 property:P941 ?n . ?n rdf:type ontology:Q14660 } } }
Flag of Sint Maarten
action count
action approx
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity Flag of Sint Maarten
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?q ) WHERE { ?p property:inspired_by ?m . ?p rdf:type ontology:flag . ?m rdf:type ontology:flag } GROUP BY ?p } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Flag_of_Sint_Maarten property:inspired_by ?n . ?n rdf:type ontology:flag } } }
[]
flag flag
SYSTEM
2
Q429900 Q604735
(c(Q14660),P941,c(Q14660))
action count
action approx
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q604735
relation P941
type Q14660
[ANSWER]
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?q ) WHERE { ?p property:P941 ?m . ?p rdf:type ontology:Q14660 . ?m rdf:type ontology:Q14660 } GROUP BY ?p } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q604735 property:P941 ?n . ?n rdf:type ontology:Q14660 } } }
Flag of Saba Flag of Sint Maarten
2
action count
action approx
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity Flag of Sint Maarten
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?q ) WHERE { ?p property:inspired_by ?m . ?p rdf:type ontology:flag . ?m rdf:type ontology:flag } GROUP BY ?p } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Flag_of_Sint_Maarten property:inspired_by ?n . ?n rdf:type ontology:flag } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q429900
P941
Q14660 Q14660
USER
And also tell me about Flag of Saba?
(c(Q14660),P941,c(Q14660))
action count
action approx
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q429900
relation P941
type Q14660
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?c ) WHERE { ?j property:P941 ?n . ?j rdf:type ontology:Q14660 . ?n rdf:type ontology:Q14660 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q429900 property:P941 ?w . ?w rdf:type ontology:Q14660 } } . FILTER ( ?c = ?y ) }
Flag of Saba
action count
action approx
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity Flag of Saba
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?c ) WHERE { ?j property:inspired_by ?n . ?j rdf:type ontology:flag . ?n rdf:type ontology:flag } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Flag_of_Saba property:inspired_by ?w . ?w rdf:type ontology:flag } } . FILTER ( ?c = ?y ) }
[]
flag flag
SYSTEM
2
Q429900 Q604735
(c(Q14660),P941,c(Q14660))
action count
action approx
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q429900
relation P941
type Q14660
[ANSWER]
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?c ) WHERE { ?j property:P941 ?n . ?j rdf:type ontology:Q14660 . ?n rdf:type ontology:Q14660 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q429900 property:P941 ?w . ?w rdf:type ontology:Q14660 } } . FILTER ( ?c = ?y ) }
Flag of Saba Flag of Sint Maarten
2
action count
action approx
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity Flag of Saba
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?c ) WHERE { ?j property:inspired_by ?n . ?j rdf:type ontology:flag . ?n rdf:type ontology:flag } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Flag_of_Saba property:inspired_by ?w . ?w rdf:type ontology:flag } } . FILTER ( ?c = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P1027
Q618779
USER
Which award is bestowed by Soviet Union ?
(c(Q618779),P1027,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P1027
type Q618779
[{'concept': 'Q618779'}, 'P1027', 'Q15180']
SELECT DISTINCT ?e WHERE { ?e property:P1027 resource:Q15180 . ?e rdf:type ontology:Q618779 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Soviet Union']
SELECT DISTINCT ?e WHERE { ?e property:conferred_by resource:Soviet_Union . ?e rdf:type ontology:award }
[]
award
Q2443629
SYSTEM
Medal "For Courage in a Fire"
Q2443629
(c(Q618779),P1027,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P1027
type Q618779
The [ANSWER] is bestowed by Soviet Union
[{'concept': 'Q618779'}, 'P1027', 'Q15180']
SELECT DISTINCT ?e WHERE { ?e property:P1027 resource:Q15180 . ?e rdf:type ontology:Q618779 }
Medal "For Courage in a Fire"
The Medal "For Courage in a Fire" is bestowed by Soviet Union
Medal "For Courage in a Fire"
action filter_type
action find_reverse
entity Soviet Union
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Soviet Union']
SELECT DISTINCT ?e WHERE { ?e property:conferred_by resource:Soviet_Union . ?e rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2443629
P101
Q1190554
USER
What is the field of work of that award ?
(Q2443629,P101,c(Q1190554))
action filter_type
action find
entity Q2443629
relation P101
type Q1190554
['Q2443629', 'P101', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { resource:Q2443629 property:P101 ?x . ?x rdf:type ontology:Q1190554 }
Medal "For Courage in a Fire"
action filter_type
action find
entity Medal "For Courage in a Fire"
relation field of work
type event
['Medal "For Courage in a Fire"', 'field of work', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { resource:Medal_"For_Courage_in_a_Fire" property:field_of_work ?x . ?x rdf:type ontology:event }
[]
event
Q168983
SYSTEM
conflagration
Q168983
(Q2443629,P101,c(Q1190554))
action filter_type
action find
entity Q2443629
relation P101
type Q1190554
The field of work of that award is the [ANSWER]
['Q2443629', 'P101', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { resource:Q2443629 property:P101 ?x . ?x rdf:type ontology:Q1190554 }
conflagration
The field of work of that award is the conflagration
conflagration
action filter_type
action find
entity Medal "For Courage in a Fire"
relation field of work
type event
['Medal "For Courage in a Fire"', 'field of work', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { resource:Medal_"For_Courage_in_a_Fire" property:field_of_work ?x . ?x rdf:type ontology:event }
[]