Simple Question (Direct)
Simple Question
Q374760
P734
Q82799
USER
Who is associated with Danièle Thompson ?
(Q374760,P734,c(Q82799))
action filter_type
action find
entity Q374760
relation P734
type Q82799
['Q374760', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q374760 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Danièle Thompson
action filter_type
action find
entity Danièle Thompson
relation family name
type name
['Danièle Thompson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Danièle_Thompson property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q2803433
SYSTEM
Thompson
Q2803433
(Q374760,P734,c(Q82799))
action filter_type
action find
entity Q374760
relation P734
type Q82799
S [ANSWER] is associated with Danièle [ANSWER]
['Q374760', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q374760 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Thompson
S Thompson is associated with Danièle Thompson
Thompson
action filter_type
action find
entity Danièle Thompson
relation family name
type name
['Danièle Thompson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Danièle_Thompson property:family_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2803433
P1533
Q82799
USER
Which name is the same as that one ?
(c(Q82799),P1533,Q2803433)
action filter_type
action find_reverse
entity Q2803433
relation P1533
type Q82799
[{'concept': 'Q82799'}, 'P1533', 'Q2803433']
SELECT DISTINCT ?g WHERE { ?g property:P1533 resource:Q2803433 . ?g rdf:type ontology:Q82799 }
Thompson
action filter_type
action find_reverse
entity Thompson
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Thompson']
SELECT DISTINCT ?g WHERE { ?g property:family_name_identical_to_this_first_name resource:Thompson . ?g rdf:type ontology:name }
[]
name
Q21020754
SYSTEM
Thompson
Q21020754
(c(Q82799),P1533,Q2803433)
action filter_type
action find_reverse
entity Q2803433
relation P1533
type Q82799
[ANSWER] is the same as that one
[{'concept': 'Q82799'}, 'P1533', 'Q2803433']
SELECT DISTINCT ?g WHERE { ?g property:P1533 resource:Q2803433 . ?g rdf:type ontology:Q82799 }
Thompson
Thompson is the same as that one
Thompson
action filter_type
action find_reverse
entity Thompson
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Thompson']
SELECT DISTINCT ?g WHERE { ?g property:family_name_identical_to_this_first_name resource:Thompson . ?g rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21020754
P735
Q502895
USER
Which people have that one as first name ?
(c(Q502895),P735,Q21020754)
action filter_type
action find_reverse
entity Q21020754
relation P735
type Q502895
[{'concept': 'Q502895'}, 'P735', 'Q21020754']
SELECT DISTINCT ?w WHERE { ?w property:P735 resource:Q21020754 . ?w rdf:type ontology:Q502895 }
Thompson
action filter_type
action find_reverse
entity Thompson
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Thompson']
SELECT DISTINCT ?w WHERE { ?w property:given_name resource:Thompson . ?w rdf:type ontology:common_name }
[]
common name
Q15452559 Q7795749 Q13218859
SYSTEM
Thompson Cooper, Thompson Mann, Thompson W. McNeely
Q17421779 Q19664962 Q1586283 Q26728895 Q15452559 Q7795733 Q7795749 Q16856955 Q7795719 Q13218859 Q1317315 Q7817072
(c(Q502895),P735,Q21020754)
action filter_type
action find_reverse
entity Q21020754
relation P735
type Q502895
[ANSWERS] have that one as first name
[{'concept': 'Q502895'}, 'P735', 'Q21020754']
SELECT DISTINCT ?w WHERE { ?w property:P735 resource:Q21020754 . ?w rdf:type ontology:Q502895 }
Thompson M. Scoon Thompson Buchanan Thompson Benton Ferguson Howard Thompson Lewis Thompson Cooper Thompson García Thompson Mann Thompson Weeks Thompson Donald Thompson W. McNeely Thompson H. Murch Tom O'Brien
Thompson Cooper, Thompson Mann and Thompson W. McNeely have that one as first name
Thompson Cooper Thompson Mann Thompson W. McNeely
action filter_type
action find_reverse
entity Thompson
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Thompson']
SELECT DISTINCT ?w WHERE { ?w property:given_name resource:Thompson . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15452559 Q7795749 Q13218859
P27
Q15617994
USER
Which administrative territories are the native countriesof those people ?
(Q15452559,P27,c(Q15617994)) (Q7795749,P27,c(Q15617994)) (Q13218859,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q15452559', 'P27', {'concept': 'Q15617994'}] ['Q7795749', 'P27', {'concept': 'Q15617994'}] ['Q13218859', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . ?r property:P27 ?f . VALUES ( ?r ) { ( resource:Q17421779 ) ( resource:Q19664962 ) ( resource:Q1586283 ) } }
Thompson Cooper Thompson Mann Thompson W. McNeely
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Thompson Cooper', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thompson Mann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thompson W. McNeely', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:country_of_citizenship ?f . VALUES ( ?r ) { ( resource:Thompson_M._Scoon ) ( resource:Thompson_Buchanan ) ( resource:Thompson_Benton_Ferguson ) } }
[]
designation for an administrative territorial entity
Q145 Q30 Q30
SYSTEM
United States of America for 2nd, 3rd, United Kingdom for 1st
Q145 Q30 Q30
(Q15452559,P27,c(Q15617994)) (Q7795749,P27,c(Q15617994)) (Q13218859,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWERS]
['Q15452559', 'P27', {'concept': 'Q15617994'}] ['Q7795749', 'P27', {'concept': 'Q15617994'}] ['Q13218859', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . ?r property:P27 ?f . VALUES ( ?r ) { ( resource:Q17421779 ) ( resource:Q19664962 ) ( resource:Q1586283 ) } }
United Kingdom United States of America United States of America
United Kingdom, United States of America and United States of America are the native countriesof those people
United Kingdom United States of America United States of America
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Thompson Cooper', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thompson Mann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thompson W. McNeely', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:country_of_citizenship ?f . VALUES ( ?r ) { ( resource:Thompson_M._Scoon ) ( resource:Thompson_Buchanan ) ( resource:Thompson_Benton_Ferguson ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15452559
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q15452559)
action filter_type
action find_reverse
entity Q15452559
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q15452559']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q15452559 . ?a rdf:type ontology:Q502895 }
Thompson Cooper
action filter_type
action find_reverse
entity Thompson Cooper
relation child
type common name
[{'concept': 'common name'}, 'child', 'Thompson Cooper']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Thompson_Cooper . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15452559
SYSTEM
Did you mean Thompson Cooper ?
Q145 Q30 Q30
(c(Q502895),P40,Q145) (c(Q502895),P40,Q30) (c(Q502895),P40,Q30)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q145'] [{'concept': 'Q502895'}, 'P40', 'Q30'] [{'concept': 'Q502895'}, 'P40', 'Q30']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q15452559 . ?a rdf:type ontology:Q502895 }
United Kingdom United States of America United States of America
Did you mean Thompson Cooper ?
Thompson Cooper
[{'concept': 'common name'}, 'child', 'United Kingdom'] [{'concept': 'common name'}, 'child', 'United States of America'] [{'concept': 'common name'}, 'child', 'United States of America']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Thompson_Cooper . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q15452559)
[{'concept': 'Q502895'}, 'P40', 'Q15452559']
[{'concept': 'common name'}, 'child', 'Thompson Cooper']
[]
Q5078919
SYSTEM
Charles Henry Cooper
Q5078919
(c(Q502895),P40,Q15452559)
action filter_type
action find_reverse
entity Q15452559
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q15452559']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q15452559 . ?a rdf:type ontology:Q502895 }
Charles Henry Cooper
Charles Henry Cooper has that one as a child
Charles Henry Cooper
action filter_type
action find_reverse
entity Thompson Cooper
relation child
type common name
[{'concept': 'common name'}, 'child', 'Thompson Cooper']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Thompson_Cooper . ?a rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1680771 Q15452559
P20
Q56061
USER
Which administrative territories did Thompson Cooper and James Martineau expire ?
AND((Q15452559,P20,c(Q56061)), (Q1680771,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q15452559
relation P20
action find
entity Q1680771
relation P20
type Q56061
{'AND': [['Q15452559', 'P20', {'concept': 'Q56061'}], ['Q1680771', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { resource:Q15452559 property:P20 ?x . resource:Q1680771 property:P20 ?x . ?x rdf:type ontology:Q56061 }
James Martineau Thompson Cooper
action filter_type
action intersection
action find
entity Thompson Cooper
relation place of death
action find
entity James Martineau
relation place of death
type administrative territorial entity
{'AND': [['Thompson Cooper', 'place of death', {'concept': 'administrative territorial entity'}], ['James Martineau', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Thompson_Cooper property:place_of_death ?x . resource:James_Martineau property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
AND((Q15452559,P20,c(Q56061)), (Q1680771,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q15452559
relation P20
action find
entity Q1680771
relation P20
type Q56061
Thompson Cooper and James Martineau expired [ANSWER]
{'AND': [['Q15452559', 'P20', {'concept': 'Q56061'}], ['Q1680771', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { resource:Q15452559 property:P20 ?x . resource:Q1680771 property:P20 ?x . ?x rdf:type ontology:Q56061 }
London
Thompson Cooper and James Martineau expired London
London
action filter_type
action intersection
action find
entity Thompson Cooper
relation place of death
action find
entity James Martineau
relation place of death
type administrative territorial entity
{'AND': [['Thompson Cooper', 'place of death', {'concept': 'administrative territorial entity'}], ['James Martineau', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Thompson_Cooper property:place_of_death ?x . resource:James_Martineau property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P655
Q502895 Q2342494 Q571
USER
Which people translated max number of collectables or books ?
(c(Q2342494)|c(Q571),P655,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?f ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?b ) WHERE { VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } . ?u rdf:type ?m } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } } GROUP BY ?j } . FILTER ( ?h = ?f ) }
action argmax
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type book
[[{'concept': 'collectable'}, {'concept': 'book'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?f ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?b ) WHERE { VALUES ( ?m ) { ( ontology:collectable ) ( ontology:book ) } . ?u rdf:type ?m } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:book ) } } GROUP BY ?j } . FILTER ( ?h = ?f ) }
[]
common name collectable book
Q461104
SYSTEM
Jaroslav Vrchlický
Q461104
(c(Q2342494)|c(Q571),P655,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
[ANSWER] translated max number of collectables or books
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?f ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?b ) WHERE { VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } . ?u rdf:type ?m } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } } GROUP BY ?j } . FILTER ( ?h = ?f ) }
Jaroslav Vrchlický
Jaroslav Vrchlický translated max number of collectables or books
Jaroslav Vrchlický
action argmax
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type book
[[{'concept': 'collectable'}, {'concept': 'book'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?f ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?b ) WHERE { VALUES ( ?m ) { ( ontology:collectable ) ( ontology:book ) } . ?u rdf:type ?m } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:book ) } } GROUP BY ?j } . FILTER ( ?h = ?f ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q461104 Q12148930 Q986068
P20
Q56061
USER
Does Jaroslav Vrchlický have Rotăria and Domažlice as the area of death ?
(Q461104,P20,Q12148930) (Q461104,P20,Q986068)
action is_in
entity Q461104
action intersection
action find_reverse
entity Q12148930
relation P20
action find_reverse
entity Q986068
relation P20
['Q461104', 'P20', 'Q12148930'] ['Q461104', 'P20', 'Q986068']
ASK WHERE { resource:Q461104 property:P20 resource:Q986068 . resource:Q461104 property:P20 resource:Q12148930 }
Jaroslav Vrchlický Rotăria Domažlice
action is_in
entity Jaroslav Vrchlický
action intersection
action find_reverse
entity Rotăria
relation place of death
action find_reverse
entity Domažlice
relation place of death
['Jaroslav Vrchlický', 'place of death', 'Rotăria'] ['Jaroslav Vrchlický', 'place of death', 'Domažlice']
ASK WHERE { resource:Jaroslav_Vrchlický property:place_of_death resource:Domažlice . resource:Jaroslav_Vrchlický property:place_of_death resource:Rotăria }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q461104,P20,Q12148930) (Q461104,P20,Q986068)
action is_in
entity Q461104
action intersection
action find_reverse
entity Q12148930
relation P20
action find_reverse
entity Q986068
relation P20
[ANSWER]
['Q461104', 'P20', 'Q12148930'] ['Q461104', 'P20', 'Q986068']
ASK WHERE { resource:Q461104 property:P20 resource:Q986068 . resource:Q461104 property:P20 resource:Q12148930 }
NO and YES respectively
action is_in
entity Jaroslav Vrchlický
action intersection
action find_reverse
entity Rotăria
relation place of death
action find_reverse
entity Domažlice
relation place of death
['Jaroslav Vrchlický', 'place of death', 'Rotăria'] ['Jaroslav Vrchlický', 'place of death', 'Domažlice']
ASK WHERE { resource:Jaroslav_Vrchlický property:place_of_death resource:Domažlice . resource:Jaroslav_Vrchlický property:place_of_death resource:Rotăria }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1054500 Q15452559
P20
Q56061
USER
Which administrative territories did the demise of Thompson Cooper or Cesare Alfieri di Sostegno occur ?
OR((Q15452559,P20,c(Q56061)), (Q1054500,P20,c(Q56061)))
action filter_type
action union
action find
entity Q15452559
relation P20
action find
entity Q1054500
relation P20
type Q56061
{'OR': [['Q15452559', 'P20', {'concept': 'Q56061'}], ['Q1054500', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1054500 property:P20 ?t } UNION { resource:Q15452559 property:P20 ?t } } . ?t rdf:type ontology:Q56061 }
Cesare Alfieri di Sostegno Thompson Cooper
action filter_type
action union
action find
entity Thompson Cooper
relation place of death
action find
entity Cesare Alfieri di Sostegno
relation place of death
type administrative territorial entity
{'OR': [['Thompson Cooper', 'place of death', {'concept': 'administrative territorial entity'}], ['Cesare Alfieri di Sostegno', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Cesare_Alfieri_di_Sostegno property:place_of_death ?t } UNION { resource:Thompson_Cooper property:place_of_death ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84 Q2044
SYSTEM
London, Florence
Q84 Q2044
OR((Q15452559,P20,c(Q56061)), (Q1054500,P20,c(Q56061)))
action filter_type
action union
action find
entity Q15452559
relation P20
action find
entity Q1054500
relation P20
type Q56061
The demise of Thompson Cooper or Cesare Alfieri di Sostegno occurred in [ANSWERS]
{'OR': [['Q15452559', 'P20', {'concept': 'Q56061'}], ['Q1054500', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1054500 property:P20 ?t } UNION { resource:Q15452559 property:P20 ?t } } . ?t rdf:type ontology:Q56061 }
London Florence
The demise of Thompson Cooper or Cesare Alfieri di Sostegno occurred in London and Florence
London Florence
action filter_type
action union
action find
entity Thompson Cooper
relation place of death
action find
entity Cesare Alfieri di Sostegno
relation place of death
type administrative territorial entity
{'OR': [['Thompson Cooper', 'place of death', {'concept': 'administrative territorial entity'}], ['Cesare Alfieri di Sostegno', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Cesare_Alfieri_di_Sostegno property:place_of_death ?t } UNION { resource:Thompson_Cooper property:place_of_death ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027529
P532
Q56061 Q2235308
USER
How many ship types have their base port as greater number of administrative territories than Claverdale ?
(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 Q24027529
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?z ) WHERE { ?v property:P532 ?g . ?v rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q24027529 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } }
Claverdale
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 Claverdale
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?z ) WHERE { ?v property:port_of_registry ?g . ?v rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Claverdale property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } }
[]
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 Q24027529
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?z ) WHERE { ?v property:P532 ?g . ?v rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q24027529 property:P532 ?r . ?r 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
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 Claverdale
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?z ) WHERE { ?v property:port_of_registry ?g . ?v rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Claverdale property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } }
[]