Simple Question (Direct)
Simple Question
Q18221832
P39
Q12737077
USER
Which occupation was a position held by Nicolas Diot ?
(Q18221832,P39,c(Q12737077))
action filter_type
action find
entity Q18221832
relation P39
type Q12737077
['Q18221832', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q18221832 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Nicolas Diot
action filter_type
action find
entity Nicolas Diot
relation position held
type occupation
['Nicolas Diot', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Nicolas_Diot property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q18221832,P39,c(Q12737077))
action filter_type
action find
entity Q18221832
relation P39
type Q12737077
[ANSWER] was a position held by Nicolas Diot
['Q18221832', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q18221832 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
bishop
Bishop was a position held by Nicolas Diot
bishop
action filter_type
action find
entity Nicolas Diot
relation position held
type occupation
['Nicolas Diot', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Nicolas_Diot property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18221832
P106
Q12737077
USER
Which occupation is the profession of Nicolas Diot ?
(Q18221832,P106,c(Q12737077))
action filter_type
action find
entity Q18221832
relation P106
type Q12737077
['Q18221832', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q18221832 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Nicolas Diot
action filter_type
action find
entity Nicolas Diot
relation occupation
type occupation
['Nicolas Diot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Nicolas_Diot property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q250867
SYSTEM
Catholic priest
Q250867
(Q18221832,P106,c(Q12737077))
action filter_type
action find
entity Q18221832
relation P106
type Q12737077
The [ANSWER] is the profession of Nicolas Diot
['Q18221832', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q18221832 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Catholic priest
The Catholic priest is the profession of Nicolas Diot
Catholic priest
action filter_type
action find
entity Nicolas Diot
relation occupation
type occupation
['Nicolas Diot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Nicolas_Diot property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1257488
Q12737077
USER
And also tell me about Gaahl?
(Q1257488,P106,c(Q12737077))
action filter_type
action find
entity Q1257488
relation P106
type Q12737077
['Q1257488', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1257488 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Gaahl
action filter_type
action find
entity Gaahl
relation occupation
type occupation
['Gaahl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Gaahl property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q33999 Q488205 Q177220
SYSTEM
actor, singer-songwriter, singer
Q33999 Q488205 Q177220
(Q1257488,P106,c(Q12737077))
action filter_type
action find
entity Q1257488
relation P106
type Q12737077
[ANSWERS]
['Q1257488', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1257488 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
actor singer-songwriter singer
actor singer-songwriter singer
action filter_type
action find
entity Gaahl
relation occupation
type occupation
['Gaahl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Gaahl property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18221832
P21
Q290
USER
What is the sex of Nicolas Diot ?
(Q18221832,P21,c(Q290))
action filter_type
action find
entity Q18221832
relation P21
type Q290
['Q18221832', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q18221832 property:P21 ?v . ?v rdf:type ontology:Q290 }
Nicolas Diot
action filter_type
action find
entity Nicolas Diot
relation gender
type sex
['Nicolas Diot', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Nicolas_Diot property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18221832,P21,c(Q290))
action filter_type
action find
entity Q18221832
relation P21
type Q290
The sex of Nicolas Diot is a [ANSWER]
['Q18221832', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q18221832 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of Nicolas Diot is a male
male
action filter_type
action find
entity Nicolas Diot
relation gender
type sex
['Nicolas Diot', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Nicolas_Diot property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18221832
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q18221832
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q18221832 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Nicolas Diot
action filter_type
action find
entity Nicolas Diot
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Nicolas_Diot property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41876
SYSTEM
Reims
Q41876
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q18221832
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q18221832 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Reims
That person was born in Reims
Reims
action filter_type
action find
entity Nicolas Diot
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Nicolas_Diot property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41876
P47
Q20667921
USER
Which french administrative divisions share border with that administrative territory ?
(Q41876,P47,c(Q20667921))
action filter_type
action find
entity Q41876
relation P47
type Q20667921
['Q41876', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q41876 property:P47 ?q . ?q rdf:type ontology:Q20667921 }
Reims
action filter_type
action find
entity Reims
relation shares border with
type type of french administrative division
['Reims', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Reims property:shares_border_with ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q373299 Q593503 Q1215131
SYSTEM
Puisieulx, Tinqueux, Witry-lès-Reims
Q749636 Q663951 Q373299 Q1216705 Q1215131 Q656519 Q624052 Q538779 Q606408 Q777493 Q373928 Q666278 Q600646 Q671096 Q593503
(Q41876,P47,c(Q20667921))
action filter_type
action find
entity Q41876
relation P47
type Q20667921
[ANSWERS] share border with that administrative territory
['Q41876', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q41876 property:P47 ?q . ?q rdf:type ontology:Q20667921 }
Saint-Léonard Bezannes Puisieulx Cernay-lès-Reims Witry-lès-Reims Saint-Thierry Courcy Cormontreuil Trois-Puits Taissy Saint-Brice-Courcelles Bétheny Champfleury Villers-aux-Nœuds Tinqueux
Puisieulx, Tinqueux and Witry-lès-Reims share border with that administrative territory
Puisieulx Tinqueux Witry-lès-Reims
action filter_type
action find
entity Reims
relation shares border with
type type of french administrative division
['Reims', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Reims property:shares_border_with ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions share border with that french administrative division ?
(c(Q20667921),P47,Q593503)
[{'concept': 'Q20667921'}, 'P47', 'Q593503']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q593503 . ?z rdf:type ontology:Q20667921 }
[{'concept': 'type of french administrative division'}, 'shares border with', 'Tinqueux']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Tinqueux . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Quantitative|Count|Single entity type|Clarification
Q373299
SYSTEM
Did you mean Puisieulx ?
(c(Q20667921),P47,Q373299) (c(Q20667921),P47,Q593503) (c(Q20667921),P47,Q1215131)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q373299'] [{'concept': 'Q20667921'}, 'P47', 'Q593503'] [{'concept': 'Q20667921'}, 'P47', 'Q1215131']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q593503 . ?z rdf:type ontology:Q20667921 }
Did you mean Puisieulx ?
Puisieulx
[{'concept': 'type of french administrative division'}, 'shares border with', 'Puisieulx'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Tinqueux'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Witry-lès-Reims']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Tinqueux . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Tinqueux. Could you tell me the answer for that?
(c(Q20667921),P47,Q593503)
Q593503
[{'concept': 'Q20667921'}, 'P47', 'Q593503']
[{'concept': 'type of french administrative division'}, 'shares border with', 'Tinqueux']
[]
SYSTEM
6
Q767746 Q663951 Q373928 Q646711 Q1228326 Q1220021
(c(Q20667921),P47,Q593503)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q593503']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q593503 . ?z rdf:type ontology:Q20667921 }
Les Mesneux Bezannes Saint-Brice-Courcelles Thillois Champigny Ormes
6
[{'concept': 'type of french administrative division'}, 'shares border with', 'Tinqueux']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Tinqueux . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41876
P138
Q34442
USER
Which roads come from Reims ?
(c(Q34442),P138,Q41876)
action filter_type
action find_reverse
entity Q41876
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q41876']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q41876 . ?b rdf:type ontology:Q34442 }
Reims
action filter_type
action find_reverse
entity Reims
relation named after
type road
[{'concept': 'road'}, 'named after', 'Reims']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Reims . ?b rdf:type ontology:road }
[]
road
Q19606373 Q3451002
SYSTEM
Ancienne rue de Reims, rue de Reims
Q19606373 Q3451002
(c(Q34442),P138,Q41876)
action filter_type
action find_reverse
entity Q41876
relation P138
type Q34442
[ANSWERS] come from Reims
[{'concept': 'Q34442'}, 'P138', 'Q41876']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q41876 . ?b rdf:type ontology:Q34442 }
Ancienne rue de Reims rue de Reims
Ancienne rue de Reims and rue de Reims come from Reims
Ancienne rue de Reims rue de Reims
action filter_type
action find_reverse
entity Reims
relation named after
type road
[{'concept': 'road'}, 'named after', 'Reims']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Reims . ?b rdf:type ontology:road }
[]