Simple Question (Direct)
Simple Question
Q4864352
P21
Q290
USER
What is the sex of Barry Jepson ?
(Q4864352,P21,c(Q290))
action filter_type
action find
entity Q4864352
relation P21
type Q290
['Q4864352', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q4864352 property:P21 ?f . ?f rdf:type ontology:Q290 }
Barry Jepson
action filter_type
action find
entity Barry Jepson
relation gender
type sex
['Barry Jepson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Barry_Jepson property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4864352,P21,c(Q290))
action filter_type
action find
entity Q4864352
relation P21
type Q290
The sex of Barry Jepson is the [ANSWER]
['Q4864352', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q4864352 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Barry Jepson is the male
male
action filter_type
action find
entity Barry Jepson
relation gender
type sex
['Barry Jepson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Barry_Jepson property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4864352
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q4864352
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q4864352 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Barry Jepson
action filter_type
action find
entity Barry Jepson
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Barry_Jepson property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q4864352
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q4864352 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Barry Jepson
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Barry_Jepson property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4864352
P641
Q349
USER
What was the sport that Barry Jepson was a part of ?
(Q4864352,P641,c(Q349))
action filter_type
action find
entity Q4864352
relation P641
type Q349
['Q4864352', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q4864352 property:P641 ?p }
Barry Jepson
action filter_type
action find
entity Barry Jepson
relation sport
type sport
['Barry Jepson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Barry_Jepson property:sport ?p }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4864352,P641,c(Q349))
action filter_type
action find
entity Q4864352
relation P641
type Q349
The sport that Barry Jepson was a part of was the [ANSWER]
['Q4864352', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q4864352 property:P641 ?p }
association football
The sport that Barry Jepson was a part of was the association football
association football
action filter_type
action find
entity Barry Jepson
relation sport
type sport
['Barry Jepson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Barry_Jepson property:sport ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q5575440
P641
Q502895
USER
Does Gobeom Sie Vitalis play that sport ?
(Q5575440,P641,Q2736)
action is_in
entity Q2736
action find
entity Q5575440
relation P641
['Q5575440', 'P641', 'Q2736']
ASK WHERE { resource:Q5575440 property:P641 resource:Q2736 }
association football Gobeom Sie Vitalis
action is_in
entity association football
action find
entity Gobeom Sie Vitalis
relation sport
['Gobeom Sie Vitalis', 'sport', 'association football']
ASK WHERE { resource:Gobeom_Sie_Vitalis property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q5575440,P641,Q2736)
action is_in
entity Q2736
action find
entity Q5575440
relation P641
[ANSWER]
['Q5575440', 'P641', 'Q2736']
ASK WHERE { resource:Q5575440 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Gobeom Sie Vitalis
relation sport
['Gobeom Sie Vitalis', 'sport', 'association football']
ASK WHERE { resource:Gobeom_Sie_Vitalis property:sport resource:association_football }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3144563 Q5575440
P19
Q15617994
USER
Which administrative territories are the places of birth of Gobeom Sie Vitalis or Héctor Poleo ?
OR((Q5575440,P19,c(Q15617994)), (Q3144563,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q5575440
relation P19
action find
entity Q3144563
relation P19
type Q15617994
{'OR': [['Q5575440', 'P19', {'concept': 'Q15617994'}], ['Q3144563', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?n ) { ( resource:Q3144563 ) ( resource:Q5575440 ) } . ?n property:P19 ?s } . ?s rdf:type ontology:Q15617994 }
Héctor Poleo Gobeom Sie Vitalis
action filter_type
action union
action find
entity Gobeom Sie Vitalis
relation place of birth
action find
entity Héctor Poleo
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Gobeom Sie Vitalis', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Héctor Poleo', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?n ) { ( resource:Héctor_Poleo ) ( resource:Gobeom_Sie_Vitalis ) } . ?n property:place_of_birth ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1014 Q96
SYSTEM
Liberia, Mexico
Q1014 Q96
OR((Q5575440,P19,c(Q15617994)), (Q3144563,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q5575440
relation P19
action find
entity Q3144563
relation P19
type Q15617994
[ANSWERS] are the places of birth of Gobeom Sie Vitalis or Héctor Poleo
{'OR': [['Q5575440', 'P19', {'concept': 'Q15617994'}], ['Q3144563', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?n ) { ( resource:Q3144563 ) ( resource:Q5575440 ) } . ?n property:P19 ?s } . ?s rdf:type ontology:Q15617994 }
Liberia Mexico
Liberia and Mexico are the places of birth of Gobeom Sie Vitalis or Héctor Poleo
Liberia Mexico
action filter_type
action union
action find
entity Gobeom Sie Vitalis
relation place of birth
action find
entity Héctor Poleo
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Gobeom Sie Vitalis', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Héctor Poleo', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?n ) { ( resource:Héctor_Poleo ) ( resource:Gobeom_Sie_Vitalis ) } . ?n property:place_of_birth ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1014 Q96
P36
Q56061
USER
Which administrative territories are known as the capital of Liberia and Mexico ?
(Q1014,P36,c(Q56061)) (Q96,P36,c(Q56061))
action union
action filter_type
action find
entity Q1014
relation P36
type Q56061
action filter_type
action find
entity Q96
relation P36
type Q56061
['Q1014', 'P36', {'concept': 'Q56061'}] ['Q96', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { resource:Q96 property:P36 ?m . ?m rdf:type ontology:Q56061 } UNION { resource:Q1014 property:P36 ?m . ?m rdf:type ontology:Q56061 } }
Liberia Mexico
action union
action filter_type
action find
entity Liberia
relation capital
type administrative territorial entity
action filter_type
action find
entity Mexico
relation capital
type administrative territorial entity
['Liberia', 'capital', {'concept': 'administrative territorial entity'}] ['Mexico', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Mexico property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity } UNION { resource:Liberia property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q3748 Q1489
SYSTEM
Monrovia, Mexico City
Q3748 Q1489
(Q1014,P36,c(Q56061)) (Q96,P36,c(Q56061))
action union
action filter_type
action find
entity Q1014
relation P36
type Q56061
action filter_type
action find
entity Q96
relation P36
type Q56061
[ANSWERS] are known as the capital of Liberia and Mexico
['Q1014', 'P36', {'concept': 'Q56061'}] ['Q96', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { resource:Q96 property:P36 ?m . ?m rdf:type ontology:Q56061 } UNION { resource:Q1014 property:P36 ?m . ?m rdf:type ontology:Q56061 } }
Monrovia Mexico City
Monrovia and Mexico City are known as the capital of Liberia and Mexico
Monrovia Mexico City
action union
action filter_type
action find
entity Liberia
relation capital
type administrative territorial entity
action filter_type
action find
entity Mexico
relation capital
type administrative territorial entity
['Liberia', 'capital', {'concept': 'administrative territorial entity'}] ['Mexico', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Mexico property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity } UNION { resource:Liberia property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3748
P159
Q43229
USER
Which organizations have their head office location at that administrative territory ?
(c(Q43229),P159,Q3748)
action filter_type
action find_reverse
entity Q3748
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q3748']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?a property:P159 resource:Q3748 }
Monrovia
action filter_type
action find_reverse
entity Monrovia
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Monrovia']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?a property:headquarters_location resource:Monrovia }
[]
organization
Clarification for simple ques.
Q3748
SYSTEM
Did you mean Monrovia ?
Q3748 Q1489
(c(Q43229),P159,Q3748) (c(Q43229),P159,Q1489)
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q3748'] [{'concept': 'Q43229'}, 'P159', 'Q1489']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?a property:P159 resource:Q3748 }
Monrovia Mexico City
Did you mean Monrovia ?
Monrovia
[{'concept': 'organization'}, 'headquarters location', 'Monrovia'] [{'concept': 'organization'}, 'headquarters location', 'Mexico City']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?a property:headquarters_location resource:Monrovia }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q43229),P159,Q3748)
[{'concept': 'Q43229'}, 'P159', 'Q3748']
[{'concept': 'organization'}, 'headquarters location', 'Monrovia']
[]
Q427881 Q6671774 Q688825
SYSTEM
Royal Caribbean Cruises Ltd., Lonestar Cell, Trader Joe's
Q6671774 Q5570135 Q6541098 Q5453098 Q688825 Q427881 Q4694205
(c(Q43229),P159,Q3748)
action filter_type
action find_reverse
entity Q3748
relation P159
type Q43229
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q3748']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?a property:P159 resource:Q3748 }
Lonestar Cell Global Bank Liberia Liberia Telecommunications Corporation First International Bank Trader Joe's Royal Caribbean Cruises Ltd. Agro, Inc.
Royal Caribbean Cruises Ltd., Lonestar Cell and Trader Joe's have their head office location at that administrative territory
Royal Caribbean Cruises Ltd. Lonestar Cell Trader Joe's
action filter_type
action find_reverse
entity Monrovia
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Monrovia']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?a property:headquarters_location resource:Monrovia }
[]
Clarification
Simple Question|Single Entity|Indirect
Q427881
P127
Q2235308
USER
Which ship types are owned by that organization ?
(c(Q2235308),P127,Q427881)
action filter_type
action find_reverse
entity Q427881
relation P127
type Q2235308
[{'concept': 'Q2235308'}, 'P127', 'Q427881']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q427881 . ?s rdf:type ontology:Q2235308 }
Royal Caribbean Cruises Ltd.
action filter_type
action find_reverse
entity Royal Caribbean Cruises Ltd.
relation owned by
type ship type
[{'concept': 'ship type'}, 'owned by', 'Royal Caribbean Cruises Ltd.']
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Royal_Caribbean_Cruises_Ltd. . ?s rdf:type ontology:ship_type }
[]
ship type
Clarification for simple ques.
Q427881
SYSTEM
Did you mean Royal Caribbean Cruises Ltd. ?
Q427881 Q6671774 Q688825
(c(Q2235308),P127,Q427881) (c(Q2235308),P127,Q6671774) (c(Q2235308),P127,Q688825)
[ANSWER]
[{'concept': 'Q2235308'}, 'P127', 'Q427881'] [{'concept': 'Q2235308'}, 'P127', 'Q6671774'] [{'concept': 'Q2235308'}, 'P127', 'Q688825']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q427881 . ?s rdf:type ontology:Q2235308 }
Royal Caribbean Cruises Ltd. Lonestar Cell Trader Joe's
Did you mean Royal Caribbean Cruises Ltd. ?
Royal Caribbean Cruises Ltd.
[{'concept': 'ship type'}, 'owned by', 'Royal Caribbean Cruises Ltd.'] [{'concept': 'ship type'}, 'owned by', 'Lonestar Cell'] [{'concept': 'ship type'}, 'owned by', "Trader Joe's"]
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Royal_Caribbean_Cruises_Ltd. . ?s rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2235308),P127,Q427881)
[{'concept': 'Q2235308'}, 'P127', 'Q427881']
[{'concept': 'ship type'}, 'owned by', 'Royal Caribbean Cruises Ltd.']
[]
Q917188 Q20489530 Q83257
SYSTEM
MS Brilliance of the Seas, MS Harmony of the Seas, MS Allure of the Sea
Q2438583 Q2371 Q1052827 Q20489530 Q194109 Q917188 Q83257 Q2714360
(c(Q2235308),P127,Q427881)
action filter_type
action find_reverse
entity Q427881
relation P127
type Q2235308
[ANSWERS] are owned by that organization
[{'concept': 'Q2235308'}, 'P127', 'Q427881']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q427881 . ?s rdf:type ontology:Q2235308 }
MS Legend of the Seas Celebrity Solstice Celebrity Equinox MS Harmony of the Seas MS Freedom of the Seas MS Brilliance of the Seas MS Allure of the Sea MS Empress
MS Brilliance of the Seas, MS Harmony of the Seas and MS Allure of the Sea are owned by that organization
MS Brilliance of the Seas MS Harmony of the Seas MS Allure of the Sea
action filter_type
action find_reverse
entity Royal Caribbean Cruises Ltd.
relation owned by
type ship type
[{'concept': 'ship type'}, 'owned by', 'Royal Caribbean Cruises Ltd.']
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Royal_Caribbean_Cruises_Ltd. . ?s rdf:type ontology:ship_type }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q84
P532
Q56061 Q2235308
USER
How many administrative territories are the port of registry of greater number of ship types than London ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P532
type Q56061
type Q2235308
action count
action filter_type
action find
entity Q84
relation P532
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?g ) WHERE { ?u rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2235308 . ?a property:P532 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { resource:Q84 property:P532 ?q . ?q rdf:type ontology:Q56061 } } . FILTER ( ?g > ?v ) }
London
action count
action greater
action find_reverse_tuple_counts
relation port of registry
type administrative territorial entity
type ship type
action count
action filter_type
action find
entity London
relation port of registry
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?g ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:ship_type . ?a property:port_of_registry ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { resource:London property:port_of_registry ?q . ?q rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?g > ?v ) }
[]
administrative territorial entity ship type
SYSTEM
3
Q24826 Q23800 Q2467
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P532
type Q56061
type Q2235308
action count
action filter_type
action find
entity Q84
relation P532
type Q56061
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?g ) WHERE { ?u rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2235308 . ?a property:P532 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { resource:Q84 property:P532 ?q . ?q rdf:type ontology:Q56061 } } . FILTER ( ?g > ?v ) }
Liverpool Valletta Nassau
3
action count
action greater
action find_reverse_tuple_counts
relation port of registry
type administrative territorial entity
type ship type
action count
action filter_type
action find
entity London
relation port of registry
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?g ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:ship_type . ?a property:port_of_registry ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { resource:London property:port_of_registry ?q . ?q rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?g > ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q185632
P532
Q56061 Q2235308
USER
And how about Limassol?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P532
type Q56061
type Q2235308
action count
action filter_type
action find
entity Q185632
relation P532
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P532 ?j . ?j rdf:type ontology:Q56061 . ?o rdf:type ontology:Q2235308 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q185632 property:P532 ?c . ?c rdf:type ontology:Q56061 } } . FILTER ( ?b > ?p ) }
Limassol
action count
action greater
action find_reverse_tuple_counts
relation port of registry
type administrative territorial entity
type ship type
action count
action filter_type
action find
entity Limassol
relation port of registry
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:port_of_registry ?j . ?j rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:ship_type } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Limassol property:port_of_registry ?c . ?c rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?b > ?p ) }
[]
administrative territorial entity ship type
SYSTEM
9
Q84 Q1770 Q24826 Q23800 Q3306 Q2467 Q18569 Q3519 Q30985
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P532
type Q56061
type Q2235308
action count
action filter_type
action find
entity Q185632
relation P532
type Q56061
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P532 ?j . ?j rdf:type ontology:Q56061 . ?o rdf:type ontology:Q2235308 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q185632 property:P532 ?c . ?c rdf:type ontology:Q56061 } } . FILTER ( ?b > ?p ) }
London Tallinn Liverpool Valletta Panama City Nassau Douglas Bari Hamilton
9
action count
action greater
action find_reverse_tuple_counts
relation port of registry
type administrative territorial entity
type ship type
action count
action filter_type
action find
entity Limassol
relation port of registry
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:port_of_registry ?j . ?j rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:ship_type } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Limassol property:port_of_registry ?c . ?c rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?b > ?p ) }
[]