Simple Question (Direct)
Simple Question
Q1657602
P19
Q15617994
USER
Which administrative territory was Ignace Mobarak born at ?
(Q1657602,P19,c(Q15617994))
action filter_type
action find
entity Q1657602
relation P19
type Q15617994
['Q1657602', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1657602 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Ignace Mobarak
action filter_type
action find
entity Ignace Mobarak
relation place of birth
type designation for an administrative territorial entity
['Ignace Mobarak', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Ignace_Mobarak property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q822
SYSTEM
Lebanon
Q822
(Q1657602,P19,c(Q15617994))
action filter_type
action find
entity Q1657602
relation P19
type Q15617994
Ignace Mobarak was born in [ANSWER]
['Q1657602', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1657602 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Lebanon
Ignace Mobarak was born in Lebanon
Lebanon
action filter_type
action find
entity Ignace Mobarak
relation place of birth
type designation for an administrative territorial entity
['Ignace Mobarak', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Ignace_Mobarak property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q822
P276
Q44539
USER
Which temple is situated at that administrative territory ?
(c(Q44539),P276,Q822)
action filter_type
action find_reverse
entity Q822
relation P276
type Q44539
[{'concept': 'Q44539'}, 'P276', 'Q822']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q822 . ?x rdf:type ontology:Q44539 }
Lebanon
action filter_type
action find_reverse
entity Lebanon
relation location
type temple
[{'concept': 'temple'}, 'location', 'Lebanon']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Lebanon . ?x rdf:type ontology:temple }
[]
temple
Q7265888
SYSTEM
Qal'at Bustra
Q7265888
(c(Q44539),P276,Q822)
action filter_type
action find_reverse
entity Q822
relation P276
type Q44539
[ANSWER] is situated at that administrative territory
[{'concept': 'Q44539'}, 'P276', 'Q822']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q822 . ?x rdf:type ontology:Q44539 }
Qal'at Bustra
Qal'at Bustra is situated at that administrative territory
Qal'at Bustra
action filter_type
action find_reverse
entity Lebanon
relation location
type temple
[{'concept': 'temple'}, 'location', 'Lebanon']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Lebanon . ?x rdf:type ontology:temple }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q623180 Q1657602
P19 P27
Q15617994
USER
Which administrative territories are Ignace Mobarak an inhabitant of or are the places of birth of Carlo Giuseppe Guglielmo Botta ?
OR((Q1657602,P27,c(Q15617994)), (Q623180,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q1657602
relation P27
action find
entity Q623180
relation P19
type Q15617994
{'OR': [['Q1657602', 'P27', {'concept': 'Q15617994'}], ['Q623180', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1657602 property:P27 ?f } UNION { resource:Q623180 property:P19 ?f } } . ?f rdf:type ontology:Q15617994 }
Carlo Giuseppe Guglielmo Botta Ignace Mobarak
action filter_type
action union
action find
entity Ignace Mobarak
relation country of citizenship
action find
entity Carlo Giuseppe Guglielmo Botta
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Ignace Mobarak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Carlo Giuseppe Guglielmo Botta', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Ignace_Mobarak property:country_of_citizenship ?f } UNION { resource:Carlo_Giuseppe_Guglielmo_Botta property:place_of_birth ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q10268 Q822
SYSTEM
San Giorgio Canavese, Lebanon
Q10268 Q822
OR((Q1657602,P27,c(Q15617994)), (Q623180,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q1657602
relation P27
action find
entity Q623180
relation P19
type Q15617994
[ANSWERS] are Ignace Mobarak an inhabitant of or are the places of birth of Carlo Giuseppe Guglielmo Botta
{'OR': [['Q1657602', 'P27', {'concept': 'Q15617994'}], ['Q623180', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1657602 property:P27 ?f } UNION { resource:Q623180 property:P19 ?f } } . ?f rdf:type ontology:Q15617994 }
San Giorgio Canavese Lebanon
San Giorgio Canavese and Lebanon are Ignace Mobarak an inhabitant of or are the places of birth of Carlo Giuseppe Guglielmo Botta
San Giorgio Canavese Lebanon
action filter_type
action union
action find
entity Ignace Mobarak
relation country of citizenship
action find
entity Carlo Giuseppe Guglielmo Botta
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Ignace Mobarak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Carlo Giuseppe Guglielmo Botta', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Ignace_Mobarak property:country_of_citizenship ?f } UNION { resource:Carlo_Giuseppe_Guglielmo_Botta property:place_of_birth ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with atmost 47 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 47
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?c <= 47 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 47
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?c <= 47 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 47
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?c <= 47 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 47
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?c <= 47 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q283844 Q10268
P47
Q15617994
USER
Which administrative territories share the border with San Giorgio Canavese or Decimomannu ?
OR((Q10268,P47,c(Q15617994)), (Q283844,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q10268
relation P47
action find
entity Q283844
relation P47
type Q15617994
{'OR': [['Q10268', 'P47', {'concept': 'Q15617994'}], ['Q283844', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q283844 property:P47 ?u } UNION { resource:Q10268 property:P47 ?u } } . ?u rdf:type ontology:Q15617994 }
Decimomannu San Giorgio Canavese
action filter_type
action union
action find
entity San Giorgio Canavese
relation shares border with
action find
entity Decimomannu
relation shares border with
type designation for an administrative territorial entity
{'OR': [['San Giorgio Canavese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Decimomannu', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Decimomannu property:shares_border_with ?u } UNION { resource:San_Giorgio_Canavese property:shares_border_with ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q9323 Q9346 Q9044 Q283609 Q285455 Q9520 Q285631 Q9360 Q283857 Q10272
SYSTEM
Some of them are Cuceglio, Feletto, Barone Canavese, Assemini, Uta, Sardinia, Orio Canavese, Villaspeciosa, Foglizzo, Decimoputzu, San Giusto Canavese
Q10272 Q9277 Q9483 Q9529 Q9360 Q285631 Q9323 Q9346 Q9044 Q9447 Q285617 Q9131 Q9520 Q284850 Q8971 Q285124 Q283857 Q283609 Q285455
OR((Q10268,P47,c(Q15617994)), (Q283844,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q10268
relation P47
action find
entity Q283844
relation P47
type Q15617994
[ANSWERS] share the border with San Giorgio Canavese or Decimomannu
{'OR': [['Q10268', 'P47', {'concept': 'Q15617994'}], ['Q283844', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q283844 property:P47 ?u } UNION { resource:Q10268 property:P47 ?u } } . ?u rdf:type ontology:Q15617994 }
San Giusto Canavese Ciconio Montalenghe Ozegna Foglizzo Villaspeciosa Cuceglio Feletto Barone Canavese Lusigliè Villasor Caluso Orio Canavese San Sperate Agliè Siliqua, Sardinia Decimoputzu Assemini Uta, Sardinia
Cuceglio, Feletto, Barone Canavese, Assemini, Uta, Sardinia, Orio Canavese, Villaspeciosa, Foglizzo, Decimoputzu and San Giusto Canavese share the border with San Giorgio Canavese or Decimomannu
Cuceglio Feletto Barone Canavese Assemini Uta, Sardinia Orio Canavese Villaspeciosa Foglizzo Decimoputzu San Giusto Canavese
action filter_type
action union
action find
entity San Giorgio Canavese
relation shares border with
action find
entity Decimomannu
relation shares border with
type designation for an administrative territorial entity
{'OR': [['San Giorgio Canavese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Decimomannu', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Decimomannu property:shares_border_with ?u } UNION { resource:San_Giorgio_Canavese property:shares_border_with ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9323
P47
Q15617994
USER
How many administrative territories are next to the border of Cuceglio ?
(c(Q15617994),P47,Q9323)
action count
action filter_type
action find_reverse
entity Q9323
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q9323']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P47 resource:Q9323 . ?u rdf:type ontology:Q15617994 }
Cuceglio
action count
action filter_type
action find_reverse
entity Cuceglio
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cuceglio']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:shares_border_with resource:Cuceglio . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
6
Q10268 Q10299 Q9483 Q9464 Q8971 Q10347
(c(Q15617994),P47,Q9323)
action count
action filter_type
action find_reverse
entity Q9323
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q9323']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P47 resource:Q9323 . ?u rdf:type ontology:Q15617994 }
San Giorgio Canavese Scarmagno Montalenghe Mercenasco Agliè Vialfrè
6
action count
action filter_type
action find_reverse
entity Cuceglio
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cuceglio']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:shares_border_with resource:Cuceglio . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]