Simple Question (Direct)
Simple Question
Q18643297
P735
Q82799
USER
What is forename of Braxton Peterson ?
(Q18643297,P735,c(Q82799))
action filter_type
action find
entity Q18643297
relation P735
type Q82799
['Q18643297', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q18643297 property:P735 ?c . ?c rdf:type ontology:Q82799 }
Braxton Peterson
action filter_type
action find
entity Braxton Peterson
relation given name
type name
['Braxton Peterson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Braxton_Peterson property:given_name ?c . ?c rdf:type ontology:name }
[]
name
Q16275076
SYSTEM
Braxton
Q16275076
(Q18643297,P735,c(Q82799))
action filter_type
action find
entity Q18643297
relation P735
type Q82799
Forename of [ANSWER] Peterson is of [ANSWER]
['Q18643297', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q18643297 property:P735 ?c . ?c rdf:type ontology:Q82799 }
Braxton
Forename of Braxton Peterson is of Braxton
Braxton
action filter_type
action find
entity Braxton Peterson
relation given name
type name
['Braxton Peterson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Braxton_Peterson property:given_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18643297
P710
Q18608583
USER
Which recurring sporting event was that person a participant of ?
(c(Q18608583),P710,Q16275076)
action filter_type
action find_reverse
entity Q18643297
relation P710
type Q18608583
[{'concept': 'Q18608583'}, 'P710', 'Q16275076']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q18608583 . ?q property:P710 resource:Q18643297 }
Braxton Peterson
action filter_type
action find_reverse
entity Braxton Peterson
relation participant
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'participant', 'Braxton']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:recurring_sporting_event . ?q property:participant resource:Braxton_Peterson }
[]
recurring sporting event
Q18577468
SYSTEM
2012 Iditarod
Q18577468
(c(Q18608583),P710,Q16275076)
action filter_type
action find_reverse
entity Q18643297
relation P710
type Q18608583
[ANSWER] was that person a participant of
[{'concept': 'Q18608583'}, 'P710', 'Q16275076']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q18608583 . ?q property:P710 resource:Q18643297 }
2012 Iditarod
2012 Iditarod was that person a participant of
2012 Iditarod
action filter_type
action find_reverse
entity Braxton Peterson
relation participant
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'participant', 'Braxton']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:recurring_sporting_event . ?q property:participant resource:Braxton_Peterson }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18577468 Q5541392
P710
Q502895
USER
Did George Knight participate in that recurring sporting event ?
(Q18577468,P710,Q5541392)
action is_in
entity Q5541392
action find
entity Q18577468
relation P710
['Q18577468', 'P710', 'Q5541392']
ASK WHERE { resource:Q18577468 property:P710 resource:Q5541392 }
2012 Iditarod George Knight
action is_in
entity George Knight
action find
entity 2012 Iditarod
relation participant
['2012 Iditarod', 'participant', 'George Knight']
ASK WHERE { resource:2012_Iditarod property:participant resource:George_Knight }
[]
common name
SYSTEM
NO
(Q18577468,P710,Q5541392)
action is_in
entity Q5541392
action find
entity Q18577468
relation P710
[ANSWER]
['Q18577468', 'P710', 'Q5541392']
ASK WHERE { resource:Q18577468 property:P710 resource:Q5541392 }
No
action is_in
entity George Knight
action find
entity 2012 Iditarod
relation participant
['2012 Iditarod', 'participant', 'George Knight']
ASK WHERE { resource:2012_Iditarod property:participant resource:George_Knight }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18643297 Q18577468
P1344
Q18608583
USER
Did Braxton Peterson take part in 2012 Iditarod ?
(Q18643297,P1344,Q18577468)
action is_in
entity Q18577468
action find
entity Q18643297
relation P1344
['Q18643297', 'P1344', 'Q18577468']
ASK WHERE { resource:Q18643297 property:P1344 resource:Q18577468 }
Braxton Peterson 2012 Iditarod
action is_in
entity 2012 Iditarod
action find
entity Braxton Peterson
relation participant of
['Braxton Peterson', 'participant of', '2012 Iditarod']
ASK WHERE { resource:Braxton_Peterson property:participant_of resource:2012_Iditarod }
[]
recurring sporting event
SYSTEM
YES
(Q18643297,P1344,Q18577468)
action is_in
entity Q18577468
action find
entity Q18643297
relation P1344
[ANSWER]
['Q18643297', 'P1344', 'Q18577468']
ASK WHERE { resource:Q18643297 property:P1344 resource:Q18577468 }
Yes
action is_in
entity 2012 Iditarod
action find
entity Braxton Peterson
relation participant of
['Braxton Peterson', 'participant of', '2012 Iditarod']
ASK WHERE { resource:Braxton_Peterson property:participant_of resource:2012_Iditarod }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q259283
P1444
Q20667921 Q18608583
USER
Which french administrative divisions marks the end of journey for approximately the same number of recurring sporting events as Megève ?
(c(Q18608583),P1444,c(Q20667921))
action approx
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q18608583
action count
action filter_type
action find
entity Q259283
relation P1444
type Q20667921
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { ?b rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q18608583 . ?m property:P1444 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q259283 property:P1444 ?p . ?p rdf:type ontology:Q20667921 } } . FILTER ( ?r = ?g ) }
Megève
action approx
action find_reverse_tuple_counts
relation destination point
type type of french administrative division
type recurring sporting event
action count
action filter_type
action find
entity Megève
relation destination point
type type of french administrative division
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { ?b rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:recurring_sporting_event . ?m property:destination_point ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Megève property:destination_point ?p . ?p rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?r = ?g ) }
[]
type of french administrative division recurring sporting event
Q42716 Q42807 Q45656
SYSTEM
Saint-Étienne, Nîmes, Limoges
Q473417 Q133069 Q208860 Q167024 Q243002 Q132801 Q24643 Q279310 Q184359 Q366962 Q210763 Q128990 Q188511 Q1020857 Q29234 Q213155 Q681563 Q696634 Q537113 Q496066 Q244552 Q576732 Q172593 Q852015 Q287518 Q1231290 Q209814 Q654153 Q203759 Q181285 Q733414 Q629673 Q209109 Q6588 Q207614 Q194141 Q784555 Q45797 Q1323323 Q1014771 Q204648 Q175081 Q45656 Q30974 Q182744 Q191772 Q461219 Q207622 Q731594 Q274292 Q42807 Q729239 Q323399 Q202439 Q274145 Q193621 Q666278 Q385527 Q193183 Q468227 Q331083 Q163108 Q188878 Q192744 Q1388437 Q181306 Q750425 Q11160 Q840893 Q22737 Q377932 Q129002 Q238366 Q187911 Q829292 Q188496 Q239078 Q750710 Q318535 Q8848 Q201311 Q259283 Q214575 Q234704 Q191856 Q174247 Q242091 Q160927 Q232567 Q322959 Q237516 Q184392 Q383388 Q34001 Q382746 Q42716 Q21979667 Q343613 Q131329 Q845832 Q638573 Q598417 Q238393 Q389882 Q244864 Q244184 Q212352 Q472179 Q367373 Q202374 Q188780 Q457728 Q1001685 Q81997 Q43295 Q696499 Q537086 Q243597 Q288 Q208264 Q613323 Q663119 Q688258 Q456327 Q22690 Q17393 Q305007 Q328205 Q79815 Q18104 Q21008210 Q873844 Q38380 Q534206 Q6393 Q1046601 Q132671 Q207253 Q375271 Q134698 Q859481 Q145921 Q271325 Q192773 Q430305 Q210917 Q212507 Q21476 Q211647 Q40898 Q185066 Q498217 Q190974 Q5489 Q1003125 Q4043 Q203298 Q510013 Q130272 Q504931 Q877518 Q6616 Q209048 Q241634 Q41185 Q328730 Q656458
(c(Q18608583),P1444,c(Q20667921))
action approx
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q18608583
action count
action filter_type
action find
entity Q259283
relation P1444
type Q20667921
[ANSWERS] mark the end of journey for approximately the same number of recurring sporting events as Megève
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { ?b rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q18608583 . ?m property:P1444 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q259283 property:P1444 ?p . ?p rdf:type ontology:Q20667921 } } . FILTER ( ?r = ?g ) }
Wallers Bourg-en-Bresse Saint-Jean-de-Maurienne Basse-Terre Cassis Albi Lélex Marcigny Le Puy-en-Velay Cauterets Saint-Flour Plumelec Guéret Orcières Saint-Brieuc Tournon-sur-Rhône Wasquehal Chamrousse Modane Revel Montrevel-en-Bresse Saint-Vulbas Montauban Isbergues Pégomas Saint-Sorlin-d'Arves Guebwiller Cluses Istres Cambrai Elbeuf Villedieu-les-Poêles Saint-Amand-Montrond Périgueux Figeac Draguignan Saint-Martin-de-Landelles Dunkirk Saint-Lary-Soulan L'Étang-Salé Port-Vendres Gap Limoges Rouen Saint-Quentin Mende Gérardmer Argentan Arnage, Sarthe Guilherand-Granges Nîmes Vimoutiers Gravelines Calvi Mûr-de-Bretagne Auzances Bétheny Saint-Pol-sur-Ternoise Alès Livron-sur-Drôme Saint-Priest Saint-Malo Dax Limoux Vaujany Digne-les-Bains Saint-Amour Cassel Pont-de-Vaux Sélestat Mers-les-Bains Plouay Annonay Bergerac Château-du-Loir Belley Romans-sur-Isère Chauffailles Longwy Valence Dinan Megève Vendôme Vitré Oyonnax Mâcon Carentan Blois Salon-de-Provence Chorges Martigues Foix Lillers Roubaix Forges-les-Eaux Saint-Étienne Chalmazel-Jeansagnière Gaillac Arras Les Gets Pérenchies Liginiac Bagnères-de-Luchon Le Grand-Bornand Rostrenen Bourg-Saint-Andéol Montargis Morzine Fontaine-au-Pire Châteaulin Rodez Montceau-les-Mines Marigny Boulogne-sur-Mer Villeneuve-d'Ascq Villard-de-Lans Pont-à-Marcq Culoz Tours Bagnères-de-Bigorre Aniche Beaurains Bagnols-en-Forêt Ville-d'Avray Metz Concarneau Fourmies Ruoms Mulhouse Villars-les-Dombes Cherbourg-en-Cotentin Bailleul-Sir-Berthoult Angers Saint-Gervais-les-Bains Brive-la-Gaillarde Bellignies Pau Mantes-la-Jolie Méjannes-le-Clap Bastia Clermont-Pouyguillès La Haie-Fouassière Bessèges Aulnay-sous-Bois Cagnac-les-Mines Bellignat Conflans-Sainte-Honorine Mulhausen Beaucaire Nancy Cholet Fontcouverte-la-Toussuire Oradour-sur-Glane Troyes Bagnoles-de-l'Orne Fougères Briançon Commentry Chartres Les Essarts Risoul Poitiers Arbent Laudun-l'Ardoise Caen Lannilis Noirmoutier-en-l'Île
Saint-Étienne, Nîmes and Limoges mark the end of journey for approximately the same number of recurring sporting events as Megève
Saint-Étienne Nîmes Limoges
action approx
action find_reverse_tuple_counts
relation destination point
type type of french administrative division
type recurring sporting event
action count
action filter_type
action find
entity Megève
relation destination point
type type of french administrative division
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { ?b rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:recurring_sporting_event . ?m property:destination_point ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Megève property:destination_point ?p . ?p rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?r = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q22690
P1444
Q20667921 Q18608583
USER
And also tell me about Metz?
(c(Q18608583),P1444,c(Q20667921))
action approx
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q18608583
action count
action filter_type
action find
entity Q22690
relation P1444
type Q20667921
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P1444 ?c . ?c rdf:type ontology:Q20667921 . ?y rdf:type ontology:Q18608583 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q22690 property:P1444 ?d . ?d rdf:type ontology:Q20667921 } } . FILTER ( ?u = ?b ) }
Metz
action approx
action find_reverse_tuple_counts
relation destination point
type type of french administrative division
type recurring sporting event
action count
action filter_type
action find
entity Metz
relation destination point
type type of french administrative division
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:destination_point ?c . ?c rdf:type ontology:type_of_french_administrative_division . ?y rdf:type ontology:recurring_sporting_event } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Metz property:destination_point ?d . ?d rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?u = ?b ) }
[]
type of french administrative division recurring sporting event
Q42716 Q42807 Q45656
SYSTEM
Saint-Étienne, Nîmes, Limoges
Q473417 Q133069 Q208860 Q167024 Q243002 Q132801 Q24643 Q279310 Q184359 Q366962 Q210763 Q128990 Q188511 Q1020857 Q29234 Q213155 Q681563 Q696634 Q537113 Q496066 Q244552 Q576732 Q172593 Q852015 Q287518 Q1231290 Q209814 Q654153 Q203759 Q181285 Q733414 Q629673 Q209109 Q6588 Q207614 Q194141 Q784555 Q45797 Q1323323 Q1014771 Q204648 Q175081 Q45656 Q30974 Q182744 Q191772 Q461219 Q207622 Q731594 Q274292 Q42807 Q729239 Q323399 Q202439 Q274145 Q193621 Q666278 Q385527 Q193183 Q468227 Q331083 Q163108 Q188878 Q192744 Q1388437 Q181306 Q750425 Q11160 Q840893 Q22737 Q377932 Q129002 Q238366 Q187911 Q829292 Q188496 Q239078 Q750710 Q318535 Q8848 Q201311 Q259283 Q214575 Q234704 Q191856 Q174247 Q242091 Q160927 Q232567 Q322959 Q237516 Q184392 Q383388 Q34001 Q382746 Q42716 Q21979667 Q343613 Q131329 Q845832 Q638573 Q598417 Q238393 Q389882 Q244864 Q244184 Q212352 Q472179 Q367373 Q202374 Q188780 Q457728 Q1001685 Q81997 Q43295 Q696499 Q537086 Q243597 Q288 Q208264 Q613323 Q663119 Q688258 Q456327 Q22690 Q17393 Q305007 Q328205 Q79815 Q18104 Q21008210 Q873844 Q38380 Q534206 Q6393 Q1046601 Q132671 Q207253 Q375271 Q134698 Q859481 Q145921 Q271325 Q192773 Q430305 Q210917 Q212507 Q21476 Q211647 Q40898 Q185066 Q498217 Q190974 Q5489 Q1003125 Q4043 Q203298 Q510013 Q130272 Q504931 Q877518 Q6616 Q209048 Q241634 Q41185 Q328730 Q656458
(c(Q18608583),P1444,c(Q20667921))
action approx
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q18608583
action count
action filter_type
action find
entity Q22690
relation P1444
type Q20667921
[ANSWERS]
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P1444 ?c . ?c rdf:type ontology:Q20667921 . ?y rdf:type ontology:Q18608583 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q22690 property:P1444 ?d . ?d rdf:type ontology:Q20667921 } } . FILTER ( ?u = ?b ) }
Wallers Bourg-en-Bresse Saint-Jean-de-Maurienne Basse-Terre Cassis Albi Lélex Marcigny Le Puy-en-Velay Cauterets Saint-Flour Plumelec Guéret Orcières Saint-Brieuc Tournon-sur-Rhône Wasquehal Chamrousse Modane Revel Montrevel-en-Bresse Saint-Vulbas Montauban Isbergues Pégomas Saint-Sorlin-d'Arves Guebwiller Cluses Istres Cambrai Elbeuf Villedieu-les-Poêles Saint-Amand-Montrond Périgueux Figeac Draguignan Saint-Martin-de-Landelles Dunkirk Saint-Lary-Soulan L'Étang-Salé Port-Vendres Gap Limoges Rouen Saint-Quentin Mende Gérardmer Argentan Arnage, Sarthe Guilherand-Granges Nîmes Vimoutiers Gravelines Calvi Mûr-de-Bretagne Auzances Bétheny Saint-Pol-sur-Ternoise Alès Livron-sur-Drôme Saint-Priest Saint-Malo Dax Limoux Vaujany Digne-les-Bains Saint-Amour Cassel Pont-de-Vaux Sélestat Mers-les-Bains Plouay Annonay Bergerac Château-du-Loir Belley Romans-sur-Isère Chauffailles Longwy Valence Dinan Megève Vendôme Vitré Oyonnax Mâcon Carentan Blois Salon-de-Provence Chorges Martigues Foix Lillers Roubaix Forges-les-Eaux Saint-Étienne Chalmazel-Jeansagnière Gaillac Arras Les Gets Pérenchies Liginiac Bagnères-de-Luchon Le Grand-Bornand Rostrenen Bourg-Saint-Andéol Montargis Morzine Fontaine-au-Pire Châteaulin Rodez Montceau-les-Mines Marigny Boulogne-sur-Mer Villeneuve-d'Ascq Villard-de-Lans Pont-à-Marcq Culoz Tours Bagnères-de-Bigorre Aniche Beaurains Bagnols-en-Forêt Ville-d'Avray Metz Concarneau Fourmies Ruoms Mulhouse Villars-les-Dombes Cherbourg-en-Cotentin Bailleul-Sir-Berthoult Angers Saint-Gervais-les-Bains Brive-la-Gaillarde Bellignies Pau Mantes-la-Jolie Méjannes-le-Clap Bastia Clermont-Pouyguillès La Haie-Fouassière Bessèges Aulnay-sous-Bois Cagnac-les-Mines Bellignat Conflans-Sainte-Honorine Mulhausen Beaucaire Nancy Cholet Fontcouverte-la-Toussuire Oradour-sur-Glane Troyes Bagnoles-de-l'Orne Fougères Briançon Commentry Chartres Les Essarts Risoul Poitiers Arbent Laudun-l'Ardoise Caen Lannilis Noirmoutier-en-l'Île
Saint-Étienne Nîmes Limoges
action approx
action find_reverse_tuple_counts
relation destination point
type type of french administrative division
type recurring sporting event
action count
action filter_type
action find
entity Metz
relation destination point
type type of french administrative division
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:destination_point ?c . ?c rdf:type ontology:type_of_french_administrative_division . ?y rdf:type ontology:recurring_sporting_event } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Metz property:destination_point ?d . ?d rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?u = ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q838948 Q17335294
USER
How many names are demonstrated in atleast 15 works of art or coats of arms ?
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 15
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { FILTER ( ?y >= 15 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?c WHERE { { ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 . ?e property:P180 ?c } UNION { ?e property:P180 ?c . ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q838948 } } GROUP BY ?c } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 15
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { FILTER ( ?y >= 15 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?c WHERE { { ?c rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms . ?e property:depicts ?c } UNION { ?e property:depicts ?c . ?c rdf:type ontology:name . ?e rdf:type ontology:work_of_art } } GROUP BY ?c } }
[]
name work of art flag or coat of arms
SYSTEM
2
Q726 Q144
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 15
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { FILTER ( ?y >= 15 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?c WHERE { { ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 . ?e property:P180 ?c } UNION { ?e property:P180 ?c . ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q838948 } } GROUP BY ?c } }
horse dog
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 15
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { FILTER ( ?y >= 15 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?c WHERE { { ?c rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms . ?e property:depicts ?c } UNION { ?e property:depicts ?c . ?c rdf:type ontology:name . ?e rdf:type ontology:work_of_art } } GROUP BY ?c } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q45656
P19 P21
Q502895
USER
Which people have place of birth as Limoges and are a male ?
AND((c(Q502895),P19,Q45656), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q45656
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q45656'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P19 resource:Q45656 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
male Limoges
action filter_type
action intersection
action find_reverse
entity Limoges
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Limoges'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:place_of_birth resource:Limoges . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
common name
Q20991577 Q3435675 Q290240 Q1376679 Q2935086 Q3131830 Q3164844 Q523071 Q16467640 Q454652
SYSTEM
Some of them are Léonard Cacatte, Robert Laucournet, Étienne de Silhouette, Louis de Guiringaud, Camille Vardelle, Henri Pougeard-Dulimbert, Jean-Claude Biojout, André Thérive, Alphonse Denis, Prosper of Aquitaine
Q1930688 Q3386087 Q6711031 Q787301 Q18907563 Q3380786 Q1292738 Q2965140 Q7127339 Q20991577 Q15969269 Q3131830 Q3384185 Q2956366 Q2830086 Q2977593 Q1553902 Q327062 Q22978390 Q2825158 Q3157972 Q3081626 Q15974059 Q2831482 Q17580377 Q15968946 Q2863325 Q3501890 Q3384677 Q640837 Q912271 Q13080904 Q21634480 Q3133179 Q3435675 Q3086239 Q3164089 Q15987297 Q3289462 Q3384203 Q16916467 Q1638997 Q8311788 Q3241516 Q3084903 Q315544 Q3298643 Q504402 Q3424915 Q8311705 Q726934 Q3102382 Q3298618 Q3173594 Q2296327 Q3090188 Q2386281 Q15974282 Q723645 Q3460596 Q3176772 Q679098 Q3264509 Q3176774 Q16026269 Q347751 Q4685656 Q18327350 Q3156154 Q3263266 Q2959218 Q454474 Q3510331 Q19630694 Q3164061 Q20961927 Q3379604 Q21175813 Q3132344 Q3131632 Q16467634 Q250003 Q3121162 Q977689 Q2898143 Q3262101 Q2958381 Q3173476 Q3119976 Q18745129 Q2422174 Q2385377 Q3159193 Q3086454 Q17352267 Q3419445 Q2829963 Q1470586 Q3219444 Q16026073 Q20204093 Q3288686 Q3102726 Q3132187 Q3325986 Q2634140 Q3588668 Q3084053 Q3270743 Q16263097 Q3082529 Q3171277 Q11771653 Q15969621 Q10527203 Q3386585 Q2935086 Q8311720 Q3069075 Q15969622 Q3295230 Q3131870 Q3161791 Q3369178 Q3085165 Q16222695 Q1677955 Q547525 Q15735762 Q3219061 Q19863104 Q3102084 Q15968073 Q3579723 Q3164183 Q454652 Q18637008 Q1450920 Q3384943 Q1685864 Q3379149 Q3261182 Q3570805 Q16025997 Q3436249 Q16011142 Q20961949 Q3385013 Q2085024 Q3164844 Q2898802 Q2824343 Q16556695 Q3088382 Q15969479 Q3009945 Q2853498 Q1345657 Q3081350 Q8311810 Q15968907 Q26281756 Q2896169 Q3121291 Q1238611 Q3573801 Q2898788 Q3509060 Q2828040 Q7192013 Q3169623 Q3094011 Q3591103 Q81583 Q1711740 Q3241833 Q39931 Q16407711 Q2853661 Q19956070 Q3163993 Q3386373 Q3159864 Q3159970 Q2406434 Q3430536 Q3083685 Q13080908 Q3163784 Q290240 Q954880 Q16663831 Q941916 Q3298765 Q3386689 Q27514714 Q3166375 Q15969313 Q553522 Q3270909 Q15973675 Q3167637 Q27824272 Q8311878 Q2848764 Q21523538 Q505263 Q349167 Q529001 Q3084489 Q3298689 Q16026289 Q585067 Q290065 Q941996 Q777477 Q3018298 Q16855234 Q10548094 Q17352228 Q3271089 Q3119881 Q473926 Q523502 Q3386261 Q3271342 Q16354834 Q3085689 Q20204137 Q3271506 Q3271505 Q2871394 Q16663523 Q3387483 Q18217668 Q16026266 Q2897693 Q2960008 Q3065847 Q1678022 Q1338413 Q3426787 Q3056188 Q1879480 Q3158227 Q16025426 Q13080800 Q3369863 Q1278923 Q3427094 Q8311880 Q3300280 Q2823060 Q15967814 Q2829709 Q16902212 Q747460 Q18818944 Q1376679 Q919310 Q3120006 Q26209510 Q714921 Q19569733 Q3083785 Q3131617 Q3169304 Q16300303 Q19570034 Q3106471 Q17630803 Q16467640 Q16011309 Q3219119 Q3573485 Q3484192 Q2898803 Q3172094 Q3340560 Q706091 Q3387311 Q2160216 Q16626222 Q23933578 Q3172994 Q523071 Q3439989 Q7665924 Q215778 Q16026347 Q1913908 Q3082246
AND((c(Q502895),P19,Q45656), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q45656
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Limoges and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q45656'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P19 resource:Q45656 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
Michel Chevalier Pierre Maleden Léon-Victor Dupré Adrien Pierre Dalpayrat Pierre Halary Philippe Tomblaine Paulin Talabot Christian Charrière-Bournazel Louis Casimir Ranson Léonard Cacatte Léonard Muret de Bort Henri Pougeard-Dulimbert Pierre Breuil Jean Bourdeau Alain Marsaud Claude Jenet Guillaume Moreau René Navarre François du Verdier Adrien Dubouché Jacques-Joseph Juge de Saint-Martin Francis Pacherie Jean-Baptiste Brunet Albert Prévos Jean Truffy Philibert Chamiot-Avanturier Arno Fabre Stéphane Lauer Pierre Deffontaines Aredius Jules Arsène Arnaud Claretie Jean Mouret Édouard Choquet Henry de Bournazel Robert Laucournet François de Loménie Jean-Baptiste Foucaud Léonard Albert Marcel Vardelle Pierre Brousse Augustin Eugène Mariaux Damien Chouly Léon Dumonteil Lingamiau François II Limosin Paul Rebeyrolle Mathieu Belezi Martial Valin Renaud Lachaise Théodore Bac Saint Martial Georges Briquet Mathieu-Mathurin Tabaraud Jean Morange Jean Cruveilhier Frédéric Sarre Marc Lanjean Jean-Baptiste Chamiot-Avanturier Victorius of Aquitaine Sabinus Valière Jehan II Limosin Guillaume Dupuytren Loïc Guillon Jehan I Andrault Jean Parvy Henri Deglane Adrien Pressemane Gérard Vandenbroucke Ivan Milhiet Louis Ventenat Charles Giroux Marcel Couraud Sébastien Torresin Jean Thévet de Lessert Jean-Baptiste Duverneuil Mathis Picard Philippe Collage Louis Peyramont Henri de Noussanne Jean de Court Robert Schmidt Jean-Baptiste Jourdan Gustave Delage Bernard de La Tour Bernard Lachaniette Louis Guibert Charles A. Alluaud Jean Mazeaufroid Guillaume Imbert Gabriel Defrance Marcel Lalu André Ravéreau Jacques Juge de La Borie Françoise Desbordes Jean-Baptiste Martial Materre Raphaël Ebenstein Alain Lacouchie Xavier Darcos Laurent Peyrelade Barthélémy Mayéras Jacques Mousnier-Buisson Marcel Body Georges Fourest Henri Ziegler Mounir El Haimour Gabriel Nicolas de la Reynie Jean-Baptiste Joseph Émile Montégut François Bouillon Léon Betoulle Maurice Martin Frank Burty Haviland Jean Chausserie-Laprée Matthieu Vaxivière Armand Noualhier Julien Durand Pierre Peyrichout Camille Vardelle René Bonnel Fernand Chapsal Oscar Planat Martial Beyrand Henri Rabaute Jan dau Melhau Patrick Aldaya François Lemasson Élie Lascaux Jacques Dewatre Roland Dumas André Biais Laurent Bourdelas Rémy Alphonse Chabord Georges-Emmanuel Clancier Guillaume Vergniaud Édouard Allou Jean-Baptiste Joseph Tyrbas de Chamberet Prosper of Aquitaine Joseph Romanet François Blondel Pierre Fabri Ier Jean Tribot-Laspière Filippo Emanuele di Gondi Louis Barot Xavier Verdy Albert Lezaud Robert Savy Charles Dumoulin Claude Morini Pierre Foncin Éric Faye Jean-Claude Biojout Bernard de Coral Ademaro Robert Ludovic Drapeyron Michel Becquet Auguste Chevalier Cédric Penicaud Antoine Joseph Gorsas Muretus Francis Chigot Arsène Henry Gabriel Bourdeau de Lajudie Jacques Laudin Benjamin Monclar Gustave Philippon Pierre Combescot Yves Liébert Bernard de Bonneval Systaime Aimé Bourbonnaud Pierre-Martial Cibot Jean-Pierre Paquet Gabriel de Cool Éric Dupin David Ducourtioux Jules Noriac Lionel Chamoulaud Pierre-Auguste Renoir Sylvestre Clancier Antoine Beaudemoulin Philippe Grandcoing Jean-Baptiste Dalesme Pierre Mourier Jacques Retouret Jacques Santrot Claude-Gilbert Dubois Richard Billet François-Xavier Audouin Jean-Baptiste Lavaud Jean-Baptiste-Joseph de Lubersac Étienne de Silhouette Léon Faucher Maurice Ménardeau Sébastien Puygrenier Mathieu Joseph d'Arbonneau Pierre Prosper Chabrol Olivier Chaput Jean-Jacques Pascal Joseph Pétiniaud Georges Catroux Léon Dhéralde Michel Bernardaud Jean-Marie Desgranges Victor Tournieroux Théo Vimpère André Verger Michel de Verthamon de Chavagnac Martial Thabard Thomas Robert Bugeaud André Antoine François Duboisset Mathieu Chabrol Jean-Baptiste Péconnet Paul Ranson Étienne Pierre Ventenat Jean Landry Henri Coutheillas David Lisnard Gontran de Juniac Paul Babiloni Pierre Dumas Léon Jouhaud Guillaume Grégoire de Roulhac Edmond Malinvaud Sébastien Turgot Pierre Meynadier Léon Talabot Joseph Mitterrand François Richard Jean-Baptiste Soulignac Léonard II Limosin Léonard III Limosin Auguste Sartory Martial Mazurier Pierre de Casa Tony Mauricio Albert Chauly Bernard Clappier Charles Pierre Martial Ardant du Picq Stephen of Obazine Jacques Lacarrière Emmanuel Séjourné René Pénicaut Élie Berthet Léonard Limousin Jacques Begougne de Juniac Edmond Charpentier Alfred Talandier Patrick Sobral Henri François d'Aguesseau René des Monstiers de Mérinville Jean-Baptiste Vitrac Maurice-Bernard Endrèbe Achille Fèvre François Victor Dupuy de Saint-Florent Alain Dautriat Alassane N'Diaye Pierre Victurnien Vergniaud Jonathan Roby Louis de Guiringaud Jean-Louis Fage Guillaume Lamy Loïc Badiashile Jean Daurat Pierre Pénicaud François Alluaud Henri Mazeaud Jean-Pierre Gaildraud Jean Plaud Pierre Lissac Gilles Ratier Jean-Baptiste Dumas Alphonse Denis Jean-Paul Gillybœuf Laurent Chalet Yves Bigot Simon Arbellot Bernard de Fombelle Jean François Authier Nicolas Mariage Luc Leblanc Pierre Vinour Karim Aït-Fana André Tisserand Jean Guineau-Dupré Jean Laporte-Bisquit André Thérive Roland Castro Sébastien Duthier Marie François Sadi Carnot François Planteau Maxime Méderel Franck Pulcini
Léonard Cacatte, Robert Laucournet, Étienne de Silhouette, Louis de Guiringaud, Camille Vardelle, Henri Pougeard-Dulimbert, Jean-Claude Biojout, André Thérive, Alphonse Denis and Prosper of Aquitaine have place of birth as Limoges and are a male
Léonard Cacatte Robert Laucournet Étienne de Silhouette Louis de Guiringaud Camille Vardelle Henri Pougeard-Dulimbert Jean-Claude Biojout André Thérive Alphonse Denis Prosper of Aquitaine
action filter_type
action intersection
action find_reverse
entity Limoges
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Limoges'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:place_of_birth resource:Limoges . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3035106 Q20991577
P27
Q15617994
USER
Which administrative territories are Léonard Cacatte or Dominique Douay a civilian of ?
OR((Q20991577,P27,c(Q15617994)), (Q3035106,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q20991577
relation P27
action find
entity Q3035106
relation P27
type Q15617994
{'OR': [['Q20991577', 'P27', {'concept': 'Q15617994'}], ['Q3035106', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q20991577 property:P27 ?y } UNION { resource:Q3035106 property:P27 ?y } } }
Dominique Douay Léonard Cacatte
action filter_type
action union
action find
entity Léonard Cacatte
relation country of citizenship
action find
entity Dominique Douay
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Léonard Cacatte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dominique Douay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Léonard_Cacatte property:country_of_citizenship ?y } UNION { resource:Dominique_Douay property:country_of_citizenship ?y } } }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
OR((Q20991577,P27,c(Q15617994)), (Q3035106,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q20991577
relation P27
action find
entity Q3035106
relation P27
type Q15617994
[ANSWER] is Léonard Cacatte or Dominique Douay a civilian of
{'OR': [['Q20991577', 'P27', {'concept': 'Q15617994'}], ['Q3035106', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q20991577 property:P27 ?y } UNION { resource:Q3035106 property:P27 ?y } } }
France
France is Léonard Cacatte or Dominique Douay a civilian of
France
action filter_type
action union
action find
entity Léonard Cacatte
relation country of citizenship
action find
entity Dominique Douay
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Léonard Cacatte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dominique Douay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Léonard_Cacatte property:country_of_citizenship ?y } UNION { resource:Dominique_Douay property:country_of_citizenship ?y } } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q38 Q7572805
P530
Q15617994
USER
Does France have diplomatic associations with Italy and Spafford Valley, New York ?
(Q142,P530,Q38) (Q142,P530,Q7572805)
action is_in
entity Q142
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q7572805
relation P530
['Q142', 'P530', 'Q38'] ['Q142', 'P530', 'Q7572805']
ASK WHERE { resource:Q142 property:P530 resource:Q38 . resource:Q142 property:P530 resource:Q7572805 }
France Italy Spafford Valley, New York
action is_in
entity France
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Spafford Valley, New York
relation diplomatic relation
['France', 'diplomatic relation', 'Italy'] ['France', 'diplomatic relation', 'Spafford Valley, New York']
ASK WHERE { resource:France property:diplomatic_relation resource:Italy . resource:France property:diplomatic_relation resource:Spafford_Valley,_New_York }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P530,Q38) (Q142,P530,Q7572805)
action is_in
entity Q142
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q7572805
relation P530
[ANSWER]
['Q142', 'P530', 'Q38'] ['Q142', 'P530', 'Q7572805']
ASK WHERE { resource:Q142 property:P530 resource:Q38 . resource:Q142 property:P530 resource:Q7572805 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Spafford Valley, New York
relation diplomatic relation
['France', 'diplomatic relation', 'Italy'] ['France', 'diplomatic relation', 'Spafford Valley, New York']
ASK WHERE { resource:France property:diplomatic_relation resource:Italy . resource:France property:diplomatic_relation resource:Spafford_Valley,_New_York }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16467640
P39
Q12737077
USER
Which occupation was a position for which Alphonse Denis was appointed ?
(Q16467640,P39,c(Q12737077))
action filter_type
action find
entity Q16467640
relation P39
type Q12737077
['Q16467640', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q16467640 property:P39 ?j }
Alphonse Denis
action filter_type
action find
entity Alphonse Denis
relation position held
type occupation
['Alphonse Denis', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Alphonse_Denis property:position_held ?j }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q16467640,P39,c(Q12737077))
action filter_type
action find
entity Q16467640
relation P39
type Q12737077
A member of the French National Assembly was a position for which Alphonse Denis was appointed
['Q16467640', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q16467640 property:P39 ?j }
member of the French National Assembly
A member of the French National Assembly was a position for which Alphonse Denis was appointed
member of the French National Assembly
action filter_type
action find
entity Alphonse Denis
relation position held
type occupation
['Alphonse Denis', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Alphonse_Denis property:position_held ?j }
[]