Simple Question (Direct)
Simple Question
Q3059769
P20
Q20667921
USER
Where did the demise of Eugène Charles Bonamy occur ?
(Q3059769,P20,c(Q20667921))
action filter_type
action find
entity Q3059769
relation P20
type Q20667921
['Q3059769', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q3059769 property:P20 ?n . ?n rdf:type ontology:Q20667921 }
Eugène Charles Bonamy
action filter_type
action find
entity Eugène Charles Bonamy
relation place of death
type type of french administrative division
['Eugène Charles Bonamy', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Eugène_Charles_Bonamy property:place_of_death ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q813372
SYSTEM
Beaufort-en-Vallée
Q813372
(Q3059769,P20,c(Q20667921))
action filter_type
action find
entity Q3059769
relation P20
type Q20667921
The demise of Eugène Charles Bonamy occurred of [ANSWER]
['Q3059769', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q3059769 property:P20 ?n . ?n rdf:type ontology:Q20667921 }
Beaufort-en-Vallée
The demise of Eugène Charles Bonamy occurred of Beaufort-en-Vallée
Beaufort-en-Vallée
action filter_type
action find
entity Eugène Charles Bonamy
relation place of death
type type of french administrative division
['Eugène Charles Bonamy', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Eugène_Charles_Bonamy property:place_of_death ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q813372
P19
Q502895
USER
Who have location of birth at that french administrative division ?
(c(Q502895),P19,Q813372)
action filter_type
action find_reverse
entity Q813372
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q813372']
SELECT DISTINCT ?j WHERE { ?j property:P19 resource:Q813372 . ?j rdf:type ontology:Q502895 }
Beaufort-en-Vallée
action filter_type
action find_reverse
entity Beaufort-en-Vallée
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Beaufort-en-Vallée']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth resource:Beaufort-en-Vallée . ?j rdf:type ontology:common_name }
[]
common name
Q16043661 Q454837 Q3340710
SYSTEM
Charles Bodinier, Louis Georges Érasme de Contades, Nicolas Quemener
Q16043661 Q454837 Q3340710
(c(Q502895),P19,Q813372)
action filter_type
action find_reverse
entity Q813372
relation P19
type Q502895
[ANSWERS] have location of birth at that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q813372']
SELECT DISTINCT ?j WHERE { ?j property:P19 resource:Q813372 . ?j rdf:type ontology:Q502895 }
Charles Bodinier Louis Georges Érasme de Contades Nicolas Quemener
Charles Bodinier, Louis Georges Érasme de Contades and Nicolas Quemener have location of birth at that french administrative division
Charles Bodinier Louis Georges Érasme de Contades Nicolas Quemener
action filter_type
action find_reverse
entity Beaufort-en-Vallée
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Beaufort-en-Vallée']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth resource:Beaufort-en-Vallée . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3340710
P264
Q334453
USER
Which division sponsored the recording of that person ?
(Q3340710,P264,c(Q334453))
action filter_type
action find
entity Q3340710
relation P264
type Q334453
['Q3340710', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { resource:Q3340710 property:P264 ?f . ?f rdf:type ontology:Q334453 }
Nicolas Quemener
action filter_type
action find
entity Nicolas Quemener
relation record label
type division
['Nicolas Quemener', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { resource:Nicolas_Quemener property:record_label ?f . ?f rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q16043661
SYSTEM
Did you mean Charles Bodinier ?
Q16043661 Q454837 Q3340710
(Q16043661,P264,c(Q334453)) (Q454837,P264,c(Q334453)) (Q3340710,P264,c(Q334453))
[ANSWER]
['Q16043661', 'P264', {'concept': 'Q334453'}] ['Q454837', 'P264', {'concept': 'Q334453'}] ['Q3340710', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { resource:Q3340710 property:P264 ?f . ?f rdf:type ontology:Q334453 }
Charles Bodinier Louis Georges Érasme de Contades Nicolas Quemener
Did you mean Charles Bodinier ?
Charles Bodinier
['Charles Bodinier', 'record label', {'concept': 'division'}] ['Louis Georges Érasme de Contades', 'record label', {'concept': 'division'}] ['Nicolas Quemener', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { resource:Nicolas_Quemener property:record_label ?f . ?f rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
No, I meant Nicolas Quemener. Could you tell me the answer for that?
(Q3340710,P264,c(Q334453))
Q3340710
['Q3340710', 'P264', {'concept': 'Q334453'}]
['Nicolas Quemener', 'record label', {'concept': 'division'}]
[]
Q2420109
SYSTEM
Keltia Musique
Q2420109
(Q3340710,P264,c(Q334453))
action filter_type
action find
entity Q3340710
relation P264
type Q334453
[ANSWER] sponsored the recording of that person
['Q3340710', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { resource:Q3340710 property:P264 ?f . ?f rdf:type ontology:Q334453 }
Keltia Musique
Keltia Musique sponsored the recording of that person
Keltia Musique
action filter_type
action find
entity Nicolas Quemener
relation record label
type division
['Nicolas Quemener', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { resource:Nicolas_Quemener property:record_label ?f . ?f rdf:type ontology:division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18161936 Q3059769
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Eugène Charles Bonamy or are Alliance for Democracy and Progress situated in ?
OR((Q3059769,P27,c(Q15617994)), (Q18161936,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3059769
relation P27
action find
entity Q18161936
relation P17
type Q15617994
{'OR': [['Q3059769', 'P27', {'concept': 'Q15617994'}], ['Q18161936', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3059769 property:P27 ?l } UNION { resource:Q18161936 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Alliance for Democracy and Progress Eugène Charles Bonamy
action filter_type
action union
action find
entity Eugène Charles Bonamy
relation country of citizenship
action find
entity Alliance for Democracy and Progress
relation country
type designation for an administrative territorial entity
{'OR': [['Eugène Charles Bonamy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alliance for Democracy and Progress', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Eugène_Charles_Bonamy property:country_of_citizenship ?l } UNION { resource:Alliance_for_Democracy_and_Progress property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q962
SYSTEM
France, Benin
Q142 Q962
OR((Q3059769,P27,c(Q15617994)), (Q18161936,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3059769
relation P27
action find
entity Q18161936
relation P17
type Q15617994
[ANSWERS] are the native countriesof Eugène Charles Bonamy or are Alliance for Democracy and Progress situated in
{'OR': [['Q3059769', 'P27', {'concept': 'Q15617994'}], ['Q18161936', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3059769 property:P27 ?l } UNION { resource:Q18161936 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
France Benin
France and Benin are the native countriesof Eugène Charles Bonamy or are Alliance for Democracy and Progress situated in
France Benin
action filter_type
action union
action find
entity Eugène Charles Bonamy
relation country of citizenship
action find
entity Alliance for Democracy and Progress
relation country
type designation for an administrative territorial entity
{'OR': [['Eugène Charles Bonamy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alliance for Democracy and Progress', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Eugène_Charles_Bonamy property:country_of_citizenship ?l } UNION { resource:Alliance_for_Democracy_and_Progress property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?z ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?i ) WHERE { ?p rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 . ?p property:P530 ?w } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?c ) WHERE { ?e rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?e property:P530 ?o } GROUP BY ?e } . FILTER ( ?c = ?z ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?z ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?i ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?w } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?c ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?o } GROUP BY ?e } . FILTER ( ?c = ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have a diplomatic relationship with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?z ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?i ) WHERE { ?p rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 . ?p property:P530 ?w } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?c ) WHERE { ?e rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?e property:P530 ?o } GROUP BY ?e } . FILTER ( ?c = ?z ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have a diplomatic relationship with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?z ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?i ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?w } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?c ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?o } GROUP BY ?e } . FILTER ( ?c = ?z ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P17
Q14524493 Q34442
USER
How many terrains or roads are situated in that administrative territory ?
(c(Q14524493),P17,Q929) (c(Q34442),P17,Q929) (c(Q14524493),P17,Q929) (c(Q34442),P17,Q929) (c(Q14524493),P17,Q29999) (c(Q34442),P17,Q29999) (c(Q14524493),P17,Q232) (c(Q34442),P17,Q232)
[{'concept': 'Q14524493'}, 'P17', 'Q929'] [{'concept': 'Q34442'}, 'P17', 'Q929'] [{'concept': 'Q14524493'}, 'P17', 'Q929'] [{'concept': 'Q34442'}, 'P17', 'Q929'] [{'concept': 'Q14524493'}, 'P17', 'Q29999'] [{'concept': 'Q34442'}, 'P17', 'Q29999'] [{'concept': 'Q14524493'}, 'P17', 'Q232'] [{'concept': 'Q34442'}, 'P17', 'Q232']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q929 } UNION { ?y property:Q6256 resource:Q929 } UNION { ?z property:Q6256 resource:Q929 } UNION { ?y property:Q6256 resource:Q929 } UNION { ?z property:Q6256 resource:Q29999 } UNION { ?y property:Q6256 resource:Q29999 } UNION { ?z property:Q6256 resource:Q232 } UNION { ?y property:Q6256 resource:Q232 } } . ?z rdf:type ontology:Q14524493 . ?y rdf:type ontology:Q34442 }
[{'concept': 'terrain'}, 'country', 'Central African Republic'] [{'concept': 'road'}, 'country', 'Central African Republic'] [{'concept': 'terrain'}, 'country', 'Central African Republic'] [{'concept': 'road'}, 'country', 'Central African Republic'] [{'concept': 'terrain'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'road'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'terrain'}, 'country', 'Kazakhstan'] [{'concept': 'road'}, 'country', 'Kazakhstan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Central_African_Republic } UNION { ?y property:country resource:Central_African_Republic } UNION { ?z property:country resource:Central_African_Republic } UNION { ?y property:country resource:Central_African_Republic } UNION { ?z property:country resource:Kingdom_of_the_Netherlands } UNION { ?y property:country resource:Kingdom_of_the_Netherlands } UNION { ?z property:country resource:Kazakhstan } UNION { ?y property:country resource:Kazakhstan } } . ?z rdf:type ontology:terrain . ?y rdf:type ontology:road }
[]
terrain road
Quantitative|Count|Mult. entity type|Clarification
Q29999
SYSTEM
Did you mean Kingdom of the Netherlands ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q929 } UNION { ?y property:Q6256 resource:Q929 } UNION { ?z property:Q6256 resource:Q929 } UNION { ?y property:Q6256 resource:Q929 } UNION { ?z property:Q6256 resource:Q29999 } UNION { ?y property:Q6256 resource:Q29999 } UNION { ?z property:Q6256 resource:Q232 } UNION { ?y property:Q6256 resource:Q232 } } . ?z rdf:type ontology:Q14524493 . ?y rdf:type ontology:Q34442 }
Did you mean Kingdom of the Netherlands ?
Kingdom of the Netherlands
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Central_African_Republic } UNION { ?y property:country resource:Central_African_Republic } UNION { ?z property:country resource:Central_African_Republic } UNION { ?y property:country resource:Central_African_Republic } UNION { ?z property:country resource:Kingdom_of_the_Netherlands } UNION { ?y property:country resource:Kingdom_of_the_Netherlands } UNION { ?z property:country resource:Kazakhstan } UNION { ?y property:country resource:Kazakhstan } } . ?z rdf:type ontology:terrain . ?y rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Central African Republic. Could you tell me the answer for that?
(c(Q14524493),P17,Q929) (c(Q34442),P17,Q929) (c(Q14524493),P17,Q929) (c(Q34442),P17,Q929) (c(Q14524493),P17,Q29999) (c(Q34442),P17,Q29999) (c(Q14524493),P17,Q232) (c(Q34442),P17,Q232)
Q929
[{'concept': 'Q14524493'}, 'P17', 'Q929'] [{'concept': 'Q34442'}, 'P17', 'Q929'] [{'concept': 'Q14524493'}, 'P17', 'Q929'] [{'concept': 'Q34442'}, 'P17', 'Q929'] [{'concept': 'Q14524493'}, 'P17', 'Q29999'] [{'concept': 'Q34442'}, 'P17', 'Q29999'] [{'concept': 'Q14524493'}, 'P17', 'Q232'] [{'concept': 'Q34442'}, 'P17', 'Q232']
[{'concept': 'terrain'}, 'country', 'Central African Republic'] [{'concept': 'road'}, 'country', 'Central African Republic'] [{'concept': 'terrain'}, 'country', 'Central African Republic'] [{'concept': 'road'}, 'country', 'Central African Republic'] [{'concept': 'terrain'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'road'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'terrain'}, 'country', 'Kazakhstan'] [{'concept': 'road'}, 'country', 'Kazakhstan']
[]
SYSTEM
4
Q1406553 Q1113780 Q2422162 Q22555266
(c(Q14524493),P17,Q929) (c(Q34442),P17,Q929) (c(Q14524493),P17,Q929) (c(Q34442),P17,Q929) (c(Q14524493),P17,Q29999) (c(Q34442),P17,Q29999) (c(Q14524493),P17,Q232) (c(Q34442),P17,Q232)
[ANSWER]
[{'concept': 'Q14524493'}, 'P17', 'Q929'] [{'concept': 'Q34442'}, 'P17', 'Q929'] [{'concept': 'Q14524493'}, 'P17', 'Q929'] [{'concept': 'Q34442'}, 'P17', 'Q929'] [{'concept': 'Q14524493'}, 'P17', 'Q29999'] [{'concept': 'Q34442'}, 'P17', 'Q29999'] [{'concept': 'Q14524493'}, 'P17', 'Q232'] [{'concept': 'Q34442'}, 'P17', 'Q232']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q929 } UNION { ?y property:Q6256 resource:Q929 } UNION { ?z property:Q6256 resource:Q929 } UNION { ?y property:Q6256 resource:Q929 } UNION { ?z property:Q6256 resource:Q29999 } UNION { ?y property:Q6256 resource:Q29999 } UNION { ?z property:Q6256 resource:Q232 } UNION { ?y property:Q6256 resource:Q232 } } . ?z rdf:type ontology:Q14524493 . ?y rdf:type ontology:Q34442 }
Lagos–Mombasa Highway Mont Abourasséin Mont Ngaoui Koulam
4
[{'concept': 'terrain'}, 'country', 'Central African Republic'] [{'concept': 'road'}, 'country', 'Central African Republic'] [{'concept': 'terrain'}, 'country', 'Central African Republic'] [{'concept': 'road'}, 'country', 'Central African Republic'] [{'concept': 'terrain'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'road'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'terrain'}, 'country', 'Kazakhstan'] [{'concept': 'road'}, 'country', 'Kazakhstan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Central_African_Republic } UNION { ?y property:country resource:Central_African_Republic } UNION { ?z property:country resource:Central_African_Republic } UNION { ?y property:country resource:Central_African_Republic } UNION { ?z property:country resource:Kingdom_of_the_Netherlands } UNION { ?y property:country resource:Kingdom_of_the_Netherlands } UNION { ?z property:country resource:Kazakhstan } UNION { ?y property:country resource:Kazakhstan } } . ?z rdf:type ontology:terrain . ?y rdf:type ontology:road }
[]