Simple Question (Direct)
Simple Question
Q2424519
P39
Q12737077
USER
Which occupation was a position for which Thomas Hardegger was appointed ?
(Q2424519,P39,c(Q12737077))
action filter_type
action find
entity Q2424519
relation P39
type Q12737077
['Q2424519', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2424519 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Thomas Hardegger
action filter_type
action find
entity Thomas Hardegger
relation position held
type occupation
['Thomas Hardegger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Thomas_Hardegger property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q18510612
SYSTEM
Member of the Swiss National Council
Q18510612
(Q2424519,P39,c(Q12737077))
action filter_type
action find
entity Q2424519
relation P39
type Q12737077
[ANSWER] was a position for which Thomas Hardegger was appointed
['Q2424519', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2424519 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Member of the Swiss National Council
Member of the Swiss National Council was a position for which Thomas Hardegger was appointed
Member of the Swiss National Council
action filter_type
action find
entity Thomas Hardegger
relation position held
type occupation
['Thomas Hardegger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Thomas_Hardegger property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2424519
P27
Q15617994
USER
Which administrative territory is Thomas Hardegger a civilian of ?
(Q2424519,P27,c(Q15617994))
action filter_type
action find
entity Q2424519
relation P27
type Q15617994
['Q2424519', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2424519 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Thomas Hardegger
action filter_type
action find
entity Thomas Hardegger
relation country of citizenship
type designation for an administrative territorial entity
['Thomas Hardegger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Thomas_Hardegger property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q2424519,P27,c(Q15617994))
action filter_type
action find
entity Q2424519
relation P27
type Q15617994
[ANSWER] is Thomas Hardegger a civilian of
['Q2424519', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2424519 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Switzerland
Switzerland is Thomas Hardegger a civilian of
Switzerland
action filter_type
action find
entity Thomas Hardegger
relation country of citizenship
type designation for an administrative territorial entity
['Thomas Hardegger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Thomas_Hardegger property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2655579
Q15617994
USER
And also tell me about Azizbek Haydarov?
(Q2655579,P27,c(Q15617994))
action filter_type
action find
entity Q2655579
relation P27
type Q15617994
['Q2655579', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2655579 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Azizbek Haydarov
action filter_type
action find
entity Azizbek Haydarov
relation country of citizenship
type designation for an administrative territorial entity
['Azizbek Haydarov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Azizbek_Haydarov property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q265
SYSTEM
Uzbekistan
Q265
(Q2655579,P27,c(Q15617994))
action filter_type
action find
entity Q2655579
relation P27
type Q15617994
[ANSWER]
['Q2655579', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2655579 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Uzbekistan
Uzbekistan
action filter_type
action find
entity Azizbek Haydarov
relation country of citizenship
type designation for an administrative territorial entity
['Azizbek Haydarov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Azizbek_Haydarov property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origins of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q265
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?v ) WHERE { ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2031291 . ?k property:P495 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q265 property:P495 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?u ) }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Uzbekistan
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?v ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:release . ?k property:country_of_origin ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Uzbekistan property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?u ) }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q265
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?v ) WHERE { ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2031291 . ?k property:P495 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q265 property:P495 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?u ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Uzbekistan
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?v ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:release . ?k property:country_of_origin ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Uzbekistan property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P47
Q15617994
USER
Which administrative territories are bordered by Switzerland ?
(Q39,P47,c(Q15617994))
action filter_type
action find
entity Q39
relation P47
type Q15617994
['Q39', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q39 property:P47 ?p }
Switzerland
action filter_type
action find
entity Switzerland
relation shares border with
type designation for an administrative territorial entity
['Switzerland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Switzerland property:shares_border_with ?p }
[]
designation for an administrative territorial entity
Q142 Q38 Q347
SYSTEM
France, Italy, Liechtenstein
Q142 Q38 Q347
(Q39,P47,c(Q15617994))
action filter_type
action find
entity Q39
relation P47
type Q15617994
And [ANSWERS] are bordered by Switzerland
['Q39', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q39 property:P47 ?p }
France Italy Liechtenstein
And France, Italy and Liechtenstein are bordered by Switzerland
France Italy Liechtenstein
action filter_type
action find
entity Switzerland
relation shares border with
type designation for an administrative territorial entity
['Switzerland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Switzerland property:shares_border_with ?p }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q38 Q347
P17
Q3914
USER
Which schools are located in France, Italy and Liechtenstein ?
(c(Q3914),P17,Q142) (c(Q3914),P17,Q38) (c(Q3914),P17,Q347)
action union
action filter_type
action find_reverse
entity Q142
relation P17
type Q3914
action filter_type
action find_reverse
entity Q38
relation P17
type Q3914
action filter_type
action find_reverse
entity Q347
relation P17
type Q3914
[{'concept': 'Q3914'}, 'P17', 'Q142'] [{'concept': 'Q3914'}, 'P17', 'Q38'] [{'concept': 'Q3914'}, 'P17', 'Q347']
SELECT DISTINCT ?e WHERE { { ?e property:P17 resource:Q38 . ?e rdf:type ontology:Q3914 } UNION { ?e rdf:type ontology:Q3914 . ?e property:P17 resource:Q142 } }
France Italy Liechtenstein
action union
action filter_type
action find_reverse
entity France
relation country
type school
action filter_type
action find_reverse
entity Italy
relation country
type school
action filter_type
action find_reverse
entity Liechtenstein
relation country
type school
[{'concept': 'school'}, 'country', 'France'] [{'concept': 'school'}, 'country', 'Italy'] [{'concept': 'school'}, 'country', 'Liechtenstein']
SELECT DISTINCT ?e WHERE { { ?e property:country resource:Italy . ?e rdf:type ontology:school } UNION { ?e rdf:type ontology:school . ?e property:country resource:France } }
[]
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 Q3689758 Q338481 Q4116826 Q3788866 Q3803675 Q26853773 Q3788629 Q4585397 Q3604023 Q338505 Q3799758 Q338472 Q667471
(c(Q3914),P17,Q142) (c(Q3914),P17,Q38) (c(Q3914),P17,Q347)
action union
action filter_type
action find_reverse
entity Q142
relation P17
type Q3914
action filter_type
action find_reverse
entity Q38
relation P17
type Q3914
action filter_type
action find_reverse
entity Q347
relation P17
type Q3914
[ANSWERS] are located in France, Italy and Liechtenstein
[{'concept': 'Q3914'}, 'P17', 'Q142'] [{'concept': 'Q3914'}, 'P17', 'Q38'] [{'concept': 'Q3914'}, 'P17', 'Q347']
SELECT DISTINCT ?e WHERE { { ?e property:P17 resource:Q38 . ?e rdf:type ontology:Q3914 } UNION { ?e rdf:type ontology:Q3914 . ?e property:P17 resource:Q142 } }
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 Convitto nazionale statale Francesco Cicognini Academy of Fine Arts, Rome Florence Academy of Art ISTAO - Istituto Adriano Olivetti Ancona State Institute of Art Liceo Classico G.Carducci IMT School for Advanced Studies Lucca Academy of Fine Arts, Florence Academy of Fine Arts of Verona Accademia di Belle Arti di Venezia International University College of Turin Brera Academy Realschule
École Polytechnique, Toulouse Business School and Académie de la Grande Chaumière are located in France, Italy and Liechtenstein
École Polytechnique Toulouse Business School Académie de la Grande Chaumière
action union
action filter_type
action find_reverse
entity France
relation country
type school
action filter_type
action find_reverse
entity Italy
relation country
type school
action filter_type
action find_reverse
entity Liechtenstein
relation country
type school
[{'concept': 'school'}, 'country', 'France'] [{'concept': 'school'}, 'country', 'Italy'] [{'concept': 'school'}, 'country', 'Liechtenstein']
SELECT DISTINCT ?e WHERE { { ?e property:country resource:Italy . ?e rdf:type ontology:school } UNION { ?e rdf:type ontology:school . ?e property:country resource:France } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P1532
Q502895
USER
Which people represent Switzerland ?
(c(Q502895),P1532,Q39)
action filter_type
action find_reverse
entity Q39
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q39']
SELECT DISTINCT ?a WHERE { ?a property:P1532 resource:Q39 . ?a rdf:type ontology:Q502895 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Switzerland']
SELECT DISTINCT ?a WHERE { ?a property:country_for_sport resource:Switzerland . ?a rdf:type ontology:common_name }
[]
common name
Q22409675 Q275989 Q26111355
SYSTEM
Martha Grossenbacher, Marianne Kaufmann-Abderhalden, Sara Wüest
Q26111355 Q275989 Q26396190 Q22409675
(c(Q502895),P1532,Q39)
action filter_type
action find_reverse
entity Q39
relation P1532
type Q502895
The [ANSWERS] represent Switzerland
[{'concept': 'Q502895'}, 'P1532', 'Q39']
SELECT DISTINCT ?a WHERE { ?a property:P1532 resource:Q39 . ?a rdf:type ontology:Q502895 }
Sara Wüest Marianne Kaufmann-Abderhalden Salomé Kora Martha Grossenbacher
The Martha Grossenbacher, Marianne Kaufmann-Abderhalden and Sara Wüest represent Switzerland
Martha Grossenbacher Marianne Kaufmann-Abderhalden Sara Wüest
action filter_type
action find_reverse
entity Switzerland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Switzerland']
SELECT DISTINCT ?a WHERE { ?a property:country_for_sport resource:Switzerland . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P36
Q56061
USER
Which administrative territory is associated to Italy as the capital ?
(Q38,P36,c(Q56061))
action filter_type
action find
entity Q38
relation P36
type Q56061
['Q38', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q38 property:P36 ?z . ?z rdf:type ontology:Q56061 }
Italy
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Italy property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q38,P36,c(Q56061))
action filter_type
action find
entity Q38
relation P36
type Q56061
[ANSWER] is associated to Italy as the capital
['Q38', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q38 property:P36 ?z . ?z rdf:type ontology:Q56061 }
Rome
Rome is associated to Italy as the capital
Rome
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Italy property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P609
Q83620
USER
Which thoroughfare has that administrative territory as its terminus location ?
(c(Q83620),P609,Q220)
action filter_type
action find_reverse
entity Q220
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q220']
SELECT DISTINCT ?j WHERE { ?j property:P609 resource:Q220 . ?j rdf:type ontology:Q83620 }
Rome
action filter_type
action find_reverse
entity Rome
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Rome']
SELECT DISTINCT ?j WHERE { ?j property:terminus_location resource:Rome . ?j rdf:type ontology:thoroughfare }
[]
thoroughfare
Q313416
SYSTEM
European route E35
Q313416
(c(Q83620),P609,Q220)
action filter_type
action find_reverse
entity Q220
relation P609
type Q83620
[ANSWER] has that administrative territory as its terminus location
[{'concept': 'Q83620'}, 'P609', 'Q220']
SELECT DISTINCT ?j WHERE { ?j property:P609 resource:Q220 . ?j rdf:type ontology:Q83620 }
European route E35
European route E35 has that administrative territory as its terminus location
European route E35
action filter_type
action find_reverse
entity Rome
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Rome']
SELECT DISTINCT ?j WHERE { ?j property:terminus_location resource:Rome . ?j rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3559271
P706
Q1267889 Q82794 Q15617994
USER
Which administrative territories are located in more number of waterways and geographic regions than Arkadioi ?
(c(Q15617994),P706,c(Q1267889)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q3559271
relation P706
type Q1267889
type Q82794
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?a ) { ( ontology:Q1267889 ) ( ontology:Q82794 ) } . ?l rdf:type ?a } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Q3559271 property:P706 ?b . { ?b rdf:type ?r . VALUES ( ?r ) { ( ontology:Q82794 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?t > ?i ) }
Arkadioi
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Arkadioi
relation located on terrain feature
type waterway
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?a ) { ( ontology:waterway ) ( ontology:geographic_region ) } . ?l rdf:type ?a } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Arkadioi property:located_on_terrain_feature ?b . { ?b rdf:type ?r . VALUES ( ?r ) { ( ontology:geographic_region ) ( ontology:waterway ) } } } } . FILTER ( ?t > ?i ) }
[]
waterway geographic region designation for an administrative territorial entity
Q252320 Q508054 Q104192
SYSTEM
Pleinfeld, Neu Wulmstorf, Kleinmachnow
Q252320 Q15744129 Q508054 Q1721440 Q216422 Q252772 Q104192 Q81306 Q1778088 Q494305 Q503693 Q507258 Q15744111 Q625747 Q2585085
(c(Q15617994),P706,c(Q1267889)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q3559271
relation P706
type Q1267889
type Q82794
[ANSWERS] are located in more number of waterways and geographic regions than Arkadioi
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?a ) { ( ontology:Q1267889 ) ( ontology:Q82794 ) } . ?l rdf:type ?a } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Q3559271 property:P706 ?b . { ?b rdf:type ?r . VALUES ( ?r ) { ( ontology:Q82794 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?t > ?i ) }
Pleinfeld Oberscheuren Neu Wulmstorf Kaimig Samsø Eichstätt Kleinmachnow Forbach Kochenbach Kelheim Riedenburg Kipfenberg Niederscheuren Rangsdorf Wintersberg
Pleinfeld, Neu Wulmstorf and Kleinmachnow are located in more number of waterways and geographic regions than Arkadioi
Pleinfeld Neu Wulmstorf Kleinmachnow
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Arkadioi
relation located on terrain feature
type waterway
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?a ) { ( ontology:waterway ) ( ontology:geographic_region ) } . ?l rdf:type ?a } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Arkadioi property:located_on_terrain_feature ?b . { ?b rdf:type ?r . VALUES ( ?r ) { ( ontology:geographic_region ) ( ontology:waterway ) } } } } . FILTER ( ?t > ?i ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q252320 Q508054 Q104192
P706
Q82794
USER
Where are those administrative territories located on ?
(Q252320,P706,c(Q82794)) (Q508054,P706,c(Q82794)) (Q104192,P706,c(Q82794))
action filter_type
action find
entity prev_answer
relation P706
type Q82794
['Q252320', 'P706', {'concept': 'Q82794'}] ['Q508054', 'P706', {'concept': 'Q82794'}] ['Q104192', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?x ) { ( resource:Q252320 ) ( resource:Q15744129 ) ( resource:Q508054 ) } . ?x property:P706 ?a . ?a rdf:type ontology:Q82794 }
Pleinfeld Neu Wulmstorf Kleinmachnow
action filter_type
action find
entity prev_answer
relation located on terrain feature
type geographic region
['Pleinfeld', 'located on terrain feature', {'concept': 'geographic region'}] ['Neu Wulmstorf', 'located on terrain feature', {'concept': 'geographic region'}] ['Kleinmachnow', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?x ) { ( resource:Pleinfeld ) ( resource:Oberscheuren ) ( resource:Neu_Wulmstorf ) } . ?x property:located_on_terrain_feature ?a . ?a rdf:type ontology:geographic_region }
[]
geographic region
Q1471257 Q375953 Q316883
SYSTEM
Franconian Keuper-Lias Plains, Altes Land, Teltow
Q1471257 Q375953 Q316883
(Q252320,P706,c(Q82794)) (Q508054,P706,c(Q82794)) (Q104192,P706,c(Q82794))
action filter_type
action find
entity prev_answer
relation P706
type Q82794
[ANSWERS] those administrative territories are located on
['Q252320', 'P706', {'concept': 'Q82794'}] ['Q508054', 'P706', {'concept': 'Q82794'}] ['Q104192', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?x ) { ( resource:Q252320 ) ( resource:Q15744129 ) ( resource:Q508054 ) } . ?x property:P706 ?a . ?a rdf:type ontology:Q82794 }
Franconian Keuper-Lias Plains Altes Land Teltow
Franconian Keuper-Lias Plains, Altes Land and Teltow those administrative territories are located on
Franconian Keuper-Lias Plains Altes Land Teltow
action filter_type
action find
entity prev_answer
relation located on terrain feature
type geographic region
['Pleinfeld', 'located on terrain feature', {'concept': 'geographic region'}] ['Neu Wulmstorf', 'located on terrain feature', {'concept': 'geographic region'}] ['Kleinmachnow', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?x ) { ( resource:Pleinfeld ) ( resource:Oberscheuren ) ( resource:Neu_Wulmstorf ) } . ?x property:located_on_terrain_feature ?a . ?a rdf:type ontology:geographic_region }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P937
Q502895
USER
Which people have United States of America as their work location ?
(c(Q502895),P937,Q30)
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q30']
SELECT DISTINCT ?q WHERE { ?q property:P937 resource:Q30 . ?q rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q property:work_location resource:United_States_of_America . ?q rdf:type ontology:common_name }
[]
common name
Q20747363 Q4426737 Q21705837
SYSTEM
Cecilia Sternberg, Cesare Sodero, Eliana Machado Meugé
Q20006819 Q12017811 Q20747363 Q20829615 Q20879213 Q21705837 Q4426737 Q20894879 Q21155013 Q23775987 Q26198053
(c(Q502895),P937,Q30)
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
[ANSWERS] have United States of America as their work location
[{'concept': 'Q502895'}, 'P937', 'Q30']
SELECT DISTINCT ?q WHERE { ?q property:P937 resource:Q30 . ?q rdf:type ontology:Q502895 }
Albert van Beest Diana Phipps Cecilia Sternberg Conrad Buff II Nicolino Calyo Eliana Machado Meugé Cesare Sodero Ejnar Hansen Samuel Valentine Hunt DonkeyHotey Henry Jorden
Cecilia Sternberg, Cesare Sodero and Eliana Machado Meugé have United States of America as their work location
Cecilia Sternberg Cesare Sodero Eliana Machado Meugé
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q property:work_location resource:United_States_of_America . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q20747363 Q4426737 Q21705837
P21
Q290
USER
Which sexes do Cecilia Sternberg, Cesare Sodero and Eliana Machado Meugé possess ?
(Q20747363,P21,c(Q290)) (Q4426737,P21,c(Q290)) (Q21705837,P21,c(Q290))
action union
action filter_type
action find
entity Q20747363
relation P21
type Q290
action filter_type
action find
entity Q4426737
relation P21
type Q290
action filter_type
action find
entity Q21705837
relation P21
type Q290
['Q20747363', 'P21', {'concept': 'Q290'}] ['Q4426737', 'P21', {'concept': 'Q290'}] ['Q21705837', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { { resource:Q20747363 property:P21 ?u . ?u rdf:type ontology:Q290 } UNION { ?u rdf:type ontology:Q290 . resource:Q4426737 property:P21 ?u } }
Cecilia Sternberg Cesare Sodero Eliana Machado Meugé
action union
action filter_type
action find
entity Cecilia Sternberg
relation gender
type sex
action filter_type
action find
entity Cesare Sodero
relation gender
type sex
action filter_type
action find
entity Eliana Machado Meugé
relation gender
type sex
['Cecilia Sternberg', 'gender', {'concept': 'sex'}] ['Cesare Sodero', 'gender', {'concept': 'sex'}] ['Eliana Machado Meugé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { { resource:Cecilia_Sternberg property:gender ?u . ?u rdf:type ontology:sex } UNION { ?u rdf:type ontology:sex . resource:Cesare_Sodero property:gender ?u } }
[]
sex
Q6581072 Q6581097 Q6581072
SYSTEM
male for 2nd, female for 1st, 3rd
Q6581072 Q6581097 Q6581072
(Q20747363,P21,c(Q290)) (Q4426737,P21,c(Q290)) (Q21705837,P21,c(Q290))
action union
action filter_type
action find
entity Q20747363
relation P21
type Q290
action filter_type
action find
entity Q4426737
relation P21
type Q290
action filter_type
action find
entity Q21705837
relation P21
type Q290
[ANSWERS]
['Q20747363', 'P21', {'concept': 'Q290'}] ['Q4426737', 'P21', {'concept': 'Q290'}] ['Q21705837', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { { resource:Q20747363 property:P21 ?u . ?u rdf:type ontology:Q290 } UNION { ?u rdf:type ontology:Q290 . resource:Q4426737 property:P21 ?u } }
female male female
Cecilia Sternberg , Cesare Sodero and Eliana Machado Meugé possess female, male and female
female male female
action union
action filter_type
action find
entity Cecilia Sternberg
relation gender
type sex
action filter_type
action find
entity Cesare Sodero
relation gender
type sex
action filter_type
action find
entity Eliana Machado Meugé
relation gender
type sex
['Cecilia Sternberg', 'gender', {'concept': 'sex'}] ['Cesare Sodero', 'gender', {'concept': 'sex'}] ['Eliana Machado Meugé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { { resource:Cecilia_Sternberg property:gender ?u . ?u rdf:type ontology:sex } UNION { ?u rdf:type ontology:sex . resource:Cesare_Sodero property:gender ?u } }
[]