Simple Question (Direct)
Simple Question
Q6349724
P39
Q12737077
USER
What was the position held by Leon Piniński ?
(Q6349724,P39,c(Q12737077))
action filter_type
action find
entity Q6349724
relation P39
type Q12737077
['Q6349724', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q6349724 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Leon Piniński
action filter_type
action find
entity Leon Piniński
relation position held
type occupation
['Leon Piniński', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Leon_Piniński property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q24257953
SYSTEM
Member of the Diet of Galicia and Lodomeria
Q24257953
(Q6349724,P39,c(Q12737077))
action filter_type
action find
entity Q6349724
relation P39
type Q12737077
The position held by Leon Piniński was a [ANSWER]
['Q6349724', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q6349724 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Member of the Diet of Galicia and Lodomeria
The position held by Leon Piniński was a Member of the Diet of Galicia and Lodomeria
Member of the Diet of Galicia and Lodomeria
action filter_type
action find
entity Leon Piniński
relation position held
type occupation
['Leon Piniński', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Leon_Piniński property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6349724
P119
Q43229
USER
Where is the place of burial for Leon Piniński located ?
(Q6349724,P119,c(Q43229))
action filter_type
action find
entity Q6349724
relation P119
type Q43229
['Q6349724', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q6349724 property:P119 ?w . ?w rdf:type ontology:Q43229 }
Leon Piniński
action filter_type
action find
entity Leon Piniński
relation place of burial
type organization
['Leon Piniński', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:Leon_Piniński property:place_of_burial ?w . ?w rdf:type ontology:organization }
[]
organization
Q1316721
SYSTEM
Lychakiv Cemetery
Q1316721
(Q6349724,P119,c(Q43229))
action filter_type
action find
entity Q6349724
relation P119
type Q43229
The place of burial for Leon Piniński is located in [ANSWER]
['Q6349724', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q6349724 property:P119 ?w . ?w rdf:type ontology:Q43229 }
Lychakiv Cemetery
The place of burial for Leon Piniński is located in Lychakiv Cemetery
Lychakiv Cemetery
action filter_type
action find
entity Leon Piniński
relation place of burial
type organization
['Leon Piniński', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:Leon_Piniński property:place_of_burial ?w . ?w rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6349724
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q1316721,P20,c(Q56061))
action filter_type
action find
entity Q6349724
relation P20
type Q56061
['Q1316721', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q6349724 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Leon Piniński
action filter_type
action find
entity Leon Piniński
relation place of death
type administrative territorial entity
['Lychakiv Cemetery', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Leon_Piniński property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q1316721,P20,c(Q56061))
action filter_type
action find
entity Q6349724
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q1316721', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q6349724 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Lviv
Lviv is the place of death of that person
Lviv
action filter_type
action find
entity Leon Piniński
relation place of death
type administrative territorial entity
['Lychakiv Cemetery', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Leon_Piniński property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36036
P931
Q62447
USER
Which aerodrome is served by that administrative territory ?
(c(Q62447),P931,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q36036']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q62447 . ?w property:P931 resource:Q36036 }
Lviv
action filter_type
action find_reverse
entity Lviv
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Lviv']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:aerodrome . ?w property:place_served_by_airport resource:Lviv }
[]
aerodrome
Q282909
SYSTEM
Lviv Danylo Halytskyi International Airport
Q282909
(c(Q62447),P931,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q36036']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q62447 . ?w property:P931 resource:Q36036 }
Lviv Danylo Halytskyi International Airport
Lviv Danylo Halytskyi International Airport is served by that administrative territory
Lviv Danylo Halytskyi International Airport
action filter_type
action find_reverse
entity Lviv
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Lviv']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:aerodrome . ?w property:place_served_by_airport resource:Lviv }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P113
Q62447 Q1269299 Q80071
USER
Which aerodromes are the hub for greater number of business organizations or symbols located than that aerodrome ?
(c(Q1269299)|c(Q80071),P113,c(Q62447))
action greater
action union
action find_reverse_tuple_counts
relation P113
type Q62447
type Q1269299
action find_reverse_tuple_counts
relation P113
type Q62447
type Q80071
action count
action filter_multi_types
action find_reverse
entity Q282909
relation P113
type Q1269299
type Q80071
[[{'concept': 'Q1269299'}, {'concept': 'Q80071'}], 'P113', {'concept': 'Q62447'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?l ) WHERE { { ?v property:P113 ?i . ?i rdf:type ontology:Q62447 . ?v rdf:type ontology:Q1269299 } UNION { ?v property:P113 ?i . ?v rdf:type ontology:Q80071 . ?i rdf:type ontology:Q62447 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q80071 ) ( ontology:Q1269299 ) } } . ?h property:P113 resource:Q282909 } } . FILTER ( ?l > ?o ) }
action greater
action union
action find_reverse_tuple_counts
relation airline hub
type aerodrome
type type of business entity
action find_reverse_tuple_counts
relation airline hub
type aerodrome
type symbol
action count
action filter_multi_types
action find_reverse
entity Lviv Danylo Halytskyi International Airport
relation airline hub
type type of business entity
type symbol
[[{'concept': 'type of business entity'}, {'concept': 'symbol'}], 'airline hub', {'concept': 'aerodrome'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?l ) WHERE { { ?v property:airline_hub ?i . ?i rdf:type ontology:aerodrome . ?v rdf:type ontology:type_of_business_entity } UNION { ?v property:airline_hub ?i . ?v rdf:type ontology:symbol . ?i rdf:type ontology:aerodrome } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:symbol ) ( ontology:type_of_business_entity ) } } . ?h property:airline_hub resource:Lviv_Danylo_Halytskyi_International_Airport } } . FILTER ( ?l > ?o ) }
[]
aerodrome type of business entity symbol
Q597649 Q459096 Q151121
SYSTEM
Charlotte/Douglas International Airport, Dallas/Fort Worth International Airport, Cincinnati/Northern Kentucky International Airport
Q1100795 Q8694 Q459096 Q151121 Q597649 Q178021
(c(Q1269299)|c(Q80071),P113,c(Q62447))
action greater
action union
action find_reverse_tuple_counts
relation P113
type Q62447
type Q1269299
action find_reverse_tuple_counts
relation P113
type Q62447
type Q80071
action count
action filter_multi_types
action find_reverse
entity Q282909
relation P113
type Q1269299
type Q80071
[ANSWERS] are the hub for greater number of business organizations or symbols located than that aerodrome
[[{'concept': 'Q1269299'}, {'concept': 'Q80071'}], 'P113', {'concept': 'Q62447'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?l ) WHERE { { ?v property:P113 ?i . ?i rdf:type ontology:Q62447 . ?v rdf:type ontology:Q1269299 } UNION { ?v property:P113 ?i . ?v rdf:type ontology:Q80071 . ?i rdf:type ontology:Q62447 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q80071 ) ( ontology:Q1269299 ) } } . ?h property:P113 resource:Q282909 } } . FILTER ( ?l > ?o ) }
Cleveland Hopkins International Airport Manchester Airport Dallas/Fort Worth International Airport Cincinnati/Northern Kentucky International Airport Charlotte/Douglas International Airport Dublin Airport
Charlotte/Douglas International Airport, Dallas/Fort Worth International Airport and Cincinnati/Northern Kentucky International Airport are the hub for greater number of business organizations or symbols located than that aerodrome
Charlotte/Douglas International Airport Dallas/Fort Worth International Airport Cincinnati/Northern Kentucky International Airport
action greater
action union
action find_reverse_tuple_counts
relation airline hub
type aerodrome
type type of business entity
action find_reverse_tuple_counts
relation airline hub
type aerodrome
type symbol
action count
action filter_multi_types
action find_reverse
entity Lviv Danylo Halytskyi International Airport
relation airline hub
type type of business entity
type symbol
[[{'concept': 'type of business entity'}, {'concept': 'symbol'}], 'airline hub', {'concept': 'aerodrome'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?l ) WHERE { { ?v property:airline_hub ?i . ?i rdf:type ontology:aerodrome . ?v rdf:type ontology:type_of_business_entity } UNION { ?v property:airline_hub ?i . ?v rdf:type ontology:symbol . ?i rdf:type ontology:aerodrome } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:symbol ) ( ontology:type_of_business_entity ) } } . ?h property:airline_hub resource:Lviv_Danylo_Halytskyi_International_Airport } } . FILTER ( ?l > ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q282909
P276
Q3839081
USER
Which disaster has its location as Lviv Danylo Halytskyi International Airport ?
(c(Q3839081),P276,Q282909)
action filter_type
action find_reverse
entity Q282909
relation P276
type Q3839081
[{'concept': 'Q3839081'}, 'P276', 'Q282909']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q282909 . ?i rdf:type ontology:Q3839081 }
Lviv Danylo Halytskyi International Airport
action filter_type
action find_reverse
entity Lviv Danylo Halytskyi International Airport
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'Lviv Danylo Halytskyi International Airport']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Lviv_Danylo_Halytskyi_International_Airport . ?i rdf:type ontology:disaster }
[]
disaster
Q1434037
SYSTEM
Sknyliv air show disaster
Q1434037
(c(Q3839081),P276,Q282909)
action filter_type
action find_reverse
entity Q282909
relation P276
type Q3839081
[ANSWER] has its location as Lviv Danylo Halytskyi International Airport
[{'concept': 'Q3839081'}, 'P276', 'Q282909']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q282909 . ?i rdf:type ontology:Q3839081 }
Sknyliv air show disaster
Sknyliv air show disaster has its location as Lviv Danylo Halytskyi International Airport
Sknyliv air show disaster
action filter_type
action find_reverse
entity Lviv Danylo Halytskyi International Airport
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'Lviv Danylo Halytskyi International Airport']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Lviv_Danylo_Halytskyi_International_Airport . ?i rdf:type ontology:disaster }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1542
Q3839081 Q2057971
USER
How many health problems result in exactly 1 disaster ?
(c(Q2057971),P1542,c(Q3839081))
action count
action equal
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
value 1
[{'concept': 'Q2057971'}, 'P1542', {'concept': 'Q3839081'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?m ) WHERE { ?o property:P1542 ?w . ?o rdf:type ontology:Q2057971 . ?w rdf:type ontology:Q3839081 } GROUP BY ?o } . FILTER ( ?m = 1 ) }
action count
action equal
action find_tuple_counts
relation cause of
type health problem
type disaster
value 1
[{'concept': 'health problem'}, 'cause of', {'concept': 'disaster'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?m ) WHERE { ?o property:cause_of ?w . ?o rdf:type ontology:health_problem . ?w rdf:type ontology:disaster } GROUP BY ?o } . FILTER ( ?m = 1 ) }
[]
disaster health problem
SYSTEM
3
Q12090 Q243257 Q79793
(c(Q2057971),P1542,c(Q3839081))
action count
action equal
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
value 1
[ANSWER]
[{'concept': 'Q2057971'}, 'P1542', {'concept': 'Q3839081'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?m ) WHERE { ?o property:P1542 ?w . ?o rdf:type ontology:Q2057971 . ?w rdf:type ontology:Q3839081 } GROUP BY ?o } . FILTER ( ?m = 1 ) }
Cholera chikungunya measles
3
action count
action equal
action find_tuple_counts
relation cause of
type health problem
type disaster
value 1
[{'concept': 'health problem'}, 'cause of', {'concept': 'disaster'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?m ) WHERE { ?o property:cause_of ?w . ?o rdf:type ontology:health_problem . ?w rdf:type ontology:disaster } GROUP BY ?o } . FILTER ( ?m = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q56061 Q12280 Q34442
USER
How many administrative territories are the destinations of around 3 bridges or roads ?
(c(Q12280)|c(Q34442),P609,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 3
[[{'concept': 'Q12280'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?k WHERE { { ?k rdf:type ontology:Q56061 . ?v rdf:type ontology:Q12280 . ?v property:P609 ?k } UNION { ?v property:P609 ?k . ?v rdf:type ontology:Q34442 . ?k rdf:type ontology:Q56061 } } GROUP BY ?k } . FILTER ( ?m = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 3
[[{'concept': 'bridge'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?k WHERE { { ?k rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:bridge . ?v property:terminus_location ?k } UNION { ?v property:terminus_location ?k . ?v rdf:type ontology:road . ?k rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } . FILTER ( ?m = 3 ) }
[]
administrative territorial entity bridge road
SYSTEM
40
Q803 Q599331 Q83178 Q10014 Q832938 Q9920 Q749 Q904462 Q502312 Q1042366 Q793 Q545457 Q3322237 Q992 Q8686 Q1589316 Q2523431 Q831527 Q780785 Q934511 Q3355046 Q1007168 Q959585 Q15054735 Q579854 Q9832 Q3646335 Q26421 Q1043368 Q2543653 Q2906589 Q2756084 Q1310 Q34370 Q2181173 Q75967 Q60705 Q4411341 Q1782100 Q505601
(c(Q12280)|c(Q34442),P609,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 3
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?k WHERE { { ?k rdf:type ontology:Q56061 . ?v rdf:type ontology:Q12280 . ?v property:P609 ?k } UNION { ?v property:P609 ?k . ?v rdf:type ontology:Q34442 . ?k rdf:type ontology:Q56061 } } GROUP BY ?k } . FILTER ( ?m = 3 ) }
Utrecht Biddinghuizen Almere Kampen Bodegraven Haarlem Groningen Riddarholmen Maasdijk Lilla Essingen Zwolle Nieuw-Vennep Venlo Amersfoort Shanghai Traneberg Stadshagen Djurgården Långholmen Papendrecht Marieberg IJsselmuiden Streefkerk Kungsholmen Gamla stan Eindhoven Vasastan Dordrecht Stora Essingen Den Hoorn, South Holland Blijham Johanneshov Arnhem Rotterdam Bellingwolde Schoondijke Emmeloord Södra Hammarbyhamnen Farsta strand Wassenaar
40
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 3
[[{'concept': 'bridge'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?k WHERE { { ?k rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:bridge . ?v property:terminus_location ?k } UNION { ?v property:terminus_location ?k . ?v rdf:type ontology:road . ?k rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } . FILTER ( ?m = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q459096
P1427
Q1914636 Q3839081
USER
How many activities or disasters start at Dallas/Fort Worth International Airport ?
(c(Q1914636),P1427,Q459096) (c(Q3839081),P1427,Q459096)
action count
action union
action filter_type
action find_reverse
entity Q459096
relation P1427
type Q1914636
action filter_type
action find_reverse
entity Q459096
relation P1427
type Q3839081
[{'concept': 'Q1914636'}, 'P1427', 'Q459096'] [{'concept': 'Q3839081'}, 'P1427', 'Q459096']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:P1427 resource:Q459096 . ?d rdf:type ontology:Q1914636 } UNION { ?d property:P1427 resource:Q459096 . ?d rdf:type ontology:Q3839081 } }
Dallas/Fort Worth International Airport
action count
action union
action filter_type
action find_reverse
entity Dallas/Fort Worth International Airport
relation start point
type activity
action filter_type
action find_reverse
entity Dallas/Fort Worth International Airport
relation start point
type disaster
[{'concept': 'activity'}, 'start point', 'Dallas/Fort Worth International Airport'] [{'concept': 'disaster'}, 'start point', 'Dallas/Fort Worth International Airport']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:start_point resource:Dallas/Fort_Worth_International_Airport . ?d rdf:type ontology:activity } UNION { ?d property:start_point resource:Dallas/Fort_Worth_International_Airport . ?d rdf:type ontology:disaster } }
[]
activity disaster
SYSTEM
3
Q783597 Q16177169 Q2003519
(c(Q1914636),P1427,Q459096) (c(Q3839081),P1427,Q459096)
action count
action union
action filter_type
action find_reverse
entity Q459096
relation P1427
type Q1914636
action filter_type
action find_reverse
entity Q459096
relation P1427
type Q3839081
[ANSWER]
[{'concept': 'Q1914636'}, 'P1427', 'Q459096'] [{'concept': 'Q3839081'}, 'P1427', 'Q459096']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:P1427 resource:Q459096 . ?d rdf:type ontology:Q1914636 } UNION { ?d property:P1427 resource:Q459096 . ?d rdf:type ontology:Q3839081 } }
American Airlines Flight 1420 Qantas Flights 7 and 8 Air Canada Flight 797
3
action count
action union
action filter_type
action find_reverse
entity Dallas/Fort Worth International Airport
relation start point
type activity
action filter_type
action find_reverse
entity Dallas/Fort Worth International Airport
relation start point
type disaster
[{'concept': 'activity'}, 'start point', 'Dallas/Fort Worth International Airport'] [{'concept': 'disaster'}, 'start point', 'Dallas/Fort Worth International Airport']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:start_point resource:Dallas/Fort_Worth_International_Airport . ?d rdf:type ontology:activity } UNION { ?d property:start_point resource:Dallas/Fort_Worth_International_Airport . ?d rdf:type ontology:disaster } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P137
Q43229 Q83620 Q2235308
USER
Which organizations are the facility operator of exactly 2 thoroughfares and ship types ?
(c(Q83620)|c(Q2235308),P137,c(Q43229))
action equal
action union
action find_reverse_tuple_counts
relation P137
type Q43229
type Q83620
action find_reverse_tuple_counts
relation P137
type Q43229
type Q2235308
value 2
[[{'concept': 'Q83620'}, {'concept': 'Q2235308'}], 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q83620 ) ( ontology:Q2235308 ) } } GROUP BY ?m } . FILTER ( ?a = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation operator
type organization
type thoroughfare
action find_reverse_tuple_counts
relation operator
type organization
type ship type
value 2
[[{'concept': 'thoroughfare'}, {'concept': 'ship type'}], 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:thoroughfare ) ( ontology:ship_type ) } } GROUP BY ?m } . FILTER ( ?a = 2 ) }
[]
organization thoroughfare ship type
Q154950 Q81307 Q130309
SYSTEM
Royal Dutch Shell, Greenpeace, Norwegian Cruise Line
Q16927194 Q5236981 Q512482 Q81307 Q2990078 Q3953521 Q154950 Q4789847 Q700563 Q616376 Q2165702 Q1759468 Q20789668 Q16258580 Q16422996 Q1023867 Q731200 Q1152748 Q2875081 Q6960637 Q1578597 Q2104715 Q446750 Q130309 Q458001 Q427881 Q864803
(c(Q83620)|c(Q2235308),P137,c(Q43229))
action equal
action union
action find_reverse_tuple_counts
relation P137
type Q43229
type Q83620
action find_reverse_tuple_counts
relation P137
type Q43229
type Q2235308
value 2
[ANSWERS] are the facility operator of exactly 2 thoroughfares and ship types
[[{'concept': 'Q83620'}, {'concept': 'Q2235308'}], 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q83620 ) ( ontology:Q2235308 ) } } GROUP BY ?m } . FILTER ( ?a = 2 ) }
Harbour City Ferries David MacBrayne Ltd Sovcomflot Greenpeace Ponant Sea Containers Royal Dutch Shell Argyll Ferries Deutsche Reichsbahn (GDR) Neste State Railway of Thailand P&O Cruises Paul Gauguin Cruises Western Ferries Nesskip CMA CGM Sea Shepherd Conservation Society Wightlink Azamara Club Cruises Nakilat Nordjyske Jernbaner Port Line Maersk Line Norwegian Cruise Line CP Ships Royal Caribbean Cruises Ltd. Korean State Railway
Royal Dutch Shell, Greenpeace and Norwegian Cruise Line are the facility operator of exactly 2 thoroughfares and ship types
Royal Dutch Shell Greenpeace Norwegian Cruise Line
action equal
action union
action find_reverse_tuple_counts
relation operator
type organization
type thoroughfare
action find_reverse_tuple_counts
relation operator
type organization
type ship type
value 2
[[{'concept': 'thoroughfare'}, {'concept': 'ship type'}], 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:thoroughfare ) ( ontology:ship_type ) } } GROUP BY ?m } . FILTER ( ?a = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q9332 Q6671777 Q62447
USER
How many aerodromes are mainly used as approximately 2 behaviors and structures ?
(c(Q62447),P366,c(Q9332)|c(Q6671777))
action count
action approx
action union
action find_tuple_counts
relation P366
type Q62447
type Q9332
action find_tuple_counts
relation P366
type Q62447
type Q6671777
value 2
[{'concept': 'Q62447'}, 'P366', [{'concept': 'Q9332'}, {'concept': 'Q6671777'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q9332 ) ( ontology:Q6671777 ) } } GROUP BY ?b } . FILTER ( ?t = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation use
type aerodrome
type behavior
action find_tuple_counts
relation use
type aerodrome
type structure
value 2
[{'concept': 'aerodrome'}, 'use', [{'concept': 'behavior'}, {'concept': 'structure'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:behavior ) ( ontology:structure ) } } GROUP BY ?b } . FILTER ( ?t = 2 ) }
[]
behavior structure aerodrome
SYSTEM
3
Q2721107 Q738719 Q1431257
(c(Q62447),P366,c(Q9332)|c(Q6671777))
action count
action approx
action union
action find_tuple_counts
relation P366
type Q62447
type Q9332
action find_tuple_counts
relation P366
type Q62447
type Q6671777
value 2
[ANSWER]
[{'concept': 'Q62447'}, 'P366', [{'concept': 'Q9332'}, {'concept': 'Q6671777'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q9332 ) ( ontology:Q6671777 ) } } GROUP BY ?b } . FILTER ( ?t = 2 ) }
Tambacounda Airport Paris–Le Bourget Airport Enrique Olaya Herrera Airport
3
action count
action approx
action union
action find_tuple_counts
relation use
type aerodrome
type behavior
action find_tuple_counts
relation use
type aerodrome
type structure
value 2
[{'concept': 'aerodrome'}, 'use', [{'concept': 'behavior'}, {'concept': 'structure'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:behavior ) ( ontology:structure ) } } GROUP BY ?b } . FILTER ( ?t = 2 ) }
[]