Simple Question (Direct)
Simple Question
Q4746879
P463
Q43229
USER
What was Amit Sheth a member of ?
(Q4746879,P463,c(Q43229))
action filter_type
action find
entity Q4746879
relation P463
type Q43229
['Q4746879', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q4746879 property:P463 ?n . ?n rdf:type ontology:Q43229 }
Amit Sheth
action filter_type
action find
entity Amit Sheth
relation member of
type organization
['Amit Sheth', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Amit_Sheth property:member_of ?n . ?n rdf:type ontology:organization }
[]
organization
Q131566
SYSTEM
Institute of Electrical and Electronics Engineers
Q131566
(Q4746879,P463,c(Q43229))
action filter_type
action find
entity Q4746879
relation P463
type Q43229
[ANSWER] Amit Sheth was a member
['Q4746879', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q4746879 property:P463 ?n . ?n rdf:type ontology:Q43229 }
Institute of Electrical and Electronics Engineers
Institute of Electrical and Electronics Engineers Amit Sheth was a member
Institute of Electrical and Electronics Engineers
action filter_type
action find
entity Amit Sheth
relation member of
type organization
['Amit Sheth', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Amit_Sheth property:member_of ?n . ?n rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4746879
P69
Q3918
USER
Which universities are Amit Sheth an alumni of ?
(Q4746879,P69,c(Q3918))
action filter_type
action find
entity Q4746879
relation P69
type Q3918
['Q4746879', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?b WHERE { resource:Q4746879 property:P69 ?b . ?b rdf:type ontology:Q3918 }
Amit Sheth
action filter_type
action find
entity Amit Sheth
relation educated at
type university
['Amit Sheth', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?b WHERE { resource:Amit_Sheth property:educated_at ?b . ?b rdf:type ontology:university }
[]
university
Q2648311 Q309331
SYSTEM
Birla Institute of Technology and Science, Ohio State University
Q2648311 Q309331
(Q4746879,P69,c(Q3918))
action filter_type
action find
entity Q4746879
relation P69
type Q3918
[ANSWERS]
['Q4746879', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?b WHERE { resource:Q4746879 property:P69 ?b . ?b rdf:type ontology:Q3918 }
Birla Institute of Technology and Science Ohio State University
Which universities are Amit Sheth an alumni of
Birla Institute of Technology and Science Ohio State University
action filter_type
action find
entity Amit Sheth
relation educated at
type university
['Amit Sheth', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?b WHERE { resource:Amit_Sheth property:educated_at ?b . ?b rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4746879
P69
Q502895
USER
Did Amit Sheth study at those universities ?
(Q4746879,P69,Q2648311) (Q4746879,P69,Q309331)
action is_in
entity prev_answer
action find
entity Q4746879
relation P69
['Q4746879', 'P69', 'Q2648311'] ['Q4746879', 'P69', 'Q309331']
ASK WHERE { resource:Q4746879 property:P69 ?b . VALUES ( ?b ) { ( resource:Q2648311 ) ( resource:Q309331 ) } }
Amit Sheth
action is_in
entity prev_answer
action find
entity Amit Sheth
relation educated at
['Amit Sheth', 'educated at', 'Birla Institute of Technology and Science'] ['Amit Sheth', 'educated at', 'Ohio State University']
ASK WHERE { resource:Amit_Sheth property:educated_at ?b . VALUES ( ?b ) { ( resource:Birla_Institute_of_Technology_and_Science ) ( resource:Ohio_State_University ) } }
[]
common name
SYSTEM
YES
(Q4746879,P69,Q2648311) (Q4746879,P69,Q309331)
action is_in
entity prev_answer
action find
entity Q4746879
relation P69
[ANSWER]
['Q4746879', 'P69', 'Q2648311'] ['Q4746879', 'P69', 'Q309331']
ASK WHERE { resource:Q4746879 property:P69 ?b . VALUES ( ?b ) { ( resource:Q2648311 ) ( resource:Q309331 ) } }
Yes
action is_in
entity prev_answer
action find
entity Amit Sheth
relation educated at
['Amit Sheth', 'educated at', 'Birla Institute of Technology and Science'] ['Amit Sheth', 'educated at', 'Ohio State University']
ASK WHERE { resource:Amit_Sheth property:educated_at ?b . VALUES ( ?b ) { ( resource:Birla_Institute_of_Technology_and_Science ) ( resource:Ohio_State_University ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q327456 Q4746879
P27
Q15617994
USER
Which administrative territories do Amit Sheth or Hakim Ziyech belong to ?
OR((Q4746879,P27,c(Q15617994)), (Q327456,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4746879
relation P27
action find
entity Q327456
relation P27
type Q15617994
{'OR': [['Q4746879', 'P27', {'concept': 'Q15617994'}], ['Q327456', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?g ) { ( resource:Q4746879 ) ( resource:Q327456 ) } . ?g property:P27 ?j } . ?j rdf:type ontology:Q15617994 }
Hakim Ziyech Amit Sheth
action filter_type
action union
action find
entity Amit Sheth
relation country of citizenship
action find
entity Hakim Ziyech
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Amit Sheth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hakim Ziyech', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?g ) { ( resource:Amit_Sheth ) ( resource:Hakim_Ziyech ) } . ?g property:country_of_citizenship ?j } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1028 Q668
SYSTEM
Morocco, India
Q1028 Q668
OR((Q4746879,P27,c(Q15617994)), (Q327456,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4746879
relation P27
action find
entity Q327456
relation P27
type Q15617994
Amit Sheth or Hakim Ziyech belong to [ANSWERS]
{'OR': [['Q4746879', 'P27', {'concept': 'Q15617994'}], ['Q327456', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?g ) { ( resource:Q4746879 ) ( resource:Q327456 ) } . ?g property:P27 ?j } . ?j rdf:type ontology:Q15617994 }
Morocco India
Amit Sheth or Hakim Ziyech belong to Morocco and India
Morocco India
action filter_type
action union
action find
entity Amit Sheth
relation country of citizenship
action find
entity Hakim Ziyech
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Amit Sheth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hakim Ziyech', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?g ) { ( resource:Amit_Sheth ) ( resource:Hakim_Ziyech ) } . ?g property:country_of_citizenship ?j } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have ambassadorial relations with those administrative territories ?
(Q183,P530,Q1028) (Q183,P530,Q668)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q1028'] ['Q183', 'P530', 'Q668']
ASK WHERE { VALUES ( ?a ) { ( resource:Q1028 ) ( resource:Q668 ) } . resource:Q183 property:P530 ?a }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Morocco'] ['Germany', 'diplomatic relation', 'India']
ASK WHERE { VALUES ( ?a ) { ( resource:Morocco ) ( resource:India ) } . resource:Germany property:diplomatic_relation ?a }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q1028) (Q183,P530,Q668)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q1028'] ['Q183', 'P530', 'Q668']
ASK WHERE { VALUES ( ?a ) { ( resource:Q1028 ) ( resource:Q668 ) } . resource:Q183 property:P530 ?a }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Morocco'] ['Germany', 'diplomatic relation', 'India']
ASK WHERE { VALUES ( ?a ) { ( resource:Morocco ) ( resource:India ) } . resource:Germany property:diplomatic_relation ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q46 Q183
P30 P17
Q15617994
USER
Which administrative territories are situated in Germany and are a part of Europe ?
AND((c(Q15617994),P17,Q183), (c(Q15617994),P30,Q46))
action filter_type
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q46
relation P30
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P17', 'Q183'], [{'concept': 'Q15617994'}, 'P30', 'Q46']]}
SELECT DISTINCT ?h WHERE { ?h property:P30 resource:Q46 . ?h property:P17 resource:Q183 . ?h rdf:type ontology:Q15617994 }
Europe Germany
action filter_type
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Europe
relation continent
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'country', 'Germany'], [{'concept': 'designation for an administrative territorial entity'}, 'continent', 'Europe']]}
SELECT DISTINCT ?h WHERE { ?h property:continent resource:Europe . ?h property:country resource:Germany . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q80483 Q529234 Q515340 Q81429 Q257831 Q533793 Q636063 Q81539 Q538523 Q534044
SYSTEM
Some of them are Bempflingen, Gunningen, Grafenhausen, Gütenbach, Übersee, Fronreute, Börslingen, Grabenstetten, Denzlingen, Guggenhausen
Q527565 Q550693 Q200744 Q355264 Q535646 Q82013 Q435187 Q536304 Q81372 Q83068 Q80475 Q81075 Q394217 Q533717 Q81726 Q515977 Q385687 Q274658 Q574246 Q274962 Q515875 Q431175 Q538523 Q442875 Q544758 Q534044 Q518955 Q529228 Q518889 Q546393 Q515191 Q81431 Q83098 Q515458 Q530508 Q515885 Q80543 Q83302 Q550684 Q518825 Q516090 Q557768 Q80467 Q507755 Q80464 Q83074 Q80461 Q550750 Q632905 Q403756 Q117878 Q552003 Q515800 Q80472 Q248127 Q673211 Q507218 Q242385 Q478808 Q529734 Q529216 Q83045 Q80807 Q550786 Q403573 Q519281 Q6845 Q81099 Q83378 Q516005 Q527749 Q179013 Q83374 Q81702 Q81158 Q518801 Q533793 Q574269 Q532790 Q81572 Q528076 Q81251 Q550275 Q515340 Q574188 Q538711 Q540798 Q83209 Q81429 Q83205 Q522329 Q410980 Q527597 Q81423 Q81143 Q520583 Q253696 Q80522 Q400556 Q334623 Q519987 Q489932 Q507671 Q81302 Q529271 Q573843 Q515583 Q81026 Q522404 Q557834 Q505483 Q515106 Q550777 Q507274 Q515372 Q80496 Q333149 Q80494 Q81195 Q481414 Q81721 Q83212 Q507707 Q540660 Q80552 Q506821 Q518965 Q81539 Q586965 Q505888 Q82197 Q306405 Q81607 Q515999 Q80539 Q83107 Q83126 Q519267 Q550661 Q507455 Q527937 Q513376 Q550669 Q263741 Q80483 Q538672 Q540556 Q80487 Q518878 Q529710 Q388453 Q534202 Q473107 Q632790 Q532807 Q174483 Q507836 Q80809 Q83220 Q372198 Q515209 Q80505 Q606787 Q632838 Q503684 Q81442 Q533749 Q515002 Q529259 Q81120 Q161019 Q81122 Q268734 Q81128 Q538801 Q538579 Q340782 Q533853 Q201907 Q506788 Q550715 Q311771 Q80455 Q266250 Q83123 Q80622 Q538110 Q81519 Q80995 Q538290 Q537241 Q82225 Q83084 Q80665 Q535222 Q533779 Q440742 Q81314 Q80458 Q81059 Q524262 Q80615 Q519004 Q404053 Q518171 Q257831 Q81117 Q509394 Q506881 Q81748 Q515541 Q534107 Q527951 Q646714 Q518812 Q513443 Q538615 Q81185 Q83300 Q534331 Q533682 Q636063 Q550804 Q83154 Q628778 Q83153 Q83151 Q632811 Q80448 Q278647 Q533761 Q437200 Q529234 Q528047 Q314758 Q81107 Q533937 Q519018 Q81102 Q925847 Q81724 Q527625 Q80480 Q81869 Q179890 Q80783 Q518897 Q533871 Q529240
AND((c(Q15617994),P17,Q183), (c(Q15617994),P30,Q46))
action filter_type
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q46
relation P30
type Q15617994
[ANSWERS] are situated in Germany and are a part of Europe
{'AND': [[{'concept': 'Q15617994'}, 'P17', 'Q183'], [{'concept': 'Q15617994'}, 'P30', 'Q46']]}
SELECT DISTINCT ?h WHERE { ?h property:P30 resource:Q46 . ?h property:P17 resource:Q183 . ?h rdf:type ontology:Q15617994 }
Baindt Biberach Bondorf Adelmannsfelden Blaustein Gruibingen Altdorf Böttingen Bösingen Engstingen Glatten Beuron Aglasterhausen Biederbach Aspach Buchenbach Achberg Altheim (Alb) Ellenberg Altheim Eschach Emerkingen Denzlingen Altmärkische Höhe Dörzbach Guggenhausen Allmannsweiler Balgheim Bötzingen Cleebronn Berghülen Brigachtal Bad Überkingen Dettighofen Emmingen-Liptingen Göggingen Börtlingen Aichhalden Gärtringen Alleshausen Bitz Grafenau Empfingen Dußlingen Baltmannsweiler Blaufelden Deggingen Durbach Baienfurt Aichstetten Eisenbach Freiamt Berghaupten Gammelshausen Fischerbach Aland Dotternhausen Leopoldshöhe Amstetten Deilingen Bärenthal Dettingen an der Erms Dürnau Frittlingen Aichelberg Ballrechten-Dottingen Elmshorn Edingen-Neckarhausen Zuzenhausen Allmendingen Appenweier Altshausen Epfenbach Eutingen im Gäu Drackenstein Bahlingen Fronreute Böbingen an der Rems Gosheim Bad Boll Dettenhausen Eschbronn Ranis Grafenhausen Durlangen Ertingen Griesingen Berglen Gütenbach Auenwald Attenweiler Aitrach Glottertal Eningen unter Achalm Fluorn-Winzeln Eggenstein-Leopoldshafen Prüm Gingen an der Fils Ahlsdorf Abtsgmünd Friedenweiler Allstedt Bodelshausen Epfendorf Durchhausen Grosselfingen Emeringen Bühlerzell Albbruck Gutach Daisendorf Balzheim Fischingen Bermatingen Eriskirch Bissingen an der Teck Abstatt Erkenbrechtsweiler Dunningen Amtzell Friolzheim Fichtenberg Gomaringen Ballendorf Deizisau Dautmergen Buggingen Grabenstetten Berkheim Breitingen Alfdorf Bad Schönborn Aichwald Erlenmoos Altbach Bingen Gomadingen Gottenheim Friesenheim Eberstadt Bad Peterstal-Griesbach Bartholomä Berg Eichstegen Bempflingen Dürnau Grundsheim Frickenhausen Dettingen an der Iller Aldingen Görwihl Breitnau Ammerbuch Dogern Denkingen Essingen Deggenhausertal Denkendorf Großbettlingen Althengstett Asselfingen Engelsbrand Eichstetten am Kaiserstuhl Bollschweil Fintel Dauchingen Fleischwangen Beimerstetten Egesheim Großerlach Frickingen Deißlingen Auggen Eisingen Argenbühl Gäufelden Achstetten Ebenweiler Eberhardzell Deckenpfronn Boms Bernstadt Birenbach Gechingen Lobbach Grömbach Bretzfeld Grafenberg Braunsbach Bisingen Bernau im Schwarzwald Neidenstein Albershausen Althütte Gundelfingen Ebersbach-Musbach Altheim Eschenbach Burgstetten Fichtenau Bubsheim Böhmenkirch Betzenweiler Aidlingen Ellhofen Übersee Bammental Flein Au Allmersbach Burgrieden Eschbach Ehrenkirchen Sohren Dürmentingen Gschwend Gutach im Breisgau Altdorf Angelbachtal Elztal Bodnegg Börslingen Forchheim am Kaiserstuhl Heddesheim Woltersdorf Dietingen Frankenhardt Dornstadt Bad Ditzenbach Buchheim Bergatreute Altenhausen Gunningen Gutenzell-Hürbel Ehningen Bühlertann Grünkraut Erolzheim Altenriet Gerstetten Dettingen unter Teck Dormettingen Adelberg Dielheim Eggingen Birkenfeld Dachsberg Feldberg (Schwarzwald) Dürbheim
Bempflingen, Gunningen, Grafenhausen, Gütenbach, Übersee, Fronreute, Börslingen, Grabenstetten, Denzlingen and Guggenhausen are situated in Germany and are a part of Europe
Bempflingen Gunningen Grafenhausen Gütenbach Übersee Fronreute Börslingen Grabenstetten Denzlingen Guggenhausen
action filter_type
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Europe
relation continent
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'country', 'Germany'], [{'concept': 'designation for an administrative territorial entity'}, 'continent', 'Europe']]}
SELECT DISTINCT ?h WHERE { ?h property:continent resource:Europe . ?h property:country resource:Germany . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q725731
P122
Q12737077 Q22676587 Q15617994
USER
How many administrative territories have greater number of occupations or monarchic systems as the type of government than Ashley, Pennsylvania ?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q725731
relation P122
type Q12737077
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Q725731 property:P122 ?v . { { ?v rdf:type ontology:Q12737077 } UNION { ?v rdf:type ontology:Q22676587 } } } } . FILTER ( ?i > ?y ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?x WHERE { { ?x property:P122 ?c . ?x rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q12737077 } UNION { ?x property:P122 ?c . ?x rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q22676587 } } GROUP BY ?x } }
Ashley, Pennsylvania
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Ashley, Pennsylvania
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Ashley,_Pennsylvania property:basic_form_of_government ?v . { { ?v rdf:type ontology:occupation } UNION { ?v rdf:type ontology:monarchic_system } } } } . FILTER ( ?i > ?y ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?x WHERE { { ?x property:basic_form_of_government ?c . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:occupation } UNION { ?x property:basic_form_of_government ?c . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:monarchic_system } } GROUP BY ?x } }
[]
occupation monarchic system designation for an administrative territorial entity
SYSTEM
5
Q833 Q541991 Q228 Q17 Q878
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q725731
relation P122
type Q12737077
type Q22676587
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Q725731 property:P122 ?v . { { ?v rdf:type ontology:Q12737077 } UNION { ?v rdf:type ontology:Q22676587 } } } } . FILTER ( ?i > ?y ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?x WHERE { { ?x property:P122 ?c . ?x rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q12737077 } UNION { ?x property:P122 ?c . ?x rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q22676587 } } GROUP BY ?x } }
Malaysia Hummelfeld Andorra Japan United Arab Emirates
5
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Ashley, Pennsylvania
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Ashley,_Pennsylvania property:basic_form_of_government ?v . { { ?v rdf:type ontology:occupation } UNION { ?v rdf:type ontology:monarchic_system } } } } . FILTER ( ?i > ?y ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?x WHERE { { ?x property:basic_form_of_government ?c . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:occupation } UNION { ?x property:basic_form_of_government ?c . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:monarchic_system } } GROUP BY ?x } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q553036 Q107425 Q15617994
USER
Which administrative territories are located in max number of natural region of Germanys or landscapes ?
(c(Q15617994),P706,c(Q553036)|c(Q107425))
action argmax
action union
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action find_tuple_counts
relation P706
type Q15617994
type Q107425
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q553036'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?g WHERE { { ?g property:P706 ?r . ?g rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q553036 } UNION { ?g property:P706 ?r . ?g rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q107425 } } GROUP BY ?g } . FILTER ( ?i = ?l ) . { SELECT DISTINCT ( MAX ( ?w ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) ?c WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q553036 ) ( ontology:Q107425 ) } } GROUP BY ?c } } }
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'natural region of Germany'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?g WHERE { { ?g property:located_on_terrain_feature ?r . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:natural_region_of_Germany } UNION { ?g property:located_on_terrain_feature ?r . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:landscape } } GROUP BY ?g } . FILTER ( ?i = ?l ) . { SELECT DISTINCT ( MAX ( ?w ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) ?c WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:natural_region_of_Germany ) ( ontology:landscape ) } } GROUP BY ?c } } }
[]
natural region of Germany landscape designation for an administrative territorial entity
Q145 Q489215 Q522992
SYSTEM
United Kingdom, Oberhof, Braunlage
Q489215 Q145 Q628095 Q522992
(c(Q15617994),P706,c(Q553036)|c(Q107425))
action argmax
action union
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action find_tuple_counts
relation P706
type Q15617994
type Q107425
[ANSWERS] are located in max number of natural region of Germanys or landscapes
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q553036'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?g WHERE { { ?g property:P706 ?r . ?g rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q553036 } UNION { ?g property:P706 ?r . ?g rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q107425 } } GROUP BY ?g } . FILTER ( ?i = ?l ) . { SELECT DISTINCT ( MAX ( ?w ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) ?c WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q553036 ) ( ontology:Q107425 ) } } GROUP BY ?c } } }
Oberhof United Kingdom Nürburg Braunlage
United Kingdom, Oberhof and Braunlage are located in max number of natural region of Germanys or landscapes
United Kingdom Oberhof Braunlage
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'natural region of Germany'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?g WHERE { { ?g property:located_on_terrain_feature ?r . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:natural_region_of_Germany } UNION { ?g property:located_on_terrain_feature ?r . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:landscape } } GROUP BY ?g } . FILTER ( ?i = ?l ) . { SELECT DISTINCT ( MAX ( ?w ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) ?c WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:natural_region_of_Germany ) ( ontology:landscape ) } } GROUP BY ?c } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P193
Q43229 Q483110 Q41176
USER
Which organizations are responsible for constructing min number of stadia or buildings ?
(c(Q483110)|c(Q41176),P193,c(Q43229))
action argmin
action union
action find_reverse_tuple_counts
relation P193
type Q43229
type Q483110
action find_reverse_tuple_counts
relation P193
type Q43229
type Q41176
[[{'concept': 'Q483110'}, {'concept': 'Q41176'}], 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:P193 ?g . ?g rdf:type ontology:Q43229 . ?l rdf:type ontology:Q483110 } UNION { ?l property:P193 ?g . ?l rdf:type ontology:Q41176 . ?g rdf:type ontology:Q43229 } } GROUP BY ?g } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( MIN ( ?u ) AS ?i ) { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?u ) WHERE { { ?a rdf:type ontology:Q41176 . ?c rdf:type ontology:Q43229 . ?a property:P193 ?c } UNION { ?a property:P193 ?c . ?c rdf:type ontology:Q43229 . ?a rdf:type ontology:Q483110 } } GROUP BY ?c } } }
action argmin
action union
action find_reverse_tuple_counts
relation main building contractor
type organization
type stadium
action find_reverse_tuple_counts
relation main building contractor
type organization
type building
[[{'concept': 'stadium'}, {'concept': 'building'}], 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:main_building_contractor ?g . ?g rdf:type ontology:organization . ?l rdf:type ontology:stadium } UNION { ?l property:main_building_contractor ?g . ?l rdf:type ontology:building . ?g rdf:type ontology:organization } } GROUP BY ?g } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( MIN ( ?u ) AS ?i ) { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?u ) WHERE { { ?a rdf:type ontology:building . ?c rdf:type ontology:organization . ?a property:main_building_contractor ?c } UNION { ?a property:main_building_contractor ?c . ?c rdf:type ontology:organization . ?a rdf:type ontology:stadium } } GROUP BY ?c } } }
[]
organization stadium building
Q1408037 Q868587 Q6569399
SYSTEM
Ferrovial, McGraw Hill Financial, Dairy Farm International Holdings
Q7118612 Q13109143 Q626452 Q4356297 Q94849 Q5519051 Q1516108 Q7175465 Q1972407 Q7377475 Q1815063 Q1973445 Q463613 Q8058088 Q5458774 Q6736853 Q804920 Q4036303 Q5174993 Q4702408 Q7690185 Q653581 Q6990206 Q7856815 Q11445911 Q6911654 Q868587 Q5560727 Q6421003 Q1408037 Q2117643 Q6139377 Q4971979 Q899038 Q4863105 Q145614 Q5880816 Q11650404 Q895325 Q295118 Q4770867 Q1619384 Q11435650 Q17036339 Q1343184 Q10493443 Q17006102 Q1741142 Q805116 Q2415397 Q1550888 Q5060140 Q7248241 Q7168602 Q136542 Q489809 Q339142 Q1770691 Q7652191 Q525955 Q2287759 Q465370 Q7658475 Q6569399 Q1073519 Q7448611 Q4410214 Q14754706 Q4045072 Q875968 Q5520361 Q638231 Q1370287 Q7164914 Q11527014 Q11661591 Q368181 Q547450 Q3743456 Q4850748 Q5124636 Q1407515 Q21014605 Q6729092 Q679201 Q6859959 Q356193 Q1094508 Q7383973 Q685685 Q6939094 Q207770
(c(Q483110)|c(Q41176),P193,c(Q43229))
action argmin
action union
action find_reverse_tuple_counts
relation P193
type Q43229
type Q483110
action find_reverse_tuple_counts
relation P193
type Q43229
type Q41176
[ANSWERS] are responsible for constructing min number of stadia or buildings
[[{'concept': 'Q483110'}, {'concept': 'Q41176'}], 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:P193 ?g . ?g rdf:type ontology:Q43229 . ?l rdf:type ontology:Q483110 } UNION { ?l property:P193 ?g . ?l rdf:type ontology:Q41176 . ?g rdf:type ontology:Q43229 } } GROUP BY ?g } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( MIN ( ?u ) AS ?i ) { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?u ) WHERE { { ?a rdf:type ontology:Q41176 . ?c rdf:type ontology:Q43229 . ?a property:P193 ?c } UNION { ?a property:P193 ?c . ?c rdf:type ontology:Q43229 . ?a rdf:type ontology:Q483110 } } GROUP BY ?c } } }
PCL Construction Mowlem Daewoo E&C Peab Odebrecht Galliford Try TransCanada Corporation Peter Lind & Company Saudi Binladin Group Rudolph and Sletten Leighton Holdings LaSalle Bank American Bridge Company Young Electric Sign Company Fletcher Construction Mainzeal Balfour Beatty Cleveland Bridge & Engineering Company Costain Group Al-Futtaim Group Taylor Woodrow Fluor Corporation Nello L. Teer Company Tuspark Okumura Corporation Morgan Est McGraw Hill Financial Gilbane Kline Iron and Steel Ferrovial Shapoorji Pallonji Group James McHugh Construction Co Broad Sustainable Building Brasfield & Gorrie Barr Construction Ltd Magyar Posta Holland, Hannen & Cubitts Zenitaka Corporation Bouygues Amec Foster Wheeler Ant Yapi Hines Interests Limited Partnership Dai Nippon Construction Trollope & Colls Enka İnşaat ve Sanayi A.Ş. F O Peterson & sons Hansen Yuncken Kiewit Corporation Ball Aerospace & Technologies Andrew Handyside and Company Grupo ACS Centex Profield Contractors Perini Building Company Hochtief Hyundai Engineering and Construction Acciona Mori Building Company Sverdrup & Parcel Sacyr Vallehermoso Simon Property Group Demag Swinerton Dairy Farm International Holdings China State Construction Engineering Corporation Sellen Construction Hazama Corporation Hensel Phelps Construction National Bank of Kuwait Waagner-Biro Gammon Construction Larsen & Toubro Orascom Construction Industries PentaOcean Tokyu Construction Asunaro Aoki Construction Vornado Realty Trust Celanese AF Group Balfour Beatty Construction Civil and Civic John Laing plc Leonhard Nilsen & Sons Maeda Corporation Friedrich Krupp AG Mills Corporation Nussli Group Civilian Conservation Corps Ryan Companies US, Inc. Implenia Murray & Roberts Pirelli
Ferrovial, McGraw Hill Financial and Dairy Farm International Holdings are responsible for constructing min number of stadia or buildings
Ferrovial McGraw Hill Financial Dairy Farm International Holdings
action argmin
action union
action find_reverse_tuple_counts
relation main building contractor
type organization
type stadium
action find_reverse_tuple_counts
relation main building contractor
type organization
type building
[[{'concept': 'stadium'}, {'concept': 'building'}], 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:main_building_contractor ?g . ?g rdf:type ontology:organization . ?l rdf:type ontology:stadium } UNION { ?l property:main_building_contractor ?g . ?l rdf:type ontology:building . ?g rdf:type ontology:organization } } GROUP BY ?g } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( MIN ( ?u ) AS ?i ) { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?u ) WHERE { { ?a rdf:type ontology:building . ?c rdf:type ontology:organization . ?a property:main_building_contractor ?c } UNION { ?a property:main_building_contractor ?c . ?c rdf:type ontology:organization . ?a rdf:type ontology:stadium } } GROUP BY ?c } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P36
Q56061 Q515 Q15617994
USER
Which administrative territories have max number of administrative territories or cities as their administrative centre ?
(c(Q15617994),P36,c(Q56061)|c(Q515))
action argmax
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?f ) WHERE { { ?j property:P36 ?c . ?j rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q56061 } UNION { ?j property:P36 ?c . ?j rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q515 } } GROUP BY ?j } } . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?i ) WHERE { { ?m rdf:type ontology:Q56061 . ?v rdf:type ontology:Q15617994 . ?v property:P36 ?m } UNION { ?v property:P36 ?m . ?v rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q515 } } GROUP BY ?v } . FILTER ( ?i = ?g ) }
action argmax
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?f ) WHERE { { ?j property:capital ?c . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:administrative_territorial_entity } UNION { ?j property:capital ?c . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:city } } GROUP BY ?j } } . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?i ) WHERE { { ?m rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:capital ?m } UNION { ?v property:capital ?m . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:city } } GROUP BY ?v } . FILTER ( ?i = ?g ) }
[]
administrative territorial entity city designation for an administrative territorial entity
Q17 Q258 Q252
SYSTEM
Japan, South Africa, Indonesia
Q252 Q258 Q12536 Q17 Q160307
(c(Q15617994),P36,c(Q56061)|c(Q515))
action argmax
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
[ANSWERS] have max number of administrative territories or cities as their administrative centre
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?f ) WHERE { { ?j property:P36 ?c . ?j rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q56061 } UNION { ?j property:P36 ?c . ?j rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q515 } } GROUP BY ?j } } . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?i ) WHERE { { ?m rdf:type ontology:Q56061 . ?v rdf:type ontology:Q15617994 . ?v property:P36 ?m } UNION { ?v property:P36 ?m . ?v rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q515 } } GROUP BY ?v } . FILTER ( ?i = ?g ) }
Indonesia South Africa Abbasid caliphate Japan Fatimid caliphate
Japan, South Africa and Indonesia have max number of administrative territories or cities as their administrative centre
Japan South Africa Indonesia
action argmax
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?f ) WHERE { { ?j property:capital ?c . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:administrative_territorial_entity } UNION { ?j property:capital ?c . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:city } } GROUP BY ?j } } . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?i ) WHERE { { ?m rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:capital ?m } UNION { ?v property:capital ?m . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:city } } GROUP BY ?v } . FILTER ( ?i = ?g ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2031291
USER
Which administrative territories did less number of works of art or releases originate than that administrative territory ?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?d property:P495 ?y . VALUES ( ?d ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?d property:country_of_origin ?y . VALUES ( ?d ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
designation for an administrative territorial entity work of art release
Comparative|More/Less|Mult. entity type|Clarification
Q252
SYSTEM
Did you mean Indonesia ?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?d property:P495 ?y . VALUES ( ?d ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Did you mean Indonesia ?
Indonesia
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?d property:country_of_origin ?y . VALUES ( ?d ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q230 Q953 Q184
SYSTEM
Georgia, Zambia, Belarus
Q805 Q804 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q1460 Q399 Q398 Q403 Q657 Q258 Q792 Q790 Q4628 Q796 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q27 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 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 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[ANSWERS] less number of works of art or releases originated than that administrative territory
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Yemen Panama Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Sicily Armenia Bahrain Serbia Chad South Africa El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania 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 Somalia Sierra Leone Senegal Ireland Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein 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 Tuvalu Quebec Tajikistan Thailand Zambia
Georgia, Zambia and Belarus less number of works of art or releases originated than that administrative territory
Georgia Zambia Belarus
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2778747
P530
Q1048835
USER
Are La Joya District known to have diplomatic connections with those administrative territories ?
(Q2778747,P530,Q230) (Q2778747,P530,Q953) (Q2778747,P530,Q184)
action is_in
entity prev_answer
action find
entity Q2778747
relation P530
['Q2778747', 'P530', 'Q230'] ['Q2778747', 'P530', 'Q953'] ['Q2778747', 'P530', 'Q184']
ASK WHERE { resource:Q2778747 property:P530 ?f . VALUES ( ?f ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q800 ) } }
La Joya District
action is_in
entity prev_answer
action find
entity La Joya District
relation diplomatic relation
['La Joya District', 'diplomatic relation', 'Georgia'] ['La Joya District', 'diplomatic relation', 'Zambia'] ['La Joya District', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:La_Joya_District property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q2778747,P530,Q230) (Q2778747,P530,Q953) (Q2778747,P530,Q184)
action is_in
entity prev_answer
action find
entity Q2778747
relation P530
[ANSWER]
['Q2778747', 'P530', 'Q230'] ['Q2778747', 'P530', 'Q953'] ['Q2778747', 'P530', 'Q184']
ASK WHERE { resource:Q2778747 property:P530 ?f . VALUES ( ?f ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity La Joya District
relation diplomatic relation
['La Joya District', 'diplomatic relation', 'Georgia'] ['La Joya District', 'diplomatic relation', 'Zambia'] ['La Joya District', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:La_Joya_District property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P20
Q502895
USER
Which people expired at India ?
(c(Q502895),P20,Q668)
action filter_type
action find_reverse
entity Q668
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q668']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q668 }
India
action filter_type
action find_reverse
entity India
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'India']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:India }
[]
common name
Q3595831 Q2845323 Q146444
SYSTEM
A. K. Gopalan, Ananda Shankar, Nutan
Q15995768 Q146444 Q1557587 Q110367 Q4315933 Q7262552 Q21014328 Q445460 Q7633775 Q5387505 Q1190757 Q1392116 Q7509004 Q10949187 Q4802130 Q3595831 Q1658782 Q7429162 Q27613795 Q7288453 Q942615 Q4116912 Q5614630 Q7931404 Q3417981 Q6112707 Q8049770 Q5314306 Q7325695 Q3506857 Q6352394 Q12309539 Q20685454 Q5431036 Q6991169 Q537545 Q4900596 Q445436 Q5651229 Q1331151 Q27595495 Q2598029 Q8865032 Q4985246 Q4746754 Q3552286 Q558424 Q2845323 Q5006567 Q438664 Q3595296 Q730029 Q28988 Q18325480 Q7508141 Q525003 Q18125590 Q1435558 Q470986 Q1289992 Q7964585 Q12975497 Q1995540 Q1386345 Q6733433 Q370204 Q5988734 Q6247024 Q94742 Q936594 Q7011
(c(Q502895),P20,Q668)
action filter_type
action find_reverse
entity Q668
relation P20
type Q502895
[ANSWERS] expired at India
[{'concept': 'Q502895'}, 'P20', 'Q668']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q668 }
Gerald Merlin Nutan Guy Tachard Heinrich Döring Darwan Singh Negi Puvvula Suri Babu Mohan Bhandari Shantideva Sudharma Swami Eric Simeon Daṇḍin Pingali Venkayya Sidney Cottle Mokkapati Narasimha Sastry Arun Paudwal A. K. Gopalan Petra Mönnigmann Sayed Hussein Anwari Shivasagar Ram Chandra Vikal Joseph Parecattil Shihabuddin Nadvi Gudipati Venkatachalam Vinayak Rao Koratkar Rajendra Nath Jack Gibson Yashwant Sonawane Duncan Charles Home Richard Fitzgerald Syed Abdul Rahim Kali Banerjee Eik Skaløe Krishna Gopal Saxena Faisal Ahmad Shinwari Nemichandra Francesca Arundale Bhagat Munshi Ram Evelyn Colyer Hanson Victor Turner Śūdraka Virasagar Fred Ruiz Castro Józef Skolimowski Celina Kombani Amirbai Karnataki Urgyen Tsomo Ann Höling Ananda Shankar C. J. Miller Miltiadis Gouskos Omkarnath Thakur John de Brito Ananda George Havell Siddhasena Dora Akunyili Himmatsinhji Fritz Noetling Thibaw Min Chavundaraya Walter Colquhoun Grant N. S. Krishnan Al Adamson Theodore Edward Cantor Maharshi Mehi Paramhans Guru Angad Dev Idichapuli Selvaraj John Martyn Haidakhan Babaji Mas'ud I of Ghazni Kālidāsa
A. K. Gopalan, Ananda Shankar and Nutan expired at India
A. K. Gopalan Ananda Shankar Nutan
action filter_type
action find_reverse
entity India
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'India']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:India }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2845323
P7
Q502895
USER
Which person had that one as brother ?
(c(Q502895),P7,Q2845323)
action filter_type
action find_reverse
entity Q2845323
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2845323']
SELECT DISTINCT ?e WHERE { ?e property:P7 resource:Q2845323 . ?e rdf:type ontology:Q502895 }
Ananda Shankar
action filter_type
action find_reverse
entity Ananda Shankar
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Ananda Shankar']
SELECT DISTINCT ?e WHERE { ?e property:brother resource:Ananda_Shankar . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2845323
SYSTEM
Did you mean Ananda Shankar ?
Q3595831 Q2845323 Q146444
(c(Q502895),P7,Q3595831) (c(Q502895),P7,Q2845323) (c(Q502895),P7,Q146444)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q3595831'] [{'concept': 'Q502895'}, 'P7', 'Q2845323'] [{'concept': 'Q502895'}, 'P7', 'Q146444']
SELECT DISTINCT ?e WHERE { ?e property:P7 resource:Q2845323 . ?e rdf:type ontology:Q502895 }
A. K. Gopalan Ananda Shankar Nutan
Did you mean Ananda Shankar ?
Ananda Shankar
[{'concept': 'common name'}, 'brother', 'A. K. Gopalan'] [{'concept': 'common name'}, 'brother', 'Ananda Shankar'] [{'concept': 'common name'}, 'brother', 'Nutan']
SELECT DISTINCT ?e WHERE { ?e property:brother resource:Ananda_Shankar . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P7,Q2845323)
[{'concept': 'Q502895'}, 'P7', 'Q2845323']
[{'concept': 'common name'}, 'brother', 'Ananda Shankar']
[]
Q6745457
SYSTEM
Mamata Shankar
Q6745457
(c(Q502895),P7,Q2845323)
action filter_type
action find_reverse
entity Q2845323
relation P7
type Q502895
[ANSWER] had that one as brother
[{'concept': 'Q502895'}, 'P7', 'Q2845323']
SELECT DISTINCT ?e WHERE { ?e property:P7 resource:Q2845323 . ?e rdf:type ontology:Q502895 }
Mamata Shankar
Mamata Shankar had that one as brother
Mamata Shankar
action filter_type
action find_reverse
entity Ananda Shankar
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Ananda Shankar']
SELECT DISTINCT ?e WHERE { ?e property:brother resource:Ananda_Shankar . ?e rdf:type ontology:common_name }
[]