Simple Question (Direct)
Simple Question
Q4817814
P106
Q12737077
USER
Which occupations are the professions of Atsushi Koyano ?
(Q4817814,P106,c(Q12737077))
action filter_type
action find
entity Q4817814
relation P106
type Q12737077
['Q4817814', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q4817814 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Atsushi Koyano
action filter_type
action find
entity Atsushi Koyano
relation occupation
type occupation
['Atsushi Koyano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Atsushi_Koyano property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q4263842 Q6625963
SYSTEM
literary critic, novelist
Q4263842 Q6625963
(Q4817814,P106,c(Q12737077))
action filter_type
action find
entity Q4817814
relation P106
type Q12737077
The professions of Atsushi Koyano are a [ANSWERS]
['Q4817814', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q4817814 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
literary critic novelist
The professions of Atsushi Koyano are a literary critic and novelist
literary critic novelist
action filter_type
action find
entity Atsushi Koyano
relation occupation
type occupation
['Atsushi Koyano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Atsushi_Koyano property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4817814
P21
Q290
USER
What is the sex of that person ?
(Q4263842,P21,c(Q290)) (Q6625963,P21,c(Q290))
action filter_type
action find
entity Q4817814
relation P21
type Q290
['Q4263842', 'P21', {'concept': 'Q290'}] ['Q6625963', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q4817814 property:P21 ?o }
Atsushi Koyano
action filter_type
action find
entity Atsushi Koyano
relation gender
type sex
['literary critic', 'gender', {'concept': 'sex'}] ['novelist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Atsushi_Koyano property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4263842,P21,c(Q290)) (Q6625963,P21,c(Q290))
action filter_type
action find
entity Q4817814
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q4263842', 'P21', {'concept': 'Q290'}] ['Q6625963', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q4817814 property:P21 ?o }
male
The sex of that person is a male
male
action filter_type
action find
entity Atsushi Koyano
relation gender
type sex
['literary critic', 'gender', {'concept': 'sex'}] ['novelist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Atsushi_Koyano property:gender ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q6767385
P21
Q502895
USER
Is Mark Dobson a that sex ?
(Q6767385,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6767385
relation P21
['Q6767385', 'P21', 'Q6581097']
ASK WHERE { resource:Q6767385 property:P21 resource:Q6581097 }
male Mark Dobson
action is_in
entity male
action find
entity Mark Dobson
relation gender
['Mark Dobson', 'gender', 'male']
ASK WHERE { resource:Mark_Dobson property:gender resource:male }
[]
common name
SYSTEM
YES
(Q6767385,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6767385
relation P21
[ANSWER]
['Q6767385', 'P21', 'Q6581097']
ASK WHERE { resource:Q6767385 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Mark Dobson
relation gender
['Mark Dobson', 'gender', 'male']
ASK WHERE { resource:Mark_Dobson property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4263842 Q3356245
P425
Q874405
USER
How many social groups have literary critic or Civilekonom as thier associated field of occupation ?
(Q4263842,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q4263842
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q4263842', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?o property:P425 ?w . VALUES ( ?o ) { ( resource:Q4263842 ) ( resource:Q3356245 ) } }
literary critic Civilekonom
action count
action union
action filter_type
action find
entity literary critic
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['literary critic', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?o property:field_of_this_occupation ?w . VALUES ( ?o ) { ( resource:literary_critic ) ( resource:Civilekonom ) } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q4263842,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q4263842
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q4263842', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?o property:P425 ?w . VALUES ( ?o ) { ( resource:Q4263842 ) ( resource:Q3356245 ) } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity literary critic
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['literary critic', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?o property:field_of_this_occupation ?w . VALUES ( ?o ) { ( resource:literary_critic ) ( resource:Civilekonom ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6625963
P101
Q502895
USER
Which people have specialisation in novelist ?
(c(Q502895),P101,Q6625963)
action filter_type
action find_reverse
entity Q6625963
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q6625963']
SELECT DISTINCT ?w WHERE { ?w property:P101 resource:Q6625963 . ?w rdf:type ontology:Q502895 }
novelist
action filter_type
action find_reverse
entity novelist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novelist']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work resource:novelist . ?w rdf:type ontology:common_name }
[]
common name
Q134942 Q16211564 Q24763197
SYSTEM
William Somerset Maugham, Marlon James, Annette Lyon
Q134942 Q16211564 Q24763197 Q24763778
(c(Q502895),P101,Q6625963)
action filter_type
action find_reverse
entity Q6625963
relation P101
type Q502895
[ANSWERS] have specialisation in novelist
[{'concept': 'Q502895'}, 'P101', 'Q6625963']
SELECT DISTINCT ?w WHERE { ?w property:P101 resource:Q6625963 . ?w rdf:type ontology:Q502895 }
William Somerset Maugham Marlon James Annette Lyon Lisa McInerney
William Somerset Maugham, Marlon James and Annette Lyon have specialisation in novelist
William Somerset Maugham Marlon James Annette Lyon
action filter_type
action find_reverse
entity novelist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novelist']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work resource:novelist . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q134942 Q16211564 Q24763197
P21
Q290
USER
Which sexes do William Somerset Maugham, Marlon James and Annette Lyon belong to ?
(Q134942,P21,c(Q290)) (Q16211564,P21,c(Q290)) (Q24763197,P21,c(Q290))
action union
action filter_type
action find
entity Q134942
relation P21
type Q290
action filter_type
action find
entity Q16211564
relation P21
type Q290
action filter_type
action find
entity Q24763197
relation P21
type Q290
['Q134942', 'P21', {'concept': 'Q290'}] ['Q16211564', 'P21', {'concept': 'Q290'}] ['Q24763197', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q290 . resource:Q134942 property:P21 ?v } UNION { resource:Q16211564 property:P21 ?v . ?v rdf:type ontology:Q290 } }
William Somerset Maugham Marlon James Annette Lyon
action union
action filter_type
action find
entity William Somerset Maugham
relation gender
type sex
action filter_type
action find
entity Marlon James
relation gender
type sex
action filter_type
action find
entity Annette Lyon
relation gender
type sex
['William Somerset Maugham', 'gender', {'concept': 'sex'}] ['Marlon James', 'gender', {'concept': 'sex'}] ['Annette Lyon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:sex . resource:William_Somerset_Maugham property:gender ?v } UNION { resource:Marlon_James property:gender ?v . ?v rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q134942,P21,c(Q290)) (Q16211564,P21,c(Q290)) (Q24763197,P21,c(Q290))
action union
action filter_type
action find
entity Q134942
relation P21
type Q290
action filter_type
action find
entity Q16211564
relation P21
type Q290
action filter_type
action find
entity Q24763197
relation P21
type Q290
[ANSWERS]
['Q134942', 'P21', {'concept': 'Q290'}] ['Q16211564', 'P21', {'concept': 'Q290'}] ['Q24763197', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q290 . resource:Q134942 property:P21 ?v } UNION { resource:Q16211564 property:P21 ?v . ?v rdf:type ontology:Q290 } }
male male female
William Somerset Maugham , Marlon James and Annette Lyon belong to the male, male and female
male male female
action union
action filter_type
action find
entity William Somerset Maugham
relation gender
type sex
action filter_type
action find
entity Marlon James
relation gender
type sex
action filter_type
action find
entity Annette Lyon
relation gender
type sex
['William Somerset Maugham', 'gender', {'concept': 'sex'}] ['Marlon James', 'gender', {'concept': 'sex'}] ['Annette Lyon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:sex . resource:William_Somerset_Maugham property:gender ?v } UNION { resource:Marlon_James property:gender ?v . ?v rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q134942
P27
Q15617994
USER
Which administrative territory is the native country of William Somerset Maugham ?
(Q134942,P27,c(Q15617994))
action filter_type
action find
entity Q134942
relation P27
type Q15617994
['Q134942', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q134942 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
William Somerset Maugham
action filter_type
action find
entity William Somerset Maugham
relation country of citizenship
type designation for an administrative territorial entity
['William Somerset Maugham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:William_Somerset_Maugham property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q134942,P27,c(Q15617994))
action filter_type
action find
entity Q134942
relation P27
type Q15617994
The [ANSWER] is the native country of William Somerset Maugham
['Q134942', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q134942 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of William Somerset Maugham
United Kingdom
action filter_type
action find
entity William Somerset Maugham
relation country of citizenship
type designation for an administrative territorial entity
['William Somerset Maugham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:William_Somerset_Maugham property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q134942
P20
Q56061
USER
Where did that person expire ?
(Q145,P20,c(Q56061))
action filter_type
action find
entity Q134942
relation P20
type Q56061
['Q145', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q134942 property:P20 ?s }
William Somerset Maugham
action filter_type
action find
entity William Somerset Maugham
relation place of death
type administrative territorial entity
['United Kingdom', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:William_Somerset_Maugham property:place_of_death ?s }
[]
administrative territorial entity
Q33959
SYSTEM
Nice
Q33959
(Q145,P20,c(Q56061))
action filter_type
action find
entity Q134942
relation P20
type Q56061
That person expired [ANSWER]
['Q145', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q134942 property:P20 ?s }
Nice
That person expired Nice
Nice
action filter_type
action find
entity William Somerset Maugham
relation place of death
type administrative territorial entity
['United Kingdom', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:William_Somerset_Maugham property:place_of_death ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027480
P532
Q56061 Q2235308
USER
Which ship types are the registry port of more number of administrative territories than Advance ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027480
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?d ) WHERE { ?k rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 . ?k property:P532 ?j } GROUP BY ?k } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q24027480 property:P532 ?h . ?h rdf:type ontology:Q2235308 } } }
Advance
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 Advance
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?d ) WHERE { ?k rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity . ?k property:port_of_registry ?j } GROUP BY ?k } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Advance property:port_of_registry ?h . ?h rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
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 greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027480
relation P532
type Q2235308
[ANSWERS] are the registry port of more number of administrative territories than Advance
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?d ) WHERE { ?k rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 . ?k property:P532 ?j } GROUP BY ?k } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q24027480 property:P532 ?h . ?h rdf:type ontology:Q2235308 } } }
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
MS Azura, SS Maxim Gorkiy and RMS Aquitania are the registry port of more number of administrative territories than Advance
MS Azura SS Maxim Gorkiy RMS Aquitania
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 Advance
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?d ) WHERE { ?k rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity . ?k property:port_of_registry ?j } GROUP BY ?k } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Advance property:port_of_registry ?h . ?h rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24026931
P532
Q56061 Q2235308
USER
And how about Towy?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026931
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?a ) WHERE { ?z property:P532 ?i . ?i rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2235308 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:Q2235308 . resource:Q24026931 property:P532 ?k } } . FILTER ( ?a > ?f ) }
Towy
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 Towy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?a ) WHERE { ?z property:port_of_registry ?i . ?i rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:ship_type } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:ship_type . resource:Towy property:port_of_registry ?k } } . FILTER ( ?a > ?f ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
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 greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026931
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?a ) WHERE { ?z property:P532 ?i . ?i rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2235308 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:Q2235308 . resource:Q24026931 property:P532 ?k } } . FILTER ( ?a > ?f ) }
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
MS Azura SS Maxim Gorkiy RMS Aquitania
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 Towy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?a ) WHERE { ?z property:port_of_registry ?i . ?i rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:ship_type } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:ship_type . resource:Towy property:port_of_registry ?k } } . FILTER ( ?a > ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P750
Q838948 Q166142
USER
How many works of art or applications have United Kingdom as their distributor ?
(c(Q838948),P750,Q145) (c(Q166142),P750,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P750
type Q838948
action filter_type
action find_reverse
entity Q145
relation P750
type Q166142
[{'concept': 'Q838948'}, 'P750', 'Q145'] [{'concept': 'Q166142'}, 'P750', 'Q145']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type work of art
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type application
[{'concept': 'work of art'}, 'distributor', 'United Kingdom'] [{'concept': 'application'}, 'distributor', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:application ) } }
[]
work of art application
SYSTEM
5
Q692821 Q1423320 Q1305295 Q610749 Q3038553
(c(Q838948),P750,Q145) (c(Q166142),P750,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P750
type Q838948
action filter_type
action find_reverse
entity Q145
relation P750
type Q166142
[ANSWER]
[{'concept': 'Q838948'}, 'P750', 'Q145'] [{'concept': 'Q166142'}, 'P750', 'Q145']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } }
My Summer of Love GTR – FIA GT Racing Game Pilotwings Mega Man 7 Dracula: Origin
5
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type work of art
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type application
[{'concept': 'work of art'}, 'distributor', 'United Kingdom'] [{'concept': 'application'}, 'distributor', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:application ) } }
[]