Simple Question (Direct)
Simple Question
Q4716462
P106
Q12737077
USER
What does Alessio Arfè do for a living ?
(Q4716462,P106,c(Q12737077))
action filter_type
action find
entity Q4716462
relation P106
type Q12737077
['Q4716462', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q4716462 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Alessio Arfè
action filter_type
action find
entity Alessio Arfè
relation occupation
type occupation
['Alessio Arfè', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Alessio_Arfè property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4716462,P106,c(Q12737077))
action filter_type
action find
entity Q4716462
relation P106
type Q12737077
[ANSWER] Alessio Arfè does for a living
['Q4716462', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q4716462 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
Association football player Alessio Arfè does for a living
association football player
action filter_type
action find
entity Alessio Arfè
relation occupation
type occupation
['Alessio Arfè', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Alessio_Arfè property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4716462
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q4716462
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q4716462 property:P641 ?g . ?g rdf:type ontology:Q349 }
Alessio Arfè
action filter_type
action find
entity Alessio Arfè
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Alessio_Arfè property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q4716462
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q4716462 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Alessio Arfè
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Alessio_Arfè property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4716462
P21
Q290
USER
Which sex does that person belong to ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4716462
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q4716462 property:P21 ?d }
Alessio Arfè
action filter_type
action find
entity Alessio Arfè
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Alessio_Arfè property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4716462
relation P21
type Q290
That person belongs to [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q4716462 property:P21 ?d }
male
That person belongs to male
male
action filter_type
action find
entity Alessio Arfè
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Alessio_Arfè property:gender ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q12973014 Q18608583
USER
How many sports did approximately 1007 sports teams or recurring sporting events participate in ?
(c(Q12973014)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 1007
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?d WHERE { { ?v property:P641 ?d . ?d rdf:type ontology:Q349 . ?v rdf:type ontology:Q12973014 } UNION { ?v property:P641 ?d . ?d rdf:type ontology:Q349 . ?v rdf:type ontology:Q18608583 } } GROUP BY ?d } . FILTER ( ?f = 1007 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 1007
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?d WHERE { { ?v property:sport ?d . ?d rdf:type ontology:sport . ?v rdf:type ontology:sports_team } UNION { ?v property:sport ?d . ?d rdf:type ontology:sport . ?v rdf:type ontology:recurring_sporting_event } } GROUP BY ?d } . FILTER ( ?f = 1007 ) }
[]
sport sports team recurring sporting event
SYSTEM
3
Q5372 Q5369 Q41466
(c(Q12973014)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 1007
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?d WHERE { { ?v property:P641 ?d . ?d rdf:type ontology:Q349 . ?v rdf:type ontology:Q12973014 } UNION { ?v property:P641 ?d . ?d rdf:type ontology:Q349 . ?v rdf:type ontology:Q18608583 } } GROUP BY ?d } . FILTER ( ?f = 1007 ) }
basketball baseball ice hockey
3
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 1007
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?d WHERE { { ?v property:sport ?d . ?d rdf:type ontology:sport . ?v rdf:type ontology:sports_team } UNION { ?v property:sport ?d . ?d rdf:type ontology:sport . ?v rdf:type ontology:recurring_sporting_event } } GROUP BY ?d } . FILTER ( ?f = 1007 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4716462
P19
Q56061
USER
Where was Alessio Arfè born ?
(Q4716462,P19,c(Q56061))
action filter_type
action find
entity Q4716462
relation P19
type Q56061
['Q4716462', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4716462 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Alessio Arfè
action filter_type
action find
entity Alessio Arfè
relation place of birth
type administrative territorial entity
['Alessio Arfè', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Alessio_Arfè property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q4716462,P19,c(Q56061))
action filter_type
action find
entity Q4716462
relation P19
type Q56061
Alessio Arfè was born in [ANSWER]
['Q4716462', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4716462 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Naples
Alessio Arfè was born in Naples
Naples
action filter_type
action find
entity Alessio Arfè
relation place of birth
type administrative territorial entity
['Alessio Arfè', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Alessio_Arfè property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12816423
Q56061
USER
And what about Lajos Sárközi?
(Q12816423,P19,c(Q56061))
action filter_type
action find
entity Q12816423
relation P19
type Q56061
['Q12816423', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q12816423 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Lajos Sárközi
action filter_type
action find
entity Lajos Sárközi
relation place of birth
type administrative territorial entity
['Lajos Sárközi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Lajos_Sárközi property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q12816423,P19,c(Q56061))
action filter_type
action find
entity Q12816423
relation P19
type Q56061
[ANSWER]
['Q12816423', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q12816423 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Budapest
Budapest
action filter_type
action find
entity Lajos Sárközi
relation place of birth
type administrative territorial entity
['Lajos Sárközi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Lajos_Sárközi property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1781 Q7337142 Q7910130
P206
Q355304
USER
Is Budapest situated in the neighbourhood of River Beult and Valea Obădarului River ?
(Q1781,P206,Q7337142) (Q1781,P206,Q7910130)
action is_in
entity Q1781
action intersection
action find_reverse
entity Q7337142
relation P206
action find_reverse
entity Q7910130
relation P206
['Q1781', 'P206', 'Q7337142'] ['Q1781', 'P206', 'Q7910130']
ASK WHERE { resource:Q1781 property:P206 resource:Q7337142 . resource:Q1781 property:P206 resource:Q7910130 }
Budapest River Beult Valea Obădarului River
action is_in
entity Budapest
action intersection
action find_reverse
entity River Beult
relation located next to body of water
action find_reverse
entity Valea Obădarului River
relation located next to body of water
['Budapest', 'located next to body of water', 'River Beult'] ['Budapest', 'located next to body of water', 'Valea Obădarului River']
ASK WHERE { resource:Budapest property:located_next_to_body_of_water resource:River_Beult . resource:Budapest property:located_next_to_body_of_water resource:Valea_Obădarului_River }
[]
watercourse
SYSTEM
NO
(Q1781,P206,Q7337142) (Q1781,P206,Q7910130)
action is_in
entity Q1781
action intersection
action find_reverse
entity Q7337142
relation P206
action find_reverse
entity Q7910130
relation P206
[ANSWER]
['Q1781', 'P206', 'Q7337142'] ['Q1781', 'P206', 'Q7910130']
ASK WHERE { resource:Q1781 property:P206 resource:Q7337142 . resource:Q1781 property:P206 resource:Q7910130 }
No
action is_in
entity Budapest
action intersection
action find_reverse
entity River Beult
relation located next to body of water
action find_reverse
entity Valea Obădarului River
relation located next to body of water
['Budapest', 'located next to body of water', 'River Beult'] ['Budapest', 'located next to body of water', 'Valea Obădarului River']
ASK WHERE { resource:Budapest property:located_next_to_body_of_water resource:River_Beult . resource:Budapest property:located_next_to_body_of_water resource:Valea_Obădarului_River }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2634 Q1290479
P190
Q515
USER
Is Ledeč nad Sázavou sister town of Naples ?
(Q2634,P190,Q1290479)
action is_in
entity Q1290479
action find
entity Q2634
relation P190
['Q2634', 'P190', 'Q1290479']
ASK WHERE { resource:Q2634 property:P190 resource:Q1290479 }
Naples Ledeč nad Sázavou
action is_in
entity Ledeč nad Sázavou
action find
entity Naples
relation sister city
['Naples', 'sister city', 'Ledeč nad Sázavou']
ASK WHERE { resource:Naples property:sister_city resource:Ledeč_nad_Sázavou }
[]
city
SYSTEM
NO
(Q2634,P190,Q1290479)
action is_in
entity Q1290479
action find
entity Q2634
relation P190
[ANSWER]
['Q2634', 'P190', 'Q1290479']
ASK WHERE { resource:Q2634 property:P190 resource:Q1290479 }
No
action is_in
entity Ledeč nad Sázavou
action find
entity Naples
relation sister city
['Naples', 'sister city', 'Ledeč nad Sázavou']
ASK WHERE { resource:Naples property:sister_city resource:Ledeč_nad_Sázavou }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q937857 Q185851
P425
Q349
USER
Is lacrosse associated with the field of occupation association football player ?
(Q937857,P425,Q185851)
action is_in
entity Q185851
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q185851']
ASK WHERE { resource:Q937857 property:P425 resource:Q185851 }
association football player lacrosse
action is_in
entity lacrosse
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'lacrosse']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:lacrosse }
[]
sport
SYSTEM
NO
(Q937857,P425,Q185851)
action is_in
entity Q185851
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q185851']
ASK WHERE { resource:Q937857 property:P425 resource:Q185851 }
No
action is_in
entity lacrosse
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'lacrosse']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:lacrosse }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027080
P532
Q56061 Q2235308
USER
How many ship types have their base port as more number of administrative territories than Glynaeron ?
(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 Q24027080
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?n ) WHERE { ?d property:P532 ?u . ?d rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q24027080 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?l ) }
Glynaeron
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 Glynaeron
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?n ) WHERE { ?d property:port_of_registry ?u . ?d rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Glynaeron property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } . FILTER ( ?n > ?l ) }
[]
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 Q24027080
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?n ) WHERE { ?d property:P532 ?u . ?d rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q24027080 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?l ) }
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 Glynaeron
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?n ) WHERE { ?d property:port_of_registry ?u . ?d rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Glynaeron property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } . FILTER ( ?n > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027352
P532
Q56061 Q2235308
USER
And also tell me about Fairy?
(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 Q24027352
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?g ) WHERE { ?z property:P532 ?p . ?z rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Q24027352 property:P532 ?x . ?x rdf:type ontology:Q2235308 } } . FILTER ( ?g > ?b ) }
Fairy
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 Fairy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?g ) WHERE { ?z property:port_of_registry ?p . ?z rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Fairy property:port_of_registry ?x . ?x rdf:type ontology:ship_type } } . FILTER ( ?g > ?b ) }
[]
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 Q24027352
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?g ) WHERE { ?z property:P532 ?p . ?z rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Q24027352 property:P532 ?x . ?x rdf:type ontology:Q2235308 } } . FILTER ( ?g > ?b ) }
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 Fairy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?g ) WHERE { ?z property:port_of_registry ?p . ?z rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Fairy property:port_of_registry ?x . ?x rdf:type ontology:ship_type } } . FILTER ( ?g > ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q597
P840
Q838948
USER
Which works of art have their narrative set in Lisbon ?
(c(Q838948),P840,Q597)
action filter_type
action find_reverse
entity Q597
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q597']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q597 . ?a rdf:type ontology:Q838948 }
Lisbon
action filter_type
action find_reverse
entity Lisbon
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Lisbon']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:Lisbon . ?a rdf:type ontology:work_of_art }
[]
work of art
Q1748666 Q694651 Q6002660
SYSTEM
Tabu, Lisbon Story, Imagine
Q1748666 Q694651 Q6002660
(c(Q838948),P840,Q597)
action filter_type
action find_reverse
entity Q597
relation P840
type Q838948
[ANSWERS] have their narrative set in Lisbon
[{'concept': 'Q838948'}, 'P840', 'Q597']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q597 . ?a rdf:type ontology:Q838948 }
Tabu Lisbon Story Imagine
Tabu, Lisbon Story and Imagine have their narrative set in Lisbon
Tabu Lisbon Story Imagine
action filter_type
action find_reverse
entity Lisbon
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Lisbon']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:Lisbon . ?a rdf:type ontology:work_of_art }
[]