Simple Question (Direct)
Simple Question
Q299435
P106
Q12737077
USER
Which occupation is the profession of Petter Hansson ?
(Q299435,P106,c(Q12737077))
action filter_type
action find
entity Q299435
relation P106
type Q12737077
['Q299435', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q299435 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Petter Hansson
action filter_type
action find
entity Petter Hansson
relation occupation
type occupation
['Petter Hansson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Petter_Hansson property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q299435,P106,c(Q12737077))
action filter_type
action find
entity Q299435
relation P106
type Q12737077
Player [ANSWER] is the profession of Petter Hansson
['Q299435', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q299435 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Petter Hansson
association football player
action filter_type
action find
entity Petter Hansson
relation occupation
type occupation
['Petter Hansson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Petter_Hansson property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Who works in the domain of that occupation ?
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P101 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:field_of_work resource:association_football_player }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] works in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P101 resource:Q937857 }
Akaki Devadze
Akaki Devadze works in the domain of that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:field_of_work resource:association_football_player }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2089026 Q581715
P27
Q15617994
USER
Is Schönwalde-Glien the native country of that person ?
(Q2089026,P27,Q581715)
action is_in
entity Q581715
action find
entity Q2089026
relation P27
['Q2089026', 'P27', 'Q581715']
ASK WHERE { resource:Q2089026 property:P27 resource:Q581715 }
Akaki Devadze Schönwalde-Glien
action is_in
entity Schönwalde-Glien
action find
entity Akaki Devadze
relation country of citizenship
['Akaki Devadze', 'country of citizenship', 'Schönwalde-Glien']
ASK WHERE { resource:Akaki_Devadze property:country_of_citizenship resource:Schönwalde-Glien }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2089026,P27,Q581715)
action is_in
entity Q581715
action find
entity Q2089026
relation P27
[ANSWER]
['Q2089026', 'P27', 'Q581715']
ASK WHERE { resource:Q2089026 property:P27 resource:Q581715 }
No
action is_in
entity Schönwalde-Glien
action find
entity Akaki Devadze
relation country of citizenship
['Akaki Devadze', 'country of citizenship', 'Schönwalde-Glien']
ASK WHERE { resource:Akaki_Devadze property:country_of_citizenship resource:Schönwalde-Glien }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q971605 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation and were Imants Bleidelis a part of ?
AND((Q937857,P425,c(Q349)), (Q971605,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q971605
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q971605', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q971605 property:P641 ?k . resource:Q937857 property:P425 ?k }
Imants Bleidelis association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Imants Bleidelis
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Imants Bleidelis', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Imants_Bleidelis property:sport ?k . resource:association_football_player property:field_of_this_occupation ?k }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q971605,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q971605
relation P641
type Q349
Field [ANSWER] have [ANSWER] player as the associated field of occupation and were Imants Bleidelis a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q971605', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q971605 property:P641 ?k . resource:Q937857 property:P425 ?k }
association football
Field association football have association football player as the associated field of occupation and were Imants Bleidelis a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Imants Bleidelis
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Imants Bleidelis', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Imants_Bleidelis property:sport ?k . resource:association_football_player property:field_of_this_occupation ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q6709013
P641
Q502895
USER
Is Lynn Faulds Wood associated with playing that sport ?
(Q6709013,P641,Q2736)
action is_in
entity Q6709013
action find
entity Q2736
relation P641
['Q6709013', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q6709013 }
association football Lynn Faulds Wood
action is_in
entity Lynn Faulds Wood
action find
entity association football
relation sport
['Lynn Faulds Wood', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Lynn_Faulds_Wood }
[]
common name
SYSTEM
NO
(Q6709013,P641,Q2736)
action is_in
entity Q6709013
action find
entity Q2736
relation P641
[ANSWER]
['Q6709013', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q6709013 }
No
action is_in
entity Lynn Faulds Wood
action find
entity association football
relation sport
['Lynn Faulds Wood', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Lynn_Faulds_Wood }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q299435 Q37285 Q11782846
P1344
Q15275719
USER
Did Petter Hansson take part in 2006 FIFA World Cup and Polish Pétanque Championships ?
(Q299435,P1344,Q37285) (Q299435,P1344,Q11782846)
action is_in
entity Q299435
action intersection
action find_reverse
entity Q37285
relation P1344
action find_reverse
entity Q11782846
relation P1344
['Q299435', 'P1344', 'Q37285'] ['Q299435', 'P1344', 'Q11782846']
ASK WHERE { resource:Q299435 property:P1344 resource:Q37285 . resource:Q299435 property:P1344 resource:Q11782846 }
Petter Hansson 2006 FIFA World Cup Polish Pétanque Championships
action is_in
entity Petter Hansson
action intersection
action find_reverse
entity 2006 FIFA World Cup
relation participant of
action find_reverse
entity Polish Pétanque Championships
relation participant of
['Petter Hansson', 'participant of', '2006 FIFA World Cup'] ['Petter Hansson', 'participant of', 'Polish Pétanque Championships']
ASK WHERE { resource:Petter_Hansson property:participant_of resource:2006_FIFA_World_Cup . resource:Petter_Hansson property:participant_of resource:Polish_Pétanque_Championships }
[]
recurring event
SYSTEM
YES and NO respectively
(Q299435,P1344,Q37285) (Q299435,P1344,Q11782846)
action is_in
entity Q299435
action intersection
action find_reverse
entity Q37285
relation P1344
action find_reverse
entity Q11782846
relation P1344
[ANSWER]
['Q299435', 'P1344', 'Q37285'] ['Q299435', 'P1344', 'Q11782846']
ASK WHERE { resource:Q299435 property:P1344 resource:Q37285 . resource:Q299435 property:P1344 resource:Q11782846 }
YES and NO respectively
action is_in
entity Petter Hansson
action intersection
action find_reverse
entity 2006 FIFA World Cup
relation participant of
action find_reverse
entity Polish Pétanque Championships
relation participant of
['Petter Hansson', 'participant of', '2006 FIFA World Cup'] ['Petter Hansson', 'participant of', 'Polish Pétanque Championships']
ASK WHERE { resource:Petter_Hansson property:participant_of resource:2006_FIFA_World_Cup . resource:Petter_Hansson property:participant_of resource:Polish_Pétanque_Championships }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q299435 Q4931648
P54
Q12973014
USER
How many sports teams are Petter Hansson or Bob Allen a member of ?
(Q299435,P54,c(Q12973014)) (Q4931648,P54,c(Q12973014))
action count
action union
action filter_type
action find
entity Q299435
relation P54
type Q12973014
action filter_type
action find
entity Q4931648
relation P54
type Q12973014
['Q299435', 'P54', {'concept': 'Q12973014'}] ['Q4931648', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { resource:Q299435 property:P54 ?w . ?w rdf:type ontology:Q12973014 } UNION { resource:Q4931648 property:P54 ?w . ?w rdf:type ontology:Q12973014 } }
Petter Hansson Bob Allen
action count
action union
action filter_type
action find
entity Petter Hansson
relation member of sports team
type sports team
action filter_type
action find
entity Bob Allen
relation member of sports team
type sports team
['Petter Hansson', 'member of sports team', {'concept': 'sports team'}] ['Bob Allen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { resource:Petter_Hansson property:member_of_sports_team ?w . ?w rdf:type ontology:sports_team } UNION { resource:Bob_Allen property:member_of_sports_team ?w . ?w rdf:type ontology:sports_team } }
[]
sports team
SYSTEM
3
Q650840 Q6868005 Q826751
(Q299435,P54,c(Q12973014)) (Q4931648,P54,c(Q12973014))
action count
action union
action filter_type
action find
entity Q299435
relation P54
type Q12973014
action filter_type
action find
entity Q4931648
relation P54
type Q12973014
[ANSWER]
['Q299435', 'P54', {'concept': 'Q12973014'}] ['Q4931648', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { resource:Q299435 property:P54 ?w . ?w rdf:type ontology:Q12973014 } UNION { resource:Q4931648 property:P54 ?w . ?w rdf:type ontology:Q12973014 } }
Philadelphia Phillies Minneapolis Millers Cincinnati Reds
3
action count
action union
action filter_type
action find
entity Petter Hansson
relation member of sports team
type sports team
action filter_type
action find
entity Bob Allen
relation member of sports team
type sports team
['Petter Hansson', 'member of sports team', {'concept': 'sports team'}] ['Bob Allen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { resource:Petter_Hansson property:member_of_sports_team ?w . ?w rdf:type ontology:sports_team } UNION { resource:Bob_Allen property:member_of_sports_team ?w . ?w rdf:type ontology:sports_team } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by exactly 5 people ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?n = 5 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?n = 5 ) }
[]
musical instrument common name
SYSTEM
2
Q213461 Q213100
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?n = 5 ) }
harmonium tabla
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?n = 5 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q299435
P27
Q15617994
USER
How many administrative territories do Petter Hansson belong to ?
(Q299435,P27,c(Q15617994))
action count
action filter_type
action find
entity Q299435
relation P27
type Q15617994
['Q299435', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q299435 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Petter Hansson
action count
action filter_type
action find
entity Petter Hansson
relation country of citizenship
type designation for an administrative territorial entity
['Petter Hansson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Petter_Hansson property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q299435,P27,c(Q15617994))
action count
action filter_type
action find
entity Q299435
relation P27
type Q15617994
[ANSWER]
['Q299435', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q299435 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Petter Hansson
relation country of citizenship
type designation for an administrative territorial entity
['Petter Hansson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Petter_Hansson property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2941833
P27
Q15617994
USER
And how about Catherine Bernstein?
(Q2941833,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2941833
relation P27
type Q15617994
['Q2941833', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q2941833 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Catherine Bernstein
action count
action filter_type
action find
entity Catherine Bernstein
relation country of citizenship
type designation for an administrative territorial entity
['Catherine Bernstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Catherine_Bernstein property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q2941833,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2941833
relation P27
type Q15617994
[ANSWER]
['Q2941833', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q2941833 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Catherine Bernstein
relation country of citizenship
type designation for an administrative territorial entity
['Catherine Bernstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Catherine_Bernstein property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3934405
Q15617994
USER
And what about Riccardo Chicco?
(Q3934405,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3934405
relation P27
type Q15617994
['Q3934405', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q3934405 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Riccardo Chicco
action count
action filter_type
action find
entity Riccardo Chicco
relation country of citizenship
type designation for an administrative territorial entity
['Riccardo Chicco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Riccardo_Chicco property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3934405,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3934405
relation P27
type Q15617994
[ANSWER]
['Q3934405', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q3934405 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Riccardo Chicco
relation country of citizenship
type designation for an administrative territorial entity
['Riccardo Chicco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Riccardo_Chicco property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3934405
P20
Q56061
USER
Where did the demise of that person occur ?
action filter_type
action find
entity Q3934405
relation P20
type Q56061
SELECT DISTINCT ?k WHERE { resource:Q3934405 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Riccardo Chicco
action filter_type
action find
entity Riccardo Chicco
relation place of death
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Riccardo_Chicco property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495
SYSTEM
Turin
Q495
action filter_type
action find
entity Q3934405
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q3934405 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Turin
The demise of that person occurred in Turin
Turin
action filter_type
action find
entity Riccardo Chicco
relation place of death
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Riccardo_Chicco property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027222
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their base harbour than Thomas & Sons ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027222
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?w ) WHERE { ?b property:P532 ?h . ?h rdf:type ontology:Q56061 . ?b rdf:type ontology:Q2235308 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q24027222 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?w > ?c ) }
Thomas & Sons
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Thomas & Sons
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?w ) WHERE { ?b property:port_of_registry ?h . ?h rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:ship_type } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Thomas_&_Sons property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?w > ?c ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027222
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?w ) WHERE { ?b property:P532 ?h . ?h rdf:type ontology:Q56061 . ?b rdf:type ontology:Q2235308 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q24027222 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?w > ?c ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Thomas & Sons
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?w ) WHERE { ?b property:port_of_registry ?h . ?h rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:ship_type } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Thomas_&_Sons property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?w > ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of atleast 2 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ontology:Q56061 . ?v rdf:type ontology:Q2235308 . ?v property:P532 ?r } GROUP BY ?v } . FILTER ( ?p >= 2 ) }
action atleast
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 ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:ship_type . ?v property:port_of_registry ?r } GROUP BY ?v } . FILTER ( ?p >= 2 ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q11707059
SYSTEM
MS Azura, SS Maxim Gorkiy, MS Arrow
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] are the registry port of atleast 2 administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ontology:Q56061 . ?v rdf:type ontology:Q2235308 . ?v property:P532 ?r } GROUP BY ?v } . FILTER ( ?p >= 2 ) }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and MS Arrow are the registry port of atleast 2 administrative territories
MS Azura SS Maxim Gorkiy MS Arrow
action atleast
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 ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:ship_type . ?v property:port_of_registry ?r } GROUP BY ?v } . FILTER ( ?p >= 2 ) }
[]