Simple Question (Direct)
Simple Question
Q4979316
P19
Q56061
USER
Which administrative territory was Bruno Miguel Borges Fernandes born in ?
(Q4979316,P19,c(Q56061))
action filter_type
action find
entity Q4979316
relation P19
type Q56061
['Q4979316', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q4979316 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Bruno Miguel Borges Fernandes
action filter_type
action find
entity Bruno Miguel Borges Fernandes
relation place of birth
type administrative territorial entity
['Bruno Miguel Borges Fernandes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Bruno_Miguel_Borges_Fernandes property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q990403
SYSTEM
Maia
Q990403
(Q4979316,P19,c(Q56061))
action filter_type
action find
entity Q4979316
relation P19
type Q56061
Bruno Miguel Borges Fernandes was born in [ANSWER]
['Q4979316', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q4979316 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Maia
Bruno Miguel Borges Fernandes was born in Maia
Maia
action filter_type
action find
entity Bruno Miguel Borges Fernandes
relation place of birth
type administrative territorial entity
['Bruno Miguel Borges Fernandes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Bruno_Miguel_Borges_Fernandes property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q990403
P190
Q20667921
USER
Which french administrative divisions are partner towns of that administrative territory ?
(Q990403,P190,c(Q20667921))
action filter_type
action find
entity Q990403
relation P190
type Q20667921
['Q990403', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q990403 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Maia
action filter_type
action find
entity Maia
relation sister city
type type of french administrative division
['Maia', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Maia property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1066223 Q207253
SYSTEM
Andrézieux-Bouthéon, Mantes-la-Jolie
Q1066223 Q207253
(Q990403,P190,c(Q20667921))
action filter_type
action find
entity Q990403
relation P190
type Q20667921
[ANSWERS] are partner towns of that administrative territory
['Q990403', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q990403 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Andrézieux-Bouthéon Mantes-la-Jolie
Andrézieux-Bouthéon and Mantes-la-Jolie are partner towns of that administrative territory
Andrézieux-Bouthéon Mantes-la-Jolie
action filter_type
action find
entity Maia
relation sister city
type type of french administrative division
['Maia', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Maia property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1684939 Q990403
P19 P190
Q20667921
USER
Which french administrative divisions are twin cities of Maia or were Jean-Joseph Menuret born at ?
OR((Q990403,P190,c(Q20667921)), (Q1684939,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q990403
relation P190
action find
entity Q1684939
relation P19
type Q20667921
{'OR': [['Q990403', 'P190', {'concept': 'Q20667921'}], ['Q1684939', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q990403 property:P190 ?f } UNION { resource:Q1684939 property:P19 ?f } } . ?f rdf:type ontology:Q20667921 }
Jean-Joseph Menuret Maia
action filter_type
action union
action find
entity Maia
relation sister city
action find
entity Jean-Joseph Menuret
relation place of birth
type type of french administrative division
{'OR': [['Maia', 'sister city', {'concept': 'type of french administrative division'}], ['Jean-Joseph Menuret', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Maia property:sister_city ?f } UNION { resource:Jean-Joseph_Menuret property:place_of_birth ?f } } . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q234270 Q1066223 Q207253
SYSTEM
Montélimar, Andrézieux-Bouthéon, Mantes-la-Jolie
Q234270 Q1066223 Q207253
OR((Q990403,P190,c(Q20667921)), (Q1684939,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q990403
relation P190
action find
entity Q1684939
relation P19
type Q20667921
[ANSWERS] are twin cities of Maia or were Jean-Joseph Menuret born at
{'OR': [['Q990403', 'P190', {'concept': 'Q20667921'}], ['Q1684939', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q990403 property:P190 ?f } UNION { resource:Q1684939 property:P19 ?f } } . ?f rdf:type ontology:Q20667921 }
Montélimar Andrézieux-Bouthéon Mantes-la-Jolie
Montélimar, Andrézieux-Bouthéon and Mantes-la-Jolie are twin cities of Maia or were Jean-Joseph Menuret born at
Montélimar Andrézieux-Bouthéon Mantes-la-Jolie
action filter_type
action union
action find
entity Maia
relation sister city
action find
entity Jean-Joseph Menuret
relation place of birth
type type of french administrative division
{'OR': [['Maia', 'sister city', {'concept': 'type of french administrative division'}], ['Jean-Joseph Menuret', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Maia property:sister_city ?f } UNION { resource:Jean-Joseph_Menuret property:place_of_birth ?f } } . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P36
Q13220204 Q20667921
USER
How many administrative country subdivisions or french administrative divisions consists of that french administrative division as their capital ?
(c(Q13220204),P36,Q234270) (c(Q20667921),P36,Q234270) (c(Q13220204),P36,Q234270) (c(Q20667921),P36,Q234270) (c(Q13220204),P36,Q1066223) (c(Q20667921),P36,Q1066223) (c(Q13220204),P36,Q207253) (c(Q20667921),P36,Q207253)
[{'concept': 'Q13220204'}, 'P36', 'Q234270'] [{'concept': 'Q20667921'}, 'P36', 'Q234270'] [{'concept': 'Q13220204'}, 'P36', 'Q234270'] [{'concept': 'Q20667921'}, 'P36', 'Q234270'] [{'concept': 'Q13220204'}, 'P36', 'Q1066223'] [{'concept': 'Q20667921'}, 'P36', 'Q1066223'] [{'concept': 'Q13220204'}, 'P36', 'Q207253'] [{'concept': 'Q20667921'}, 'P36', 'Q207253']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q8137 resource:Q234270 } UNION { ?y property:Q8137 resource:Q234270 } UNION { ?z property:Q8137 resource:Q234270 } UNION { ?y property:Q8137 resource:Q234270 } UNION { ?z property:Q8137 resource:Q1066223 } UNION { ?y property:Q8137 resource:Q1066223 } UNION { ?z property:Q8137 resource:Q17115420 } UNION { ?y property:Q8137 resource:Q17115420 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q20667921 }
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Montélimar'] [{'concept': 'type of french administrative division'}, 'capital', 'Montélimar'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Montélimar'] [{'concept': 'type of french administrative division'}, 'capital', 'Montélimar'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Andrézieux-Bouthéon'] [{'concept': 'type of french administrative division'}, 'capital', 'Andrézieux-Bouthéon'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Mantes-la-Jolie'] [{'concept': 'type of french administrative division'}, 'capital', 'Mantes-la-Jolie']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:capital resource:Montélimar } UNION { ?y property:capital resource:Montélimar } UNION { ?z property:capital resource:Montélimar } UNION { ?y property:capital resource:Montélimar } UNION { ?z property:capital resource:Andrézieux-Bouthéon } UNION { ?y property:capital resource:Andrézieux-Bouthéon } UNION { ?z property:capital resource:Mantes-la-Jolie } UNION { ?y property:capital resource:Mantes-la-Jolie } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:type_of_french_administrative_division }
[]
second-level administrative country subdivision type of french administrative division
Quantitative|Count|Mult. entity type|Clarification
Q1066223
SYSTEM
Did you mean Andrézieux-Bouthéon ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q8137 resource:Q234270 } UNION { ?y property:Q8137 resource:Q234270 } UNION { ?z property:Q8137 resource:Q234270 } UNION { ?y property:Q8137 resource:Q234270 } UNION { ?z property:Q8137 resource:Q1066223 } UNION { ?y property:Q8137 resource:Q1066223 } UNION { ?z property:Q8137 resource:Q17115420 } UNION { ?y property:Q8137 resource:Q17115420 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q20667921 }
Did you mean Andrézieux-Bouthéon ?
Andrézieux-Bouthéon
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:capital resource:Montélimar } UNION { ?y property:capital resource:Montélimar } UNION { ?z property:capital resource:Montélimar } UNION { ?y property:capital resource:Montélimar } UNION { ?z property:capital resource:Andrézieux-Bouthéon } UNION { ?y property:capital resource:Andrézieux-Bouthéon } UNION { ?z property:capital resource:Mantes-la-Jolie } UNION { ?y property:capital resource:Mantes-la-Jolie } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Montélimar. Could you tell me the answer for that?
(c(Q13220204),P36,Q234270) (c(Q20667921),P36,Q234270) (c(Q13220204),P36,Q234270) (c(Q20667921),P36,Q234270) (c(Q13220204),P36,Q1066223) (c(Q20667921),P36,Q1066223) (c(Q13220204),P36,Q207253) (c(Q20667921),P36,Q207253)
Q234270
[{'concept': 'Q13220204'}, 'P36', 'Q234270'] [{'concept': 'Q20667921'}, 'P36', 'Q234270'] [{'concept': 'Q13220204'}, 'P36', 'Q234270'] [{'concept': 'Q20667921'}, 'P36', 'Q234270'] [{'concept': 'Q13220204'}, 'P36', 'Q1066223'] [{'concept': 'Q20667921'}, 'P36', 'Q1066223'] [{'concept': 'Q13220204'}, 'P36', 'Q207253'] [{'concept': 'Q20667921'}, 'P36', 'Q207253']
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Montélimar'] [{'concept': 'type of french administrative division'}, 'capital', 'Montélimar'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Montélimar'] [{'concept': 'type of french administrative division'}, 'capital', 'Montélimar'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Andrézieux-Bouthéon'] [{'concept': 'type of french administrative division'}, 'capital', 'Andrézieux-Bouthéon'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Mantes-la-Jolie'] [{'concept': 'type of french administrative division'}, 'capital', 'Mantes-la-Jolie']
[]
SYSTEM
3
Q1726365 Q2863896 Q1726369
(c(Q13220204),P36,Q234270) (c(Q20667921),P36,Q234270) (c(Q13220204),P36,Q234270) (c(Q20667921),P36,Q234270) (c(Q13220204),P36,Q1066223) (c(Q20667921),P36,Q1066223) (c(Q13220204),P36,Q207253) (c(Q20667921),P36,Q207253)
[ANSWER]
[{'concept': 'Q13220204'}, 'P36', 'Q234270'] [{'concept': 'Q20667921'}, 'P36', 'Q234270'] [{'concept': 'Q13220204'}, 'P36', 'Q234270'] [{'concept': 'Q20667921'}, 'P36', 'Q234270'] [{'concept': 'Q13220204'}, 'P36', 'Q1066223'] [{'concept': 'Q20667921'}, 'P36', 'Q1066223'] [{'concept': 'Q13220204'}, 'P36', 'Q207253'] [{'concept': 'Q20667921'}, 'P36', 'Q207253']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q8137 resource:Q234270 } UNION { ?y property:Q8137 resource:Q234270 } UNION { ?z property:Q8137 resource:Q234270 } UNION { ?y property:Q8137 resource:Q234270 } UNION { ?z property:Q8137 resource:Q1066223 } UNION { ?y property:Q8137 resource:Q1066223 } UNION { ?z property:Q8137 resource:Q17115420 } UNION { ?y property:Q8137 resource:Q17115420 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q20667921 }
canton of Montélimar-1 arrondissement of Montélimar canton of Montélimar-2
3
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Montélimar'] [{'concept': 'type of french administrative division'}, 'capital', 'Montélimar'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Montélimar'] [{'concept': 'type of french administrative division'}, 'capital', 'Montélimar'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Andrézieux-Bouthéon'] [{'concept': 'type of french administrative division'}, 'capital', 'Andrézieux-Bouthéon'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Mantes-la-Jolie'] [{'concept': 'type of french administrative division'}, 'capital', 'Mantes-la-Jolie']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:capital resource:Montélimar } UNION { ?y property:capital resource:Montélimar } UNION { ?z property:capital resource:Montélimar } UNION { ?y property:capital resource:Montélimar } UNION { ?z property:capital resource:Andrézieux-Bouthéon } UNION { ?y property:capital resource:Andrézieux-Bouthéon } UNION { ?z property:capital resource:Mantes-la-Jolie } UNION { ?y property:capital resource:Mantes-la-Jolie } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3026890 Q234270
P17
Q15617994
USER
Which administrative territories do Montélimar or Didi Abuli belong to ?
OR((Q234270,P17,c(Q15617994)), (Q3026890,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q234270
relation P17
action find
entity Q3026890
relation P17
type Q15617994
{'OR': [['Q234270', 'P17', {'concept': 'Q15617994'}], ['Q3026890', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?v ) { ( resource:Q234270 ) ( resource:Q3026890 ) } . ?v property:P17 ?g } . ?g rdf:type ontology:Q15617994 }
Didi Abuli Montélimar
action filter_type
action union
action find
entity Montélimar
relation country
action find
entity Didi Abuli
relation country
type designation for an administrative territorial entity
{'OR': [['Montélimar', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Didi Abuli', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?v ) { ( resource:Montélimar ) ( resource:Didi_Abuli ) } . ?v property:country ?g } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q230
SYSTEM
France, Georgia
Q142 Q230
OR((Q234270,P17,c(Q15617994)), (Q3026890,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q234270
relation P17
action find
entity Q3026890
relation P17
type Q15617994
Montélimar or Didi Abuli belong to the [ANSWERS]
{'OR': [['Q234270', 'P17', {'concept': 'Q15617994'}], ['Q3026890', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?v ) { ( resource:Q234270 ) ( resource:Q3026890 ) } . ?v property:P17 ?g } . ?g rdf:type ontology:Q15617994 }
France Georgia
Montélimar or Didi Abuli belong to the France and Georgia
France Georgia
action filter_type
action union
action find
entity Montélimar
relation country
action find
entity Didi Abuli
relation country
type designation for an administrative territorial entity
{'OR': [['Montélimar', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Didi Abuli', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?v ) { ( resource:Montélimar ) ( resource:Didi_Abuli ) } . ?v property:country ?g } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P1532
Q6979593
USER
Which national association football teams play for that administrative territory ?
(c(Q6979593),P1532,Q142)
action filter_type
action find_reverse
entity Q142
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q142']
SELECT DISTINCT ?n WHERE { ?n property:P1532 resource:Q142 . ?n rdf:type ontology:Q6979593 }
France
action filter_type
action find_reverse
entity France
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'France']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport resource:France . ?n rdf:type ontology:national_association_football_team }
[]
national association football team
Clarification for simple ques.
Q230
SYSTEM
Did you mean Georgia ?
Q142 Q230
(c(Q6979593),P1532,Q142) (c(Q6979593),P1532,Q230)
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q142'] [{'concept': 'Q6979593'}, 'P1532', 'Q230']
SELECT DISTINCT ?n WHERE { ?n property:P1532 resource:Q142 . ?n rdf:type ontology:Q6979593 }
France Georgia
Did you mean Georgia ?
Georgia
[{'concept': 'national association football team'}, 'country for sport', 'France'] [{'concept': 'national association football team'}, 'country for sport', 'Georgia']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport resource:France . ?n rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q6979593),P1532,Q142)
Q142
[{'concept': 'Q6979593'}, 'P1532', 'Q142']
[{'concept': 'national association football team'}, 'country for sport', 'France']
[]
Q32970 Q751670 Q3590215
SYSTEM
France women's national under-19 football team, France women's national football team, France Olympic football team
Q32970 Q751670 Q3590215 Q3590145 Q4534660
(c(Q6979593),P1532,Q142)
action filter_type
action find_reverse
entity Q142
relation P1532
type Q6979593
[ANSWERS] play for that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q142']
SELECT DISTINCT ?n WHERE { ?n property:P1532 resource:Q142 . ?n rdf:type ontology:Q6979593 }
France women's national under-19 football team France women's national football team France Olympic football team France women's national under-17 football team France national youth football team
France women's national under-19 football team, France women's national football team and France Olympic football team play for that administrative territory
France women's national under-19 football team France women's national football team France Olympic football team
action filter_type
action find_reverse
entity France
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'France']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport resource:France . ?n rdf:type ontology:national_association_football_team }
[]