Simple Question (Direct)
Simple Question
Q20898674
P20
Q515
USER
Where did the demise of Jacques Laplace occur ?
(Q20898674,P20,c(Q515))
action filter_type
action find
entity Q20898674
relation P20
type Q515
['Q20898674', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q20898674 property:P20 ?y . ?y rdf:type ontology:Q515 }
Jacques Laplace
action filter_type
action find
entity Jacques Laplace
relation place of death
type city
['Jacques Laplace', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Jacques_Laplace property:place_of_death ?y . ?y rdf:type ontology:city }
[]
city
Q456
SYSTEM
Lyon
Q456
(Q20898674,P20,c(Q515))
action filter_type
action find
entity Q20898674
relation P20
type Q515
The demise of Jacques Laplace occurred in [ANSWER]
['Q20898674', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q20898674 property:P20 ?y . ?y rdf:type ontology:Q515 }
Lyon
The demise of Jacques Laplace occurred in Lyon
Lyon
action filter_type
action find
entity Jacques Laplace
relation place of death
type city
['Jacques Laplace', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Jacques_Laplace property:place_of_death ?y . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q456
P47
Q20667921
USER
Which french administrative divisions share border with that city ?
(Q456,P47,c(Q20667921))
action filter_type
action find
entity Q456
relation P47
type Q20667921
['Q456', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q456 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Lyon
action filter_type
action find
entity Lyon
relation shares border with
type type of french administrative division
['Lyon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Lyon property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q13598 Q8358 Q1291
SYSTEM
Vénissieux, Oullins, Bron
Q1617133 Q828676 Q1617042 Q13598 Q1615759 Q387460 Q273748 Q772460 Q1469657 Q1617501 Q8358 Q1291 Q244717 Q1647506 Q4054
(Q456,P47,c(Q20667921))
action filter_type
action find
entity Q456
relation P47
type Q20667921
[ANSWERS] share border with that city
['Q456', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q456 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Champagne-au-Mont-d'Or Saint-Fons Pierre-Bénite Vénissieux Saint-Cyr-au-Mont-d'Or Sainte-Foy-lès-Lyon Écully La Mulatière Collonges-au-Mont-d'Or Saint-Didier-au-Mont-d'Or Oullins Bron Caluire-et-Cuire Tassin-la-Demi-Lune Francheville, Rhône
Vénissieux, Oullins and Bron share border with that city
Vénissieux Oullins Bron
action filter_type
action find
entity Lyon
relation shares border with
type type of french administrative division
['Lyon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Lyon property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13598 Q8358 Q1291
P1376
Q20667921
USER
Which french administrative divisions have those ones as their capital ?
(Q13598,P1376,c(Q20667921)) (Q8358,P1376,c(Q20667921)) (Q1291,P1376,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P1376
type Q20667921
['Q13598', 'P1376', {'concept': 'Q20667921'}] ['Q8358', 'P1376', {'concept': 'Q20667921'}] ['Q1291', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Q1617133 ) ( resource:Q828676 ) ( resource:Q1617042 ) } . ?m property:P1376 ?h . ?h rdf:type ontology:Q20667921 }
Vénissieux Oullins Bron
action filter_type
action find
entity prev_answer
relation capital of
type type of french administrative division
['Vénissieux', 'capital of', {'concept': 'type of french administrative division'}] ['Oullins', 'capital of', {'concept': 'type of french administrative division'}] ['Bron', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Champagne-au-Mont-d'Or ) ( resource:Saint-Fons ) ( resource:Pierre-Bénite ) } . ?m property:capital_of ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q535099 Q1530021 Q1726608
SYSTEM
canton of Vénissieux-Nord, canton of Vénissieux-Sud, canton of Oullins
Q535099 Q1530021 Q1726608 Q1659763
(Q13598,P1376,c(Q20667921)) (Q8358,P1376,c(Q20667921)) (Q1291,P1376,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P1376
type Q20667921
[ANSWERS] have those ones as their capital
['Q13598', 'P1376', {'concept': 'Q20667921'}] ['Q8358', 'P1376', {'concept': 'Q20667921'}] ['Q1291', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Q1617133 ) ( resource:Q828676 ) ( resource:Q1617042 ) } . ?m property:P1376 ?h . ?h rdf:type ontology:Q20667921 }
canton of Vénissieux-Nord canton of Vénissieux-Sud canton of Oullins canton of Bron
Canton of Vénissieux-Nord, canton of Vénissieux-Sud and canton of Oullins have those ones as their capital
canton of Vénissieux-Nord canton of Vénissieux-Sud canton of Oullins
action filter_type
action find
entity prev_answer
relation capital of
type type of french administrative division
['Vénissieux', 'capital of', {'concept': 'type of french administrative division'}] ['Oullins', 'capital of', {'concept': 'type of french administrative division'}] ['Bron', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?m ) { ( resource:Champagne-au-Mont-d'Or ) ( resource:Saint-Fons ) ( resource:Pierre-Bénite ) } . ?m property:capital_of ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q535099 Q1530021 Q1726608
P36
Q20667921
USER
Which french administrative divisions are the capitals of those ones ?
(Q535099,P36,c(Q20667921)) (Q1530021,P36,c(Q20667921)) (Q1726608,P36,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P36
type Q20667921
['Q535099', 'P36', {'concept': 'Q20667921'}] ['Q1530021', 'P36', {'concept': 'Q20667921'}] ['Q1726608', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . VALUES ( ?g ) { ( resource:Q535099 ) ( resource:Q1530021 ) ( resource:Q1726608 ) } . ?g property:P36 ?a }
canton of Vénissieux-Nord canton of Vénissieux-Sud canton of Oullins
action filter_type
action find
entity prev_answer
relation capital
type type of french administrative division
['canton of Vénissieux-Nord', 'capital', {'concept': 'type of french administrative division'}] ['canton of Vénissieux-Sud', 'capital', {'concept': 'type of french administrative division'}] ['canton of Oullins', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . VALUES ( ?g ) { ( resource:canton_of_Vénissieux-Nord ) ( resource:canton_of_Vénissieux-Sud ) ( resource:canton_of_Oullins ) } . ?g property:capital ?a }
[]
type of french administrative division
Q13598 Q13598 Q8358
SYSTEM
Vénissieux for 1st, 2nd, Oullins for 3rd
Q13598 Q13598 Q8358
(Q535099,P36,c(Q20667921)) (Q1530021,P36,c(Q20667921)) (Q1726608,P36,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P36
type Q20667921
[ANSWERS]
['Q535099', 'P36', {'concept': 'Q20667921'}] ['Q1530021', 'P36', {'concept': 'Q20667921'}] ['Q1726608', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . VALUES ( ?g ) { ( resource:Q535099 ) ( resource:Q1530021 ) ( resource:Q1726608 ) } . ?g property:P36 ?a }
Vénissieux Vénissieux Oullins
Vénissieux, Vénissieux and Oullins are the capitals of those ones
Vénissieux Vénissieux Oullins
action filter_type
action find
entity prev_answer
relation capital
type type of french administrative division
['canton of Vénissieux-Nord', 'capital', {'concept': 'type of french administrative division'}] ['canton of Vénissieux-Sud', 'capital', {'concept': 'type of french administrative division'}] ['canton of Oullins', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . VALUES ( ?g ) { ( resource:canton_of_Vénissieux-Nord ) ( resource:canton_of_Vénissieux-Sud ) ( resource:canton_of_Oullins ) } . ?g property:capital ?a }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13598
P17
Q15617994
USER
Which administrative territory does that french administrative division belong to ?
(Q13598,P17,c(Q15617994))
action filter_type
action find
entity Q13598
relation P17
type Q15617994
['Q13598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q13598 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Vénissieux
action filter_type
action find
entity Vénissieux
relation country
type designation for an administrative territorial entity
['Vénissieux', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Vénissieux property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q8358
SYSTEM
Did you mean Oullins ?
Q13598 Q13598 Q8358
(Q13598,P17,c(Q15617994)) (Q13598,P17,c(Q15617994)) (Q8358,P17,c(Q15617994))
[ANSWER]
['Q13598', 'P17', {'concept': 'Q15617994'}] ['Q13598', 'P17', {'concept': 'Q15617994'}] ['Q8358', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q13598 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Vénissieux Vénissieux Oullins
Did you mean Oullins ?
Oullins
['Vénissieux', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Vénissieux', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Oullins', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Vénissieux property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Vénissieux. Could you tell me the answer for that?
(Q13598,P17,c(Q15617994))
Q13598
['Q13598', 'P17', {'concept': 'Q15617994'}]
['Vénissieux', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q13598,P17,c(Q15617994))
action filter_type
action find
entity Q13598
relation P17
type Q15617994
That french administrative division belongs to the [ANSWER]
['Q13598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q13598 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
France
That french administrative division belongs to the France
France
action filter_type
action find
entity Vénissieux
relation country
type designation for an administrative territorial entity
['Vénissieux', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Vénissieux property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q327341
P47
Q15617994
USER
Is Torcegno adjacent to that one ?
(Q142,P47,Q327341)
action is_in
entity Q327341
action find
entity Q142
relation P47
['Q142', 'P47', 'Q327341']
ASK WHERE { resource:Q142 property:P47 resource:Q327341 }
France Torcegno
action is_in
entity Torcegno
action find
entity France
relation shares border with
['France', 'shares border with', 'Torcegno']
ASK WHERE { resource:France property:shares_border_with resource:Torcegno }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q142,P47,Q327341)
action is_in
entity Q327341
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q327341']
ASK WHERE { resource:Q142 property:P47 resource:Q327341 }
No
action is_in
entity Torcegno
action find
entity France
relation shares border with
['France', 'shares border with', 'Torcegno']
ASK WHERE { resource:France property:shares_border_with resource:Torcegno }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18126599 Q8358
P27 P17
Q15617994
USER
Which administrative territories are Oullins present in or are Pedro Lonchibuco an inhabitant of ?
OR((Q8358,P17,c(Q15617994)), (Q18126599,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8358
relation P17
action find
entity Q18126599
relation P27
type Q15617994
{'OR': [['Q8358', 'P17', {'concept': 'Q15617994'}], ['Q18126599', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q18126599 property:P27 ?y } UNION { resource:Q8358 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Pedro Lonchibuco Oullins
action filter_type
action union
action find
entity Oullins
relation country
action find
entity Pedro Lonchibuco
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Oullins', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pedro Lonchibuco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Pedro_Lonchibuco property:country_of_citizenship ?y } UNION { resource:Oullins property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q414
SYSTEM
France, Argentina
Q142 Q414
OR((Q8358,P17,c(Q15617994)), (Q18126599,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8358
relation P17
action find
entity Q18126599
relation P27
type Q15617994
Oullins are of [ANSWERS] or are Pedro Lonchibuco an inhabitant of
{'OR': [['Q8358', 'P17', {'concept': 'Q15617994'}], ['Q18126599', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q18126599 property:P27 ?y } UNION { resource:Q8358 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
France Argentina
Oullins are of France and Argentina or are Pedro Lonchibuco an inhabitant of
France Argentina
action filter_type
action union
action find
entity Oullins
relation country
action find
entity Pedro Lonchibuco
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Oullins', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pedro Lonchibuco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Pedro_Lonchibuco property:country_of_citizenship ?y } UNION { resource:Oullins property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q414 Q6413135
P915
Q838948
USER
How many works of art were filmed at Argentina or Kingsbridge Armory ?
(c(Q838948),P915,Q414) (c(Q838948),P915,Q6413135)
action count
action union
action filter_type
action find_reverse
entity Q414
relation P915
type Q838948
action filter_type
action find_reverse
entity Q6413135
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q414'] [{'concept': 'Q838948'}, 'P915', 'Q6413135']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?k ) { ( resource:Q414 ) ( resource:Q6413135 ) } . ?c property:P915 ?k }
Argentina Kingsbridge Armory
action count
action union
action filter_type
action find_reverse
entity Argentina
relation filming location
type work of art
action filter_type
action find_reverse
entity Kingsbridge Armory
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Argentina'] [{'concept': 'work of art'}, 'filming location', 'Kingsbridge Armory']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?k ) { ( resource:Argentina ) ( resource:Kingsbridge_Armory ) } . ?c property:filming_location ?k }
[]
work of art
SYSTEM
2
Q18002795 Q212689
(c(Q838948),P915,Q414) (c(Q838948),P915,Q6413135)
action count
action union
action filter_type
action find_reverse
entity Q414
relation P915
type Q838948
action filter_type
action find_reverse
entity Q6413135
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q414'] [{'concept': 'Q838948'}, 'P915', 'Q6413135']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?k ) { ( resource:Q414 ) ( resource:Q6413135 ) } . ?c property:P915 ?k }
The Revenant I Am Legend
2
action count
action union
action filter_type
action find_reverse
entity Argentina
relation filming location
type work of art
action filter_type
action find_reverse
entity Kingsbridge Armory
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Argentina'] [{'concept': 'work of art'}, 'filming location', 'Kingsbridge Armory']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?k ) { ( resource:Argentina ) ( resource:Kingsbridge_Armory ) } . ?c property:filming_location ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with around 18 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 18
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?r ) WHERE { ?q rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 . ?q property:P530 ?a } GROUP BY ?q } . FILTER ( ?r = 18 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 18
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?r ) WHERE { ?q rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?a } GROUP BY ?q } . FILTER ( ?r = 18 ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 18
[ANSWERS] have diplomatic relations with around 18 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?r ) WHERE { ?q rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 . ?q property:P530 ?a } GROUP BY ?q } . FILTER ( ?r = 18 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with around 18 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 18
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?r ) WHERE { ?q rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?a } GROUP BY ?q } . FILTER ( ?r = 18 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q16 Q40
P1001
Q14660
USER
Which flags apply to jurisdiction over Denmark, Canada and Austria ?
(c(Q14660),P1001,Q35) (c(Q14660),P1001,Q16) (c(Q14660),P1001,Q40)
action union
action filter_type
action find_reverse
entity Q35
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q16
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q40
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q35'] [{'concept': 'Q14660'}, 'P1001', 'Q16'] [{'concept': 'Q14660'}, 'P1001', 'Q40']
SELECT DISTINCT ?u WHERE { { ?u property:P1001 resource:Q35 . ?u rdf:type ontology:Q14660 } UNION { ?u property:P1001 resource:Q16 . ?u rdf:type ontology:Q14660 } }
Denmark Canada Austria
action union
action filter_type
action find_reverse
entity Denmark
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Canada
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Austria
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Austria']
SELECT DISTINCT ?u WHERE { { ?u property:applies_to_jurisdiction resource:Denmark . ?u rdf:type ontology:flag } UNION { ?u property:applies_to_jurisdiction resource:Canada . ?u rdf:type ontology:flag } }
[]
flag
Q60149 Q80110 Q46835
SYSTEM
Flag of Denmark, flag of Canada, flag of Austria
Q60149 Q80110 Q46835
(c(Q14660),P1001,Q35) (c(Q14660),P1001,Q16) (c(Q14660),P1001,Q40)
action union
action filter_type
action find_reverse
entity Q35
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q16
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q40
relation P1001
type Q14660
[ANSWERS] apply to jurisdiction over Denmark, Canada and Austria
[{'concept': 'Q14660'}, 'P1001', 'Q35'] [{'concept': 'Q14660'}, 'P1001', 'Q16'] [{'concept': 'Q14660'}, 'P1001', 'Q40']
SELECT DISTINCT ?u WHERE { { ?u property:P1001 resource:Q35 . ?u rdf:type ontology:Q14660 } UNION { ?u property:P1001 resource:Q16 . ?u rdf:type ontology:Q14660 } }
Flag of Denmark flag of Canada flag of Austria
Flag of Denmark, flag of Canada and flag of Austria apply to jurisdiction over Denmark, Canada and Austria
Flag of Denmark flag of Canada flag of Austria
action union
action filter_type
action find_reverse
entity Denmark
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Canada
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Austria
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Austria']
SELECT DISTINCT ?u WHERE { { ?u property:applies_to_jurisdiction resource:Denmark . ?u rdf:type ontology:flag } UNION { ?u property:applies_to_jurisdiction resource:Canada . ?u rdf:type ontology:flag } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q60149 Q80110 Q46835
P462
Q1075
USER
Which colors are those flags associated with ?
(Q60149,P462,c(Q1075)) (Q80110,P462,c(Q1075)) (Q46835,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
['Q60149', 'P462', {'concept': 'Q1075'}] ['Q80110', 'P462', {'concept': 'Q1075'}] ['Q46835', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?s WHERE { ?y property:P462 ?s . VALUES ( ?y ) { ( resource:Q60149 ) ( resource:Q80110 ) ( resource:Q46835 ) } . ?s rdf:type ontology:Q1075 }
Flag of Denmark flag of Canada flag of Austria
action filter_type
action find
entity prev_answer
relation color
type color
['Flag of Denmark', 'color', {'concept': 'color'}] ['flag of Canada', 'color', {'concept': 'color'}] ['flag of Austria', 'color', {'concept': 'color'}]
SELECT DISTINCT ?s WHERE { ?y property:color ?s . VALUES ( ?y ) { ( resource:Flag_of_Denmark ) ( resource:flag_of_Canada ) ( resource:flag_of_Austria ) } . ?s rdf:type ontology:color }
[]
color
Q3142 Q3142 Q3142
SYSTEM
red
Q3142 Q3142 Q3142
(Q60149,P462,c(Q1075)) (Q80110,P462,c(Q1075)) (Q46835,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
Those flags are associated with [ANSWER], [ANSWER] and [ANSWER]
['Q60149', 'P462', {'concept': 'Q1075'}] ['Q80110', 'P462', {'concept': 'Q1075'}] ['Q46835', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?s WHERE { ?y property:P462 ?s . VALUES ( ?y ) { ( resource:Q60149 ) ( resource:Q80110 ) ( resource:Q46835 ) } . ?s rdf:type ontology:Q1075 }
red red red
Those flags are associated with red, red and red
red red red
action filter_type
action find
entity prev_answer
relation color
type color
['Flag of Denmark', 'color', {'concept': 'color'}] ['flag of Canada', 'color', {'concept': 'color'}] ['flag of Austria', 'color', {'concept': 'color'}]
SELECT DISTINCT ?s WHERE { ?y property:color ?s . VALUES ( ?y ) { ( resource:Flag_of_Denmark ) ( resource:flag_of_Canada ) ( resource:flag_of_Austria ) } . ?s rdf:type ontology:color }
[]