Simple Question (Direct)
Simple Question
Q309716
P166
Q618779
USER
What were won by Michel Butor ?
(Q309716,P166,c(Q618779))
action filter_type
action find
entity Q309716
relation P166
type Q618779
['Q309716', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q309716 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Michel Butor
action filter_type
action find
entity Michel Butor
relation award received
type award
['Michel Butor', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Michel_Butor property:award_received ?y . ?y rdf:type ontology:award }
[]
award
Q3114796 Q2111275 Q642539
SYSTEM
Grand prix de littérature de l'Académie française, Mallarmé prize, Fénéon Prize
Q3114796 Q2111275 Q642539
(Q309716,P166,c(Q618779))
action filter_type
action find
entity Q309716
relation P166
type Q618779
[ANSWERS] were won by Michel Butor
['Q309716', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q309716 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Grand prix de littérature de l'Académie française Mallarmé prize Fénéon Prize
Grand prix de littérature de l'Académie française, Mallarmé prize and Fénéon Prize were won by Michel Butor
Grand prix de littérature de l'Académie française Mallarmé prize Fénéon Prize
action filter_type
action find
entity Michel Butor
relation award received
type award
['Michel Butor', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Michel_Butor property:award_received ?y . ?y rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309716
P50
Q2342494
USER
What is the collectable written by Michel Butor ?
(c(Q2342494),P50,Q309716)
action filter_type
action find_reverse
entity Q309716
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q309716']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q309716 . ?k rdf:type ontology:Q2342494 }
Michel Butor
action filter_type
action find_reverse
entity Michel Butor
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Michel Butor']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Michel_Butor . ?k rdf:type ontology:collectable }
[]
collectable
Q371694
SYSTEM
Second Thoughts
Q371694
(c(Q2342494),P50,Q309716)
action filter_type
action find_reverse
entity Q309716
relation P50
type Q2342494
The collectable written by Michel Butor is the [ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q309716']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q309716 . ?k rdf:type ontology:Q2342494 }
Second Thoughts
The collectable written by Michel Butor is the Second Thoughts
Second Thoughts
action filter_type
action find_reverse
entity Michel Butor
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Michel Butor']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Michel_Butor . ?k rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q371694
P800
Q502895
USER
Who has that collectable as their notable work ?
(c(Q502895),P800,Q371694)
action filter_type
action find_reverse
entity Q371694
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q371694']
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q371694 . ?n rdf:type ontology:Q502895 }
Second Thoughts
action filter_type
action find_reverse
entity Second Thoughts
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Second Thoughts']
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:Second_Thoughts . ?n rdf:type ontology:common_name }
[]
common name
Q309716
SYSTEM
Michel Butor
Q309716
(c(Q502895),P800,Q371694)
action filter_type
action find_reverse
entity Q371694
relation P800
type Q502895
[ANSWER] has that collectable as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q371694']
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q371694 . ?n rdf:type ontology:Q502895 }
Michel Butor
Michel Butor has that collectable as their notable work
Michel Butor
action filter_type
action find_reverse
entity Second Thoughts
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Second Thoughts']
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:Second_Thoughts . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q309716
P135
Q968159
USER
Which art movement was that person linked with ?
(Q309716,P135,c(Q968159))
action filter_type
action find
entity Q309716
relation P135
type Q968159
['Q309716', 'P135', {'concept': 'Q968159'}]
SELECT DISTINCT ?d WHERE { resource:Q309716 property:P135 ?d . ?d rdf:type ontology:Q968159 }
Michel Butor
action filter_type
action find
entity Michel Butor
relation movement
type art movement
['Michel Butor', 'movement', {'concept': 'art movement'}]
SELECT DISTINCT ?d WHERE { resource:Michel_Butor property:movement ?d . ?d rdf:type ontology:art_movement }
[]
art movement
Q570341
SYSTEM
Nouveau Roman
Q570341
(Q309716,P135,c(Q968159))
action filter_type
action find
entity Q309716
relation P135
type Q968159
That person was linked to [ANSWER]
['Q309716', 'P135', {'concept': 'Q968159'}]
SELECT DISTINCT ?d WHERE { resource:Q309716 property:P135 ?d . ?d rdf:type ontology:Q968159 }
Nouveau Roman
That person was linked to Nouveau Roman
Nouveau Roman
action filter_type
action find
entity Michel Butor
relation movement
type art movement
['Michel Butor', 'movement', {'concept': 'art movement'}]
SELECT DISTINCT ?d WHERE { resource:Michel_Butor property:movement ?d . ?d rdf:type ontology:art_movement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2111275
P138
Q502895
USER
Which person is the origin of Mallarmé prize ?
(Q2111275,P138,c(Q502895))
action filter_type
action find
entity Q2111275
relation P138
type Q502895
['Q2111275', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q2111275 property:P138 ?b . ?b rdf:type ontology:Q502895 }
Mallarmé prize
action filter_type
action find
entity Mallarmé prize
relation named after
type common name
['Mallarmé prize', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Mallarmé_prize property:named_after ?b . ?b rdf:type ontology:common_name }
[]
common name
Q767
SYSTEM
Stéphane Mallarmé
Q767
(Q2111275,P138,c(Q502895))
action filter_type
action find
entity Q2111275
relation P138
type Q502895
[ANSWER] is the origin of Mallarmé prize
['Q2111275', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q2111275 property:P138 ?b . ?b rdf:type ontology:Q502895 }
Stéphane Mallarmé
Stéphane Mallarmé is the origin of Mallarmé prize
Stéphane Mallarmé
action filter_type
action find
entity Mallarmé prize
relation named after
type common name
['Mallarmé prize', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Mallarmé_prize property:named_after ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2111275
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q767,P17,c(Q15617994))
action filter_type
action find
entity Q2111275
relation P17
type Q15617994
['Q767', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2111275 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Mallarmé prize
action filter_type
action find
entity Mallarmé prize
relation country
type designation for an administrative territorial entity
['Stéphane Mallarmé', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Mallarmé_prize property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q767,P17,c(Q15617994))
action filter_type
action find
entity Q2111275
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q767', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2111275 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
France
That award is situated in France
France
action filter_type
action find
entity Mallarmé prize
relation country
type designation for an administrative territorial entity
['Stéphane Mallarmé', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Mallarmé_prize property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q215
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than Slovenia ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q215
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q215 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?l ) . { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?p ) WHERE { ?c property:P530 ?d . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?c } }
Slovenia
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Slovenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Slovenia property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?l ) . { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?p ) WHERE { ?c property:diplomatic_relation ?d . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
43
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q34 Q38 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q215
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q215 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?l ) . { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?p ) WHERE { ?c property:P530 ?d . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?c } }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Sweden Italy North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
43
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Slovenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Slovenia property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?l ) . { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?p ) WHERE { ?c property:diplomatic_relation ?d . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q189
P530
Q15617994 Q15617994
USER
And also tell me about Iceland?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q189
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?r ) WHERE { ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?s property:P530 ?i } GROUP BY ?s } . FILTER ( ?r > ?k ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q189 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } }
Iceland
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Iceland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?r ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?i } GROUP BY ?s } . FILTER ( ?r > ?k ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Iceland property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
63
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q189
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?r ) WHERE { ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?s property:P530 ?i } GROUP BY ?s } . FILTER ( ?r > ?k ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q189 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
63
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Iceland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?r ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?i } GROUP BY ?s } . FILTER ( ?r > ?k ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Iceland property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2422779 Q371694
P495
Q15617994
USER
Which administrative territories are the countries of origin of Second Thoughts or Arsène Lupin ?
OR((Q371694,P495,c(Q15617994)), (Q2422779,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q371694
relation P495
action find
entity Q2422779
relation P495
type Q15617994
{'OR': [['Q371694', 'P495', {'concept': 'Q15617994'}], ['Q2422779', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q2422779 property:P495 ?e } UNION { resource:Q371694 property:P495 ?e } } . ?e rdf:type ontology:Q15617994 }
Arsène Lupin Second Thoughts
action filter_type
action union
action find
entity Second Thoughts
relation country of origin
action find
entity Arsène Lupin
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Second Thoughts', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Arsène Lupin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Arsène_Lupin property:country_of_origin ?e } UNION { resource:Second_Thoughts property:country_of_origin ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q371694,P495,c(Q15617994)), (Q2422779,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q371694
relation P495
action find
entity Q2422779
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Second Thoughts or Arsène Lupin
{'OR': [['Q371694', 'P495', {'concept': 'Q15617994'}], ['Q2422779', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q2422779 property:P495 ?e } UNION { resource:Q371694 property:P495 ?e } } . ?e rdf:type ontology:Q15617994 }
France Italy
France and Italy are the countries of origin of Second Thoughts or Arsène Lupin
France Italy
action filter_type
action union
action find
entity Second Thoughts
relation country of origin
action find
entity Arsène Lupin
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Second Thoughts', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Arsène Lupin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Arsène_Lupin property:country_of_origin ?e } UNION { resource:Second_Thoughts property:country_of_origin ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]