Simple Question (Direct)
Simple Question
Q652326
P166
Q618779
USER
What was won by Noël Calef ?
(Q652326,P166,c(Q618779))
action filter_type
action find
entity Q652326
relation P166
type Q618779
['Q652326', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q652326 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Noël Calef
action filter_type
action find
entity Noël Calef
relation award received
type award
['Noël Calef', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Noël_Calef property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q1475121
SYSTEM
Prix du Quai des Orfèvres
Q1475121
(Q652326,P166,c(Q618779))
action filter_type
action find
entity Q652326
relation P166
type Q618779
The [ANSWER] was won by Noël Calef
['Q652326', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q652326 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Prix du Quai des Orfèvres
The Prix du Quai des Orfèvres was won by Noël Calef
Prix du Quai des Orfèvres
action filter_type
action find
entity Noël Calef
relation award received
type award
['Noël Calef', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Noël_Calef property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652326
P58
Q838948
USER
Which work of art is Noël Calef a screenwriter of ?
(c(Q838948),P58,Q652326)
action filter_type
action find_reverse
entity Q652326
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q652326']
SELECT DISTINCT ?h WHERE { ?h property:P58 resource:Q652326 . ?h rdf:type ontology:Q838948 }
Noël Calef
action filter_type
action find_reverse
entity Noël Calef
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Noël Calef']
SELECT DISTINCT ?h WHERE { ?h property:screenwriter resource:Noël_Calef . ?h rdf:type ontology:work_of_art }
[]
work of art
Q1702545
SYSTEM
Tiger Bay
Q1702545
(c(Q838948),P58,Q652326)
action filter_type
action find_reverse
entity Q652326
relation P58
type Q838948
The [ANSWER] is Noël Calef a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q652326']
SELECT DISTINCT ?h WHERE { ?h property:P58 resource:Q652326 . ?h rdf:type ontology:Q838948 }
Tiger Bay
The Tiger Bay is Noël Calef a screenwriter of
Tiger Bay
action filter_type
action find_reverse
entity Noël Calef
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Noël Calef']
SELECT DISTINCT ?h WHERE { ?h property:screenwriter resource:Noël_Calef . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1702545
P161
Q502895
USER
Which people starred in that work of art ?
(Q1702545,P161,c(Q502895))
action filter_type
action find
entity Q1702545
relation P161
type Q502895
['Q1702545', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q1702545 property:P161 ?w }
Tiger Bay
action filter_type
action find
entity Tiger Bay
relation cast member
type common name
['Tiger Bay', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Tiger_Bay property:cast_member ?w }
[]
common name
Q315728 Q237805 Q60539
SYSTEM
John Mills, Hayley Mills, Horst Buchholz
Q508329 Q315728 Q573128 Q237805 Q1917185 Q60539
(Q1702545,P161,c(Q502895))
action filter_type
action find
entity Q1702545
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q1702545', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q1702545 property:P161 ?w }
Yvonne Mitchell John Mills Anthony Dawson Hayley Mills Megs Jenkins Horst Buchholz
John Mills, Hayley Mills and Horst Buchholz starred in that work of art
John Mills Hayley Mills Horst Buchholz
action filter_type
action find
entity Tiger Bay
relation cast member
type common name
['Tiger Bay', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Tiger_Bay property:cast_member ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q60539
P175
Q95074
USER
Which fictional character performed that person ?
(c(Q95074),P175,Q60539)
action filter_type
action find_reverse
entity Q60539
relation P175
type Q95074
[{'concept': 'Q95074'}, 'P175', 'Q60539']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q95074 . ?w property:P175 resource:Q60539 }
Horst Buchholz
action filter_type
action find_reverse
entity Horst Buchholz
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'Horst Buchholz']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:fictional_character . ?w property:performer resource:Horst_Buchholz }
[]
fictional character
Clarification for simple ques.
Q315728
SYSTEM
Did you mean John Mills ?
Q315728 Q237805 Q60539
(c(Q95074),P175,Q315728) (c(Q95074),P175,Q237805) (c(Q95074),P175,Q60539)
[ANSWER]
[{'concept': 'Q95074'}, 'P175', 'Q315728'] [{'concept': 'Q95074'}, 'P175', 'Q237805'] [{'concept': 'Q95074'}, 'P175', 'Q60539']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q95074 . ?w property:P175 resource:Q60539 }
John Mills Hayley Mills Horst Buchholz
Did you mean John Mills ?
John Mills
[{'concept': 'fictional character'}, 'performer', 'John Mills'] [{'concept': 'fictional character'}, 'performer', 'Hayley Mills'] [{'concept': 'fictional character'}, 'performer', 'Horst Buchholz']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:fictional_character . ?w property:performer resource:Horst_Buchholz }
[]
Simple Question (Coreferenced)
USER
No, I meant Horst Buchholz. Could you tell me the answer for that?
(c(Q95074),P175,Q60539)
Q60539
[{'concept': 'Q95074'}, 'P175', 'Q60539']
[{'concept': 'fictional character'}, 'performer', 'Horst Buchholz']
[]
Q27068138
SYSTEM
Lampwick
Q27068138
(c(Q95074),P175,Q60539)
action filter_type
action find_reverse
entity Q60539
relation P175
type Q95074
[ANSWER] performed that person
[{'concept': 'Q95074'}, 'P175', 'Q60539']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q95074 . ?w property:P175 resource:Q60539 }
Lampwick
Lampwick performed that person
Lampwick
action filter_type
action find_reverse
entity Horst Buchholz
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'Horst Buchholz']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:fictional_character . ?w property:performer resource:Horst_Buchholz }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24905338 Q1702545
P161 P58
Q502895
USER
Which people served as the screenwriter for Tiger Bay or were casted in Monelle ?
OR((Q1702545,P58,c(Q502895)), (Q24905338,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1702545
relation P58
action find
entity Q24905338
relation P161
type Q502895
{'OR': [['Q1702545', 'P58', {'concept': 'Q502895'}], ['Q24905338', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q24905338 property:P161 ?h } UNION { resource:Q1702545 property:P58 ?h } } . ?h rdf:type ontology:Q502895 }
Monelle Tiger Bay
action filter_type
action union
action find
entity Tiger Bay
relation screenwriter
action find
entity Monelle
relation cast member
type common name
{'OR': [['Tiger Bay', 'screenwriter', {'concept': 'common name'}], ['Monelle', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Monelle property:cast_member ?h } UNION { resource:Tiger_Bay property:screenwriter ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q292227 Q528314 Q2087651 Q430016 Q3310004 Q60801 Q708863 Q3172539 Q3100677 Q652326
SYSTEM
Some of them are Brigitte Auber, Guy Henry, Philippe Lemaire, Nicole Courcel, Michel Jourdan, Louis Jouvet, Henri Sauguet, Jean Heuzé, Geneviève Morel, Noël Calef
Q60801 Q3172539 Q3160163 Q708863 Q3435697 Q3426603 Q2744961 Q3287772 Q6238285 Q3300997 Q3162020 Q279382 Q3100677 Q3270500 Q430016 Q2960399 Q3380455 Q2831397 Q3588470 Q2851509 Q428314 Q3159813 Q3439555 Q3311356 Q3427131 Q652326 Q3069310 Q292227 Q3310004 Q528314 Q2087651 Q3579848
OR((Q1702545,P58,c(Q502895)), (Q24905338,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1702545
relation P58
action find
entity Q24905338
relation P161
type Q502895
[ANSWERS] served as the screenwriter for Tiger Bay or were casted in Monelle
{'OR': [['Q1702545', 'P58', {'concept': 'Q502895'}], ['Q24905338', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q24905338 property:P161 ?h } UNION { resource:Q1702545 property:P58 ?h } } . ?h rdf:type ontology:Q502895 }
Louis Jouvet Jean Heuzé Jacques Vertan Henri Sauguet Robert Le Fort René Marjac Gamil Ratib Marc Arian John Hawkesworth Maurice Lagrenée Janine Viénot Dany Robin Geneviève Morel Léo Lapara Nicole Courcel Charles Vissières Philippe Nicaud Albert Michel Émile Drain Annette Poivre Jacques Mauclair Jacques Provins Roger Vincent Micheline Dax Renée Devillers Noël Calef Fernand René Brigitte Auber Michel Jourdan Guy Henry Philippe Lemaire Édouard Francomme
Brigitte Auber, Guy Henry, Philippe Lemaire, Nicole Courcel, Michel Jourdan, Louis Jouvet, Henri Sauguet, Jean Heuzé, Geneviève Morel and Noël Calef served as the screenwriter for Tiger Bay or were casted in Monelle
Brigitte Auber Guy Henry Philippe Lemaire Nicole Courcel Michel Jourdan Louis Jouvet Henri Sauguet Jean Heuzé Geneviève Morel Noël Calef
action filter_type
action union
action find
entity Tiger Bay
relation screenwriter
action find
entity Monelle
relation cast member
type common name
{'OR': [['Tiger Bay', 'screenwriter', {'concept': 'common name'}], ['Monelle', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Monelle property:cast_member ?h } UNION { resource:Tiger_Bay property:screenwriter ?h } } . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q60801
P106
Q12737077 Q151885
USER
How many occupations and concepts are the job of Louis Jouvet ?
(Q60801,P106,c(Q12737077)) (Q60801,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q60801
relation P106
type Q12737077
action filter_type
action find
entity Q60801
relation P106
type Q151885
['Q60801', 'P106', {'concept': 'Q12737077'}] ['Q60801', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { resource:Q60801 property:P106 ?l . ?l rdf:type ontology:Q151885 } UNION { ?l rdf:type ontology:Q12737077 . resource:Q60801 property:P106 ?l } }
Louis Jouvet
action count
action union
action filter_type
action find
entity Louis Jouvet
relation occupation
type occupation
action filter_type
action find
entity Louis Jouvet
relation occupation
type concept
['Louis Jouvet', 'occupation', {'concept': 'occupation'}] ['Louis Jouvet', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { resource:Louis_Jouvet property:occupation ?l . ?l rdf:type ontology:concept } UNION { ?l rdf:type ontology:occupation . resource:Louis_Jouvet property:occupation ?l } }
[]
occupation concept
SYSTEM
2 occupations and 1 concepts
Q33999 Q18814623 Q3387717
(Q60801,P106,c(Q12737077)) (Q60801,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q60801
relation P106
type Q12737077
action filter_type
action find
entity Q60801
relation P106
type Q151885
[ANSWER]
['Q60801', 'P106', {'concept': 'Q12737077'}] ['Q60801', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { resource:Q60801 property:P106 ?l . ?l rdf:type ontology:Q151885 } UNION { ?l rdf:type ontology:Q12737077 . resource:Q60801 property:P106 ?l } }
actor autobiographer theatre director
2 occupations and 1 concepts
action count
action union
action filter_type
action find
entity Louis Jouvet
relation occupation
type occupation
action filter_type
action find
entity Louis Jouvet
relation occupation
type concept
['Louis Jouvet', 'occupation', {'concept': 'occupation'}] ['Louis Jouvet', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { resource:Louis_Jouvet property:occupation ?l . ?l rdf:type ontology:concept } UNION { ?l rdf:type ontology:occupation . resource:Louis_Jouvet property:occupation ?l } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60801
P26
Q502895
USER
Who is the spouse of that one ?
action filter_type
action find
entity Q60801
relation P26
type Q502895
SELECT DISTINCT ?i WHERE { resource:Q60801 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Louis Jouvet
action filter_type
action find
entity Louis Jouvet
relation spouse
type common name
SELECT DISTINCT ?i WHERE { resource:Louis_Jouvet property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q3275703
SYSTEM
Madeleine Ozeray
Q3275703
action filter_type
action find
entity Q60801
relation P26
type Q502895
The spouse of that one is the [ANSWER]
SELECT DISTINCT ?i WHERE { resource:Q60801 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Madeleine Ozeray
The spouse of that one is the Madeleine Ozeray
Madeleine Ozeray
action filter_type
action find
entity Louis Jouvet
relation spouse
type common name
SELECT DISTINCT ?i WHERE { resource:Louis_Jouvet property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art have that person in their star cast ?
(c(Q838948),P161,Q3275703)
action count
action filter_type
action find_reverse
entity Q3275703
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3275703']
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P161 resource:Q3275703 . ?v rdf:type ontology:Q838948 }
action count
action filter_type
action find_reverse
entity Madeleine Ozeray
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Madeleine Ozeray']
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:cast_member resource:Madeleine_Ozeray . ?v rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
13
Q3209690 Q3234064 Q3212125 Q3002621 Q3418650 Q679429 Q3208959 Q3015535 Q3208096 Q3210350 Q3221848 Q646400 Q2940805
(c(Q838948),P161,Q3275703)
action count
action filter_type
action find_reverse
entity Q3275703
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3275703']
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P161 resource:Q3275703 . ?v rdf:type ontology:Q838948 }
Court Waltzes The Mysteries of Paris La Race des seigneurs Crime and Punishment Ramuntcho Le vieux fusil The End of the Day Dans les rues La dame de chez Maxim's The House on the Dune Culprit Liliom Casanova
13
action count
action filter_type
action find_reverse
entity Madeleine Ozeray
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Madeleine Ozeray']
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:cast_member resource:Madeleine_Ozeray . ?v rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15068458 Q1702545
P57
Q502895
USER
Which people were the director of Tiger Bay or Mission Over Korea ?
OR((Q1702545,P57,c(Q502895)), (Q15068458,P57,c(Q502895)))
action filter_type
action union
action find
entity Q1702545
relation P57
action find
entity Q15068458
relation P57
type Q502895
{'OR': [['Q1702545', 'P57', {'concept': 'Q502895'}], ['Q15068458', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . { { resource:Q1702545 property:P57 ?o } UNION { resource:Q15068458 property:P57 ?o } } }
Mission Over Korea Tiger Bay
action filter_type
action union
action find
entity Tiger Bay
relation director
action find
entity Mission Over Korea
relation director
type common name
{'OR': [['Tiger Bay', 'director', {'concept': 'common name'}], ['Mission Over Korea', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . { { resource:Tiger_Bay property:director ?o } UNION { resource:Mission_Over_Korea property:director ?o } } }
[]
common name
Q1452283 Q456979
SYSTEM
Fred F. Sears, J. Lee Thompson
Q1452283 Q456979
OR((Q1702545,P57,c(Q502895)), (Q15068458,P57,c(Q502895)))
action filter_type
action union
action find
entity Q1702545
relation P57
action find
entity Q15068458
relation P57
type Q502895
[ANSWERS] were the director of Tiger Bay or Mission Over Korea
{'OR': [['Q1702545', 'P57', {'concept': 'Q502895'}], ['Q15068458', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . { { resource:Q1702545 property:P57 ?o } UNION { resource:Q15068458 property:P57 ?o } } }
Fred F. Sears J. Lee Thompson
Fred F. Sears and J. Lee Thompson were the director of Tiger Bay or Mission Over Korea
Fred F. Sears J. Lee Thompson
action filter_type
action union
action find
entity Tiger Bay
relation director
action find
entity Mission Over Korea
relation director
type common name
{'OR': [['Tiger Bay', 'director', {'concept': 'common name'}], ['Mission Over Korea', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . { { resource:Tiger_Bay property:director ?o } UNION { resource:Mission_Over_Korea property:director ?o } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60801
P119
Q39614
USER
Which cemetery is the resting place of Louis Jouvet ?
(Q60801,P119,c(Q39614))
action filter_type
action find
entity Q60801
relation P119
type Q39614
['Q60801', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?s WHERE { resource:Q60801 property:P119 ?s . ?s rdf:type ontology:Q39614 }
Louis Jouvet
action filter_type
action find
entity Louis Jouvet
relation place of burial
type cemetery
['Louis Jouvet', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?s WHERE { resource:Louis_Jouvet property:place_of_burial ?s . ?s rdf:type ontology:cemetery }
[]
cemetery
Q746647
SYSTEM
Montmartre Cemetery
Q746647
(Q60801,P119,c(Q39614))
action filter_type
action find
entity Q60801
relation P119
type Q39614
Cemetery [ANSWER] is the resting place of Louis Jouvet
['Q60801', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?s WHERE { resource:Q60801 property:P119 ?s . ?s rdf:type ontology:Q39614 }
Montmartre Cemetery
Cemetery Montmartre Cemetery is the resting place of Louis Jouvet
Montmartre Cemetery
action filter_type
action find
entity Louis Jouvet
relation place of burial
type cemetery
['Louis Jouvet', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?s WHERE { resource:Louis_Jouvet property:place_of_burial ?s . ?s rdf:type ontology:cemetery }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q79007 Q39614
USER
Which streets are approximately 1 cemetery located on ?
(c(Q39614),P669,c(Q79007))
action approx
action find_reverse_tuple_counts
relation P669
type Q79007
type Q39614
value 1
[{'concept': 'Q39614'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P669 ?p . ?p rdf:type ontology:Q79007 . ?c rdf:type ontology:Q39614 } GROUP BY ?p } . FILTER ( ?n = 1 ) }
action approx
action find_reverse_tuple_counts
relation located on street
type street
type cemetery
value 1
[{'concept': 'cemetery'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:located_on_street ?p . ?p rdf:type ontology:street . ?c rdf:type ontology:cemetery } GROUP BY ?p } . FILTER ( ?n = 1 ) }
[]
street cemetery
Q2921810 Q2921989 Q2873818
SYSTEM
boulevard Edgar-Quinet, boulevard de Ménilmontant, avenue Rachel
Q2921810 Q2921989 Q2873818
(c(Q39614),P669,c(Q79007))
action approx
action find_reverse_tuple_counts
relation P669
type Q79007
type Q39614
value 1
[ANSWERS]
[{'concept': 'Q39614'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P669 ?p . ?p rdf:type ontology:Q79007 . ?c rdf:type ontology:Q39614 } GROUP BY ?p } . FILTER ( ?n = 1 ) }
boulevard Edgar-Quinet boulevard de Ménilmontant avenue Rachel
Which streets are approximately 1 cemetery located on
boulevard Edgar-Quinet boulevard de Ménilmontant avenue Rachel
action approx
action find_reverse_tuple_counts
relation located on street
type street
type cemetery
value 1
[{'concept': 'cemetery'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:located_on_street ?p . ?p rdf:type ontology:street . ?c rdf:type ontology:cemetery } GROUP BY ?p } . FILTER ( ?n = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q34442
USER
How many roads are adjacent to that street ?
(Q2921810,P47,c(Q34442))
['Q2921810', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2921810 property:P47 ?z . ?z rdf:type ontology:Q34442 }
['boulevard Edgar-Quinet', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:boulevard_Edgar-Quinet property:shares_border_with ?z . ?z rdf:type ontology:road }
[]
road
Quantitative|Count|Single entity type|Clarification
Q2921989
SYSTEM
Did you mean boulevard de Ménilmontant ?
(Q2921810,P47,c(Q34442)) (Q2921989,P47,c(Q34442)) (Q2873818,P47,c(Q34442))
[ANSWER]
['Q2921810', 'P47', {'concept': 'Q34442'}] ['Q2921989', 'P47', {'concept': 'Q34442'}] ['Q2873818', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2921810 property:P47 ?z . ?z rdf:type ontology:Q34442 }
Did you mean boulevard de Ménilmontant ?
boulevard de Ménilmontant
['boulevard Edgar-Quinet', 'shares border with', {'concept': 'road'}] ['boulevard de Ménilmontant', 'shares border with', {'concept': 'road'}] ['avenue Rachel', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:boulevard_Edgar-Quinet property:shares_border_with ?z . ?z rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant boulevard Edgar-Quinet. Could you tell me the answer for that?
(Q2921810,P47,c(Q34442))
Q2921810
['Q2921810', 'P47', {'concept': 'Q34442'}]
['boulevard Edgar-Quinet', 'shares border with', {'concept': 'road'}]
[]
SYSTEM
8
Q3452703 Q3448369 Q3449584 Q3452455 Q3451437 Q3450527 Q3452292 Q3447651
(Q2921810,P47,c(Q34442))
[ANSWER]
['Q2921810', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2921810 property:P47 ?z . ?z rdf:type ontology:Q34442 }
rue Émile-Richard rue Huyghens rue Poinsot rue du Montparnasse rue de la Gaîté rue d'Odessa rue du Départ rue Delambre
8
['boulevard Edgar-Quinet', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:boulevard_Edgar-Quinet property:shares_border_with ?z . ?z rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2921989
P47
Q34442
USER
Which roads do boulevard de Ménilmontant share a border with ?
(c(Q34442),P47,Q2921989)
action filter_type
action find
entity Q2921989
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q2921989']
SELECT DISTINCT ?k WHERE { resource:Q2921989 property:P47 ?k . ?k rdf:type ontology:Q34442 }
boulevard de Ménilmontant
action filter_type
action find
entity boulevard de Ménilmontant
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'boulevard de Ménilmontant']
SELECT DISTINCT ?k WHERE { resource:boulevard_de_Ménilmontant property:shares_border_with ?k . ?k rdf:type ontology:road }
[]
road
Q3451555 Q3450919 Q2373366
SYSTEM
rue de la Roquette, rue de Ménilmontant, rue Oberkampf
Q2974746 Q3451731 Q3451088 Q3451555 Q3452168 Q3451931 Q3450890 Q3562158 Q3452562 Q3451680 Q3450919 Q3450081 Q3451946 Q2373366
(c(Q34442),P47,Q2921989)
action filter_type
action find
entity Q2921989
relation P47
type Q34442
Boulevard de Ménilmontant share a border with [ANSWERS]
[{'concept': 'Q34442'}, 'P47', 'Q2921989']
SELECT DISTINCT ?k WHERE { resource:Q2921989 property:P47 ?k . ?k rdf:type ontology:Q34442 }
cité de l'Avenir rue des Cendriers rue de Tlemcen rue de la Roquette rue du Chemin-Vert rue des Nanettes rue de Mont-Louis voie A/11 rue du Repos rue des Bluets rue de Ménilmontant rue Spinoza rue des Panoyaux rue Oberkampf
Boulevard de Ménilmontant share a border with rue de la Roquette, rue de Ménilmontant and rue Oberkampf
rue de la Roquette rue de Ménilmontant rue Oberkampf
action filter_type
action find
entity boulevard de Ménilmontant
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'boulevard de Ménilmontant']
SELECT DISTINCT ?k WHERE { resource:boulevard_de_Ménilmontant property:shares_border_with ?k . ?k rdf:type ontology:road }
[]