Simple Question (Direct)
Simple Question
Q17549612
P19
Q56061
USER
Where was Giovanni Capranesi born ?
(Q17549612,P19,c(Q56061))
action filter_type
action find
entity Q17549612
relation P19
type Q56061
['Q17549612', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q17549612 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Giovanni Capranesi
action filter_type
action find
entity Giovanni Capranesi
relation place of birth
type administrative territorial entity
['Giovanni Capranesi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Giovanni_Capranesi property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q17549612,P19,c(Q56061))
action filter_type
action find
entity Q17549612
relation P19
type Q56061
Giovanni Capranesi was born in [ANSWER]
['Q17549612', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q17549612 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Rome
Giovanni Capranesi was born in Rome
Rome
action filter_type
action find
entity Giovanni Capranesi
relation place of birth
type administrative territorial entity
['Giovanni Capranesi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Giovanni_Capranesi property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P17
Q1307214
USER
Which form of government is that administrative territory located in ?
(Q220,P17,c(Q1307214))
action filter_type
action find
entity Q220
relation P17
type Q1307214
['Q220', 'P17', {'concept': 'Q1307214'}]
SELECT DISTINCT ?x WHERE { resource:Q220 property:P17 ?x . ?x rdf:type ontology:Q1307214 }
Rome
action filter_type
action find
entity Rome
relation country
type form of government
['Rome', 'country', {'concept': 'form of government'}]
SELECT DISTINCT ?x WHERE { resource:Rome property:country ?x . ?x rdf:type ontology:form_of_government }
[]
form of government
Q42834
SYSTEM
Western Roman Empire
Q42834
(Q220,P17,c(Q1307214))
action filter_type
action find
entity Q220
relation P17
type Q1307214
That administrative territory is located in [ANSWER]
['Q220', 'P17', {'concept': 'Q1307214'}]
SELECT DISTINCT ?x WHERE { resource:Q220 property:P17 ?x . ?x rdf:type ontology:Q1307214 }
Western Roman Empire
That administrative territory is located in Western Roman Empire
Western Roman Empire
action filter_type
action find
entity Rome
relation country
type form of government
['Rome', 'country', {'concept': 'form of government'}]
SELECT DISTINCT ?x WHERE { resource:Rome property:country ?x . ?x rdf:type ontology:form_of_government }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10971
Q1307214
USER
And how about Gallia Lugdunensis?
(Q10971,P17,c(Q1307214))
action filter_type
action find
entity Q10971
relation P17
type Q1307214
['Q10971', 'P17', {'concept': 'Q1307214'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1307214 . resource:Q10971 property:P17 ?t }
Gallia Lugdunensis
action filter_type
action find
entity Gallia Lugdunensis
relation country
type form of government
['Gallia Lugdunensis', 'country', {'concept': 'form of government'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:form_of_government . resource:Gallia_Lugdunensis property:country ?t }
[]
form of government
Q42834
SYSTEM
Western Roman Empire
Q42834
(Q10971,P17,c(Q1307214))
action filter_type
action find
entity Q10971
relation P17
type Q1307214
[ANSWER]
['Q10971', 'P17', {'concept': 'Q1307214'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1307214 . resource:Q10971 property:P17 ?t }
Western Roman Empire
Western Roman Empire
action filter_type
action find
entity Gallia Lugdunensis
relation country
type form of government
['Gallia Lugdunensis', 'country', {'concept': 'form of government'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:form_of_government . resource:Gallia_Lugdunensis property:country ?t }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q42834
P1376 P17
Q56061
USER
Which administrative territories are the county seat for Western Roman Empire and are located in Italy ?
AND((c(Q56061),P1376,Q42834), (c(Q56061),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q42834
relation P1376
action find_reverse
entity Q38
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P1376', 'Q42834'], [{'concept': 'Q56061'}, 'P17', 'Q38']]}
SELECT DISTINCT ?o WHERE { ?o property:P1376 resource:Q42834 . ?o property:P17 resource:Q38 . ?o rdf:type ontology:Q56061 }
Italy Western Roman Empire
action filter_type
action intersection
action find_reverse
entity Western Roman Empire
relation capital of
action find_reverse
entity Italy
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'capital of', 'Western Roman Empire'], [{'concept': 'administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?o WHERE { ?o property:capital_of resource:Western_Roman_Empire . ?o property:country resource:Italy . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
AND((c(Q56061),P1376,Q42834), (c(Q56061),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q42834
relation P1376
action find_reverse
entity Q38
relation P17
type Q56061
[ANSWER] is the county seat for Western Roman Empire and is located in Italy
{'AND': [[{'concept': 'Q56061'}, 'P1376', 'Q42834'], [{'concept': 'Q56061'}, 'P17', 'Q38']]}
SELECT DISTINCT ?o WHERE { ?o property:P1376 resource:Q42834 . ?o property:P17 resource:Q38 . ?o rdf:type ontology:Q56061 }
Milan
Milan is the county seat for Western Roman Empire and is located in Italy
Milan
action filter_type
action intersection
action find_reverse
entity Western Roman Empire
relation capital of
action find_reverse
entity Italy
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'capital of', 'Western Roman Empire'], [{'concept': 'administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?o WHERE { ?o property:capital_of resource:Western_Roman_Empire . ?o property:country resource:Italy . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q490
P47
Q15617994
USER
Who share the border with that administrative territory ?
(Q490,P47,c(Q15617994))
action filter_type
action find
entity Q490
relation P47
type Q15617994
['Q490', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q490 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Milan
action filter_type
action find
entity Milan
relation shares border with
type designation for an administrative territorial entity
['Milan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Milan property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43005 Q42946 Q42269
SYSTEM
Sesto San Giovanni, Trezzano sul Naviglio, Cusago
Q42974 Q42796 Q42971 Q42794 Q43005 Q42269 Q43028 Q42419 Q42192 Q11494 Q42784 Q42393 Q42399 Q42946 Q42902 Q42906 Q43042 Q42991 Q42898 Q42423 Q42997 Q42996
(Q490,P47,c(Q15617994))
action filter_type
action find
entity Q490
relation P47
type Q15617994
[ANSWERS] share the border with that administrative territory
['Q490', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q490 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Cesano Boscone Arese Buccinasco Rozzano Sesto San Giovanni Cusago Peschiera Borromeo Vimodrone San Donato Milanese Baranzate Rho Cormano Novate Milanese Trezzano sul Naviglio Segrate Cologno Monzese Settimo Milanese Assago Bresso Corsico Opera Pero
Sesto San Giovanni, Trezzano sul Naviglio and Cusago share the border with that administrative territory
Sesto San Giovanni Trezzano sul Naviglio Cusago
action filter_type
action find
entity Milan
relation shares border with
type designation for an administrative territorial entity
['Milan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Milan property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q701632 Q11204 Q15617994
USER
How many administrative territories have approximately 2 municipal councils or legislatures as their representative body ?
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 2
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?p WHERE { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } } GROUP BY ?p } . FILTER ( ?x = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?p WHERE { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:municipal_council ) ( ontology:legislature ) } } GROUP BY ?p } . FILTER ( ?x = 2 ) }
[]
municipal council legislature designation for an administrative territorial entity
SYSTEM
1
Q948
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?p WHERE { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } } GROUP BY ?p } . FILTER ( ?x = 2 ) }
Tunisia
1
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?p WHERE { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:municipal_council ) ( ontology:legislature ) } } GROUP BY ?p } . FILTER ( ?x = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?s ) { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?v ) WHERE { ?l rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?l property:P530 ?f } GROUP BY ?l } } . { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?g ) WHERE { ?d property:P530 ?r . ?d rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?g = ?s ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?s ) { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?v ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?f } GROUP BY ?l } } . { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?g ) WHERE { ?d property:diplomatic_relation ?r . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?g = ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] holds diplomatic relationship with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?s ) { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?v ) WHERE { ?l rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?l property:P530 ?f } GROUP BY ?l } } . { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?g ) WHERE { ?d property:P530 ?r . ?d rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?g = ?s ) }
Italy
Italy holds diplomatic relationship with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?s ) { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?v ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?f } GROUP BY ?l } } . { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?g ) WHERE { ?d property:diplomatic_relation ?r . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?g = ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q49447 Q2221906 Q15617994
USER
How many administrative territories are a part of atleast 2 world views and geographic locations ?
(c(Q15617994),P361,c(Q49447)|c(Q2221906))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
value 2
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?a ) WHERE { { ?h property:P361 ?q . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q49447 } UNION { ?h property:P361 ?q . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q2221906 } } GROUP BY ?h } . FILTER ( ?a >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'world view'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?a ) WHERE { { ?h property:part_of ?q . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:world_view } UNION { ?h property:part_of ?q . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:geographic_location } } GROUP BY ?h } . FILTER ( ?a >= 2 ) }
[]
world view geographic location designation for an administrative territorial entity
SYSTEM
5
Q159 Q155 Q948 Q794 Q36
(c(Q15617994),P361,c(Q49447)|c(Q2221906))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?a ) WHERE { { ?h property:P361 ?q . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q49447 } UNION { ?h property:P361 ?q . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q2221906 } } GROUP BY ?h } . FILTER ( ?a >= 2 ) }
Russia Brazil Tunisia Iran Poland
5
action count
action atleast
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'world view'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?a ) WHERE { { ?h property:part_of ?q . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:world_view } UNION { ?h property:part_of ?q . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:geographic_location } } GROUP BY ?h } . FILTER ( ?a >= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5711799 Q10971
P17
Q15617994
USER
Which administrative territories are Gallia Lugdunensis or Pain Zoghal Manzel situated in ?
OR((Q10971,P17,c(Q15617994)), (Q5711799,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10971
relation P17
action find
entity Q5711799
relation P17
type Q15617994
{'OR': [['Q10971', 'P17', {'concept': 'Q15617994'}], ['Q5711799', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q10971 property:P17 ?n } UNION { resource:Q5711799 property:P17 ?n } } }
Pain Zoghal Manzel Gallia Lugdunensis
action filter_type
action union
action find
entity Gallia Lugdunensis
relation country
action find
entity Pain Zoghal Manzel
relation country
type designation for an administrative territorial entity
{'OR': [['Gallia Lugdunensis', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pain Zoghal Manzel', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Gallia_Lugdunensis property:country ?n } UNION { resource:Pain_Zoghal_Manzel property:country ?n } } }
[]
designation for an administrative territorial entity
Q142 Q794
SYSTEM
France, Iran
Q142 Q794
OR((Q10971,P17,c(Q15617994)), (Q5711799,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10971
relation P17
action find
entity Q5711799
relation P17
type Q15617994
Gallia Lugdunensis or Pain Zoghal Manzel are situated in [ANSWERS]
{'OR': [['Q10971', 'P17', {'concept': 'Q15617994'}], ['Q5711799', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q10971 property:P17 ?n } UNION { resource:Q5711799 property:P17 ?n } } }
France Iran
Gallia Lugdunensis or Pain Zoghal Manzel are situated in France and Iran
France Iran
action filter_type
action union
action find
entity Gallia Lugdunensis
relation country
action find
entity Pain Zoghal Manzel
relation country
type designation for an administrative territorial entity
{'OR': [['Gallia Lugdunensis', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pain Zoghal Manzel', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Gallia_Lugdunensis property:country ?n } UNION { resource:Pain_Zoghal_Manzel property:country ?n } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q794
P17
Q3914
USER
Which schools are present in those administrative territories ?
(c(Q3914),P17,Q142) (c(Q3914),P17,Q794)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q3914
[{'concept': 'Q3914'}, 'P17', 'Q142'] [{'concept': 'Q3914'}, 'P17', 'Q794']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q3914 . ?f property:P17 ?c . VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q794 ) } }
France Iran
action filter_type
action find_reverse
entity prev_answer
relation country
type school
[{'concept': 'school'}, 'country', 'France'] [{'concept': 'school'}, 'country', 'Iran']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:school . ?f property:country ?c . VALUES ( ?c ) { ( resource:France ) ( resource:Iran ) } }
[]
school
Q273626 Q3117393 Q337504
SYSTEM
École Polytechnique, Toulouse Business School, Académie de la Grande Chaumière
Q273649 Q273642 Q3152665 Q3152046 Q1633859 Q2961718 Q3268782 Q135436 Q15524997 Q3577920 Q3577929 Q1135990 Q3117393 Q2511322 Q3151895 Q3151898 Q3152758 Q3577891 Q859363 Q1968395 Q4743918 Q3151899 Q1150561 Q3117441 Q3578246 Q3578241 Q2980989 Q2253344 Q3578252 Q3388307 Q3578220 Q739704 Q273535 Q1665112 Q1275372 Q870925 Q388780 Q1665124 Q858979 Q2376939 Q7063490 Q3578398 Q16647785 Q1252062 Q846588 Q3146547 Q3152739 Q2475117 Q21427194 Q3046089 Q16665962 Q3117571 Q769040 Q1659456 Q3156522 Q1795504 Q2570220 Q3578351 Q3246681 Q3578348 Q3152683 Q337480 Q3046044 Q273570 Q795819 Q3268952 Q3578484 Q3578480 Q1136829 Q2371481 Q3578499 Q273515 Q3578440 Q3578442 Q3578449 Q2311820 Q1275285 Q2983576 Q1056289 Q3578476 Q273579 Q273576 Q3577658 Q337454 Q3268696 Q3578428 Q3578429 Q3109591 Q3578435 Q3578439 Q2843013 Q3262551 Q15228756 Q3146792 Q3578081 Q21627510 Q1139065 Q3577992 Q3546588 Q273605 Q273600 Q153231 Q273634 Q653177 Q3117948 Q273626 Q337504 Q1107189 Q1826384 Q1459186 Q3504022 Q6067603
(c(Q3914),P17,Q142) (c(Q3914),P17,Q794)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q3914
[ANSWERS] are present in those administrative territories
[{'concept': 'Q3914'}, 'P17', 'Q142'] [{'concept': 'Q3914'}, 'P17', 'Q794']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q3914 . ?f property:P17 ?c . VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q794 ) } }
Centrale Graduate School ESSEC Business School Institut universitaire de technologie Robert-Schuman MBA Institute Institut National des Sciences Appliquées de Lyon Chavagnes International College Lycée Konan école normale supérieure Lycée Seijo école des beaux-arts de Bordeaux EDC Paris Business School École nationale supérieure des arts décoratifs Toulouse Business School secondary education in France IAE Nice IAE Lille University Institute of Technology of Vélizy École de management de Normandie Sciences Po Audencia American Graduate School of Business and Economics Sorbonne Graduate Business School IONIS School of Technology and Management Institut des hautes études économiques et commerciales École nationale supérieure des ingénieurs Sud Alsace École nationale supérieure des arts appliqués et des métiers d'art Cnifop Institut d'études politiques de Lyon École Nationale Supérieure des Mines de Saint-Étienne Pigier École nationale supérieure de chimie de Mulhouse Supinfo HEC Paris Institut National des Sciences Appliquées de Rouen ENSAE ParisTech École nationale supérieure de création industrielle ESIEE Management Institut supérieur du commerce de Paris Institut National des Sciences Appliquées de Toulouse ESDES Notre Dame de la Bonne Nouvelle ESAG Penninghen KEDGE Business School Institut d'études politiques de Bordeaux Reims Management School ICN Graduate Business School University Institutes of Technology of Saint-Malo École supérieure d'art et design Saint-Étienne École supérieure d'art et design Le Havre-Rouen Ecole Supérieure de Commerce Et Management NEOMA Business School Groupe Sup de Co Montpellier Business School EDHEC Business School ISG Business School IESEG School of Management EMLYON Business School Arts et Métiers ParisTech école régionale des beaux-arts de Rouen École supérieure de journalisme de Paris Besançon School of Fine Arts University Institutes of Technology of Caen Académie Julian EPF - École d'ingénieur-e-s École Nationale des Chartes BEM Management School Stéphen Liégeard High School Nantes School of Art École supérieure des arts et techniques INSEAD European Business School Paris École Supérieure des Sciences Commerciales d’Angers Ecole des ingenieurs de la Ville de Paris ESC Rennes School of Business École supérieure de commerce PSB Paris School of Business Télécom ParisTech EM Strasbourg Business School Le Collège-Lycée Cévenol International École des Beaux-Arts École Duperré École nationale d'administration École nationale supérieure de l'aéronautique et de l'espace École Boulle Académie Colarossi lycée Georges-Clemenceau École supérieure de commerce d'Amiens ESC Bretagne Brest Gobelins School of the Image ESC Lille Rouen Business School American School of Modern Music of Paris Le Cordon Bleu International School of France Facultés libres de philosophie et de psychologie (Paris) École nationale d'assurances École des Beaux-Arts de Toulouse Sciences Po Aix European Academy of Art in Brittany Telecom Business School École Normale Supérieure Lettres et Sciences Humaines École nationale vétérinaire d'Alfort Maison royale de Saint-Louis École supérieure des beaux-arts de Marseille École Supérieure des Affaires École supérieure de commerce de Pau École Polytechnique Académie de la Grande Chaumière Villa Arson Institut supérieur européen de gestion group college École supérieure de commerce de Reims Iranshahr High School
École Polytechnique, Toulouse Business School and Académie de la Grande Chaumière are present in those administrative territories
École Polytechnique Toulouse Business School Académie de la Grande Chaumière
action filter_type
action find_reverse
entity prev_answer
relation country
type school
[{'concept': 'school'}, 'country', 'France'] [{'concept': 'school'}, 'country', 'Iran']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:school . ?f property:country ?c . VALUES ( ?c ) { ( resource:France ) ( resource:Iran ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q273626 Q3117393 Q337504
P17
Q15617994
USER
Which administrative territories are those schools present in ?
(Q273626,P17,c(Q15617994)) (Q3117393,P17,c(Q15617994)) (Q337504,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q273626', 'P17', {'concept': 'Q15617994'}] ['Q3117393', 'P17', {'concept': 'Q15617994'}] ['Q337504', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . VALUES ( ?u ) { ( resource:Q273649 ) ( resource:Q273642 ) ( resource:Q3152665 ) } . ?u property:P17 ?s }
École Polytechnique Toulouse Business School Académie de la Grande Chaumière
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['École Polytechnique', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Toulouse Business School', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Académie de la Grande Chaumière', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?u ) { ( resource:Centrale_Graduate_School ) ( resource:ESSEC_Business_School ) ( resource:Institut_universitaire_de_technologie_Robert-Schuman ) } . ?u property:country ?s }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q29 Q1028 Q142
(Q273626,P17,c(Q15617994)) (Q3117393,P17,c(Q15617994)) (Q337504,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those schools are in [ANSWER], [ANSWER] and [ANSWER]
['Q273626', 'P17', {'concept': 'Q15617994'}] ['Q3117393', 'P17', {'concept': 'Q15617994'}] ['Q337504', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . VALUES ( ?u ) { ( resource:Q273649 ) ( resource:Q273642 ) ( resource:Q3152665 ) } . ?u property:P17 ?s }
France France Spain Morocco France
Those schools are in France, France and France
France France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['École Polytechnique', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Toulouse Business School', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Académie de la Grande Chaumière', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?u ) { ( resource:Centrale_Graduate_School ) ( resource:ESSEC_Business_School ) ( resource:Institut_universitaire_de_technologie_Robert-Schuman ) } . ?u property:country ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P30
Q2221906
USER
Which geographic locations are France a part of ?
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
France
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:France property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q538 Q828 Q51
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
[ANSWERS]
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe Africa Oceania Americas Antarctica
Which geographic locations are France a part of
Antarctica Africa Europe
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:France property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P112
Q43229
USER
Which organization was founded by France ?
(c(Q43229),P112,Q142)
action filter_type
action find_reverse
entity Q142
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P112 resource:Q142 . ?w rdf:type ontology:Q43229 }
France
action filter_type
action find_reverse
entity France
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'France']
SELECT DISTINCT ?w WHERE { ?w property:founder resource:France . ?w rdf:type ontology:organization }
[]
organization
Q7809
SYSTEM
United Nations Educational, Scientific and Cultural Organization
Q7809
(c(Q43229),P112,Q142)
action filter_type
action find_reverse
entity Q142
relation P112
type Q43229
[ANSWER] was founded by France
[{'concept': 'Q43229'}, 'P112', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P112 resource:Q142 . ?w rdf:type ontology:Q43229 }
United Nations Educational, Scientific and Cultural Organization
United Nations Educational, Scientific and Cultural Organization was founded by France
United Nations Educational, Scientific and Cultural Organization
action filter_type
action find_reverse
entity France
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'France']
SELECT DISTINCT ?w WHERE { ?w property:founder resource:France . ?w rdf:type ontology:organization }
[]