Simple Question (Direct)
Simple Question
Q3048001
P20
Q20667921
USER
Where did Edmond Théret expire ?
(Q3048001,P20,c(Q20667921))
action filter_type
action find
entity Q3048001
relation P20
type Q20667921
['Q3048001', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q3048001 property:P20 ?j . ?j rdf:type ontology:Q20667921 }
Edmond Théret
action filter_type
action find
entity Edmond Théret
relation place of death
type type of french administrative division
['Edmond Théret', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Edmond_Théret property:place_of_death ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q955993
SYSTEM
Tincques
Q955993
(Q3048001,P20,c(Q20667921))
action filter_type
action find
entity Q3048001
relation P20
type Q20667921
Théret expire r [ANSWER]
['Q3048001', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q3048001 property:P20 ?j . ?j rdf:type ontology:Q20667921 }
Tincques
Théret expire r Tincques
Tincques
action filter_type
action find
entity Edmond Théret
relation place of death
type type of french administrative division
['Edmond Théret', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Edmond_Théret property:place_of_death ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3048001
P106
Q12737077
USER
What does Edmond Théret do for a living ?
(Q3048001,P106,c(Q12737077))
action filter_type
action find
entity Q3048001
relation P106
type Q12737077
['Q3048001', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3048001 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Edmond Théret
action filter_type
action find
entity Edmond Théret
relation occupation
type occupation
['Edmond Théret', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Edmond_Théret property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3048001,P106,c(Q12737077))
action filter_type
action find
entity Q3048001
relation P106
type Q12737077
Edmond does a [ANSWER]
['Q3048001', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3048001 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
politician
Edmond does a politician
politician
action filter_type
action find
entity Edmond Théret
relation occupation
type occupation
['Edmond Théret', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Edmond_Théret property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P921
Q223393
USER
Which literary genre is that occupation a main subject of ?
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q82955 . ?m rdf:type ontology:Q223393 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:politician . ?m rdf:type ontology:literary_genre }
[]
literary genre
Q21815179
SYSTEM
worldstatesmen
Q21815179
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[ANSWER] is that occupation a main subject of
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q82955 . ?m rdf:type ontology:Q223393 }
worldstatesmen
Worldstatesmen is that occupation a main subject of
worldstatesmen
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:politician . ?m rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Which human behaviour has that one as thier associated field of occupation ?
(Q21815179,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q21815179', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?t WHERE { resource:Q82955 property:P425 ?t . ?t rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['worldstatesmen', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?t WHERE { resource:politician property:field_of_this_occupation ?t . ?t rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q21815179,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has that one as thier associated field of occupation
['Q21815179', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?t WHERE { resource:Q82955 property:P425 ?t . ?t rdf:type ontology:Q3769299 }
politics
Politics has that one as thier associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['worldstatesmen', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?t WHERE { resource:politician property:field_of_this_occupation ?t . ?t rdf:type ontology:human_behaviour }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7163 Q7716408
P136
Q2342494
USER
Does The Bellarosa Connection a that human behaviour as its type ?
(Q7716408,P136,Q7163)
action is_in
entity Q7716408
action find
entity Q7163
relation P136
['Q7716408', 'P136', 'Q7163']
ASK WHERE { resource:Q7163 property:P136 resource:Q7716408 }
politics The Bellarosa Connection
action is_in
entity The Bellarosa Connection
action find
entity politics
relation genre
['The Bellarosa Connection', 'genre', 'politics']
ASK WHERE { resource:politics property:genre resource:The_Bellarosa_Connection }
[]
collectable
SYSTEM
NO
(Q7716408,P136,Q7163)
action is_in
entity Q7716408
action find
entity Q7163
relation P136
[ANSWER]
['Q7716408', 'P136', 'Q7163']
ASK WHERE { resource:Q7163 property:P136 resource:Q7716408 }
No
action is_in
entity The Bellarosa Connection
action find
entity politics
relation genre
['The Bellarosa Connection', 'genre', 'politics']
ASK WHERE { resource:politics property:genre resource:The_Bellarosa_Connection }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q955993 Q159183
P20
Q502895
USER
How many people have Tincques or Philippine Sea as the location of death ?
(c(Q502895),P20,Q955993) (c(Q502895),P20,Q159183)
action count
action union
action filter_type
action find_reverse
entity Q955993
relation P20
type Q502895
action filter_type
action find_reverse
entity Q159183
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q955993'] [{'concept': 'Q502895'}, 'P20', 'Q159183']
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P20 ?g . VALUES ( ?g ) { ( resource:Q955993 ) ( resource:Q159183 ) } }
Tincques Philippine Sea
action count
action union
action filter_type
action find_reverse
entity Tincques
relation place of death
type common name
action filter_type
action find_reverse
entity Philippine Sea
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Tincques'] [{'concept': 'common name'}, 'place of death', 'Philippine Sea']
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:place_of_death ?g . VALUES ( ?g ) { ( resource:Tincques ) ( resource:Philippine_Sea ) } }
[]
common name
SYSTEM
3
Q5986314 Q3048001 Q547918
(c(Q502895),P20,Q955993) (c(Q502895),P20,Q159183)
action count
action union
action filter_type
action find_reverse
entity Q955993
relation P20
type Q502895
action filter_type
action find_reverse
entity Q159183
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q955993'] [{'concept': 'Q502895'}, 'P20', 'Q159183']
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P20 ?g . VALUES ( ?g ) { ( resource:Q955993 ) ( resource:Q159183 ) } }
Ichirō Yamamoto Edmond Théret Emile Dechaineux
3
action count
action union
action filter_type
action find_reverse
entity Tincques
relation place of death
type common name
action filter_type
action find_reverse
entity Philippine Sea
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Tincques'] [{'concept': 'common name'}, 'place of death', 'Philippine Sea']
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:place_of_death ?g . VALUES ( ?g ) { ( resource:Tincques ) ( resource:Philippine_Sea ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q955993
P17
Q15617994
USER
Which administrative territory is Tincques situated in ?
(Q955993,P17,c(Q15617994))
action filter_type
action find
entity Q955993
relation P17
type Q15617994
['Q955993', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q955993 property:P17 ?v }
Tincques
action filter_type
action find
entity Tincques
relation country
type designation for an administrative territorial entity
['Tincques', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tincques property:country ?v }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q955993,P17,c(Q15617994))
action filter_type
action find
entity Q955993
relation P17
type Q15617994
Tincques is situated [ANSWER]
['Q955993', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q955993 property:P17 ?v }
France
Tincques is situated France
France
action filter_type
action find
entity Tincques
relation country
type designation for an administrative territorial entity
['Tincques', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tincques property:country ?v }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q955993
P47 P17
Q20667921
USER
Which french administrative divisions share border with Tincques and are situated in France ?
AND((c(Q20667921),P47,Q955993), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q955993
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q955993'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . ?m property:P47 resource:Q955993 . ?m property:P17 resource:Q142 }
France Tincques
action filter_type
action intersection
action find_reverse
entity Tincques
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Tincques'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . ?m property:shares_border_with resource:Tincques . ?m property:country resource:France }
[]
type of french administrative division
Q939356 Q1023437 Q1003632 Q1027367 Q1001560 Q1001576
SYSTEM
Chelers, Villers-Brûlin, Berles-Monchel, Penin, Bailleul-aux-Cornailles, Averdoingt
Q939356 Q1023437 Q1003632 Q1027367 Q1001560 Q1001576
AND((c(Q20667921),P47,Q955993), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q955993
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS] share border with Tincques and are situated in France
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q955993'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . ?m property:P47 resource:Q955993 . ?m property:P17 resource:Q142 }
Chelers Villers-Brûlin Berles-Monchel Penin Bailleul-aux-Cornailles Averdoingt
Chelers, Villers-Brûlin, Berles-Monchel, Penin, Bailleul-aux-Cornailles and Averdoingt share border with Tincques and are situated in France
Chelers Villers-Brûlin Berles-Monchel Penin Bailleul-aux-Cornailles Averdoingt
action filter_type
action intersection
action find_reverse
entity Tincques
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Tincques'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . ?m property:shares_border_with resource:Tincques . ?m property:country resource:France }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q955993
P47
Q20667921
USER
Are Tincques bordered by those ones ?
(Q955993,P47,Q939356) (Q955993,P47,Q1023437) (Q955993,P47,Q1003632) (Q955993,P47,Q1027367) (Q955993,P47,Q1001560) (Q955993,P47,Q1001576)
action is_in
entity prev_answer
action find
entity Q955993
relation P47
['Q955993', 'P47', 'Q939356'] ['Q955993', 'P47', 'Q1023437'] ['Q955993', 'P47', 'Q1003632'] ['Q955993', 'P47', 'Q1027367'] ['Q955993', 'P47', 'Q1001560'] ['Q955993', 'P47', 'Q1001576']
ASK WHERE { resource:Q955993 property:P47 ?w . VALUES ( ?w ) { ( resource:Q939356 ) ( resource:Q1023437 ) ( resource:Q1003632 ) } }
Tincques
action is_in
entity prev_answer
action find
entity Tincques
relation shares border with
['Tincques', 'shares border with', 'Chelers'] ['Tincques', 'shares border with', 'Villers-Brûlin'] ['Tincques', 'shares border with', 'Berles-Monchel'] ['Tincques', 'shares border with', 'Penin'] ['Tincques', 'shares border with', 'Bailleul-aux-Cornailles'] ['Tincques', 'shares border with', 'Averdoingt']
ASK WHERE { resource:Tincques property:shares_border_with ?w . VALUES ( ?w ) { ( resource:Chelers ) ( resource:Villers-Brûlin ) ( resource:Berles-Monchel ) } }
[]
type of french administrative division
SYSTEM
YES
(Q955993,P47,Q939356) (Q955993,P47,Q1023437) (Q955993,P47,Q1003632) (Q955993,P47,Q1027367) (Q955993,P47,Q1001560) (Q955993,P47,Q1001576)
action is_in
entity prev_answer
action find
entity Q955993
relation P47
[ANSWER]
['Q955993', 'P47', 'Q939356'] ['Q955993', 'P47', 'Q1023437'] ['Q955993', 'P47', 'Q1003632'] ['Q955993', 'P47', 'Q1027367'] ['Q955993', 'P47', 'Q1001560'] ['Q955993', 'P47', 'Q1001576']
ASK WHERE { resource:Q955993 property:P47 ?w . VALUES ( ?w ) { ( resource:Q939356 ) ( resource:Q1023437 ) ( resource:Q1003632 ) } }
Yes
action is_in
entity prev_answer
action find
entity Tincques
relation shares border with
['Tincques', 'shares border with', 'Chelers'] ['Tincques', 'shares border with', 'Villers-Brûlin'] ['Tincques', 'shares border with', 'Berles-Monchel'] ['Tincques', 'shares border with', 'Penin'] ['Tincques', 'shares border with', 'Bailleul-aux-Cornailles'] ['Tincques', 'shares border with', 'Averdoingt']
ASK WHERE { resource:Tincques property:shares_border_with ?w . VALUES ( ?w ) { ( resource:Chelers ) ( resource:Villers-Brûlin ) ( resource:Berles-Monchel ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q20667921 Q15324 Q15617994
USER
Which french administrative divisions are namesakes of approximately 1 bodies of water or administrative territories ?
(c(Q15324)|c(Q15617994),P138,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15324
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15617994
value 1
[[{'concept': 'Q15324'}, {'concept': 'Q15617994'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15324 ) ( ontology:Q15617994 ) } } GROUP BY ?q } }
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type body of water
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type designation for an administrative territorial entity
value 1
[[{'concept': 'body of water'}, {'concept': 'designation for an administrative territorial entity'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:body_of_water ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?q } }
[]
type of french administrative division body of water designation for an administrative territorial entity
Q160506 Q171545 Q1165029
SYSTEM
Saint-Denis, Belfort, Le Pouliguen
Q160506 Q840597 Q1165029 Q463304 Q171545
(c(Q15324)|c(Q15617994),P138,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15324
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15617994
value 1
[ANSWERS] are namesakes of approximately 1 bodies of water or administrative territories
[[{'concept': 'Q15324'}, {'concept': 'Q15617994'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15324 ) ( ontology:Q15617994 ) } } GROUP BY ?q } }
Saint-Denis Le Croisic Le Pouliguen Fontaine-de-Vaucluse Belfort
Saint-Denis, Belfort and Le Pouliguen are namesakes of approximately 1 bodies of water or administrative territories
Saint-Denis Belfort Le Pouliguen
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type body of water
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type designation for an administrative territorial entity
value 1
[[{'concept': 'body of water'}, {'concept': 'designation for an administrative territorial entity'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:body_of_water ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?q } }
[]