Simple Question (Direct)
Simple Question
Q772189
P47
Q20667921
USER
Who share the border with Saint-Priest-en-Murat ?
(Q772189,P47,c(Q20667921))
action filter_type
action find
entity Q772189
relation P47
type Q20667921
['Q772189', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q772189 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Saint-Priest-en-Murat
action filter_type
action find
entity Saint-Priest-en-Murat
relation shares border with
type type of french administrative division
['Saint-Priest-en-Murat', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Saint-Priest-en-Murat property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q454539 Q609851 Q865772
SYSTEM
Saint-Bonnet-de-Four, Sazeret, Villefranche-d'Allier
Q853534 Q454539 Q274929 Q609851 Q243916 Q865772
(Q772189,P47,c(Q20667921))
action filter_type
action find
entity Q772189
relation P47
type Q20667921
[ANSWERS] share the border with Saint-Priest-en-Murat
['Q772189', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q772189 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Bézenet Saint-Bonnet-de-Four Murat Sazeret Chappes Villefranche-d'Allier
Saint-Bonnet-de-Four, Sazeret and Villefranche-d'Allier share the border with Saint-Priest-en-Murat
Saint-Bonnet-de-Four Sazeret Villefranche-d'Allier
action filter_type
action find
entity Saint-Priest-en-Murat
relation shares border with
type type of french administrative division
['Saint-Priest-en-Murat', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Saint-Priest-en-Murat property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q865772
P17
Q15617994
USER
Which administrative territory is that french administrative division a part of ?
(Q865772,P17,c(Q15617994))
action filter_type
action find
entity Q865772
relation P17
type Q15617994
['Q865772', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q865772 property:P17 ?a }
Villefranche-d'Allier
action filter_type
action find
entity Villefranche-d'Allier
relation country
type designation for an administrative territorial entity
["Villefranche-d'Allier", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Villefranche-d'Allier property:country ?a }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q865772
SYSTEM
Did you mean Villefranche-d'Allier ?
Q454539 Q609851 Q865772
(Q454539,P17,c(Q15617994)) (Q609851,P17,c(Q15617994)) (Q865772,P17,c(Q15617994))
[ANSWER]
['Q454539', 'P17', {'concept': 'Q15617994'}] ['Q609851', 'P17', {'concept': 'Q15617994'}] ['Q865772', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q865772 property:P17 ?a }
Saint-Bonnet-de-Four Sazeret Villefranche-d'Allier
Did you mean Villefranche-d'Allier ?
Villefranche-d'Allier
['Saint-Bonnet-de-Four', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sazeret', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Villefranche-d'Allier", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Villefranche-d'Allier property:country ?a }
[]
Simple Question (Coreferenced)
USER
Yes
(Q865772,P17,c(Q15617994))
['Q865772', 'P17', {'concept': 'Q15617994'}]
["Villefranche-d'Allier", 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q865772,P17,c(Q15617994))
action filter_type
action find
entity Q865772
relation P17
type Q15617994
[ANSWER] is that french administrative division a part of
['Q865772', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q865772 property:P17 ?a }
France
France is that french administrative division a part of
France
action filter_type
action find
entity Villefranche-d'Allier
relation country
type designation for an administrative territorial entity
["Villefranche-d'Allier", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Villefranche-d'Allier property:country ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P159
Q618123
USER
Which geographical object has the principal seat at that administrative territory ?
(c(Q618123),P159,Q142)
action filter_type
action find_reverse
entity Q142
relation P159
type Q618123
[{'concept': 'Q618123'}, 'P159', 'Q142']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618123 . ?j property:P159 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation headquarters location
type geographical object
[{'concept': 'geographical object'}, 'headquarters location', 'France']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:geographical_object . ?j property:headquarters_location resource:France }
[]
geographical object
Q1647977
SYSTEM
Yacht Club de France
Q1647977
(c(Q618123),P159,Q142)
action filter_type
action find_reverse
entity Q142
relation P159
type Q618123
[ANSWER] has the principal seat at that administrative territory
[{'concept': 'Q618123'}, 'P159', 'Q142']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618123 . ?j property:P159 resource:Q142 }
Yacht Club de France
Yacht Club de France has the principal seat at that administrative territory
Yacht Club de France
action filter_type
action find_reverse
entity France
relation headquarters location
type geographical object
[{'concept': 'geographical object'}, 'headquarters location', 'France']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:geographical_object . ?j property:headquarters_location resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P264
Q2031291
USER
Which release has that administrative territory as its record company ?
(c(Q2031291),P264,Q1647977)
action filter_type
action find_reverse
entity Q142
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q1647977']
SELECT DISTINCT ?e WHERE { ?e property:P264 resource:Q142 . ?e rdf:type ontology:Q2031291 }
France
action filter_type
action find_reverse
entity France
relation record label
type release
[{'concept': 'release'}, 'record label', 'Yacht Club de France']
SELECT DISTINCT ?e WHERE { ?e property:record_label resource:France . ?e rdf:type ontology:release }
[]
release
Q7707947
SYSTEM
Texas Rock and Roll
Q7707947
(c(Q2031291),P264,Q1647977)
action filter_type
action find_reverse
entity Q142
relation P264
type Q2031291
[ANSWER] has that administrative territory as its record company
[{'concept': 'Q2031291'}, 'P264', 'Q1647977']
SELECT DISTINCT ?e WHERE { ?e property:P264 resource:Q142 . ?e rdf:type ontology:Q2031291 }
Texas Rock and Roll
Texas Rock and Roll has that administrative territory as its record company
Texas Rock and Roll
action filter_type
action find_reverse
entity France
relation record label
type release
[{'concept': 'release'}, 'record label', 'Yacht Club de France']
SELECT DISTINCT ?e WHERE { ?e property:record_label resource:France . ?e rdf:type ontology:release }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q7056055 Q142
P30
Q2221906
USER
Which geographic locations are France but not North Masson Range located in ?
AND((Q142,P30,c(Q2221906)), NOT((Q7056055,P30,c(Q2221906))))
action filter_type
action difference
action find
entity Q142
relation P30
action find
entity Q7056055
relation P30
type Q2221906
{'AND': [['Q142', 'P30', {'concept': 'Q2221906'}], {'NOT': [['Q7056055', 'P30', {'concept': 'Q2221906'}]]}]}
SELECT DISTINCT ?x WHERE { resource:Q142 property:P30 ?x . MINUS { resource:Q7056055 property:P30 ?x } . ?x rdf:type ontology:Q2221906 }
North Masson Range France
action filter_type
action difference
action find
entity France
relation continent
action find
entity North Masson Range
relation continent
type geographic location
{'AND': [['France', 'continent', {'concept': 'geographic location'}], {'NOT': [['North Masson Range', 'continent', {'concept': 'geographic location'}]]}]}
SELECT DISTINCT ?x WHERE { resource:France property:continent ?x . MINUS { resource:North_Masson_Range property:continent ?x } . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q15 Q828 Q538
SYSTEM
Europe, Africa, Americas, Oceania
Q46 Q15 Q828 Q538
AND((Q142,P30,c(Q2221906)), NOT((Q7056055,P30,c(Q2221906))))
action filter_type
action difference
action find
entity Q142
relation P30
action find
entity Q7056055
relation P30
type Q2221906
[ANSWERS]
{'AND': [['Q142', 'P30', {'concept': 'Q2221906'}], {'NOT': [['Q7056055', 'P30', {'concept': 'Q2221906'}]]}]}
SELECT DISTINCT ?x WHERE { resource:Q142 property:P30 ?x . MINUS { resource:Q7056055 property:P30 ?x } . ?x rdf:type ontology:Q2221906 }
Europe Africa Americas Oceania
Which geographic locations are France but not North Masson Range located in
Europe Africa Americas Oceania
action filter_type
action difference
action find
entity France
relation continent
action find
entity North Masson Range
relation continent
type geographic location
{'AND': [['France', 'continent', {'concept': 'geographic location'}], {'NOT': [['North Masson Range', 'continent', {'concept': 'geographic location'}]]}]}
SELECT DISTINCT ?x WHERE { resource:France property:continent ?x . MINUS { resource:North_Masson_Range property:continent ?x } . ?x rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q3936071 Q142
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with France and are not the countries of citizenship of Rino Avesani ?
AND((Q142,P530,c(Q15617994)), NOT((Q3936071,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q142
relation P530
action find
entity Q3936071
relation P27
type Q15617994
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q3936071', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Q3936071 property:P27 ?d } . resource:Q142 property:P530 ?d . ?d rdf:type ontology:Q15617994 }
Rino Avesani France
action filter_type
action difference
action find
entity France
relation diplomatic relation
action find
entity Rino Avesani
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Rino Avesani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Rino_Avesani property:country_of_citizenship ?d } . resource:France property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q32 Q1011 Q801 Q399 Q403 Q159 Q30 Q711 Q27 Q155
SYSTEM
Some of them are Luxembourg, Cape Verde, Israel, Armenia, Serbia, Russia, United States of America, Mongolia, Ireland, Brazil
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403
AND((Q142,P530,c(Q15617994)), NOT((Q3936071,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q142
relation P530
action find
entity Q3936071
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with France and are not the countries of citizenship of Rino Avesani
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q3936071', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Q3936071 property:P27 ?d } . resource:Q142 property:P530 ?d . ?d rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia
Luxembourg, Cape Verde, Israel, Armenia, Serbia, Russia, United States of America, Mongolia, Ireland and Brazil hold diplomatic relationship with France and are not the countries of citizenship of Rino Avesani
Luxembourg Cape Verde Israel Armenia Serbia Russia United States of America Mongolia Ireland Brazil
action filter_type
action difference
action find
entity France
relation diplomatic relation
action find
entity Rino Avesani
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Rino Avesani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Rino_Avesani property:country_of_citizenship ?d } . resource:France property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q32 Q1011 Q801 Q399 Q403 Q159 Q30 Q711 Q27 Q155
P163
Q14660
USER
Which flags are associated with Luxembourg, Cape Verde, Israel, Armenia, Serbia, Russia, United States of America, Mongolia, Ireland and Brazil ?
(Q32,P163,c(Q14660)) (Q1011,P163,c(Q14660)) (Q801,P163,c(Q14660)) (Q399,P163,c(Q14660)) (Q403,P163,c(Q14660)) (Q159,P163,c(Q14660)) (Q30,P163,c(Q14660)) (Q711,P163,c(Q14660)) (Q27,P163,c(Q14660)) (Q155,P163,c(Q14660))
action union
action filter_type
action find
entity Q32
relation P163
type Q14660
action filter_type
action find
entity Q1011
relation P163
type Q14660
action filter_type
action find
entity Q801
relation P163
type Q14660
action filter_type
action find
entity Q399
relation P163
type Q14660
action filter_type
action find
entity Q403
relation P163
type Q14660
action filter_type
action find
entity Q159
relation P163
type Q14660
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q711
relation P163
type Q14660
action filter_type
action find
entity Q27
relation P163
type Q14660
action filter_type
action find
entity Q155
relation P163
type Q14660
['Q32', 'P163', {'concept': 'Q14660'}] ['Q1011', 'P163', {'concept': 'Q14660'}] ['Q801', 'P163', {'concept': 'Q14660'}] ['Q399', 'P163', {'concept': 'Q14660'}] ['Q403', 'P163', {'concept': 'Q14660'}] ['Q159', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}] ['Q711', 'P163', {'concept': 'Q14660'}] ['Q27', 'P163', {'concept': 'Q14660'}] ['Q155', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?l WHERE { { resource:Q32 property:P163 ?l . ?l rdf:type ontology:Q14660 } UNION { resource:Q1011 property:P163 ?l . ?l rdf:type ontology:Q14660 } }
Luxembourg Cape Verde Israel Armenia Serbia Russia United States of America Mongolia Ireland Brazil
action union
action filter_type
action find
entity Luxembourg
relation flag
type flag
action filter_type
action find
entity Cape Verde
relation flag
type flag
action filter_type
action find
entity Israel
relation flag
type flag
action filter_type
action find
entity Armenia
relation flag
type flag
action filter_type
action find
entity Serbia
relation flag
type flag
action filter_type
action find
entity Russia
relation flag
type flag
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity Mongolia
relation flag
type flag
action filter_type
action find
entity Ireland
relation flag
type flag
action filter_type
action find
entity Brazil
relation flag
type flag
['Luxembourg', 'flag', {'concept': 'flag'}] ['Cape Verde', 'flag', {'concept': 'flag'}] ['Israel', 'flag', {'concept': 'flag'}] ['Armenia', 'flag', {'concept': 'flag'}] ['Serbia', 'flag', {'concept': 'flag'}] ['Russia', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}] ['Mongolia', 'flag', {'concept': 'flag'}] ['Ireland', 'flag', {'concept': 'flag'}] ['Brazil', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?l WHERE { { resource:Luxembourg property:flag ?l . ?l rdf:type ontology:flag } UNION { resource:Cape_Verde property:flag ?l . ?l rdf:type ontology:flag } }
[]
flag
Q82194 Q33213 Q133022
SYSTEM
flag of Brazil, flag of Armenia, flag of Luxembourg
Q133022 Q102944 Q128480 Q33213 Q163832 Q16611 Q42537 Q165552 Q82205 Q82194
(Q32,P163,c(Q14660)) (Q1011,P163,c(Q14660)) (Q801,P163,c(Q14660)) (Q399,P163,c(Q14660)) (Q403,P163,c(Q14660)) (Q159,P163,c(Q14660)) (Q30,P163,c(Q14660)) (Q711,P163,c(Q14660)) (Q27,P163,c(Q14660)) (Q155,P163,c(Q14660))
action union
action filter_type
action find
entity Q32
relation P163
type Q14660
action filter_type
action find
entity Q1011
relation P163
type Q14660
action filter_type
action find
entity Q801
relation P163
type Q14660
action filter_type
action find
entity Q399
relation P163
type Q14660
action filter_type
action find
entity Q403
relation P163
type Q14660
action filter_type
action find
entity Q159
relation P163
type Q14660
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q711
relation P163
type Q14660
action filter_type
action find
entity Q27
relation P163
type Q14660
action filter_type
action find
entity Q155
relation P163
type Q14660
[ANSWERS] are associated with Luxembourg, Cape Verde, Israel, Armenia, Serbia, Russia, United States of America, Mongolia, Ireland and Brazil
['Q32', 'P163', {'concept': 'Q14660'}] ['Q1011', 'P163', {'concept': 'Q14660'}] ['Q801', 'P163', {'concept': 'Q14660'}] ['Q399', 'P163', {'concept': 'Q14660'}] ['Q403', 'P163', {'concept': 'Q14660'}] ['Q159', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}] ['Q711', 'P163', {'concept': 'Q14660'}] ['Q27', 'P163', {'concept': 'Q14660'}] ['Q155', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?l WHERE { { resource:Q32 property:P163 ?l . ?l rdf:type ontology:Q14660 } UNION { resource:Q1011 property:P163 ?l . ?l rdf:type ontology:Q14660 } }
flag of Luxembourg flag of Cape Verde flag of Israel flag of Armenia Flag of Serbia flag of Russia flag of the United States of America Flag of Mongolia flag of Ireland flag of Brazil
Flag of Brazil, flag of Armenia and flag of Luxembourg are associated with Luxembourg, Cape Verde, Israel, Armenia, Serbia, Russia, United States of America, Mongolia, Ireland and Brazil
flag of Brazil flag of Armenia flag of Luxembourg
action union
action filter_type
action find
entity Luxembourg
relation flag
type flag
action filter_type
action find
entity Cape Verde
relation flag
type flag
action filter_type
action find
entity Israel
relation flag
type flag
action filter_type
action find
entity Armenia
relation flag
type flag
action filter_type
action find
entity Serbia
relation flag
type flag
action filter_type
action find
entity Russia
relation flag
type flag
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity Mongolia
relation flag
type flag
action filter_type
action find
entity Ireland
relation flag
type flag
action filter_type
action find
entity Brazil
relation flag
type flag
['Luxembourg', 'flag', {'concept': 'flag'}] ['Cape Verde', 'flag', {'concept': 'flag'}] ['Israel', 'flag', {'concept': 'flag'}] ['Armenia', 'flag', {'concept': 'flag'}] ['Serbia', 'flag', {'concept': 'flag'}] ['Russia', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}] ['Mongolia', 'flag', {'concept': 'flag'}] ['Ireland', 'flag', {'concept': 'flag'}] ['Brazil', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?l WHERE { { resource:Luxembourg property:flag ?l . ?l rdf:type ontology:flag } UNION { resource:Cape_Verde property:flag ?l . ?l rdf:type ontology:flag } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33213
P17
Q15617994
USER
Which administrative territory is that flag a part of ?
(Q33213,P17,c(Q15617994))
action filter_type
action find
entity Q33213
relation P17
type Q15617994
['Q33213', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q33213 property:P17 ?h }
flag of Armenia
action filter_type
action find
entity flag of Armenia
relation country
type designation for an administrative territorial entity
['flag of Armenia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:flag_of_Armenia property:country ?h }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q133022
SYSTEM
Did you mean flag of Luxembourg ?
Q82194 Q33213 Q133022
(Q82194,P17,c(Q15617994)) (Q33213,P17,c(Q15617994)) (Q133022,P17,c(Q15617994))
[ANSWER]
['Q82194', 'P17', {'concept': 'Q15617994'}] ['Q33213', 'P17', {'concept': 'Q15617994'}] ['Q133022', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q33213 property:P17 ?h }
flag of Brazil flag of Armenia flag of Luxembourg
Did you mean flag of Luxembourg ?
flag of Luxembourg
['flag of Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['flag of Armenia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['flag of Luxembourg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:flag_of_Armenia property:country ?h }
[]
Simple Question (Coreferenced)
USER
No, I meant flag of Armenia. Could you tell me the answer for that?
(Q33213,P17,c(Q15617994))
Q33213
['Q33213', 'P17', {'concept': 'Q15617994'}]
['flag of Armenia', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q399
SYSTEM
Armenia
Q399
(Q33213,P17,c(Q15617994))
action filter_type
action find
entity Q33213
relation P17
type Q15617994
The [ANSWER] is that flag a part of
['Q33213', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q33213 property:P17 ?h }
Armenia
The Armenia is that flag a part of
Armenia
action filter_type
action find
entity flag of Armenia
relation country
type designation for an administrative territorial entity
['flag of Armenia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:flag_of_Armenia property:country ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q399
P921
Q1002697
USER
Which periodical literature is that administrative territory a main subject of ?
(c(Q1002697),P921,Q399)
action filter_type
action find_reverse
entity Q399
relation P921
type Q1002697
[{'concept': 'Q1002697'}, 'P921', 'Q399']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q399 . ?m rdf:type ontology:Q1002697 }
Armenia
action filter_type
action find_reverse
entity Armenia
relation main subject
type periodical literature
[{'concept': 'periodical literature'}, 'main subject', 'Armenia']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Armenia . ?m rdf:type ontology:periodical_literature }
[]
periodical literature
Q13054161
SYSTEM
Hammer
Q13054161
(c(Q1002697),P921,Q399)
action filter_type
action find_reverse
entity Q399
relation P921
type Q1002697
[ANSWER] is that administrative territory a main subject of
[{'concept': 'Q1002697'}, 'P921', 'Q399']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q399 . ?m rdf:type ontology:Q1002697 }
Hammer
Hammer is that administrative territory a main subject of
Hammer
action filter_type
action find_reverse
entity Armenia
relation main subject
type periodical literature
[{'concept': 'periodical literature'}, 'main subject', 'Armenia']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Armenia . ?m rdf:type ontology:periodical_literature }
[]