Simple Question (Direct)
Simple Question
Q287713
P19
Q56061
USER
Which administrative territory was Ruth Chatterton born at ?
(Q287713,P19,c(Q56061))
action filter_type
action find
entity Q287713
relation P19
type Q56061
['Q287713', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q287713 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Ruth Chatterton
action filter_type
action find
entity Ruth Chatterton
relation place of birth
type administrative territorial entity
['Ruth Chatterton', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ruth_Chatterton property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q287713,P19,c(Q56061))
action filter_type
action find
entity Q287713
relation P19
type Q56061
Ruth Chatterton was born in [ANSWER]
['Q287713', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q287713 property:P19 ?k . ?k rdf:type ontology:Q56061 }
New York City
Ruth Chatterton was born in New York City
New York City
action filter_type
action find
entity Ruth Chatterton
relation place of birth
type administrative territorial entity
['Ruth Chatterton', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ruth_Chatterton property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q287713
P26
Q502895
USER
Which people are married to that one ?
(c(Q502895),P26,Q60)
action filter_type
action find
entity Q287713
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q60']
SELECT DISTINCT ?m WHERE { resource:Q287713 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Ruth Chatterton
action filter_type
action find
entity Ruth Chatterton
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'New York City']
SELECT DISTINCT ?m WHERE { resource:Ruth_Chatterton property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1124735 Q3418251
SYSTEM
George Brent, Ralph Forbes
Q1124735 Q3418251
(c(Q502895),P26,Q60)
action filter_type
action find
entity Q287713
relation P26
type Q502895
In [ANSWERS] are married to that one
[{'concept': 'Q502895'}, 'P26', 'Q60']
SELECT DISTINCT ?m WHERE { resource:Q287713 property:P26 ?m . ?m rdf:type ontology:Q502895 }
George Brent Ralph Forbes
In George Brent and Ralph Forbes are married to that one
George Brent Ralph Forbes
action filter_type
action find
entity Ruth Chatterton
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'New York City']
SELECT DISTINCT ?m WHERE { resource:Ruth_Chatterton property:spouse ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P176
Q2235308
USER
What was built by New York City ?
(c(Q2235308),P176,Q60)
action filter_type
action find_reverse
entity Q60
relation P176
type Q2235308
[{'concept': 'Q2235308'}, 'P176', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P176 resource:Q60 . ?b rdf:type ontology:Q2235308 }
New York City
action filter_type
action find_reverse
entity New York City
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:manufacturer resource:New_York_City . ?b rdf:type ontology:ship_type }
[]
ship type
Q7156361
SYSTEM
Pawtuxet-class cutter
Q7156361
(c(Q2235308),P176,Q60)
action filter_type
action find_reverse
entity Q60
relation P176
type Q2235308
[ANSWER] was built by New York City
[{'concept': 'Q2235308'}, 'P176', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P176 resource:Q60 . ?b rdf:type ontology:Q2235308 }
Pawtuxet-class cutter
Pawtuxet-class cutter was built by New York City
Pawtuxet-class cutter
action filter_type
action find_reverse
entity New York City
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:manufacturer resource:New_York_City . ?b rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P931
Q62447
USER
Which aerodromes are served by New York City ?
(c(Q62447),P931,Q60)
action filter_type
action find_reverse
entity Q60
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q60']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q62447 . ?m property:P931 resource:Q60 }
New York City
action filter_type
action find_reverse
entity New York City
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'New York City']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:aerodrome . ?m property:place_served_by_airport resource:New_York_City }
[]
aerodrome
Q7984216 Q5462911 Q1575175
SYSTEM
West 30th Street Heliport, Flushing Airport, Downtown Manhattan Heliport
Q7984216 Q5462911 Q1575175 Q3375426 Q10860385
(c(Q62447),P931,Q60)
action filter_type
action find_reverse
entity Q60
relation P931
type Q62447
Airport [ANSWERS] are served by New York City
[{'concept': 'Q62447'}, 'P931', 'Q60']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q62447 . ?m property:P931 resource:Q60 }
West 30th Street Heliport Flushing Airport Downtown Manhattan Heliport East 34th Street Heliport New York Skyports Inc. Seaplane Base
Airport West 30th Street Heliport, Flushing Airport and Downtown Manhattan Heliport are served by New York City
West 30th Street Heliport Flushing Airport Downtown Manhattan Heliport
action filter_type
action find_reverse
entity New York City
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'New York City']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:aerodrome . ?m property:place_served_by_airport resource:New_York_City }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7984216
P17
Q15617994
USER
Which administrative territory is that aerodrome located in ?
(Q7984216,P17,c(Q15617994))
action filter_type
action find
entity Q7984216
relation P17
type Q15617994
['Q7984216', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7984216 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
West 30th Street Heliport
action filter_type
action find
entity West 30th Street Heliport
relation country
type designation for an administrative territorial entity
['West 30th Street Heliport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:West_30th_Street_Heliport property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q5462911
SYSTEM
Did you mean Flushing Airport ?
Q7984216 Q5462911 Q1575175
(Q7984216,P17,c(Q15617994)) (Q5462911,P17,c(Q15617994)) (Q1575175,P17,c(Q15617994))
[ANSWER]
['Q7984216', 'P17', {'concept': 'Q15617994'}] ['Q5462911', 'P17', {'concept': 'Q15617994'}] ['Q1575175', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7984216 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
West 30th Street Heliport Flushing Airport Downtown Manhattan Heliport
Did you mean Flushing Airport ?
Flushing Airport
['West 30th Street Heliport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Flushing Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Downtown Manhattan Heliport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:West_30th_Street_Heliport property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant West 30th Street Heliport. Could you tell me the answer for that?
(Q7984216,P17,c(Q15617994))
Q7984216
['Q7984216', 'P17', {'concept': 'Q15617994'}]
['West 30th Street Heliport', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q7984216,P17,c(Q15617994))
action filter_type
action find
entity Q7984216
relation P17
type Q15617994
That aerodrome is located in [ANSWER]
['Q7984216', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7984216 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
That aerodrome is located in United States of America
United States of America
action filter_type
action find
entity West 30th Street Heliport
relation country
type designation for an administrative territorial entity
['West 30th Street Heliport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:West_30th_Street_Heliport property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of lesser number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q30
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?t ) WHERE { ?z property:P495 ?g . ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2031291 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q2031291 . ?w property:P495 resource:Q30 } } . FILTER ( ?t < ?n ) }
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity United States of America
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?t ) WHERE { ?z property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:release } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:release . ?w property:country_of_origin resource:United_States_of_America } } . FILTER ( ?t < ?n ) }
[]
designation for an administrative territorial entity release
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q30
relation P495
type Q2031291
[ANSWERS] are the countries of origin of lesser number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?t ) WHERE { ?z property:P495 ?g . ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2031291 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q2031291 . ?w property:P495 resource:Q30 } } . FILTER ( ?t < ?n ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the countries of origin of lesser number of releases than that administrative territory
Italy Brazil Georgia
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity United States of America
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?t ) WHERE { ?z property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:release } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:release . ?w property:country_of_origin resource:United_States_of_America } } . FILTER ( ?t < ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with exactly 3 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?h ) WHERE { ?w property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?h = 3 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?h ) WHERE { ?w property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?h = 3 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
20
Q262 Q45 Q954 Q36 Q928 Q39 Q739 Q851 Q1049 Q228 Q224 Q974 Q298 Q115 Q114 Q212 Q211 Q215 Q810 Q29
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 3
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?h ) WHERE { ?w property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?h = 3 ) }
Algeria Portugal Zimbabwe Poland Philippines Switzerland Colombia Saudi Arabia Sudan Andorra Croatia Democratic Republic of the Congo Chile Ethiopia Kenya Ukraine Latvia Slovenia Jordan Spain
20
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?h ) WHERE { ?w property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?h = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3165328 Q7984216
P19 P931
Q56061
USER
Which administrative territories are served by West 30th Street Heliport or were Jean-Denis Robert born ?
OR((Q7984216,P931,c(Q56061)), (Q3165328,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7984216
relation P931
action find
entity Q3165328
relation P19
type Q56061
{'OR': [['Q7984216', 'P931', {'concept': 'Q56061'}], ['Q3165328', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3165328 property:P19 ?z } UNION { resource:Q7984216 property:P931 ?z } } . ?z rdf:type ontology:Q56061 }
Jean-Denis Robert West 30th Street Heliport
action filter_type
action union
action find
entity West 30th Street Heliport
relation place served by airport
action find
entity Jean-Denis Robert
relation place of birth
type administrative territorial entity
{'OR': [['West 30th Street Heliport', 'place served by airport', {'concept': 'administrative territorial entity'}], ['Jean-Denis Robert', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Jean-Denis_Robert property:place_of_birth ?z } UNION { resource:West_30th_Street_Heliport property:place_served_by_airport ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q90
SYSTEM
New York City, Paris
Q60 Q90
OR((Q7984216,P931,c(Q56061)), (Q3165328,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7984216
relation P931
action find
entity Q3165328
relation P19
type Q56061
[ANSWERS] are served by West 30th Street Heliport or were Jean-Denis Robert born
{'OR': [['Q7984216', 'P931', {'concept': 'Q56061'}], ['Q3165328', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3165328 property:P19 ?z } UNION { resource:Q7984216 property:P931 ?z } } . ?z rdf:type ontology:Q56061 }
New York City Paris
New York City and Paris are served by West 30th Street Heliport or were Jean-Denis Robert born
New York City Paris
action filter_type
action union
action find
entity West 30th Street Heliport
relation place served by airport
action find
entity Jean-Denis Robert
relation place of birth
type administrative territorial entity
{'OR': [['West 30th Street Heliport', 'place served by airport', {'concept': 'administrative territorial entity'}], ['Jean-Denis Robert', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Jean-Denis_Robert property:place_of_birth ?z } UNION { resource:West_30th_Street_Heliport property:place_served_by_airport ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q650056
P608
Q62447 Q2424752 Q15056995
USER
How many aerodromes were less number of products and aircraft models exhibited at than Langley Field ?
(c(Q2424752)|c(Q15056995),P608,c(Q62447))
action count
action less
action union
action find_reverse_tuple_counts
relation P608
type Q62447
type Q2424752
action find_reverse_tuple_counts
relation P608
type Q62447
type Q15056995
action count
action filter_multi_types
action find_reverse
entity Q650056
relation P608
type Q2424752
type Q15056995
[[{'concept': 'Q2424752'}, {'concept': 'Q15056995'}], 'P608', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?i WHERE { { ?t property:P608 ?i . ?t rdf:type ontology:Q15056995 . ?i rdf:type ontology:Q62447 } UNION { ?t property:P608 ?i . ?i rdf:type ontology:Q62447 . ?t rdf:type ontology:Q2424752 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P608 resource:Q650056 . { { ?c rdf:type ontology:Q2424752 } UNION { ?c rdf:type ontology:Q15056995 } } } } . FILTER ( ?y < ?g ) }
Langley Field
action count
action less
action union
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type aircraft model
action count
action filter_multi_types
action find_reverse
entity Langley Field
relation exhibition history
type product
type aircraft model
[[{'concept': 'product'}, {'concept': 'aircraft model'}], 'exhibition history', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?i WHERE { { ?t property:exhibition_history ?i . ?t rdf:type ontology:aircraft_model . ?i rdf:type ontology:aerodrome } UNION { ?t property:exhibition_history ?i . ?i rdf:type ontology:aerodrome . ?t rdf:type ontology:product } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:exhibition_history resource:Langley_Field . { { ?c rdf:type ontology:product } UNION { ?c rdf:type ontology:aircraft_model } } } } . FILTER ( ?y < ?g ) }
[]
aerodrome product aircraft model
SYSTEM
11
Q1032113 Q597631 Q1836849 Q17440 Q1032108 Q1061846 Q1431444 Q3564934 Q5010470 Q1785757 Q3017348
(c(Q2424752)|c(Q15056995),P608,c(Q62447))
action count
action less
action union
action find_reverse_tuple_counts
relation P608
type Q62447
type Q2424752
action find_reverse_tuple_counts
relation P608
type Q62447
type Q15056995
action count
action filter_multi_types
action find_reverse
entity Q650056
relation P608
type Q2424752
type Q15056995
[ANSWER]
[[{'concept': 'Q2424752'}, {'concept': 'Q15056995'}], 'P608', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?i WHERE { { ?t property:P608 ?i . ?t rdf:type ontology:Q15056995 . ?i rdf:type ontology:Q62447 } UNION { ?t property:P608 ?i . ?i rdf:type ontology:Q62447 . ?t rdf:type ontology:Q2424752 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P608 resource:Q650056 . { { ?c rdf:type ontology:Q2424752 } UNION { ?c rdf:type ontology:Q15056995 } } } } . FILTER ( ?y < ?g ) }
CFB Bagotville Orlando Sanford International Airport CFB Winnipeg Albury Airport CFB Cold Lake Ngurah Rai International Airport John C. Munro Hamilton International Airport Millington Regional Jetport CFB St. Hubert Maxwell Air Force Base Naval Air Station Fallon
11
action count
action less
action union
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type aircraft model
action count
action filter_multi_types
action find_reverse
entity Langley Field
relation exhibition history
type product
type aircraft model
[[{'concept': 'product'}, {'concept': 'aircraft model'}], 'exhibition history', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?i WHERE { { ?t property:exhibition_history ?i . ?t rdf:type ontology:aircraft_model . ?i rdf:type ontology:aerodrome } UNION { ?t property:exhibition_history ?i . ?i rdf:type ontology:aerodrome . ?t rdf:type ontology:product } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:exhibition_history resource:Langley_Field . { { ?c rdf:type ontology:product } UNION { ?c rdf:type ontology:aircraft_model } } } } . FILTER ( ?y < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1999664
P608
Q62447 Q2424752 Q15056995
USER
And what about Tinker Air Force Base?
(c(Q2424752)|c(Q15056995),P608,c(Q62447))
action count
action less
action union
action find_reverse_tuple_counts
relation P608
type Q62447
type Q2424752
action find_reverse_tuple_counts
relation P608
type Q62447
type Q15056995
action count
action filter_multi_types
action find_reverse
entity Q1999664
relation P608
type Q2424752
type Q15056995
[[{'concept': 'Q2424752'}, {'concept': 'Q15056995'}], 'P608', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2424752 ) ( ontology:Q15056995 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P608 resource:Q1999664 . { ?b rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15056995 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?a < ?y ) }
Tinker Air Force Base
action count
action less
action union
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type aircraft model
action count
action filter_multi_types
action find_reverse
entity Tinker Air Force Base
relation exhibition history
type product
type aircraft model
[[{'concept': 'product'}, {'concept': 'aircraft model'}], 'exhibition history', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:product ) ( ontology:aircraft_model ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:exhibition_history resource:Tinker_Air_Force_Base . { ?b rdf:type ?q . VALUES ( ?q ) { ( ontology:aircraft_model ) ( ontology:product ) } } } } . FILTER ( ?a < ?y ) }
[]
aerodrome product aircraft model
SYSTEM
11
Q1032113 Q597631 Q1836849 Q17440 Q1032108 Q1061846 Q1431444 Q3564934 Q5010470 Q1785757 Q3017348
(c(Q2424752)|c(Q15056995),P608,c(Q62447))
action count
action less
action union
action find_reverse_tuple_counts
relation P608
type Q62447
type Q2424752
action find_reverse_tuple_counts
relation P608
type Q62447
type Q15056995
action count
action filter_multi_types
action find_reverse
entity Q1999664
relation P608
type Q2424752
type Q15056995
[ANSWER]
[[{'concept': 'Q2424752'}, {'concept': 'Q15056995'}], 'P608', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2424752 ) ( ontology:Q15056995 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P608 resource:Q1999664 . { ?b rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15056995 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?a < ?y ) }
CFB Bagotville Orlando Sanford International Airport CFB Winnipeg Albury Airport CFB Cold Lake Ngurah Rai International Airport John C. Munro Hamilton International Airport Millington Regional Jetport CFB St. Hubert Maxwell Air Force Base Naval Air Station Fallon
11
action count
action less
action union
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type aircraft model
action count
action filter_multi_types
action find_reverse
entity Tinker Air Force Base
relation exhibition history
type product
type aircraft model
[[{'concept': 'product'}, {'concept': 'aircraft model'}], 'exhibition history', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:product ) ( ontology:aircraft_model ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:exhibition_history resource:Tinker_Air_Force_Base . { ?b rdf:type ?q . VALUES ( ?q ) { ( ontology:aircraft_model ) ( ontology:product ) } } } } . FILTER ( ?a < ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5336942 Q5462911
P17
Q15617994
USER
Which administrative territories are Flushing Airport or Eden Township, Wyandot County, Ohio situated in ?
OR((Q5462911,P17,c(Q15617994)), (Q5336942,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5462911
relation P17
action find
entity Q5336942
relation P17
type Q15617994
{'OR': [['Q5462911', 'P17', {'concept': 'Q15617994'}], ['Q5336942', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?j ) { ( resource:Q5462911 ) ( resource:Q5336942 ) } . ?j property:P17 ?v } . ?v rdf:type ontology:Q15617994 }
Eden Township, Wyandot County, Ohio Flushing Airport
action filter_type
action union
action find
entity Flushing Airport
relation country
action find
entity Eden Township, Wyandot County, Ohio
relation country
type designation for an administrative territorial entity
{'OR': [['Flushing Airport', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Eden Township, Wyandot County, Ohio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?j ) { ( resource:Flushing_Airport ) ( resource:Eden_Township,_Wyandot_County,_Ohio ) } . ?j property:country ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q5462911,P17,c(Q15617994)), (Q5336942,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5462911
relation P17
action find
entity Q5336942
relation P17
type Q15617994
Flushing Airport or Eden Township , Wyandot County , Ohio are situated in the [ANSWER]
{'OR': [['Q5462911', 'P17', {'concept': 'Q15617994'}], ['Q5336942', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?j ) { ( resource:Q5462911 ) ( resource:Q5336942 ) } . ?j property:P17 ?v } . ?v rdf:type ontology:Q15617994 }
United States of America
Flushing Airport or Eden Township , Wyandot County , Ohio are situated in the United States of America
United States of America
action filter_type
action union
action find
entity Flushing Airport
relation country
action find
entity Eden Township, Wyandot County, Ohio
relation country
type designation for an administrative territorial entity
{'OR': [['Flushing Airport', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Eden Township, Wyandot County, Ohio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?j ) { ( resource:Flushing_Airport ) ( resource:Eden_Township,_Wyandot_County,_Ohio ) } . ?j property:country ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]