Simple Question (Direct)
Simple Question
Q868201
P47
Q20667921
USER
Which french administrative divisions are bordered by Vendières ?
(Q868201,P47,c(Q20667921))
action filter_type
action find
entity Q868201
relation P47
type Q20667921
['Q868201', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q868201 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Vendières
action filter_type
action find
entity Vendières
relation shares border with
type type of french administrative division
['Vendières', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Vendières property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q271130 Q641475 Q868924
SYSTEM
Verdelot, Mécringes, Viels-Maisons
Q271130 Q1460042 Q847052 Q967066 Q641475 Q871594 Q868924 Q21294339
(Q868201,P47,c(Q20667921))
action filter_type
action find
entity Q868201
relation P47
type Q20667921
And [ANSWERS] are bordered by Vendières
['Q868201', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q868201 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Verdelot Montdauphin La Celle-sous-Montmirail Marchais-en-Brie Mécringes L'Épine-aux-Bois Viels-Maisons Dhuys-et-Morin-en-Brie
And Verdelot, Mécringes and Viels-Maisons are bordered by Vendières
Verdelot Mécringes Viels-Maisons
action filter_type
action find
entity Vendières
relation shares border with
type type of french administrative division
['Vendières', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Vendières property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q271130 Q641475 Q868924
P17
Q15617994
USER
Which administrative territories are those french administrative divisions a part of ?
(Q271130,P17,c(Q15617994)) (Q641475,P17,c(Q15617994)) (Q868924,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q271130', 'P17', {'concept': 'Q15617994'}] ['Q641475', 'P17', {'concept': 'Q15617994'}] ['Q868924', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?c ) { ( resource:Q271130 ) ( resource:Q1460042 ) ( resource:Q847052 ) } . ?q rdf:type ontology:Q15617994 . ?c property:P17 ?q }
Verdelot Mécringes Viels-Maisons
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Verdelot', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mécringes', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Viels-Maisons', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?c ) { ( resource:Verdelot ) ( resource:Montdauphin ) ( resource:La_Celle-sous-Montmirail ) } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:country ?q }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q271130,P17,c(Q15617994)) (Q641475,P17,c(Q15617994)) (Q868924,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are those french administrative divisions a part of
['Q271130', 'P17', {'concept': 'Q15617994'}] ['Q641475', 'P17', {'concept': 'Q15617994'}] ['Q868924', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?c ) { ( resource:Q271130 ) ( resource:Q1460042 ) ( resource:Q847052 ) } . ?q rdf:type ontology:Q15617994 . ?c property:P17 ?q }
France France France
France, France and France are those french administrative divisions a part of
France France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Verdelot', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mécringes', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Viels-Maisons', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?c ) { ( resource:Verdelot ) ( resource:Montdauphin ) ( resource:La_Celle-sous-Montmirail ) } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:country ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P1071
Q3305213
USER
Which paintings have France as their final assembly location ?
(c(Q3305213),P1071,Q142)
action filter_type
action find_reverse
entity Q142
relation P1071
type Q3305213
[{'concept': 'Q3305213'}, 'P1071', 'Q142']
SELECT DISTINCT ?r WHERE { ?r property:P1071 resource:Q142 . ?r rdf:type ontology:Q3305213 }
France
action filter_type
action find_reverse
entity France
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'France']
SELECT DISTINCT ?r WHERE { ?r property:location_of_final_assembly resource:France . ?r rdf:type ontology:painting }
[]
painting
Q18591537 Q18343261 Q18591430
SYSTEM
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non), Homme en Grande Bottes, View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
Q18591537 Q18343261 Q18591430
(c(Q3305213),P1071,Q142)
action filter_type
action find_reverse
entity Q142
relation P1071
type Q3305213
[ANSWERS]
[{'concept': 'Q3305213'}, 'P1071', 'Q142']
SELECT DISTINCT ?r WHERE { ?r property:P1071 resource:Q142 . ?r rdf:type ontology:Q3305213 }
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) Homme en Grande Bottes View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non), Homme en Grande Bottes and View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) have France as their final assembly location
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) Homme en Grande Bottes View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
action filter_type
action find_reverse
entity France
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'France']
SELECT DISTINCT ?r WHERE { ?r property:location_of_final_assembly resource:France . ?r rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18591537 Q18343261 Q18591430
P800
Q502895
USER
Who have those paintings as their notable work ?
(c(Q502895),P800,Q18591537) (c(Q502895),P800,Q18343261) (c(Q502895),P800,Q18591430)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q18591537'] [{'concept': 'Q502895'}, 'P800', 'Q18343261'] [{'concept': 'Q502895'}, 'P800', 'Q18591430']
SELECT DISTINCT ?w WHERE { ?w property:P800 ?k . VALUES ( ?k ) { ( resource:Q18591537 ) ( resource:Q18343261 ) ( resource:Q18591430 ) } . ?w rdf:type ontology:Q502895 }
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) Homme en Grande Bottes View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)'] [{'concept': 'common name'}, 'notable work', 'Homme en Grande Bottes'] [{'concept': 'common name'}, 'notable work', 'View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)']
SELECT DISTINCT ?w WHERE { ?w property:notable_work ?k . VALUES ( ?k ) { ( resource:View_of_Catanzaro_(from_“Voyage_Pittoresque,_ou_Description_des_royaumes_de_Naples_et_de_Sicile”_by_Jean-Claude_Richard_Abbé_de_Saint_Non) ) ( resource:Homme_en_Grande_Bottes ) ( resource:View_Near_Manfredonia_(from_“Voyage_Pittoresque,_ou_Description_des_royaumes_de_Naples_et_de_Sicile”_by_Jean-Claude_Richard_Abbé_de_Saint_Non) ) } . ?w rdf:type ontology:common_name }
[]
common name
Q2976769 Q160333 Q2976769
SYSTEM
Prosper Mérimée for 2nd, Claude-Louis Châtelet for 1st, 3rd
Q2976769 Q160333 Q2976769
(c(Q502895),P800,Q18591537) (c(Q502895),P800,Q18343261) (c(Q502895),P800,Q18591430)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P800', 'Q18591537'] [{'concept': 'Q502895'}, 'P800', 'Q18343261'] [{'concept': 'Q502895'}, 'P800', 'Q18591430']
SELECT DISTINCT ?w WHERE { ?w property:P800 ?k . VALUES ( ?k ) { ( resource:Q18591537 ) ( resource:Q18343261 ) ( resource:Q18591430 ) } . ?w rdf:type ontology:Q502895 }
Claude-Louis Châtelet Prosper Mérimée Claude-Louis Châtelet
Claude-Louis Châtelet, Prosper Mérimée and Claude-Louis Châtelet have those paintings as their notable work
Claude-Louis Châtelet Prosper Mérimée Claude-Louis Châtelet
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)'] [{'concept': 'common name'}, 'notable work', 'Homme en Grande Bottes'] [{'concept': 'common name'}, 'notable work', 'View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)']
SELECT DISTINCT ?w WHERE { ?w property:notable_work ?k . VALUES ( ?k ) { ( resource:View_of_Catanzaro_(from_“Voyage_Pittoresque,_ou_Description_des_royaumes_de_Naples_et_de_Sicile”_by_Jean-Claude_Richard_Abbé_de_Saint_Non) ) ( resource:Homme_en_Grande_Bottes ) ( resource:View_Near_Manfredonia_(from_“Voyage_Pittoresque,_ou_Description_des_royaumes_de_Naples_et_de_Sicile”_by_Jean-Claude_Richard_Abbé_de_Saint_Non) ) } . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P172
Q502895
USER
Which people have France as his/her ethnicity ?
(c(Q502895),P172,Q142)
action filter_type
action find_reverse
entity Q142
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q142']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P172 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'France']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:ethnic_group resource:France }
[]
common name
Q1379099 Q561686 Q2750183
SYSTEM
Pierre François Xavier de Charlevoix, François Sagat, Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan
Q561686 Q1379099 Q2750183 Q3153987 Q26132975
(c(Q502895),P172,Q142)
action filter_type
action find_reverse
entity Q142
relation P172
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P172', 'Q142']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P172 resource:Q142 }
François Sagat Pierre François Xavier de Charlevoix Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan Ines Ligron Jean Butteau
Pierre François Xavier de Charlevoix, François Sagat and Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan have France as his/her ethnicity
Pierre François Xavier de Charlevoix François Sagat Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan
action filter_type
action find_reverse
entity France
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'France']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:ethnic_group resource:France }
[]
Clarification
Simple Question|Single Entity|Indirect
Q561686
P161
Q15416
USER
Which television program has that person as actor ?
(c(Q15416),P161,Q561686)
action filter_type
action find_reverse
entity Q561686
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q561686']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q561686 . ?r rdf:type ontology:Q15416 }
François Sagat
action filter_type
action find_reverse
entity François Sagat
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'François Sagat']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:François_Sagat . ?r rdf:type ontology:television_program }
[]
television program
Clarification for simple ques.
Q1379099
SYSTEM
Did you mean Pierre François Xavier de Charlevoix ?
Q1379099 Q561686 Q2750183
(c(Q15416),P161,Q1379099) (c(Q15416),P161,Q561686) (c(Q15416),P161,Q2750183)
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q1379099'] [{'concept': 'Q15416'}, 'P161', 'Q561686'] [{'concept': 'Q15416'}, 'P161', 'Q2750183']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q561686 . ?r rdf:type ontology:Q15416 }
Pierre François Xavier de Charlevoix François Sagat Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan
Did you mean Pierre François Xavier de Charlevoix ?
Pierre François Xavier de Charlevoix
[{'concept': 'television program'}, 'cast member', 'Pierre François Xavier de Charlevoix'] [{'concept': 'television program'}, 'cast member', 'François Sagat'] [{'concept': 'television program'}, 'cast member', "Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan"]
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:François_Sagat . ?r rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
USER
No, I meant François Sagat. Could you tell me the answer for that?
(c(Q15416),P161,Q561686)
Q561686
[{'concept': 'Q15416'}, 'P161', 'Q561686']
[{'concept': 'television program'}, 'cast member', 'François Sagat']
[]
Q3211174
SYSTEM
La nudité toute nue
Q3211174
(c(Q15416),P161,Q561686)
action filter_type
action find_reverse
entity Q561686
relation P161
type Q15416
[ANSWER] has that person as actor
[{'concept': 'Q15416'}, 'P161', 'Q561686']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q561686 . ?r rdf:type ontology:Q15416 }
La nudité toute nue
La nudité toute nue has that person as actor
La nudité toute nue
action filter_type
action find_reverse
entity François Sagat
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'François Sagat']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:François_Sagat . ?r rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1379099
P20
Q20667921
USER
How many french administrative divisions did the demise of Pierre François Xavier de Charlevoix occur ?
(Q1379099,P20,c(Q20667921))
action count
action filter_type
action find
entity Q1379099
relation P20
type Q20667921
['Q1379099', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Q1379099 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Pierre François Xavier de Charlevoix
action count
action filter_type
action find
entity Pierre François Xavier de Charlevoix
relation place of death
type type of french administrative division
['Pierre François Xavier de Charlevoix', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Pierre_François_Xavier_de_Charlevoix property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
1
Q343
(Q1379099,P20,c(Q20667921))
action count
action filter_type
action find
entity Q1379099
relation P20
type Q20667921
[ANSWER]
['Q1379099', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Q1379099 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
La Flèche
1
action count
action filter_type
action find
entity Pierre François Xavier de Charlevoix
relation place of death
type type of french administrative division
['Pierre François Xavier de Charlevoix', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Pierre_François_Xavier_de_Charlevoix property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3164481
Q20667921
USER
And what about Jean-Baptiste Vietty?
(Q3164481,P20,c(Q20667921))
action count
action filter_type
action find
entity Q3164481
relation P20
type Q20667921
['Q3164481', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q3164481 property:P20 ?a . ?a rdf:type ontology:Q20667921 }
Jean-Baptiste Vietty
action count
action filter_type
action find
entity Jean-Baptiste Vietty
relation place of death
type type of french administrative division
['Jean-Baptiste Vietty', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Jean-Baptiste_Vietty property:place_of_death ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
1
(Q3164481,P20,c(Q20667921))
action count
action filter_type
action find
entity Q3164481
relation P20
type Q20667921
[ANSWER]
['Q3164481', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q3164481 property:P20 ?a . ?a rdf:type ontology:Q20667921 }
1
action count
action filter_type
action find
entity Jean-Baptiste Vietty
relation place of death
type type of french administrative division
['Jean-Baptiste Vietty', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Jean-Baptiste_Vietty property:place_of_death ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q20667921 Q62447 Q16970
USER
Which french administrative divisions are the origin of atleast 1 aerodromes or churches ?
(c(Q62447)|c(Q16970),P138,c(Q20667921))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q62447
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q16970
value 1
[[{'concept': 'Q62447'}, {'concept': 'Q16970'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?o ) WHERE { { ?i rdf:type ontology:Q62447 . ?e rdf:type ontology:Q20667921 . ?i property:P138 ?e } UNION { ?i property:P138 ?e . ?e rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q16970 } } GROUP BY ?e } . FILTER ( ?o >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type aerodrome
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type church
value 1
[[{'concept': 'aerodrome'}, {'concept': 'church'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?o ) WHERE { { ?i rdf:type ontology:aerodrome . ?e rdf:type ontology:type_of_french_administrative_division . ?i property:named_after ?e } UNION { ?i property:named_after ?e . ?e rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:church } } GROUP BY ?e } . FILTER ( ?o >= 1 ) }
[]
type of french administrative division aerodrome church
Q837748 Q130272
SYSTEM
Brétigny-sur-Orge, Chartres
Q837748 Q130272
(c(Q62447)|c(Q16970),P138,c(Q20667921))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q62447
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q16970
value 1
[ANSWERS] are the origin of atleast 1 aerodromes or churches
[[{'concept': 'Q62447'}, {'concept': 'Q16970'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?o ) WHERE { { ?i rdf:type ontology:Q62447 . ?e rdf:type ontology:Q20667921 . ?i property:P138 ?e } UNION { ?i property:P138 ?e . ?e rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q16970 } } GROUP BY ?e } . FILTER ( ?o >= 1 ) }
Brétigny-sur-Orge Chartres
Brétigny-sur-Orge and Chartres are the origin of atleast 1 aerodromes or churches
Brétigny-sur-Orge Chartres
action atleast
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type aerodrome
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type church
value 1
[[{'concept': 'aerodrome'}, {'concept': 'church'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?o ) WHERE { { ?i rdf:type ontology:aerodrome . ?e rdf:type ontology:type_of_french_administrative_division . ?i property:named_after ?e } UNION { ?i property:named_after ?e . ?e rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:church } } GROUP BY ?e } . FILTER ( ?o >= 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions are adjacent to that french administrative division ?
(Q837748,P47,c(Q20667921))
['Q837748', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q837748 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
['Brétigny-sur-Orge', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Brétigny-sur-Orge property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Quantitative|Count|Single entity type|Clarification
Q130272
SYSTEM
Did you mean Chartres ?
(Q837748,P47,c(Q20667921)) (Q130272,P47,c(Q20667921))
[ANSWER]
['Q837748', 'P47', {'concept': 'Q20667921'}] ['Q130272', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q837748 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Did you mean Chartres ?
Chartres
['Brétigny-sur-Orge', 'shares border with', {'concept': 'type of french administrative division'}] ['Chartres', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Brétigny-sur-Orge property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Brétigny-sur-Orge. Could you tell me the answer for that?
(Q837748,P47,c(Q20667921))
Q837748
['Q837748', 'P47', {'concept': 'Q20667921'}]
['Brétigny-sur-Orge', 'shares border with', {'concept': 'type of french administrative division'}]
[]
SYSTEM
8
Q275562 Q266824 Q669593 Q247627 Q1165993 Q266060 Q578683 Q1369659
(Q837748,P47,c(Q20667921))
[ANSWER]
['Q837748', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q837748 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Saint-Michel-sur-Orge Saint-Germain-lès-Arpajon Leuville-sur-Orge Longpont-sur-Orge La Norville Le Plessis-Pâté Marolles-en-Hurepoix Leudeville
8
['Brétigny-sur-Orge', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Brétigny-sur-Orge property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q130272
P190
Q13220204
USER
Which administrative country subdivision is twin town of Chartres ?
(Q130272,P190,c(Q13220204))
action filter_type
action find
entity Q130272
relation P190
type Q13220204
['Q130272', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q13220204 . resource:Q130272 property:P190 ?e }
Chartres
action filter_type
action find
entity Chartres
relation sister city
type second-level administrative country subdivision
['Chartres', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:second-level_administrative_country_subdivision . resource:Chartres property:sister_city ?e }
[]
second-level administrative country subdivision
Q179948
SYSTEM
Évora
Q179948
(Q130272,P190,c(Q13220204))
action filter_type
action find
entity Q130272
relation P190
type Q13220204
[ANSWER] is twin town of Chartres
['Q130272', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q13220204 . resource:Q130272 property:P190 ?e }
Évora
Évora is twin town of Chartres
Évora
action filter_type
action find
entity Chartres
relation sister city
type second-level administrative country subdivision
['Chartres', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:second-level_administrative_country_subdivision . resource:Chartres property:sister_city ?e }
[]