Simple Question (Direct)
Simple Question
Q3579986
P166
Q618779
USER
What was won by Édouard Pascaud ?
(Q3579986,P166,c(Q618779))
action filter_type
action find
entity Q3579986
relation P166
type Q618779
['Q3579986', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q3579986 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Édouard Pascaud
action filter_type
action find
entity Édouard Pascaud
relation award received
type award
['Édouard Pascaud', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Édouard_Pascaud property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q3579986,P166,c(Q618779))
action filter_type
action find
entity Q3579986
relation P166
type Q618779
De [ANSWER] was won by Édouard Pascaud
['Q3579986', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q3579986 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Knight of the Legion of Honour
De Knight of the Legion of Honour was won by Édouard Pascaud
Knight of the Legion of Honour
action filter_type
action find
entity Édouard Pascaud
relation award received
type award
['Édouard Pascaud', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Édouard_Pascaud property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3579986
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q10855271,P106,c(Q12737077))
action filter_type
action find
entity Q3579986
relation P106
type Q12737077
['Q10855271', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3579986 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Édouard Pascaud
action filter_type
action find
entity Édouard Pascaud
relation occupation
type occupation
['Knight of the Legion of Honour', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Édouard_Pascaud property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q10855271,P106,c(Q12737077))
action filter_type
action find
entity Q3579986
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
['Q10855271', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3579986 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Édouard Pascaud
relation occupation
type occupation
['Knight of the Legion of Honour', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Édouard_Pascaud property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3579986
P39
Q12737077
USER
Which occupations were the positions occupied by that person ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q3579986
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q3579986 property:P39 ?u }
Édouard Pascaud
action filter_type
action find
entity Édouard Pascaud
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Édouard_Pascaud property:position_held ?u }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q3579986
relation P39
type Q12737077
[ANSWERS]
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q3579986 property:P39 ?u }
maire member of the French National Assembly
The maire and member of the French National Assembly were the positions occupied by that person
maire member of the French National Assembly
action filter_type
action find
entity Édouard Pascaud
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Édouard_Pascaud property:position_held ?u }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q382617 Q3044918
P17
Q15617994
USER
Which administrative territories are maire and member of the French National Assembly a part of ?
(Q382617,P17,c(Q15617994)) (Q3044918,P17,c(Q15617994))
action union
action filter_type
action find
entity Q382617
relation P17
type Q15617994
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?o property:P17 ?i . VALUES ( ?o ) { ( resource:Q382617 ) ( resource:Q3044918 ) } }
maire member of the French National Assembly
action union
action filter_type
action find
entity maire
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?o property:country ?i . VALUES ( ?o ) { ( resource:maire ) ( resource:member_of_the_French National_Assembly ) } }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q382617,P17,c(Q15617994)) (Q3044918,P17,c(Q15617994))
action union
action filter_type
action find
entity Q382617
relation P17
type Q15617994
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
[ANSWER] and [ANSWER] are maire and member of the French National Assembly a part of
['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?o property:P17 ?i . VALUES ( ?o ) { ( resource:Q382617 ) ( resource:Q3044918 ) } }
France France
France and France are maire and member of the French National Assembly a part of
France France
action union
action filter_type
action find
entity maire
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?o property:country ?i . VALUES ( ?o ) { ( resource:maire ) ( resource:member_of_the_French National_Assembly ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3579986
P20
Q20667921
USER
Where did Édouard Pascaud die ?
(Q3579986,P20,c(Q20667921))
action filter_type
action find
entity Q3579986
relation P20
type Q20667921
['Q3579986', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q3579986 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Édouard Pascaud
action filter_type
action find
entity Édouard Pascaud
relation place of death
type type of french administrative division
['Édouard Pascaud', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Édouard_Pascaud property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q741542
SYSTEM
Chasseneuil-sur-Bonnieure
Q741542
(Q3579986,P20,c(Q20667921))
action filter_type
action find
entity Q3579986
relation P20
type Q20667921
Édouard Pascaud died in [ANSWER]
['Q3579986', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q3579986 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Chasseneuil-sur-Bonnieure
Édouard Pascaud died in Chasseneuil-sur-Bonnieure
Chasseneuil-sur-Bonnieure
action filter_type
action find
entity Édouard Pascaud
relation place of death
type type of french administrative division
['Édouard Pascaud', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Édouard_Pascaud property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2871048
Q20667921
USER
And how about Auguste Beauvillain?
(Q2871048,P20,c(Q20667921))
action filter_type
action find
entity Q2871048
relation P20
type Q20667921
['Q2871048', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q2871048 property:P20 ?d . ?d rdf:type ontology:Q20667921 }
Auguste Beauvillain
action filter_type
action find
entity Auguste Beauvillain
relation place of death
type type of french administrative division
['Auguste Beauvillain', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Auguste_Beauvillain property:place_of_death ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q476016
SYSTEM
Caudry
Q476016
(Q2871048,P20,c(Q20667921))
action filter_type
action find
entity Q2871048
relation P20
type Q20667921
[ANSWER]
['Q2871048', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q2871048 property:P20 ?d . ?d rdf:type ontology:Q20667921 }
Caudry
Caudry
action filter_type
action find
entity Auguste Beauvillain
relation place of death
type type of french administrative division
['Auguste Beauvillain', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Auguste_Beauvillain property:place_of_death ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q476016
P36
Q20667921
USER
Which french administrative division is that one the capital of ?
(c(Q20667921),P36,Q476016)
action filter_type
action find_reverse
entity Q476016
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q476016']
SELECT DISTINCT ?z WHERE { ?z property:P36 resource:Q476016 . ?z rdf:type ontology:Q20667921 }
Caudry
action filter_type
action find_reverse
entity Caudry
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Caudry']
SELECT DISTINCT ?z WHERE { ?z property:capital resource:Caudry . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q19607001
SYSTEM
canton of Caudry
Q19607001
(c(Q20667921),P36,Q476016)
action filter_type
action find_reverse
entity Q476016
relation P36
type Q20667921
The [ANSWER] is that one the capital of
[{'concept': 'Q20667921'}, 'P36', 'Q476016']
SELECT DISTINCT ?z WHERE { ?z property:P36 resource:Q476016 . ?z rdf:type ontology:Q20667921 }
canton of Caudry
The canton of Caudry is that one the capital of
canton of Caudry
action filter_type
action find_reverse
entity Caudry
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Caudry']
SELECT DISTINCT ?z WHERE { ?z property:capital resource:Caudry . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q818891 Q142
P47 P36
Q56061
USER
Which administrative territories are the capitals of France or have a shared border with Berdorf ?
OR((Q142,P36,c(Q56061)), (Q818891,P47,c(Q56061)))
action filter_type
action union
action find
entity Q142
relation P36
action find
entity Q818891
relation P47
type Q56061
{'OR': [['Q142', 'P36', {'concept': 'Q56061'}], ['Q818891', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q142 property:P36 ?o } UNION { resource:Q818891 property:P47 ?o } } . ?o rdf:type ontology:Q56061 }
Berdorf France
action filter_type
action union
action find
entity France
relation capital
action find
entity Berdorf
relation shares border with
type administrative territorial entity
{'OR': [['France', 'capital', {'concept': 'administrative territorial entity'}], ['Berdorf', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:France property:capital ?o } UNION { resource:Berdorf property:shares_border_with ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q660217 Q1017412 Q18693153 Q90 Q204317
SYSTEM
Consdorf, Waldbillig, Beaufort, Luxembourg, Paris, Echternach
Q660217 Q1017412 Q18693153 Q90 Q204317
OR((Q142,P36,c(Q56061)), (Q818891,P47,c(Q56061)))
action filter_type
action union
action find
entity Q142
relation P36
action find
entity Q818891
relation P47
type Q56061
[ANSWERS] are the capitals of France or have a shared border with Berdorf
{'OR': [['Q142', 'P36', {'concept': 'Q56061'}], ['Q818891', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q142 property:P36 ?o } UNION { resource:Q818891 property:P47 ?o } } . ?o rdf:type ontology:Q56061 }
Consdorf Waldbillig Beaufort, Luxembourg Paris Echternach
Consdorf, Waldbillig, Beaufort, Luxembourg, Paris and Echternach are the capitals of France or have a shared border with Berdorf
Consdorf Waldbillig Beaufort, Luxembourg Paris Echternach
action filter_type
action union
action find
entity France
relation capital
action find
entity Berdorf
relation shares border with
type administrative territorial entity
{'OR': [['France', 'capital', {'concept': 'administrative territorial entity'}], ['Berdorf', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:France property:capital ?o } UNION { resource:Berdorf property:shares_border_with ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q337567 Q56061
USER
How many administrative territories are located next to around 12 bodies of water or still waterss ?
(c(Q56061),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q337567
value 12
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { FILTER ( ?k = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?k ) WHERE { { ?e property:P206 ?i . ?e rdf:type ontology:Q56061 . ?i rdf:type ontology:Q15324 } UNION { ?e rdf:type ontology:Q56061 . ?i rdf:type ontology:Q337567 . ?e property:P206 ?i } } GROUP BY ?e } }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
value 12
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { FILTER ( ?k = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?k ) WHERE { { ?e property:located_next_to_body_of_water ?i . ?e rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:body_of_water } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:still_waters . ?e property:located_next_to_body_of_water ?i } } GROUP BY ?e } }
[]
body of water still waters administrative territorial entity
SYSTEM
1
Q1709
(c(Q56061),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q337567
value 12
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { FILTER ( ?k = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?k ) WHERE { { ?e property:P206 ?i . ?e rdf:type ontology:Q56061 . ?i rdf:type ontology:Q15324 } UNION { ?e rdf:type ontology:Q56061 . ?i rdf:type ontology:Q337567 . ?e property:P206 ?i } } GROUP BY ?e } }
Schwerin
1
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
value 12
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { FILTER ( ?k = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?k ) WHERE { { ?e property:located_next_to_body_of_water ?i . ?e rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:body_of_water } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:still_waters . ?e property:located_next_to_body_of_water ?i } } GROUP BY ?e } }
[]