Simple Question (Direct)
Simple Question
Q3450986
P47
Q79007
USER
Which streets are bordered by rue de Presbourg ?
(Q3450986,P47,c(Q79007))
action filter_type
action find
entity Q3450986
relation P47
type Q79007
['Q3450986', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q79007 . resource:Q3450986 property:P47 ?w }
rue de Presbourg
action filter_type
action find
entity rue de Presbourg
relation shares border with
type street
['rue de Presbourg', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:street . resource:rue_de_Presbourg property:shares_border_with ?w }
[]
street
Q550 Q790562 Q790581
SYSTEM
avenue des Champs-Élysées, avenue Foch, avenue Victor-Hugo
Q2873902 Q550 Q790578 Q2873767 Q790581 Q1028274 Q790562
(Q3450986,P47,c(Q79007))
action filter_type
action find
entity Q3450986
relation P47
type Q79007
[ANSWERS] are bordered by rue de Presbourg
['Q3450986', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q79007 . resource:Q3450986 property:P47 ?w }
avenue d'Iéna avenue des Champs-Élysées avenue Kléber avenue Marceau avenue Victor-Hugo avenue de la Grande-Armée avenue Foch
Avenue des Champs-Élysées, avenue Foch and avenue Victor-Hugo are bordered by rue de Presbourg
avenue des Champs-Élysées avenue Foch avenue Victor-Hugo
action filter_type
action find
entity rue de Presbourg
relation shares border with
type street
['rue de Presbourg', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:street . resource:rue_de_Presbourg property:shares_border_with ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q550
P915
Q838948
USER
Which works of art were filmed at that street ?
(c(Q838948),P915,Q550)
action filter_type
action find_reverse
entity Q550
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q550']
SELECT DISTINCT ?m WHERE { ?m property:P915 resource:Q550 . ?m rdf:type ontology:Q838948 }
avenue des Champs-Élysées
action filter_type
action find_reverse
entity avenue des Champs-Élysées
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'avenue des Champs-Élysées']
SELECT DISTINCT ?m WHERE { ?m property:filming_location resource:avenue_des_Champs-Élysées . ?m rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q790562
SYSTEM
Did you mean avenue Foch ?
Q550 Q790562 Q790581
(c(Q838948),P915,Q550) (c(Q838948),P915,Q790562) (c(Q838948),P915,Q790581)
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q550'] [{'concept': 'Q838948'}, 'P915', 'Q790562'] [{'concept': 'Q838948'}, 'P915', 'Q790581']
SELECT DISTINCT ?m WHERE { ?m property:P915 resource:Q550 . ?m rdf:type ontology:Q838948 }
avenue des Champs-Élysées avenue Foch avenue Victor-Hugo
Did you mean avenue Foch ?
avenue Foch
[{'concept': 'work of art'}, 'filming location', 'avenue des Champs-Élysées'] [{'concept': 'work of art'}, 'filming location', 'avenue Foch'] [{'concept': 'work of art'}, 'filming location', 'avenue Victor-Hugo']
SELECT DISTINCT ?m WHERE { ?m property:filming_location resource:avenue_des_Champs-Élysées . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant avenue des Champs-Élysées. Could you tell me the answer for that?
(c(Q838948),P915,Q550)
Q550
[{'concept': 'Q838948'}, 'P915', 'Q550']
[{'concept': 'work of art'}, 'filming location', 'avenue des Champs-Élysées']
[]
Q86427 Q901140
SYSTEM
Breathless, The Day of the Jackal
Q86427 Q901140
(c(Q838948),P915,Q550)
action filter_type
action find_reverse
entity Q550
relation P915
type Q838948
[ANSWERS] were filmed at that street
[{'concept': 'Q838948'}, 'P915', 'Q550']
SELECT DISTINCT ?m WHERE { ?m property:P915 resource:Q550 . ?m rdf:type ontology:Q838948 }
Breathless The Day of the Jackal
Breathless and The Day of the Jackal were filmed at that street
Breathless The Day of the Jackal
action filter_type
action find_reverse
entity avenue des Champs-Élysées
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'avenue des Champs-Élysées']
SELECT DISTINCT ?m WHERE { ?m property:filming_location resource:avenue_des_Champs-Élysées . ?m rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3450470 Q550
P47
Q34442
USER
Which roads share border with avenue des Champs-Élysées or rue d'Amsterdam ?
OR((c(Q34442),P47,Q550), (c(Q34442),P47,Q3450470))
action filter_type
action union
action find_reverse
entity Q550
relation P47
action find_reverse
entity Q3450470
relation P47
type Q34442
{'OR': [[{'concept': 'Q34442'}, 'P47', 'Q550'], [{'concept': 'Q34442'}, 'P47', 'Q3450470']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34442 . { { ?i property:P47 resource:Q550 } UNION { ?i property:P47 resource:Q3450470 } } }
rue d'Amsterdam avenue des Champs-Élysées
action filter_type
action union
action find_reverse
entity avenue des Champs-Élysées
relation shares border with
action find_reverse
entity rue d'Amsterdam
relation shares border with
type road
{'OR': [[{'concept': 'road'}, 'shares border with', 'avenue des Champs-Élysées'], [{'concept': 'road'}, 'shares border with', "rue d'Amsterdam"]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:road . { { ?i property:shares_border_with resource:avenue_des_Champs-Élysées } UNION { ?i property:shares_border_with resource:rue_d'Amsterdam } } }
[]
road
Q3446993 Q3450860 Q3449508 Q3452200 Q3450986 Q3450945 Q3448870 Q3449652 Q3452382 Q3450501
SYSTEM
Some of them are rue Arsène-Houssaye, rue de Marignan, Rue Pierre Charron, Paris, rue du Colisée, rue de Presbourg, rue de Parme, rue Lincoln, rue Quentin-Bauchart, rue du Havre, rue d'Athènes
Q3449034 Q3449652 Q3449508 Q3450945 Q3450860 Q3450820 Q3450391 Q3450986 Q3452200 Q3450557 Q681926 Q3450609 Q3448682 Q3452382 Q3446993 Q3448629 Q3450878 Q15970898 Q3447058 Q3450501 Q3448059 Q962082 Q3448870 Q3450612 Q3449920 Q952990
OR((c(Q34442),P47,Q550), (c(Q34442),P47,Q3450470))
action filter_type
action union
action find_reverse
entity Q550
relation P47
action find_reverse
entity Q3450470
relation P47
type Q34442
[ANSWERS] share border with avenue des Champs-Élysées or rue d'Amsterdam
{'OR': [[{'concept': 'Q34442'}, 'P47', 'Q550'], [{'concept': 'Q34442'}, 'P47', 'Q3450470']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34442 . { { ?i property:P47 resource:Q550 } UNION { ?i property:P47 resource:Q3450470 } } }
rue Marbeuf rue Quentin-Bauchart Rue Pierre Charron, Paris rue de Parme rue de Marignan rue de Liège rue Washington rue de Presbourg rue du Colisée rue de Bassano rue de Tilsitt rue de Bucarest rue La Boétie rue du Havre rue Arsène-Houssaye rue Jules-Lefebvre rue de Milan rue de Berri rue Balzac rue d'Athènes rue Galilée rue de Moscou rue Lincoln rue de Budapest rue Saint-Lazare rue de Londres
Rue Arsène-Houssaye, rue de Marignan, Rue Pierre Charron, Paris, rue du Colisée, rue de Presbourg, rue de Parme, rue Lincoln, rue Quentin-Bauchart, rue du Havre and rue d'Athènes share border with avenue des Champs-Élysées or rue d'Amsterdam
rue Arsène-Houssaye rue de Marignan Rue Pierre Charron, Paris rue du Colisée rue de Presbourg rue de Parme rue Lincoln rue Quentin-Bauchart rue du Havre rue d'Athènes
action filter_type
action union
action find_reverse
entity avenue des Champs-Élysées
relation shares border with
action find_reverse
entity rue d'Amsterdam
relation shares border with
type road
{'OR': [[{'concept': 'road'}, 'shares border with', 'avenue des Champs-Élysées'], [{'concept': 'road'}, 'shares border with', "rue d'Amsterdam"]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:road . { { ?i property:shares_border_with resource:avenue_des_Champs-Élysées } UNION { ?i property:shares_border_with resource:rue_d'Amsterdam } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2873739
P669
Q79007 Q39614 Q1076486
USER
How many streets are greater number of cemeteries or sports venues located on than avenue Ledru-Rollin ?
(c(Q39614)|c(Q1076486),P669,c(Q79007))
action count
action greater
action union
action find_reverse_tuple_counts
relation P669
type Q79007
type Q39614
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q2873739
relation P669
type Q39614
type Q1076486
[[{'concept': 'Q39614'}, {'concept': 'Q1076486'}], 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:P669 ?j . ?r rdf:type ontology:Q39614 . ?j rdf:type ontology:Q79007 } UNION { ?r property:P669 ?j . ?j rdf:type ontology:Q79007 . ?r rdf:type ontology:Q1076486 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P669 resource:Q2873739 . { { ?e rdf:type ontology:Q39614 } UNION { ?e rdf:type ontology:Q1076486 } } } } . FILTER ( ?c > ?w ) }
avenue Ledru-Rollin
action count
action greater
action union
action find_reverse_tuple_counts
relation located on street
type street
type cemetery
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_multi_types
action find_reverse
entity avenue Ledru-Rollin
relation located on street
type cemetery
type sports venue
[[{'concept': 'cemetery'}, {'concept': 'sports venue'}], 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:located_on_street ?j . ?r rdf:type ontology:cemetery . ?j rdf:type ontology:street } UNION { ?r property:located_on_street ?j . ?j rdf:type ontology:street . ?r rdf:type ontology:sports_venue } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:located_on_street resource:avenue_Ledru-Rollin . { { ?e rdf:type ontology:cemetery } UNION { ?e rdf:type ontology:sports_venue } } } } . FILTER ( ?c > ?w ) }
[]
street cemetery sports venue
SYSTEM
6
Q2921810 Q2874160 Q2391303 Q2921989 Q2921965 Q2873818
(c(Q39614)|c(Q1076486),P669,c(Q79007))
action count
action greater
action union
action find_reverse_tuple_counts
relation P669
type Q79007
type Q39614
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q2873739
relation P669
type Q39614
type Q1076486
[ANSWER]
[[{'concept': 'Q39614'}, {'concept': 'Q1076486'}], 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:P669 ?j . ?r rdf:type ontology:Q39614 . ?j rdf:type ontology:Q79007 } UNION { ?r property:P669 ?j . ?j rdf:type ontology:Q79007 . ?r rdf:type ontology:Q1076486 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P669 resource:Q2873739 . { { ?e rdf:type ontology:Q39614 } UNION { ?e rdf:type ontology:Q1076486 } } } } . FILTER ( ?c > ?w ) }
boulevard Edgar-Quinet avenue du Général-Sarrail avenue de la Porte-Molitor boulevard de Ménilmontant boulevard d'Auteuil avenue Rachel
6
action count
action greater
action union
action find_reverse_tuple_counts
relation located on street
type street
type cemetery
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_multi_types
action find_reverse
entity avenue Ledru-Rollin
relation located on street
type cemetery
type sports venue
[[{'concept': 'cemetery'}, {'concept': 'sports venue'}], 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:located_on_street ?j . ?r rdf:type ontology:cemetery . ?j rdf:type ontology:street } UNION { ?r property:located_on_street ?j . ?j rdf:type ontology:street . ?r rdf:type ontology:sports_venue } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:located_on_street resource:avenue_Ledru-Rollin . { { ?e rdf:type ontology:cemetery } UNION { ?e rdf:type ontology:sports_venue } } } } . FILTER ( ?c > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7696225
P669
Q79007 Q39614 Q1076486
USER
And also tell me about Telegraph Avenue?
(c(Q39614)|c(Q1076486),P669,c(Q79007))
action count
action greater
action union
action find_reverse_tuple_counts
relation P669
type Q79007
type Q39614
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q7696225
relation P669
type Q39614
type Q1076486
[[{'concept': 'Q39614'}, {'concept': 'Q1076486'}], 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?c WHERE { VALUES ( ?k ) { ( ontology:Q39614 ) ( ontology:Q1076486 ) } . ?z rdf:type ?k } GROUP BY ?c } . FILTER ( ?j > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P669 resource:Q7696225 . { { ?q rdf:type ontology:Q39614 } UNION { ?q rdf:type ontology:Q1076486 } } } } }
Telegraph Avenue
action count
action greater
action union
action find_reverse_tuple_counts
relation located on street
type street
type cemetery
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_multi_types
action find_reverse
entity Telegraph Avenue
relation located on street
type cemetery
type sports venue
[[{'concept': 'cemetery'}, {'concept': 'sports venue'}], 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?c WHERE { VALUES ( ?k ) { ( ontology:cemetery ) ( ontology:sports_venue ) } . ?z rdf:type ?k } GROUP BY ?c } . FILTER ( ?j > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:located_on_street resource:Telegraph_Avenue . { { ?q rdf:type ontology:cemetery } UNION { ?q rdf:type ontology:sports_venue } } } } }
[]
street cemetery sports venue
SYSTEM
6
Q2921810 Q2874160 Q2391303 Q2921989 Q2921965 Q2873818
(c(Q39614)|c(Q1076486),P669,c(Q79007))
action count
action greater
action union
action find_reverse_tuple_counts
relation P669
type Q79007
type Q39614
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q7696225
relation P669
type Q39614
type Q1076486
[ANSWER]
[[{'concept': 'Q39614'}, {'concept': 'Q1076486'}], 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?c WHERE { VALUES ( ?k ) { ( ontology:Q39614 ) ( ontology:Q1076486 ) } . ?z rdf:type ?k } GROUP BY ?c } . FILTER ( ?j > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P669 resource:Q7696225 . { { ?q rdf:type ontology:Q39614 } UNION { ?q rdf:type ontology:Q1076486 } } } } }
boulevard Edgar-Quinet avenue du Général-Sarrail avenue de la Porte-Molitor boulevard de Ménilmontant boulevard d'Auteuil avenue Rachel
6
action count
action greater
action union
action find_reverse_tuple_counts
relation located on street
type street
type cemetery
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_multi_types
action find_reverse
entity Telegraph Avenue
relation located on street
type cemetery
type sports venue
[[{'concept': 'cemetery'}, {'concept': 'sports venue'}], 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?c WHERE { VALUES ( ?k ) { ( ontology:cemetery ) ( ontology:sports_venue ) } . ?z rdf:type ?k } GROUP BY ?c } . FILTER ( ?j > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:located_on_street resource:Telegraph_Avenue . { { ?q rdf:type ontology:cemetery } UNION { ?q rdf:type ontology:sports_venue } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q34442 Q82799 Q79007
USER
How many streets are named after atleast 1 roads and names ?
(c(Q79007),P138,c(Q34442)|c(Q82799))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q79007
type Q34442
action find_tuple_counts
relation P138
type Q79007
type Q82799
value 1
[{'concept': 'Q79007'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?x ) WHERE { { ?a property:P138 ?t . ?a rdf:type ontology:Q79007 . ?t rdf:type ontology:Q34442 } UNION { ?a property:P138 ?t . ?a rdf:type ontology:Q79007 . ?t rdf:type ontology:Q82799 } } GROUP BY ?a } . FILTER ( ?x >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation named after
type street
type road
action find_tuple_counts
relation named after
type street
type name
value 1
[{'concept': 'street'}, 'named after', [{'concept': 'road'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?x ) WHERE { { ?a property:named_after ?t . ?a rdf:type ontology:street . ?t rdf:type ontology:road } UNION { ?a property:named_after ?t . ?a rdf:type ontology:street . ?t rdf:type ontology:name } } GROUP BY ?a } . FILTER ( ?x >= 1 ) }
[]
road name street
SYSTEM
33
Q3149265 Q2873937 Q3149342 Q3149308 Q3149233 Q3149232 Q3149400 Q2401340 Q3149288 Q3149270 Q3149376 Q3149377 Q2921926 Q3149386 Q2921995 Q3149332 Q3149333 Q3149330 Q3149335 Q3149241 Q3149205 Q3149364 Q2921899 Q3149242 Q3149367 Q2404571 Q3149268 Q2974744 Q2504703 Q3149218 Q3149352 Q3149357 Q10526419
(c(Q79007),P138,c(Q34442)|c(Q82799))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q79007
type Q34442
action find_tuple_counts
relation P138
type Q79007
type Q82799
value 1
[ANSWER]
[{'concept': 'Q79007'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?x ) WHERE { { ?a property:P138 ?t . ?a rdf:type ontology:Q79007 . ?t rdf:type ontology:Q34442 } UNION { ?a property:P138 ?t . ?a rdf:type ontology:Q79007 . ?t rdf:type ontology:Q82799 } } GROUP BY ?a } . FILTER ( ?x >= 1 ) }
impasse Orfila avenue de Provence impasse de la Mare impasse Tourneux impasse Gomboust impasse Girardon impasse Érard impasse Haxo impasse Saint-Denis impasse Pixérécourt impasse des Vignoles impasse du 49-Faubourg-Saint-Martin boulevard Saint-Martin impasse du Gué boulevard de Reuilly impasse de la Baleine impasse de la Boule-Rouge impasse de Wattignies impasse de la Chapelle impasse Lebouis impasse Calmels impasse des Orteaux boulevard Poissonnière impasse Letort impasse des Panoyaux boulevard Saint-Denis impasse Philidor cité de Varenne boulevard de Rochechouart impasse Crozatier impasse des Bourdonnais impasse des Cloÿs Hornskroken
33
action count
action atleast
action union
action find_tuple_counts
relation named after
type street
type road
action find_tuple_counts
relation named after
type street
type name
value 1
[{'concept': 'street'}, 'named after', [{'concept': 'road'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?x ) WHERE { { ?a property:named_after ?t . ?a rdf:type ontology:street . ?t rdf:type ontology:road } UNION { ?a property:named_after ?t . ?a rdf:type ontology:street . ?t rdf:type ontology:name } } GROUP BY ?a } . FILTER ( ?x >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3446993 Q3389691
P47
Q34442
USER
How many roads are next to the border of rue Arsène-Houssaye or place Alfred-Sauvy ?
(c(Q34442),P47,Q3446993) (c(Q34442),P47,Q3389691)
action count
action union
action filter_type
action find_reverse
entity Q3446993
relation P47
type Q34442
action filter_type
action find_reverse
entity Q3389691
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q3446993'] [{'concept': 'Q34442'}, 'P47', 'Q3389691']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P47 ?w . VALUES ( ?w ) { ( resource:Q3446993 ) ( resource:Q3389691 ) } }
rue Arsène-Houssaye place Alfred-Sauvy
action count
action union
action filter_type
action find_reverse
entity rue Arsène-Houssaye
relation shares border with
type road
action filter_type
action find_reverse
entity place Alfred-Sauvy
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Arsène-Houssaye'] [{'concept': 'road'}, 'shares border with', 'place Alfred-Sauvy']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:shares_border_with ?w . VALUES ( ?w ) { ( resource:rue_Arsène-Houssaye ) ( resource:place_Alfred-Sauvy ) } }
[]
road
SYSTEM
3
Q3448888 Q3447098 Q3450986
(c(Q34442),P47,Q3446993) (c(Q34442),P47,Q3389691)
action count
action union
action filter_type
action find_reverse
entity Q3446993
relation P47
type Q34442
action filter_type
action find_reverse
entity Q3389691
relation P47
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P47', 'Q3446993'] [{'concept': 'Q34442'}, 'P47', 'Q3389691']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P47 ?w . VALUES ( ?w ) { ( resource:Q3446993 ) ( resource:Q3389691 ) } }
rue Lord-Byron rue Beaujon rue de Presbourg
3
action count
action union
action filter_type
action find_reverse
entity rue Arsène-Houssaye
relation shares border with
type road
action filter_type
action find_reverse
entity place Alfred-Sauvy
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Arsène-Houssaye'] [{'concept': 'road'}, 'shares border with', 'place Alfred-Sauvy']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:shares_border_with ?w . VALUES ( ?w ) { ( resource:rue_Arsène-Houssaye ) ( resource:place_Alfred-Sauvy ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3446993
P47
Q34442
USER
How many roads do rue Arsène-Houssaye share a border with ?
(c(Q34442),P47,Q3446993)
action count
action filter_type
action find_reverse
entity Q3446993
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q3446993']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P47 resource:Q3446993 . ?u rdf:type ontology:Q34442 }
rue Arsène-Houssaye
action count
action filter_type
action find_reverse
entity rue Arsène-Houssaye
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Arsène-Houssaye']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:shares_border_with resource:rue_Arsène-Houssaye . ?u rdf:type ontology:road }
[]
road
SYSTEM
3
Q3448888 Q3450986 Q3447098
(c(Q34442),P47,Q3446993)
action count
action filter_type
action find_reverse
entity Q3446993
relation P47
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P47', 'Q3446993']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P47 resource:Q3446993 . ?u rdf:type ontology:Q34442 }
rue Lord-Byron rue de Presbourg rue Beaujon
3
action count
action filter_type
action find_reverse
entity rue Arsène-Houssaye
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Arsène-Houssaye']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:shares_border_with resource:rue_Arsène-Houssaye . ?u rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3446993
P17
Q15617994
USER
Which administrative territory is rue Arsène-Houssaye present in ?
(Q3446993,P17,c(Q15617994))
action filter_type
action find
entity Q3446993
relation P17
type Q15617994
['Q3446993', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q3446993 property:P17 ?v }
rue Arsène-Houssaye
action filter_type
action find
entity rue Arsène-Houssaye
relation country
type designation for an administrative territorial entity
['rue Arsène-Houssaye', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:rue_Arsène-Houssaye property:country ?v }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3446993,P17,c(Q15617994))
action filter_type
action find
entity Q3446993
relation P17
type Q15617994
Which administrative territory is rue Arsène-Houssaye present in
['Q3446993', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q3446993 property:P17 ?v }
France
Which administrative territory is rue Arsène-Houssaye present in
France
action filter_type
action find
entity rue Arsène-Houssaye
relation country
type designation for an administrative territorial entity
['rue Arsène-Houssaye', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:rue_Arsène-Houssaye property:country ?v }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P669
Q79007 Q1497375 Q860861
USER
Which streets are min number of items with multiple objects and sculptures located ?
(c(Q1497375)|c(Q860861),P669,c(Q79007))
action argmin
action union
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1497375
action find_reverse_tuple_counts
relation P669
type Q79007
type Q860861
[[{'concept': 'Q1497375'}, {'concept': 'Q860861'}], 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?t ) WHERE { { ?s property:P669 ?b . ?b rdf:type ontology:Q79007 . ?s rdf:type ontology:Q1497375 } UNION { ?s property:P669 ?b . ?b rdf:type ontology:Q79007 . ?s rdf:type ontology:Q860861 } } GROUP BY ?b } . FILTER ( ?t = ?r ) . { SELECT DISTINCT ( MIN ( ?e ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?n . VALUES ( ?n ) { ( ontology:Q860861 ) ( ontology:Q1497375 ) } } GROUP BY ?q } } }
action argmin
action union
action find_reverse_tuple_counts
relation located on street
type street
type item with multiple objects
action find_reverse_tuple_counts
relation located on street
type street
type sculpture
[[{'concept': 'item with multiple objects'}, {'concept': 'sculpture'}], 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?t ) WHERE { { ?s property:located_on_street ?b . ?b rdf:type ontology:street . ?s rdf:type ontology:item_with_multiple_objects } UNION { ?s property:located_on_street ?b . ?b rdf:type ontology:street . ?s rdf:type ontology:sculpture } } GROUP BY ?b } . FILTER ( ?t = ?r ) . { SELECT DISTINCT ( MIN ( ?e ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?n . VALUES ( ?n ) { ( ontology:sculpture ) ( ontology:item_with_multiple_objects ) } } GROUP BY ?q } } }
[]
street item with multiple objects sculpture
Q533037 Q2873598 Q895076
SYSTEM
boulevard Saint-Germain, avenue Daumesnil, boulevard Haussmann
Q14629242 Q550 Q2921899 Q2873884 Q2921894 Q2921891 Q2136395 Q2873605 Q3452619 Q2921959 Q2873805 Q2922034 Q2921810 Q2922032 Q2922031 Q3149343 Q2873769 Q2873707 Q2874166 Q2874160 Q2921888 Q2921883 Q2873923 Q2922002 Q2921960 Q2873772 Q2391303 Q2921805 Q790568 Q2921920 Q2874202 Q2921923 Q2921925 Q2921926 Q4099024 Q2404571 Q790581 Q4267094 Q1907324 Q3058454 Q109873 Q2873820 Q2873824 Q41068 Q5348068 Q2922016 Q2921837 Q3007468 Q790578 Q2874056 Q790573 Q2874210 Q2632681 Q2873901 Q2581778 Q3058441 Q2874102 Q2460215 Q2873580 Q2921981 Q2873982 Q2921988 Q2921989 Q2873657 Q2874189 Q2874022 Q2922060 Q2921907 Q2922067 Q895082 Q34441 Q382500 Q590441 Q2873598 Q2873916 Q2079615 Q2921993 Q895076 Q2873649 Q2584356 Q2874131 Q2922038 Q2873992 Q2874032 Q2921917 Q934651 Q735620 Q1851236 Q2873654 Q2873874 Q2873735 Q4381087 Q2873964 Q2873967 Q2873636 Q2873739 Q2921965 Q2921966 Q3407377 Q2873508 Q2921844 Q6546819 Q2874182 Q1027566 Q2921775 Q10526423 Q2921772 Q16331713 Q2874151 Q2874152 Q2873862 Q2504703 Q2873974 Q2874015 Q34472 Q2874010 Q2921974 Q2921973 Q2921972 Q2921971 Q2921970 Q2921874 Q2921979 Q3094222 Q2873793 Q3449383 Q790562 Q2921939 Q2873818 Q2873944 Q895077 Q10679907 Q2921942 Q895078 Q2873546 Q2922026 Q3149212 Q7696225 Q2921864 Q533037 Q2921783 Q1007186 Q2384518 Q17518281
(c(Q1497375)|c(Q860861),P669,c(Q79007))
action argmin
action union
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1497375
action find_reverse_tuple_counts
relation P669
type Q79007
type Q860861
[ANSWERS] are min number of items with multiple objects and sculptures located
[[{'concept': 'Q1497375'}, {'concept': 'Q860861'}], 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?t ) WHERE { { ?s property:P669 ?b . ?b rdf:type ontology:Q79007 . ?s rdf:type ontology:Q1497375 } UNION { ?s property:P669 ?b . ?b rdf:type ontology:Q79007 . ?s rdf:type ontology:Q860861 } } GROUP BY ?b } . FILTER ( ?t = ?r ) . { SELECT DISTINCT ( MIN ( ?e ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?n . VALUES ( ?n ) { ( ontology:Q860861 ) ( ontology:Q1497375 ) } } GROUP BY ?q } } }
esplanade Habib-Bourguiba avenue des Champs-Élysées boulevard Poissonnière avenue Winston-Churchill boulevard Pereire boulevard Pasteur H. C. Andersens Boulevard avenue Denfert-Rochereau rue du Trésor boulevard Vincent-Auriol avenue Philippe-Auguste boulevard de la Madeleine boulevard Edgar-Quinet boulevard de la Villette boulevard de la Somme impasse de la Poissonnerie avenue Matignon avenue Jean-Jaurès avenue du Maine avenue du Général-Sarrail boulevard Morland boulevard Masséna avenue de Marigny boulevard de Strasbourg La Défense ring road avenue Maurice-d'Ocagne avenue de la Porte-Molitor boulevard Diderot avenue Henri-Martin boulevard Saint-Jacques avenue Élisée-Reclus boulevard Richard-Lenoir boulevard Saint-Marcel boulevard Saint-Martin Boulevard Alexandre-Taché boulevard Saint-Denis avenue Victor-Hugo Laurier Avenue Massachusetts Avenue esplanade du 9-novembre-1989 Sixth Avenue avenue Raymond-Poincaré avenue René-Coty Paulista Avenue Eglinton Avenue boulevard de l'Hôpital boulevard Henri-IV Liteyny Avenue avenue Kléber avenue de la République avenue Mozart avenue Émile-Zola Moskovsky Prospekt avenue de Camoëns boulevard des Invalides esplanade Pierre-Vidal-Naquet avenue des Gobelins Saint Laurent Boulevard avenue Claude-Vellefaux boulevard de Clichy avenue de l'Observatoire boulevard de Montmorency boulevard de Ménilmontant avenue George V avenue du Président-Wilson avenue de la Porte-de-Charenton Boulevard du Crime boulevard Poniatowski boulevard du Palais boulevard des Italiens Bundesstraße 2 Nevsky Prospect boulevard des Capucines avenue Daumesnil avenue de Friedland Paseo del Prado boulevard de Port-Royal boulevard Haussmann avenue Gabriel Vasilissis Sofias Avenue avenue du Colonel-Henri-Rol-Tanguy boulevard des Batignolles avenue de la Belle-Gabrielle avenue de la Porte-de-Montrouge boulevard Raspail Bulevar kralja Aleksandra avenue Montaigne boulevard du Temple avenue Gambetta avenue Victoria avenue Junot Vernadskogo Avenue avenue de Versailles avenue de Villiers avenue Franklin-D.-Roosevelt avenue Ledru-Rollin boulevard d'Auteuil boulevard Voltaire promenade du Peyrou avenue Albert-de-Mun boulevard Jules-Ferry Ligovsky Avenue Park Avenue boulevard Montmartre boulevard Auguste-Blanqui Hornstulls strand boulevard Arago Leoforos Megalou Alexandrou avenue du Général-Leclerc avenue du Général-Lemonnier avenue Trudaine boulevard de Rochechouart avenue de Wagram avenue de la Porte-d'Auteuil Bundesstraße 13 avenue de l'Opéra boulevard de Courcelles boulevard de Charonne boulevard de Bonne-Nouvelle boulevard de Bercy boulevard de Belleville boulevard Malesherbes boulevard de Grenelle Grote Houtstraat avenue Parmentier Patission Street avenue Foch boulevard Soult avenue Rachel avenue de Saint-Mandé boulevard de Magenta Stigbergsgatan boulevard Sérurier boulevard Saint-Michel avenue Bugeaud boulevard de la Chapelle impasse Chartière Telegraph Avenue boulevard Lannes boulevard Saint-Germain boulevard Bessières Bundesstraße 466 Independence Avenue cours Saint-Pierre
Boulevard Saint-Germain, avenue Daumesnil and boulevard Haussmann are min number of items with multiple objects and sculptures located
boulevard Saint-Germain avenue Daumesnil boulevard Haussmann
action argmin
action union
action find_reverse_tuple_counts
relation located on street
type street
type item with multiple objects
action find_reverse_tuple_counts
relation located on street
type street
type sculpture
[[{'concept': 'item with multiple objects'}, {'concept': 'sculpture'}], 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?t ) WHERE { { ?s property:located_on_street ?b . ?b rdf:type ontology:street . ?s rdf:type ontology:item_with_multiple_objects } UNION { ?s property:located_on_street ?b . ?b rdf:type ontology:street . ?s rdf:type ontology:sculpture } } GROUP BY ?b } . FILTER ( ?t = ?r ) . { SELECT DISTINCT ( MIN ( ?e ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?n . VALUES ( ?n ) { ( ontology:sculpture ) ( ontology:item_with_multiple_objects ) } } GROUP BY ?q } } }
[]