Simple Question (Direct)
Simple Question
Q5596940
P1412
Q34770
USER
Which language is Granville Ryder capable of writing ?
(Q5596940,P1412,c(Q34770))
action filter_type
action find
entity Q5596940
relation P1412
type Q34770
['Q5596940', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5596940 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Granville Ryder
action filter_type
action find
entity Granville Ryder
relation languages spoken, written or signed
type language
['Granville Ryder', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Granville_Ryder property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5596940,P1412,c(Q34770))
action filter_type
action find
entity Q5596940
relation P1412
type Q34770
[ANSWER] is Granville Ryder capable of writing
['Q5596940', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5596940 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
English is Granville Ryder capable of writing
English
action filter_type
action find
entity Granville Ryder
relation languages spoken, written or signed
type language
['Granville Ryder', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Granville_Ryder property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5596940
P69
Q3918
USER
Which university was Granville Ryder educated at ?
(Q5596940,P69,c(Q3918))
action filter_type
action find
entity Q5596940
relation P69
type Q3918
['Q5596940', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q5596940 property:P69 ?n . ?n rdf:type ontology:Q3918 }
Granville Ryder
action filter_type
action find
entity Granville Ryder
relation educated at
type university
['Granville Ryder', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Granville_Ryder property:educated_at ?n . ?n rdf:type ontology:university }
[]
university
Q34433
SYSTEM
University of Oxford
Q34433
(Q5596940,P69,c(Q3918))
action filter_type
action find
entity Q5596940
relation P69
type Q3918
Granville Ryder was educated by [ANSWER]
['Q5596940', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q5596940 property:P69 ?n . ?n rdf:type ontology:Q3918 }
University of Oxford
Granville Ryder was educated by University of Oxford
University of Oxford
action filter_type
action find
entity Granville Ryder
relation educated at
type university
['Granville Ryder', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Granville_Ryder property:educated_at ?n . ?n rdf:type ontology:university }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q5596940
Q1244442
USER
And which school building?
(Q5596940,P69,c(Q1244442))
action filter_type
action find
entity Q5596940
relation P69
type Q1244442
['Q5596940', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?u WHERE { resource:Q5596940 property:P69 ?u . ?u rdf:type ontology:Q1244442 }
Granville Ryder
action filter_type
action find
entity Granville Ryder
relation educated at
type school building
['Granville Ryder', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?u WHERE { resource:Granville_Ryder property:educated_at ?u . ?u rdf:type ontology:school_building }
[]
school building
Q745967
SYSTEM
Christ Church
Q745967
(Q5596940,P69,c(Q1244442))
action filter_type
action find
entity Q5596940
relation P69
type Q1244442
[ANSWER]
['Q5596940', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?u WHERE { resource:Q5596940 property:P69 ?u . ?u rdf:type ontology:Q1244442 }
Christ Church
Christ Church
action filter_type
action find
entity Granville Ryder
relation educated at
type school building
['Granville Ryder', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?u WHERE { resource:Granville_Ryder property:educated_at ?u . ?u rdf:type ontology:school_building }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P169
Q502895 Q43229 Q334453
USER
Which people are the chief executives of max number of organizations and divisions ?
(c(Q43229)|c(Q334453),P169,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
action find_reverse_tuple_counts
relation P169
type Q502895
type Q334453
[[{'concept': 'Q43229'}, {'concept': 'Q334453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?z WHERE { VALUES ( ?x ) { ( ontology:Q43229 ) ( ontology:Q334453 ) } . ?w rdf:type ?x } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:P169 ?p . ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q43229 } UNION { ?j property:P169 ?p . ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q334453 } } GROUP BY ?p } . FILTER ( ?r = ?s ) }
action argmax
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
action find_reverse_tuple_counts
relation chief executive officer
type common name
type division
[[{'concept': 'organization'}, {'concept': 'division'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?z WHERE { VALUES ( ?x ) { ( ontology:organization ) ( ontology:division ) } . ?w rdf:type ?x } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:chief_executive_officer ?p . ?p rdf:type ontology:common_name . ?j rdf:type ontology:organization } UNION { ?j property:chief_executive_officer ?p . ?p rdf:type ontology:common_name . ?j rdf:type ontology:division } } GROUP BY ?p } . FILTER ( ?r = ?s ) }
[]
common name organization division
Q4934 Q5558291
SYSTEM
Larry Page, Giannis Vardinogiannis
Q4934 Q5558291
(c(Q43229)|c(Q334453),P169,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
action find_reverse_tuple_counts
relation P169
type Q502895
type Q334453
[ANSWERS] are the chief executives of max number of organizations and divisions
[[{'concept': 'Q43229'}, {'concept': 'Q334453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?z WHERE { VALUES ( ?x ) { ( ontology:Q43229 ) ( ontology:Q334453 ) } . ?w rdf:type ?x } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:P169 ?p . ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q43229 } UNION { ?j property:P169 ?p . ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q334453 } } GROUP BY ?p } . FILTER ( ?r = ?s ) }
Larry Page Giannis Vardinogiannis
Larry Page and Giannis Vardinogiannis are the chief executives of max number of organizations and divisions
Larry Page Giannis Vardinogiannis
action argmax
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
action find_reverse_tuple_counts
relation chief executive officer
type common name
type division
[[{'concept': 'organization'}, {'concept': 'division'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?z WHERE { VALUES ( ?x ) { ( ontology:organization ) ( ontology:division ) } . ?w rdf:type ?x } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:chief_executive_officer ?p . ?p rdf:type ontology:common_name . ?j rdf:type ontology:organization } UNION { ?j property:chief_executive_officer ?p . ?p rdf:type ontology:common_name . ?j rdf:type ontology:division } } GROUP BY ?p } . FILTER ( ?r = ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q63049 Q5596940
P27 P17
Q15617994
USER
Which administrative territories are Granville Ryder a civilian of or are Abadan situated in ?
OR((Q5596940,P27,c(Q15617994)), (Q63049,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5596940
relation P27
action find
entity Q63049
relation P17
type Q15617994
{'OR': [['Q5596940', 'P27', {'concept': 'Q15617994'}], ['Q63049', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q5596940 property:P27 ?r } UNION { resource:Q63049 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Abadan Granville Ryder
action filter_type
action union
action find
entity Granville Ryder
relation country of citizenship
action find
entity Abadan
relation country
type designation for an administrative territorial entity
{'OR': [['Granville Ryder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Abadan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Granville_Ryder property:country_of_citizenship ?r } UNION { resource:Abadan property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q794
SYSTEM
United Kingdom, Iran
Q145 Q794
OR((Q5596940,P27,c(Q15617994)), (Q63049,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5596940
relation P27
action find
entity Q63049
relation P17
type Q15617994
[ANSWERS] are Granville Ryder a civilian of or are Abadan situated in
{'OR': [['Q5596940', 'P27', {'concept': 'Q15617994'}], ['Q63049', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q5596940 property:P27 ?r } UNION { resource:Q63049 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
United Kingdom Iran
United Kingdom and Iran are Granville Ryder a civilian of or are Abadan situated in
United Kingdom Iran
action filter_type
action union
action find
entity Granville Ryder
relation country of citizenship
action find
entity Abadan
relation country
type designation for an administrative territorial entity
{'OR': [['Granville Ryder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Abadan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Granville_Ryder property:country_of_citizenship ?r } UNION { resource:Abadan property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1037
P495
Q15617994 Q7725634 Q2342494
USER
Which administrative territories are the origins of approximately the same number of literary works and collectables as Rwanda ?
(c(Q7725634)|c(Q2342494),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1037
relation P495
type Q7725634
type Q2342494
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?x WHERE { VALUES ( ?s ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } . ?p rdf:type ?s } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P495 resource:Q1037 . { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q7725634 ) } . ?a rdf:type ?i } } } . FILTER ( ?c = ?t ) }
Rwanda
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Rwanda
relation country of origin
type literary work
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?x WHERE { VALUES ( ?s ) { ( ontology:literary_work ) ( ontology:collectable ) } . ?p rdf:type ?s } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:country_of_origin resource:Rwanda . { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:literary_work ) } . ?a rdf:type ?i } } } . FILTER ( ?c = ?t ) }
[]
designation for an administrative territorial entity literary work collectable
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q55 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(Q7725634)|c(Q2342494),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1037
relation P495
type Q7725634
type Q2342494
[ANSWERS] are the origins of approximately the same number of literary works and collectables as Rwanda
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?x WHERE { VALUES ( ?s ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } . ?p rdf:type ?s } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P495 resource:Q1037 . { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q7725634 ) } . ?a rdf:type ?i } } } . FILTER ( ?c = ?t ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina Netherlands 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
Italy, Brazil and Georgia are the origins of approximately the same number of literary works and collectables as Rwanda
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Rwanda
relation country of origin
type literary work
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?x WHERE { VALUES ( ?s ) { ( ontology:literary_work ) ( ontology:collectable ) } . ?p rdf:type ?s } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:country_of_origin resource:Rwanda . { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:literary_work ) } . ?a rdf:type ?i } } } . FILTER ( ?c = ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q881
P495
Q15617994 Q7725634 Q2342494
USER
And also tell me about Vietnam?
(c(Q7725634)|c(Q2342494),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q881
relation P495
type Q7725634
type Q2342494
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?d ) WHERE { { ?o rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7725634 . ?y property:P495 ?o } UNION { ?y property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2342494 } } GROUP BY ?o } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { { ?t rdf:type ontology:Q7725634 } UNION { ?t rdf:type ontology:Q2342494 } } . ?t property:P495 resource:Q881 } } }
Vietnam
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Vietnam
relation country of origin
type literary work
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?d ) WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:literary_work . ?y property:country_of_origin ?o } UNION { ?y property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:collectable } } GROUP BY ?o } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { { ?t rdf:type ontology:literary_work } UNION { ?t rdf:type ontology:collectable } } . ?t property:country_of_origin resource:Vietnam } } }
[]
designation for an administrative territorial entity literary work collectable
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q55 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(Q7725634)|c(Q2342494),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q881
relation P495
type Q7725634
type Q2342494
[ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?d ) WHERE { { ?o rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7725634 . ?y property:P495 ?o } UNION { ?y property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2342494 } } GROUP BY ?o } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { { ?t rdf:type ontology:Q7725634 } UNION { ?t rdf:type ontology:Q2342494 } } . ?t property:P495 resource:Q881 } } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina Netherlands 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
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Vietnam
relation country of origin
type literary work
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?d ) WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:literary_work . ?y property:country_of_origin ?o } UNION { ?y property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:collectable } } GROUP BY ?o } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { { ?t rdf:type ontology:literary_work } UNION { ?t rdf:type ontology:collectable } } . ?t property:country_of_origin resource:Vietnam } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q230
P17
Q34442
USER
Which roads are situated in Italy, Brazil and Georgia ?
(c(Q34442),P17,Q38) (c(Q34442),P17,Q155) (c(Q34442),P17,Q230)
action union
action filter_type
action find_reverse
entity Q38
relation P17
type Q34442
action filter_type
action find_reverse
entity Q155
relation P17
type Q34442
action filter_type
action find_reverse
entity Q230
relation P17
type Q34442
[{'concept': 'Q34442'}, 'P17', 'Q38'] [{'concept': 'Q34442'}, 'P17', 'Q155'] [{'concept': 'Q34442'}, 'P17', 'Q230']
SELECT DISTINCT ?c WHERE { VALUES ( ?n ) { ( resource:Q155 ) ( resource:Q38 ) } . ?c property:P17 ?n }
Italy Brazil Georgia
action union
action filter_type
action find_reverse
entity Italy
relation country
type road
action filter_type
action find_reverse
entity Brazil
relation country
type road
action filter_type
action find_reverse
entity Georgia
relation country
type road
[{'concept': 'road'}, 'country', 'Italy'] [{'concept': 'road'}, 'country', 'Brazil'] [{'concept': 'road'}, 'country', 'Georgia']
SELECT DISTINCT ?c WHERE { VALUES ( ?n ) { ( resource:Brazil ) ( resource:Italy ) } . ?c property:country ?n }
[]
road
Q4651742 Q429711 Q429822
SYSTEM
AH5, Autostrada A4, Autostrada A5
Q781975 Q3840747 Q3840740 Q550578 Q3998732 Q3840742 Q429233 Q926687 Q201704 Q3975564 Q655172 Q4010735 Q429822 Q430090 Q2368929 Q4010703 Q3642506 Q1410497 Q429288 Q2713440 Q4010753 Q534647 Q430116 Q1060690 Q4010578 Q789135 Q429349 Q1230599 Q3840718 Q3840719 Q3840714 Q3840715 Q3840716 Q3840717 Q250033 Q789114 Q789112 Q1232418 Q635208 Q3840738 Q3840739 Q3840736 Q3840737 Q3840734 Q3840735 Q3840732 Q3840733 Q3840730 Q3840731 Q789169 Q4010838 Q3840721 Q3840720 Q3840723 Q3840722 Q3840725 Q3840724 Q3840727 Q3840726 Q3840729 Q3840728 Q429308 Q189417 Q3840754 Q3840755 Q3840756 Q3840757 Q3840751 Q3840752 Q3840753 Q429916 Q2287023 Q3840746 Q3840745 Q3840744 Q3840743 Q3840749 Q3840748 Q789153 Q429512 Q4010823 Q4010827 Q3556480 Q4011320 Q789093 Q789092 Q789096 Q186983 Q789080 Q789085 Q739066 Q614154 Q19359002 Q789048 Q789049 Q4010851 Q3642541 Q2521687 Q789073 Q789072 Q2177455 Q849300 Q789060 Q2343106 Q789138 Q789132 Q763100 Q3975123 Q2366679 Q789131 Q788547 Q16620946 Q429622 Q4010981 Q429609 Q3695267 Q789087 Q768521 Q16897588 Q789051 Q543516 Q646998 Q1091039 Q741022 Q913994 Q4110463 Q785275 Q3694651 Q4010858 Q1032187 Q669372 Q429711 Q1229845 Q3840741 Q789079 Q611156 Q4010609 Q4010613 Q1057246 Q16621011 Q4010625 Q647535 Q3840750 Q429776 Q16621039 Q789140 Q4010652 Q19810824 Q430025 Q2198565 Q2979451 Q374149 Q903450 Q1569903 Q10318665 Q3375097 Q7392193 Q10372229 Q3375901 Q1754726 Q16058252 Q4651742
(c(Q34442),P17,Q38) (c(Q34442),P17,Q155) (c(Q34442),P17,Q230)
action union
action filter_type
action find_reverse
entity Q38
relation P17
type Q34442
action filter_type
action find_reverse
entity Q155
relation P17
type Q34442
action filter_type
action find_reverse
entity Q230
relation P17
type Q34442
[ANSWERS] are situated in Italy, Brazil and Georgia
[{'concept': 'Q34442'}, 'P17', 'Q38'] [{'concept': 'Q34442'}, 'P17', 'Q155'] [{'concept': 'Q34442'}, 'P17', 'Q230']
SELECT DISTINCT ?c WHERE { VALUES ( ?n ) { ( resource:Q155 ) ( resource:Q38 ) } . ?c property:P17 ?n }
Autostrada A11 Lungotevere dei Vallati Lungotevere degli Artigiani Via Praenestina Tridente, Rome Lungotevere dei Fiorentini Autostrada A10 Clivus Palatinus Corso Vittorio Emanuele State road 8 Via Sacra Via Santi Giovanni e Paolo Autostrada A5 Autostrada A91 Clivus Scauri Via Porta Rossa Borgo Ognissanti Tangenziale Est Esterna di Milano Autostrada A15 Via Casilina Via Venti Settembre Autostrada A3 Autostrada A9 Via Margutta Via Belvedere Autostrada A53 Autostrada A1 Via Latina Lungotevere Dante Lungotevere Flaminio Lungotevere Lungotevere Arnaldo da Brescia Lungotevere Aventino Lungotevere Castello Autostrada A14 Autostrada A34 Autostrada A31 Via Ostiensis Autostrada A22 Lungotevere degli Altoviti Lungotevere degli Anguillara Lungotevere Vittorio Gassman Lungotevere degli Alberteschi Lungotevere Tor di Nona Lungotevere Vaticano Lungotevere Salvo D'Acquisto Lungotevere Testaccio Lungotevere Raffaello Sanzio Lungotevere Ripa Autostrada A36 Via della Lungara Lungotevere Gianicolense Lungotevere De' Cenci Lungotevere Guglielmo Oberdan Lungotevere Grande Ammiraglio Thaon di Revel Lungotevere Maresciallo Diaz Lungotevere Maresciallo Cadorna Lungotevere Michelangelo Lungotevere Marzio Lungotevere Prati Lungotevere Portuense Autostrada A18 Appian Way Lungotevere delle Navi Lungotevere di San Paolo Lungotevere in Augusta Lungotevere in Sassia Lungotevere Della Vittoria Lungotevere delle Armi Lungotevere di Pietra Papa Autostrada A6 Clivus Capitolinus Lungotevere dei Tebaldi Lungotevere dei Sangallo Lungotevere dei Pierleoni Lungotevere dei Mellini Lungotevere della Farnesina Lungotevere dell'Acqua Acetosa Autostrada A8 Autostrada A28 Via del Tritone Via dell'Agnolo via Balbi Vicus Patricius Autostrada A27 Autostrada A26 Autostrada A29 Autostrada A2 Autostrada A23 Autostrada A24 Via Ardeatina Autostrada A90 Autostrada A60 Autostrada A13 Autostrada A17 Via delle Botteghe Oscure Borgo Santi Apostoli Via del Babuino Autostrada A20 Autostrada A21 Vicus Jugarius Via Cassia Autostrada A19 via Garibaldi Autostrada A54 Autostrada A51 Via Labicana State road 421 Clivus Argentarius Autostrada A50 Tangenziale di Venezia Via Garibaldi Autostrada A32 Viale Aventino Autostrada A30 Costa Masciarelli Autostrada A25 Via Tiburtina Via Merulana Autostrada A16 Via Julia Augusta Argiletum Via Tuscolana Autostrada A52 Via Antonio Canova Via Cavour, Rome Via di Ripetta Corso Vittorio Emanuele II Via delle Quattro Fontane Via dei Coronari Autostrada A33 Autostrada A4 Vicus Tuscus Lungotevere degli Inventori Autostrada A21racc Autostrada A12 Via Fortebraccio via Francesco Caracciolo Via Portuensis Via dei Della Robbia Via Gino Capponi Via Nomentana Lungotevere della Magliana Autostrada A55 Via della Rosa Autostrada A56 Via Laurentina Via Appia Nuova Autostrada A7 Alta Semita Clivus Suburanus Via Flaminia Autostrada A35 Trans-Amazonian highway Yellow Line Avenida Vieira Souto SP-133 Highway system of the state of Rio de Janeiro Avenida Atlântica Rustaveli Avenue AH81 AH5
AH5, Autostrada A4 and Autostrada A5 are situated in Italy, Brazil and Georgia
AH5 Autostrada A4 Autostrada A5
action union
action filter_type
action find_reverse
entity Italy
relation country
type road
action filter_type
action find_reverse
entity Brazil
relation country
type road
action filter_type
action find_reverse
entity Georgia
relation country
type road
[{'concept': 'road'}, 'country', 'Italy'] [{'concept': 'road'}, 'country', 'Brazil'] [{'concept': 'road'}, 'country', 'Georgia']
SELECT DISTINCT ?c WHERE { VALUES ( ?n ) { ( resource:Brazil ) ( resource:Italy ) } . ?c property:country ?n }
[]