Simple Question (Direct)
Simple Question
Q734474
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Claude Magnier ?
(Q734474,P27,c(Q15617994))
action filter_type
action find
entity Q734474
relation P27
type Q15617994
['Q734474', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q734474 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Claude Magnier
action filter_type
action find
entity Claude Magnier
relation country of citizenship
type designation for an administrative territorial entity
['Claude Magnier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Claude_Magnier property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q734474,P27,c(Q15617994))
action filter_type
action find
entity Q734474
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Claude Magnier
['Q734474', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q734474 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Claude Magnier
France
action filter_type
action find
entity Claude Magnier
relation country of citizenship
type designation for an administrative territorial entity
['Claude Magnier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Claude_Magnier property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P84
Q811430
USER
Which construction was designed by that administrative territory ?
(c(Q811430),P84,Q142)
action filter_type
action find_reverse
entity Q142
relation P84
type Q811430
[{'concept': 'Q811430'}, 'P84', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P84 resource:Q142 . ?w rdf:type ontology:Q811430 }
France
action filter_type
action find_reverse
entity France
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'France']
SELECT DISTINCT ?w WHERE { ?w property:architect resource:France . ?w rdf:type ontology:construction }
[]
construction
Q4740023
SYSTEM
Amar Mahal Palace
Q4740023
(c(Q811430),P84,Q142)
action filter_type
action find_reverse
entity Q142
relation P84
type Q811430
[ANSWER] was designed by that administrative territory
[{'concept': 'Q811430'}, 'P84', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P84 resource:Q142 . ?w rdf:type ontology:Q811430 }
Amar Mahal Palace
Amar Mahal Palace was designed by that administrative territory
Amar Mahal Palace
action filter_type
action find_reverse
entity France
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'France']
SELECT DISTINCT ?w WHERE { ?w property:architect resource:France . ?w rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P30
Q2221906
USER
Which geographic locations are France a part of ?
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q142 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
France
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:France property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q538 Q828 Q51
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
[ANSWERS]
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q142 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Europe Africa Oceania Americas Antarctica
Which geographic locations are France a part of
Antarctica Africa Europe
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:France property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15
P19
Q502895
USER
Who have location of birth at that geographic location ?
(c(Q502895),P19,Q15)
action filter_type
action find_reverse
entity Q15
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q15']
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q15 . ?u rdf:type ontology:Q502895 }
Africa
action filter_type
action find_reverse
entity Africa
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Africa']
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Africa . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15
SYSTEM
Did you mean Africa ?
Q51 Q15 Q46
(c(Q502895),P19,Q51) (c(Q502895),P19,Q15) (c(Q502895),P19,Q46)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q51'] [{'concept': 'Q502895'}, 'P19', 'Q15'] [{'concept': 'Q502895'}, 'P19', 'Q46']
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q15 . ?u rdf:type ontology:Q502895 }
Antarctica Africa Europe
Did you mean Africa ?
Africa
[{'concept': 'common name'}, 'place of birth', 'Antarctica'] [{'concept': 'common name'}, 'place of birth', 'Africa'] [{'concept': 'common name'}, 'place of birth', 'Europe']
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Africa . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P19,Q15)
[{'concept': 'Q502895'}, 'P19', 'Q15']
[{'concept': 'common name'}, 'place of birth', 'Africa']
[]
Q131171 Q127989 Q316483
SYSTEM
Imhotep, Victor I, Florus
Q6757951 Q131171 Q22343687 Q5948035 Q3733623 Q127989 Q316483 Q5592714 Q3307800 Q3381321 Q3414645 Q4356553 Q983440 Q7702116 Q209102 Q4485272 Q5411043
(c(Q502895),P19,Q15)
action filter_type
action find_reverse
entity Q15
relation P19
type Q502895
[ANSWERS] have location of birth at that geographic location
[{'concept': 'Q502895'}, 'P19', 'Q15']
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q15 . ?u rdf:type ontology:Q502895 }
Marcos Xiorro Imhotep Prince Demah Barnes Manuel Macedonio Barbarín Esuperanzio di Cingoli Victor I Florus Graham Capill Eva Vortex Lucy Terry Quintian of Rodez Gustav Badin Kalulu Teresa Chikaba Lactantius Flavius Felix Eurasian Adam
Imhotep, Victor I and Florus have location of birth at that geographic location
Imhotep Victor I Florus
action filter_type
action find_reverse
entity Africa
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Africa']
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Africa . ?u rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P20
Q56061
USER
How many administrative territories did that person expire ?
(Q316483,P20,c(Q56061))
['Q316483', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15621261 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
['Florus', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Florus property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q316483
SYSTEM
Did you mean Florus ?
(Q131171,P20,c(Q56061)) (Q127989,P20,c(Q56061)) (Q316483,P20,c(Q56061))
[ANSWER]
['Q131171', 'P20', {'concept': 'Q56061'}] ['Q127989', 'P20', {'concept': 'Q56061'}] ['Q316483', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15621261 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Florus ?
Florus
['Imhotep', 'place of death', {'concept': 'administrative territorial entity'}] ['Victor I', 'place of death', {'concept': 'administrative territorial entity'}] ['Florus', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Florus property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q316483,P20,c(Q56061))
['Q316483', 'P20', {'concept': 'Q56061'}]
['Florus', 'place of death', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q220
(Q316483,P20,c(Q56061))
[ANSWER]
['Q316483', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15621261 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Rome
1
['Florus', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Florus property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3683691 Q142
P530 P495
Q15617994
USER
Which administrative territories have diplomatic relationships with France or did Light Blast originate ?
OR((Q142,P530,c(Q15617994)), (Q3683691,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q3683691
relation P495
type Q15617994
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q3683691', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q142 property:P530 ?p } UNION { resource:Q3683691 property:P495 ?p } } . ?p rdf:type ontology:Q15617994 }
Light Blast France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Light Blast
relation country of origin
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Light Blast', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:France property:diplomatic_relation ?p } UNION { resource:Light_Blast property:country_of_origin ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q228 Q155 Q159 Q38 Q403 Q399 Q27 Q801 Q145 Q32
SYSTEM
Some of them are Andorra, Brazil, Russia, Italy, Serbia, Armenia, Ireland, Israel, United Kingdom, Luxembourg
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
OR((Q142,P530,c(Q15617994)), (Q3683691,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q3683691
relation P495
type Q15617994
[ANSWERS] have diplomatic relationships with France or did Light Blast originate
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q3683691', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q142 property:P530 ?p } UNION { resource:Q3683691 property:P495 ?p } } . ?p rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
Andorra, Brazil, Russia, Italy, Serbia, Armenia, Ireland, Israel, United Kingdom and Luxembourg have diplomatic relationships with France or did Light Blast originate
Andorra Brazil Russia Italy Serbia Armenia Ireland Israel United Kingdom Luxembourg
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Light Blast
relation country of origin
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Light Blast', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:France property:diplomatic_relation ?p } UNION { resource:Light_Blast property:country_of_origin ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]