Simple Question (Direct)
Simple Question
Q1245984
P166
Q618779
USER
What were awarded to Laurent Gaudé ?
(Q1245984,P166,c(Q618779))
action filter_type
action find
entity Q1245984
relation P166
type Q618779
['Q1245984', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q1245984 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Laurent Gaudé
action filter_type
action find
entity Laurent Gaudé
relation award received
type award
['Laurent Gaudé', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Laurent_Gaudé property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q187300 Q3114768 Q2111300
SYSTEM
Prix Goncourt, Jean Giono Prize, Price Eugène Dabit populist novel
Q2111300 Q187300 Q930356 Q3114768
(Q1245984,P166,c(Q618779))
action filter_type
action find
entity Q1245984
relation P166
type Q618779
[ANSWERS] were awarded to Laurent Gaudé
['Q1245984', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q1245984 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Price Eugène Dabit populist novel Prix Goncourt Prix Goncourt des Lycéens Jean Giono Prize
Prix Goncourt, Jean Giono Prize and Price Eugène Dabit populist novel were awarded to Laurent Gaudé
Prix Goncourt Jean Giono Prize Price Eugène Dabit populist novel
action filter_type
action find
entity Laurent Gaudé
relation award received
type award
['Laurent Gaudé', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Laurent_Gaudé property:award_received ?e . ?e rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2111300
P138
Q502895
USER
What is that award named after ?
(Q2111300,P138,c(Q502895))
action filter_type
action find
entity Q2111300
relation P138
type Q502895
['Q2111300', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2111300 property:P138 ?u . ?u rdf:type ontology:Q502895 }
Price Eugène Dabit populist novel
action filter_type
action find
entity Price Eugène Dabit populist novel
relation named after
type common name
['Price Eugène Dabit populist novel', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Price_Eugène_Dabit_populist_novel property:named_after ?u . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q187300
SYSTEM
Did you mean Prix Goncourt ?
Q187300 Q3114768 Q2111300
(Q187300,P138,c(Q502895)) (Q3114768,P138,c(Q502895)) (Q2111300,P138,c(Q502895))
[ANSWER]
['Q187300', 'P138', {'concept': 'Q502895'}] ['Q3114768', 'P138', {'concept': 'Q502895'}] ['Q2111300', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2111300 property:P138 ?u . ?u rdf:type ontology:Q502895 }
Prix Goncourt Jean Giono Prize Price Eugène Dabit populist novel
Did you mean Prix Goncourt ?
Prix Goncourt
['Prix Goncourt', 'named after', {'concept': 'common name'}] ['Jean Giono Prize', 'named after', {'concept': 'common name'}] ['Price Eugène Dabit populist novel', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Price_Eugène_Dabit_populist_novel property:named_after ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Price Eugène Dabit populist novel. Could you tell me the answer for that?
(Q2111300,P138,c(Q502895))
Q2111300
['Q2111300', 'P138', {'concept': 'Q502895'}]
['Price Eugène Dabit populist novel', 'named after', {'concept': 'common name'}]
[]
Q733235
SYSTEM
Eugène Dabit
Q733235
(Q2111300,P138,c(Q502895))
action filter_type
action find
entity Q2111300
relation P138
type Q502895
After that award named is for [ANSWER]
['Q2111300', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2111300 property:P138 ?u . ?u rdf:type ontology:Q502895 }
Eugène Dabit
After that award named is for Eugène Dabit
Eugène Dabit
action filter_type
action find
entity Price Eugène Dabit populist novel
relation named after
type common name
['Price Eugène Dabit populist novel', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Price_Eugène_Dabit_populist_novel property:named_after ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q733235
P27
Q15617994
USER
How many administrative territories are the native countriesof Eugène Dabit ?
(Q733235,P27,c(Q15617994))
action count
action filter_type
action find
entity Q733235
relation P27
type Q15617994
['Q733235', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { resource:Q733235 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Eugène Dabit
action count
action filter_type
action find
entity Eugène Dabit
relation country of citizenship
type designation for an administrative territorial entity
['Eugène Dabit', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { resource:Eugène_Dabit property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q733235,P27,c(Q15617994))
action count
action filter_type
action find
entity Q733235
relation P27
type Q15617994
[ANSWER]
['Q733235', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { resource:Q733235 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Eugène Dabit
relation country of citizenship
type designation for an administrative territorial entity
['Eugène Dabit', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { resource:Eugène_Dabit property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q187300
P138
Q502895
USER
Which person is the origin of Prix Goncourt ?
(Q187300,P138,c(Q502895))
action filter_type
action find
entity Q187300
relation P138
type Q502895
['Q187300', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q187300 property:P138 ?t . ?t rdf:type ontology:Q502895 }
Prix Goncourt
action filter_type
action find
entity Prix Goncourt
relation named after
type common name
['Prix Goncourt', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Prix_Goncourt property:named_after ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1249210
SYSTEM
Edmond de Goncourt
Q1249210
(Q187300,P138,c(Q502895))
action filter_type
action find
entity Q187300
relation P138
type Q502895
[ANSWER] is the origin of Prix Goncourt
['Q187300', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q187300 property:P138 ?t . ?t rdf:type ontology:Q502895 }
Edmond de Goncourt
Edmond de Goncourt is the origin of Prix Goncourt
Edmond de Goncourt
action filter_type
action find
entity Prix Goncourt
relation named after
type common name
['Prix Goncourt', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Prix_Goncourt property:named_after ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3149286
Q502895
USER
And also tell me about impasse Royer-Collard?
(Q3149286,P138,c(Q502895))
action filter_type
action find
entity Q3149286
relation P138
type Q502895
['Q3149286', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q3149286 property:P138 ?s }
impasse Royer-Collard
action filter_type
action find
entity impasse Royer-Collard
relation named after
type common name
['impasse Royer-Collard', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:impasse_Royer-Collard property:named_after ?s }
[]
common name
Q965524
SYSTEM
Pierre Paul Royer-Collard
Q965524
(Q3149286,P138,c(Q502895))
action filter_type
action find
entity Q3149286
relation P138
type Q502895
[ANSWER]
['Q3149286', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q3149286 property:P138 ?s }
Pierre Paul Royer-Collard
Pierre Paul Royer-Collard
action filter_type
action find
entity impasse Royer-Collard
relation named after
type common name
['impasse Royer-Collard', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:impasse_Royer-Collard property:named_after ?s }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
Which cinematic techniques had their voice dubbing done by exactly 6 people ?
(c(Q1001378),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 6
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?j = 6 ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?j ) WHERE { ?r property:P725 ?a . ?a rdf:type ontology:Q502895 . ?r rdf:type ontology:Q1001378 } GROUP BY ?r } }
action equal
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 6
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?j = 6 ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?j ) WHERE { ?r property:voice_actor ?a . ?a rdf:type ontology:common_name . ?r rdf:type ontology:cinematic_technique } GROUP BY ?r } }
[]
common name cinematic technique
Q182153 Q15270742 Q15140309
SYSTEM
Cars, Adventures of Mowgli, Emil & Ida i Lönneberga
Q15270742 Q182153 Q15140309 Q329603
(c(Q1001378),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 6
[ANSWERS] had their voice dubbing done by exactly 6 people
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?j = 6 ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?j ) WHERE { ?r property:P725 ?a . ?a rdf:type ontology:Q502895 . ?r rdf:type ontology:Q1001378 } GROUP BY ?r } }
Adventures of Mowgli Cars Emil & Ida i Lönneberga Laura's Star
Cars, Adventures of Mowgli and Emil & Ida i Lönneberga had their voice dubbing done by exactly 6 people
Cars Adventures of Mowgli Emil & Ida i Lönneberga
action equal
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 6
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?j = 6 ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?j ) WHERE { ?r property:voice_actor ?a . ?a rdf:type ontology:common_name . ?r rdf:type ontology:cinematic_technique } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q1001378 Q386724
USER
How many works are set up by atleast 1 cinematic technique ?
(c(Q386724),P1445,c(Q1001378))
action count
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q1001378
value 1
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q1001378'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { FILTER ( ?e >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?e ) WHERE { ?j rdf:type ontology:Q386724 . ?c rdf:type ontology:Q1001378 . ?j property:P1445 ?c } GROUP BY ?j } }
action count
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type cinematic technique
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'cinematic technique'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { FILTER ( ?e >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?e ) WHERE { ?j rdf:type ontology:work . ?c rdf:type ontology:cinematic_technique . ?j property:fictional_universe_described_in ?c } GROUP BY ?j } }
[]
cinematic technique work
SYSTEM
2
Q1203222 Q15731902
(c(Q386724),P1445,c(Q1001378))
action count
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q1001378
value 1
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q1001378'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { FILTER ( ?e >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?e ) WHERE { ?j rdf:type ontology:Q386724 . ?c rdf:type ontology:Q1001378 . ?j property:P1445 ?c } GROUP BY ?j } }
Shrek Aladdin media franchise
2
action count
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type cinematic technique
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'cinematic technique'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { FILTER ( ?e >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?e ) WHERE { ?j rdf:type ontology:work . ?c rdf:type ontology:cinematic_technique . ?j property:fictional_universe_described_in ?c } GROUP BY ?j } }
[]