Simple Question (Direct)
Simple Question
Q1028012
P17
Q15617994
USER
Which administrative territory is Billancourt present in ?
(Q1028012,P17,c(Q15617994))
action filter_type
action find
entity Q1028012
relation P17
type Q15617994
['Q1028012', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1028012 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Billancourt
action filter_type
action find
entity Billancourt
relation country
type designation for an administrative territorial entity
['Billancourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Billancourt property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1028012,P17,c(Q15617994))
action filter_type
action find
entity Q1028012
relation P17
type Q15617994
Billancourt is in [ANSWER]
['Q1028012', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1028012 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
France
Billancourt is in France
France
action filter_type
action find
entity Billancourt
relation country
type designation for an administrative territorial entity
['Billancourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Billancourt property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P941
Q3895768
USER
What was inspired by that administrative territory ?
(c(Q3895768),P941,Q142)
action filter_type
action find_reverse
entity Q142
relation P941
type Q3895768
[{'concept': 'Q3895768'}, 'P941', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P941 resource:Q142 . ?t rdf:type ontology:Q3895768 }
France
action filter_type
action find_reverse
entity France
relation inspired by
type fictional location
[{'concept': 'fictional location'}, 'inspired by', 'France']
SELECT DISTINCT ?t WHERE { ?t property:inspired_by resource:France . ?t rdf:type ontology:fictional_location }
[]
fictional location
Q1144305
SYSTEM
Aquilonia
Q1144305
(c(Q3895768),P941,Q142)
action filter_type
action find_reverse
entity Q142
relation P941
type Q3895768
[ANSWER] was inspired by that administrative territory
[{'concept': 'Q3895768'}, 'P941', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P941 resource:Q142 . ?t rdf:type ontology:Q3895768 }
Aquilonia
Aquilonia was inspired by that administrative territory
Aquilonia
action filter_type
action find_reverse
entity France
relation inspired by
type fictional location
[{'concept': 'fictional location'}, 'inspired by', 'France']
SELECT DISTINCT ?t WHERE { ?t property:inspired_by resource:France . ?t rdf:type ontology:fictional_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P163
Q14660
USER
Which flag is associated with France ?
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P163 ?y . ?y rdf:type ontology:Q14660 }
France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:France property:flag ?y . ?y rdf:type ontology:flag }
[]
flag
Q43192
SYSTEM
Flag of France
Q43192
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
France [ANSWER] is associated with France
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P163 ?y . ?y rdf:type ontology:Q14660 }
Flag of France
France Flag of France is associated with France
Flag of France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:France property:flag ?y . ?y rdf:type ontology:flag }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1494 Q142
P163
Q14660
USER
Or Mississippi?
OR((Q142,P163,c(Q14660)), (Q1494,P163,c(Q14660)))
action filter_type
action union
action find
entity Q142
relation P163
action find
entity Q1494
relation P163
type Q14660
{'OR': [['Q142', 'P163', {'concept': 'Q14660'}], ['Q1494', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q14660 . { VALUES ( ?h ) { ( resource:Q1494 ) ( resource:Q142 ) } . ?h property:P163 ?m } }
Mississippi France
action filter_type
action union
action find
entity France
relation flag
action find
entity Mississippi
relation flag
type flag
{'OR': [['France', 'flag', {'concept': 'flag'}], ['Mississippi', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:flag . { VALUES ( ?h ) { ( resource:Mississippi ) ( resource:France ) } . ?h property:flag ?m } }
[]
flag
Q301628 Q43192
SYSTEM
Flag of Mississippi, Flag of France
Q301628 Q43192
OR((Q142,P163,c(Q14660)), (Q1494,P163,c(Q14660)))
action filter_type
action union
action find
entity Q142
relation P163
action find
entity Q1494
relation P163
type Q14660
[ANSWERS]
{'OR': [['Q142', 'P163', {'concept': 'Q14660'}], ['Q1494', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q14660 . { VALUES ( ?h ) { ( resource:Q1494 ) ( resource:Q142 ) } . ?h property:P163 ?m } }
Flag of Mississippi Flag of France
Flag of Mississippi Flag of France
action filter_type
action union
action find
entity France
relation flag
action find
entity Mississippi
relation flag
type flag
{'OR': [['France', 'flag', {'concept': 'flag'}], ['Mississippi', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:flag . { VALUES ( ?h ) { ( resource:Mississippi ) ( resource:France ) } . ?h property:flag ?m } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q43192
P180
Q838948
USER
Which work of art expresses that flag ?
(c(Q838948),P180,Q43192)
action filter_type
action find_reverse
entity Q43192
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q43192']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q43192 . ?y rdf:type ontology:Q838948 }
Flag of France
action filter_type
action find_reverse
entity Flag of France
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Flag of France']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Flag_of_France . ?y rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q43192
SYSTEM
Did you mean Flag of France ?
Q301628 Q43192
(c(Q838948),P180,Q301628) (c(Q838948),P180,Q43192)
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q301628'] [{'concept': 'Q838948'}, 'P180', 'Q43192']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q43192 . ?y rdf:type ontology:Q838948 }
Flag of Mississippi Flag of France
Did you mean Flag of France ?
Flag of France
[{'concept': 'work of art'}, 'depicts', 'Flag of Mississippi'] [{'concept': 'work of art'}, 'depicts', 'Flag of France']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Flag_of_France . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P180,Q43192)
[{'concept': 'Q838948'}, 'P180', 'Q43192']
[{'concept': 'work of art'}, 'depicts', 'Flag of France']
[]
Q16941329
SYSTEM
Equality
Q16941329
(c(Q838948),P180,Q43192)
action filter_type
action find_reverse
entity Q43192
relation P180
type Q838948
[ANSWER] expresses that flag
[{'concept': 'Q838948'}, 'P180', 'Q43192']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q43192 . ?y rdf:type ontology:Q838948 }
Equality
Equality expresses that flag
Equality
action filter_type
action find_reverse
entity Flag of France
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Flag of France']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Flag_of_France . ?y rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16941329 Q175055 Q26569637
P669
Q811979
USER
Does Equality have its location as place de la République and 79 And 80, Church Street ?
(Q16941329,P669,Q175055) (Q16941329,P669,Q26569637)
action is_in
entity Q16941329
action intersection
action find_reverse
entity Q175055
relation P669
action find_reverse
entity Q26569637
relation P669
['Q16941329', 'P669', 'Q175055'] ['Q16941329', 'P669', 'Q26569637']
ASK WHERE { resource:Q16941329 property:P669 resource:Q175055 . resource:Q16941329 property:P669 resource:Q26569637 }
Equality place de la République 79 And 80, Church Street
action is_in
entity Equality
action intersection
action find_reverse
entity place de la République
relation located on street
action find_reverse
entity 79 And 80, Church Street
relation located on street
['Equality', 'located on street', 'place de la République'] ['Equality', 'located on street', '79 And 80, Church Street']
ASK WHERE { resource:Equality property:located_on_street resource:place_de_la_République . resource:Equality property:located_on_street resource:79_And_80,_Church_Street }
[]
architectural structure
SYSTEM
YES and NO respectively
(Q16941329,P669,Q175055) (Q16941329,P669,Q26569637)
action is_in
entity Q16941329
action intersection
action find_reverse
entity Q175055
relation P669
action find_reverse
entity Q26569637
relation P669
[ANSWER]
['Q16941329', 'P669', 'Q175055'] ['Q16941329', 'P669', 'Q26569637']
ASK WHERE { resource:Q16941329 property:P669 resource:Q175055 . resource:Q16941329 property:P669 resource:Q26569637 }
YES and NO respectively
action is_in
entity Equality
action intersection
action find_reverse
entity place de la République
relation located on street
action find_reverse
entity 79 And 80, Church Street
relation located on street
['Equality', 'located on street', 'place de la République'] ['Equality', 'located on street', '79 And 80, Church Street']
ASK WHERE { resource:Equality property:located_on_street resource:place_de_la_République . resource:Equality property:located_on_street resource:79_And_80,_Church_Street }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16941329
P186
Q214609
USER
Which material is used to construct Equality ?
(Q16941329,P186,c(Q214609))
action filter_type
action find
entity Q16941329
relation P186
type Q214609
['Q16941329', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?s WHERE { resource:Q16941329 property:P186 ?s . ?s rdf:type ontology:Q214609 }
Equality
action filter_type
action find
entity Equality
relation material used
type material
['Equality', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?s WHERE { resource:Equality property:material_used ?s . ?s rdf:type ontology:material }
[]
material
Q22731
SYSTEM
stone
Q22731
(Q16941329,P186,c(Q214609))
action filter_type
action find
entity Q16941329
relation P186
type Q214609
The [ANSWER] is used to construct Equality
['Q16941329', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?s WHERE { resource:Q16941329 property:P186 ?s . ?s rdf:type ontology:Q214609 }
stone
The stone is used to construct Equality
stone
action filter_type
action find
entity Equality
relation material used
type material
['Equality', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?s WHERE { resource:Equality property:material_used ?s . ?s rdf:type ontology:material }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16941329
P800
Q502895
USER
Which person has Equality as a notable work ?
(c(Q502895),P800,Q16941329)
action filter_type
action find_reverse
entity Q16941329
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q16941329']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q16941329 . ?j rdf:type ontology:Q502895 }
Equality
action filter_type
action find_reverse
entity Equality
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Equality']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:Equality . ?j rdf:type ontology:common_name }
[]
common name
Q3271857
SYSTEM
Léopold Morice
Q3271857
(c(Q502895),P800,Q16941329)
action filter_type
action find_reverse
entity Q16941329
relation P800
type Q502895
[ANSWER] has Equality as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q16941329']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q16941329 . ?j rdf:type ontology:Q502895 }
Léopold Morice
Léopold Morice has Equality as a notable work
Léopold Morice
action filter_type
action find_reverse
entity Equality
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Equality']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:Equality . ?j rdf:type ontology:common_name }
[]