Simple Question (Direct)
Simple Question
Q3426854
P19
Q515
USER
Which city was René Roussillon born at ?
(Q3426854,P19,c(Q515))
action filter_type
action find
entity Q3426854
relation P19
type Q515
['Q3426854', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q3426854 property:P19 ?p . ?p rdf:type ontology:Q515 }
René Roussillon
action filter_type
action find
entity René Roussillon
relation place of birth
type city
['René Roussillon', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:René_Roussillon property:place_of_birth ?p . ?p rdf:type ontology:city }
[]
city
Q456
SYSTEM
Lyon
Q456
(Q3426854,P19,c(Q515))
action filter_type
action find
entity Q3426854
relation P19
type Q515
René Roussillon was born in [ANSWER]
['Q3426854', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q3426854 property:P19 ?p . ?p rdf:type ontology:Q515 }
Lyon
René Roussillon was born in Lyon
Lyon
action filter_type
action find
entity René Roussillon
relation place of birth
type city
['René Roussillon', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:René_Roussillon property:place_of_birth ?p . ?p rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q456
P931
Q62447
USER
Which city do that city serve ?
(c(Q62447),P931,Q456)
action filter_type
action find_reverse
entity Q456
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q456']
SELECT DISTINCT ?b WHERE { ?b property:P931 resource:Q456 . ?b rdf:type ontology:Q62447 }
Lyon
action filter_type
action find_reverse
entity Lyon
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Lyon']
SELECT DISTINCT ?b WHERE { ?b property:place_served_by_airport resource:Lyon . ?b rdf:type ontology:aerodrome }
[]
aerodrome
Q4102 Q1547
SYSTEM
Lyon-Bron Airport, Lyon-Saint Exupéry Airport
Q4102 Q1547
(c(Q62447),P931,Q456)
action filter_type
action find_reverse
entity Q456
relation P931
type Q62447
That city serve the [ANSWERS]
[{'concept': 'Q62447'}, 'P931', 'Q456']
SELECT DISTINCT ?b WHERE { ?b property:P931 resource:Q456 . ?b rdf:type ontology:Q62447 }
Lyon-Bron Airport Lyon-Saint Exupéry Airport
That city serve the Lyon-Bron Airport and Lyon-Saint Exupéry Airport
Lyon-Bron Airport Lyon-Saint Exupéry Airport
action filter_type
action find_reverse
entity Lyon
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Lyon']
SELECT DISTINCT ?b WHERE { ?b property:place_served_by_airport resource:Lyon . ?b rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4102 Q1547
P931
Q515
USER
Which cities are served by Lyon-Bron Airport and Lyon-Saint Exupéry Airport ?
(Q4102,P931,c(Q515)) (Q1547,P931,c(Q515))
action union
action filter_type
action find
entity Q4102
relation P931
type Q515
action filter_type
action find
entity Q1547
relation P931
type Q515
['Q4102', 'P931', {'concept': 'Q515'}] ['Q1547', 'P931', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { { resource:Q1547 property:P931 ?g . ?g rdf:type ontology:Q515 } UNION { ?g rdf:type ontology:Q515 . resource:Q4102 property:P931 ?g } }
Lyon-Bron Airport Lyon-Saint Exupéry Airport
action union
action filter_type
action find
entity Lyon-Bron Airport
relation place served by airport
type city
action filter_type
action find
entity Lyon-Saint Exupéry Airport
relation place served by airport
type city
['Lyon-Bron Airport', 'place served by airport', {'concept': 'city'}] ['Lyon-Saint Exupéry Airport', 'place served by airport', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { { resource:Lyon-Saint_Exupéry_Airport property:place_served_by_airport ?g . ?g rdf:type ontology:city } UNION { ?g rdf:type ontology:city . resource:Lyon-Bron_Airport property:place_served_by_airport ?g } }
[]
city
Q456 Q456
SYSTEM
Lyon
Q456 Q456
(Q4102,P931,c(Q515)) (Q1547,P931,c(Q515))
action union
action filter_type
action find
entity Q4102
relation P931
type Q515
action filter_type
action find
entity Q1547
relation P931
type Q515
[ANSWER] and [ANSWER] are served by [ANSWER]-Bron Airport and [ANSWER]-Saint Exupéry Airport
['Q4102', 'P931', {'concept': 'Q515'}] ['Q1547', 'P931', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { { resource:Q1547 property:P931 ?g . ?g rdf:type ontology:Q515 } UNION { ?g rdf:type ontology:Q515 . resource:Q4102 property:P931 ?g } }
Lyon Lyon
Lyon and Lyon are served by Lyon-Bron Airport and Lyon-Saint Exupéry Airport
Lyon Lyon
action union
action filter_type
action find
entity Lyon-Bron Airport
relation place served by airport
type city
action filter_type
action find
entity Lyon-Saint Exupéry Airport
relation place served by airport
type city
['Lyon-Bron Airport', 'place served by airport', {'concept': 'city'}] ['Lyon-Saint Exupéry Airport', 'place served by airport', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { { resource:Lyon-Saint_Exupéry_Airport property:place_served_by_airport ?g . ?g rdf:type ontology:city } UNION { ?g rdf:type ontology:city . resource:Lyon-Bron_Airport property:place_served_by_airport ?g } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q456
P190
Q56061
USER
Which administrative territories are twin towns of that city ?
(Q456,P190,c(Q56061)) (Q456,P190,c(Q56061))
action filter_type
action find
entity Q456
relation P190
type Q56061
['Q456', 'P190', {'concept': 'Q56061'}] ['Q456', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q456 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Lyon
action filter_type
action find
entity Lyon
relation sister city
type administrative territorial entity
['Lyon', 'sister city', {'concept': 'administrative territorial entity'}] ['Lyon', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lyon property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490 Q2280 Q580
SYSTEM
Milan, Minsk, Łódź
Q41572 Q45779 Q580 Q41843 Q5687 Q490 Q41183 Q2280 Q172415 Q6506 Q4361 Q38022 Q3820
(Q456,P190,c(Q56061)) (Q456,P190,c(Q56061))
action filter_type
action find
entity Q456
relation P190
type Q56061
[ANSWERS] are twin towns of that city
['Q456', 'P190', {'concept': 'Q56061'}] ['Q456', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q456 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Mykolaiv Pécs Łódź Beersheba Jericho Milan Aleppo Minsk Kutaisi Varna Curitiba St. Louis Beirut
Milan, Minsk and Łódź are twin towns of that city
Milan Minsk Łódź
action filter_type
action find
entity Lyon
relation sister city
type administrative territorial entity
['Lyon', 'sister city', {'concept': 'administrative territorial entity'}] ['Lyon', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lyon property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q48329 Q456
P190
Q56061
USER
Or Mariehamn?
OR((Q456,P190,c(Q56061)), (Q48329,P190,c(Q56061)))
action filter_type
action union
action find
entity Q456
relation P190
action find
entity Q48329
relation P190
type Q56061
{'OR': [['Q456', 'P190', {'concept': 'Q56061'}], ['Q48329', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q456 property:P190 ?h } UNION { resource:Q48329 property:P190 ?h } } . ?h rdf:type ontology:Q56061 }
Mariehamn Lyon
action filter_type
action union
action find
entity Lyon
relation sister city
action find
entity Mariehamn
relation sister city
type administrative territorial entity
{'OR': [['Lyon', 'sister city', {'concept': 'administrative territorial entity'}], ['Mariehamn', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Lyon property:sister_city ?h } UNION { resource:Mariehamn property:sister_city ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41183 Q41843 Q10704 Q163852 Q580 Q5687 Q172415 Q45779 Q4361 Q322126
SYSTEM
Some of them are Aleppo, Beersheba, Tórshavn, Kópavogur, Łódź, Jericho, Kutaisi, Pécs, Curitiba, Valkeakoski
Q41572 Q3820 Q163852 Q188179 Q45779 Q580 Q54757 Q41843 Q5687 Q3414556 Q490 Q4361 Q2280 Q172415 Q6506 Q41183 Q38022 Q157688 Q322126 Q10704
OR((Q456,P190,c(Q56061)), (Q48329,P190,c(Q56061)))
action filter_type
action union
action find
entity Q456
relation P190
action find
entity Q48329
relation P190
type Q56061
[ANSWERS]
{'OR': [['Q456', 'P190', {'concept': 'Q56061'}], ['Q48329', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q456 property:P190 ?h } UNION { resource:Q48329 property:P190 ?h } } . ?h rdf:type ontology:Q56061 }
Mykolaiv Beirut Kópavogur Kuressaare Pécs Łódź Visby Beersheba Jericho Slagelse Milan Curitiba Minsk Kutaisi Varna Aleppo St. Louis Lomonosov Valkeakoski Tórshavn
Aleppo Beersheba Tórshavn Kópavogur Łódź Jericho Kutaisi Pécs Curitiba Valkeakoski
action filter_type
action union
action find
entity Lyon
relation sister city
action find
entity Mariehamn
relation sister city
type administrative territorial entity
{'OR': [['Lyon', 'sister city', {'concept': 'administrative territorial entity'}], ['Mariehamn', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Lyon property:sister_city ?h } UNION { resource:Mariehamn property:sister_city ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have exactly 2 administrative territories as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?w ) WHERE { ?e property:P532 ?j . ?e rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?e } . FILTER ( ?w = 2 ) }
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?w ) WHERE { ?e property:port_of_registry ?j . ?e rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?w = 2 ) }
[]
administrative territorial entity ship type
SYSTEM
4
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?w ) WHERE { ?e property:P532 ?j . ?e rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?e } . FILTER ( ?w = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
4
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?w ) WHERE { ?e property:port_of_registry ?j . ?e rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?w = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q490
P127
Q43229 Q483110
USER
How many organizations and stadia are under posessision of Milan ?
(c(Q43229),P127,Q490) (c(Q483110),P127,Q490)
action count
action union
action filter_type
action find_reverse
entity Q490
relation P127
type Q43229
action filter_type
action find_reverse
entity Q490
relation P127
type Q483110
[{'concept': 'Q43229'}, 'P127', 'Q490'] [{'concept': 'Q483110'}, 'P127', 'Q490']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q483110 ) } }
Milan
action count
action union
action filter_type
action find_reverse
entity Milan
relation owned by
type organization
action filter_type
action find_reverse
entity Milan
relation owned by
type stadium
[{'concept': 'organization'}, 'owned by', 'Milan'] [{'concept': 'stadium'}, 'owned by', 'Milan']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:stadium ) } }
[]
organization stadium
SYSTEM
1 organizations and 3 stadia
Q3832081 Q1088761 Q381955 Q133566
(c(Q43229),P127,Q490) (c(Q483110),P127,Q490)
action count
action union
action filter_type
action find_reverse
entity Q490
relation P127
type Q43229
action filter_type
action find_reverse
entity Q490
relation P127
type Q483110
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q490'] [{'concept': 'Q483110'}, 'P127', 'Q490']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q483110 ) } }
Lido di Milano Arena Civica Azienda Trasporti Milanesi Stadio Giuseppe Meazza
1 organizations and 3 stadia
action count
action union
action filter_type
action find_reverse
entity Milan
relation owned by
type organization
action filter_type
action find_reverse
entity Milan
relation owned by
type stadium
[{'concept': 'organization'}, 'owned by', 'Milan'] [{'concept': 'stadium'}, 'owned by', 'Milan']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:stadium ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6744917 Q163852
P17
Q15617994
USER
Which administrative territories are Kópavogur or Malton School a part of ?
OR((Q163852,P17,c(Q15617994)), (Q6744917,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q163852
relation P17
action find
entity Q6744917
relation P17
type Q15617994
{'OR': [['Q163852', 'P17', {'concept': 'Q15617994'}], ['Q6744917', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Q163852 ) ( resource:Q6744917 ) } . ?a property:P17 ?y } . ?y rdf:type ontology:Q15617994 }
Malton School Kópavogur
action filter_type
action union
action find
entity Kópavogur
relation country
action find
entity Malton School
relation country
type designation for an administrative territorial entity
{'OR': [['Kópavogur', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Malton School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Kópavogur ) ( resource:Malton_School ) } . ?a property:country ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q189 Q145
SYSTEM
Iceland, United Kingdom
Q189 Q145
OR((Q163852,P17,c(Q15617994)), (Q6744917,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q163852
relation P17
action find
entity Q6744917
relation P17
type Q15617994
[ANSWERS] are Kópavogur or Malton School a part of
{'OR': [['Q163852', 'P17', {'concept': 'Q15617994'}], ['Q6744917', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Q163852 ) ( resource:Q6744917 ) } . ?a property:P17 ?y } . ?y rdf:type ontology:Q15617994 }
Iceland United Kingdom
Iceland and United Kingdom are Kópavogur or Malton School a part of
Iceland United Kingdom
action filter_type
action union
action find
entity Kópavogur
relation country
action find
entity Malton School
relation country
type designation for an administrative territorial entity
{'OR': [['Kópavogur', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Malton School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Kópavogur ) ( resource:Malton_School ) } . ?a property:country ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories did less number of releases originate than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|More/Less|Single entity type|Clarification
Q145
SYSTEM
Did you mean United Kingdom ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean United Kingdom ?
United Kingdom
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 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 Q928 Q39 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 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
Less number of releases originated in [ANSWERS] than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina 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 Philippines Switzerland 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 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
Less number of releases originated in Brazil, Georgia and Russia than that administrative territory
Brazil Georgia Russia
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Are Italy known to have diplomatic connections with those ones ?
(Q38,P530,Q155) (Q38,P530,Q230) (Q38,P530,Q159)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q155'] ['Q38', 'P530', 'Q230'] ['Q38', 'P530', 'Q159']
ASK WHERE { resource:Q38 property:P530 ?z . VALUES ( ?z ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Brazil'] ['Italy', 'diplomatic relation', 'Georgia'] ['Italy', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Italy property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q155) (Q38,P530,Q230) (Q38,P530,Q159)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q155'] ['Q38', 'P530', 'Q230'] ['Q38', 'P530', 'Q159']
ASK WHERE { resource:Q38 property:P530 ?z . VALUES ( ?z ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Brazil'] ['Italy', 'diplomatic relation', 'Georgia'] ['Italy', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Italy property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q709
P463
Q43229
USER
How many organizations were United Kingdom and Marshall Islands a member of ?
(Q145,P463,c(Q43229)) (Q709,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q145
relation P463
type Q43229
action filter_type
action find
entity Q709
relation P463
type Q43229
['Q145', 'P463', {'concept': 'Q43229'}] ['Q709', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q43229 . resource:Q709 property:P463 ?x . resource:Q145 property:P463 ?x . ?x rdf:type ontology:Q43229 }
United Kingdom Marshall Islands
action count
action intersection
action filter_type
action find
entity United Kingdom
relation member of
type organization
action filter_type
action find
entity Marshall Islands
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'organization'}] ['Marshall Islands', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:organization . resource:Marshall_Islands property:member_of ?x . resource:United_Kingdom property:member_of ?x . ?x rdf:type ontology:organization }
[]
organization
SYSTEM
3
Q191384 Q656801 Q827525
(Q145,P463,c(Q43229)) (Q709,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q145
relation P463
type Q43229
action filter_type
action find
entity Q709
relation P463
type Q43229
[ANSWER]
['Q145', 'P463', {'concept': 'Q43229'}] ['Q709', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q43229 . resource:Q709 property:P463 ?x . resource:Q145 property:P463 ?x . ?x rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Finance Corporation International Development Association
3
action count
action intersection
action filter_type
action find
entity United Kingdom
relation member of
type organization
action filter_type
action find
entity Marshall Islands
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'organization'}] ['Marshall Islands', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:organization . resource:Marshall_Islands property:member_of ?x . resource:United_Kingdom property:member_of ?x . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q230
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with lesser number of administrative territories than Georgia ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?e ) WHERE { ?a property:P530 ?v . ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?e < ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q230 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } }
Georgia
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?e ) WHERE { ?a property:diplomatic_relation ?v . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?e < ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Georgia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
160
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 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 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 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 Q683 Q34020 Q686 Q836 Q574 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 less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?e ) WHERE { ?a property:P530 ?v . ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?e < ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q230 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil 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 Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
160
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?e ) WHERE { ?a property:diplomatic_relation ?v . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?e < ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Georgia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q45
P530
Q1048835
USER
How many political territories holds diplomatic relationship with Brazil and Portugal ?
(Q155,P530,c(Q1048835)) (Q45,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q155
relation P530
type Q1048835
action filter_type
action find
entity Q45
relation P530
type Q1048835
['Q155', 'P530', {'concept': 'Q1048835'}] ['Q45', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q155 property:P530 ?k . ?k rdf:type ontology:Q1048835 . resource:Q45 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Brazil Portugal
action count
action intersection
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Portugal
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Portugal', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Brazil property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity . resource:Portugal property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q155,P530,c(Q1048835)) (Q45,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q155
relation P530
type Q1048835
action filter_type
action find
entity Q45
relation P530
type Q1048835
[ANSWER]
['Q155', 'P530', {'concept': 'Q1048835'}] ['Q45', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q155 property:P530 ?k . ?k rdf:type ontology:Q1048835 . resource:Q45 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Portugal
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Portugal', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Brazil property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity . resource:Portugal property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]