Simple Question (Direct)
Simple Question
Q70286
P19
Q515
USER
Where was Emil von Sydow born ?
(Q70286,P19,c(Q515))
action filter_type
action find
entity Q70286
relation P19
type Q515
['Q70286', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q70286 property:P19 ?t . ?t rdf:type ontology:Q515 }
Emil von Sydow
action filter_type
action find
entity Emil von Sydow
relation place of birth
type city
['Emil von Sydow', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Emil_von_Sydow property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
city
Q14819
SYSTEM
Freiberg
Q14819
(Q70286,P19,c(Q515))
action filter_type
action find
entity Q70286
relation P19
type Q515
Emil von Sydow was born in [ANSWER]
['Q70286', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q70286 property:P19 ?t . ?t rdf:type ontology:Q515 }
Freiberg
Emil von Sydow was born in Freiberg
Freiberg
action filter_type
action find
entity Emil von Sydow
relation place of birth
type city
['Emil von Sydow', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Emil_von_Sydow property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14819
P190
Q56061
USER
Which administrative territories are twin cities of that city ?
(Q14819,P190,c(Q56061))
action filter_type
action find
entity Q14819
relation P190
type Q56061
['Q14819', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q14819 property:P190 ?c }
Freiberg
action filter_type
action find
entity Freiberg
relation sister city
type administrative territorial entity
['Freiberg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Freiberg property:sister_city ?c }
[]
administrative territorial entity
Q168162 Q690
SYSTEM
Ness Ziona, Delft
Q168162 Q690
(Q14819,P190,c(Q56061))
action filter_type
action find
entity Q14819
relation P190
type Q56061
[ANSWERS] are twin cities of that city
['Q14819', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q14819 property:P190 ?c }
Ness Ziona Delft
Ness Ziona and Delft are twin cities of that city
Ness Ziona Delft
action filter_type
action find
entity Freiberg
relation sister city
type administrative territorial entity
['Freiberg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Freiberg property:sister_city ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q168162
P190 P17
Q20667921
USER
Which french administrative divisions are sister town of Ness Ziona and are located in France ?
AND((c(Q20667921),P190,Q168162), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q168162
relation P190
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P190', 'Q168162'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q20667921 . ?w property:P190 resource:Q168162 . ?w property:P17 resource:Q142 }
France Ness Ziona
action filter_type
action intersection
action find_reverse
entity Ness Ziona
relation sister city
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'sister city', 'Ness Ziona'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_french_administrative_division . ?w property:sister_city resource:Ness_Ziona . ?w property:country resource:France }
[]
type of french administrative division
Q655572
SYSTEM
Le Grand-Quevilly
Q655572
AND((c(Q20667921),P190,Q168162), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q168162
relation P190
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWER] is sister town of Ness Ziona and is located in France
{'AND': [[{'concept': 'Q20667921'}, 'P190', 'Q168162'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q20667921 . ?w property:P190 resource:Q168162 . ?w property:P17 resource:Q142 }
Le Grand-Quevilly
Le Grand-Quevilly is sister town of Ness Ziona and is located in France
Le Grand-Quevilly
action filter_type
action intersection
action find_reverse
entity Ness Ziona
relation sister city
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'sister city', 'Ness Ziona'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_french_administrative_division . ?w property:sister_city resource:Ness_Ziona . ?w property:country resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q655572 Q488625 Q142
P17
Q15617994
USER
Is that french administrative division located in Neutraubling and France ?
(Q655572,P17,Q488625) (Q655572,P17,Q142)
action is_in
entity Q655572
action intersection
action find_reverse
entity Q488625
relation P17
action find_reverse
entity Q142
relation P17
['Q655572', 'P17', 'Q488625'] ['Q655572', 'P17', 'Q142']
ASK WHERE { resource:Q655572 property:P17 resource:Q488625 . resource:Q655572 property:P17 resource:Q142 }
Le Grand-Quevilly Neutraubling France
action is_in
entity Le Grand-Quevilly
action intersection
action find_reverse
entity Neutraubling
relation country
action find_reverse
entity France
relation country
['Le Grand-Quevilly', 'country', 'Neutraubling'] ['Le Grand-Quevilly', 'country', 'France']
ASK WHERE { resource:Le_Grand-Quevilly property:country resource:Neutraubling . resource:Le_Grand-Quevilly property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q655572,P17,Q488625) (Q655572,P17,Q142)
action is_in
entity Q655572
action intersection
action find_reverse
entity Q488625
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q655572', 'P17', 'Q488625'] ['Q655572', 'P17', 'Q142']
ASK WHERE { resource:Q655572 property:P17 resource:Q488625 . resource:Q655572 property:P17 resource:Q142 }
NO and YES respectively
action is_in
entity Le Grand-Quevilly
action intersection
action find_reverse
entity Neutraubling
relation country
action find_reverse
entity France
relation country
['Le Grand-Quevilly', 'country', 'Neutraubling'] ['Le Grand-Quevilly', 'country', 'France']
ASK WHERE { resource:Le_Grand-Quevilly property:country resource:Neutraubling . resource:Le_Grand-Quevilly property:country resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q690 Q2377069 Q506745
P47
Q56061
USER
Does Delft share border with Sutton Lane Ends and Rijswijk ?
(Q690,P47,Q2377069) (Q690,P47,Q506745)
action is_in
entity Q690
action intersection
action find_reverse
entity Q2377069
relation P47
action find_reverse
entity Q506745
relation P47
['Q690', 'P47', 'Q2377069'] ['Q690', 'P47', 'Q506745']
ASK WHERE { resource:Q690 property:P47 resource:Q506745 . resource:Q690 property:P47 resource:Q2377069 }
Delft Sutton Lane Ends Rijswijk
action is_in
entity Delft
action intersection
action find_reverse
entity Sutton Lane Ends
relation shares border with
action find_reverse
entity Rijswijk
relation shares border with
['Delft', 'shares border with', 'Sutton Lane Ends'] ['Delft', 'shares border with', 'Rijswijk']
ASK WHERE { resource:Delft property:shares_border_with resource:Rijswijk . resource:Delft property:shares_border_with resource:Sutton_Lane_Ends }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q690,P47,Q2377069) (Q690,P47,Q506745)
action is_in
entity Q690
action intersection
action find_reverse
entity Q2377069
relation P47
action find_reverse
entity Q506745
relation P47
[ANSWER]
['Q690', 'P47', 'Q2377069'] ['Q690', 'P47', 'Q506745']
ASK WHERE { resource:Q690 property:P47 resource:Q506745 . resource:Q690 property:P47 resource:Q2377069 }
NO and YES respectively
action is_in
entity Delft
action intersection
action find_reverse
entity Sutton Lane Ends
relation shares border with
action find_reverse
entity Rijswijk
relation shares border with
['Delft', 'shares border with', 'Sutton Lane Ends'] ['Delft', 'shares border with', 'Rijswijk']
ASK WHERE { resource:Delft property:shares_border_with resource:Rijswijk . resource:Delft property:shares_border_with resource:Sutton_Lane_Ends }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16739
P551
Q502895
USER
Who lives in Long Beach ?
(c(Q502895),P551,Q16739)
action filter_type
action find_reverse
entity Q16739
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q16739']
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q16739 . ?c rdf:type ontology:Q502895 }
Long Beach
action filter_type
action find_reverse
entity Long Beach
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Long Beach']
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Long_Beach . ?c rdf:type ontology:common_name }
[]
common name
Q12057690 Q196185 Q4776797
SYSTEM
Guy Fieri, Russell Westbrook, Antonio McKee
Q5569173 Q196185 Q4776797 Q7185722 Q1987328 Q12057690
(c(Q502895),P551,Q16739)
action filter_type
action find_reverse
entity Q16739
relation P551
type Q502895
[ANSWERS] live in Long Beach
[{'concept': 'Q502895'}, 'P551', 'Q16739']
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q16739 . ?c rdf:type ontology:Q502895 }
Glenn Weiner Russell Westbrook Antonio McKee Phillip King James Richburg Guy Fieri
Guy Fieri, Russell Westbrook and Antonio McKee live in Long Beach
Guy Fieri Russell Westbrook Antonio McKee
action filter_type
action find_reverse
entity Long Beach
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Long Beach']
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Long_Beach . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12057690 Q196185 Q4776797
P21
Q290
USER
Which sexes do those people have ?
(Q12057690,P21,c(Q290)) (Q196185,P21,c(Q290)) (Q4776797,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q12057690', 'P21', {'concept': 'Q290'}] ['Q196185', 'P21', {'concept': 'Q290'}] ['Q4776797', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . ?v property:P21 ?u . VALUES ( ?v ) { ( resource:Q5569173 ) ( resource:Q196185 ) ( resource:Q4776797 ) } }
Guy Fieri Russell Westbrook Antonio McKee
action filter_type
action find
entity prev_answer
relation gender
type sex
['Guy Fieri', 'gender', {'concept': 'sex'}] ['Russell Westbrook', 'gender', {'concept': 'sex'}] ['Antonio McKee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . ?v property:gender ?u . VALUES ( ?v ) { ( resource:Glenn_Weiner ) ( resource:Russell_Westbrook ) ( resource:Antonio_McKee ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q12057690,P21,c(Q290)) (Q196185,P21,c(Q290)) (Q4776797,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people have a [ANSWER], [ANSWER] and [ANSWER]
['Q12057690', 'P21', {'concept': 'Q290'}] ['Q196185', 'P21', {'concept': 'Q290'}] ['Q4776797', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . ?v property:P21 ?u . VALUES ( ?v ) { ( resource:Q5569173 ) ( resource:Q196185 ) ( resource:Q4776797 ) } }
male male male
Those people have a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Guy Fieri', 'gender', {'concept': 'sex'}] ['Russell Westbrook', 'gender', {'concept': 'sex'}] ['Antonio McKee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . ?v property:gender ?u . VALUES ( ?v ) { ( resource:Glenn_Weiner ) ( resource:Russell_Westbrook ) ( resource:Antonio_McKee ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q690
P740
Q43229
USER
Which is the organization that originates at Delft ?
(c(Q43229),P740,Q690)
action filter_type
action find_reverse
entity Q690
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q690']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q690 . ?d rdf:type ontology:Q43229 }
Delft
action filter_type
action find_reverse
entity Delft
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Delft']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Delft . ?d rdf:type ontology:organization }
[]
organization
Q652369
SYSTEM
Exact
Q652369
(c(Q43229),P740,Q690)
action filter_type
action find_reverse
entity Q690
relation P740
type Q43229
[ANSWER] is the organization that originates at Delft
[{'concept': 'Q43229'}, 'P740', 'Q690']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q690 . ?d rdf:type ontology:Q43229 }
Exact
Exact is the organization that originates at Delft
Exact
action filter_type
action find_reverse
entity Delft
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Delft']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Delft . ?d rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652369
P159
Q56061
USER
Which administrative territory is the head office of that organization ?
(Q652369,P159,c(Q56061))
action filter_type
action find
entity Q652369
relation P159
type Q56061
['Q652369', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q652369 property:P159 ?y . ?y rdf:type ontology:Q56061 }
Exact
action filter_type
action find
entity Exact
relation headquarters location
type administrative territorial entity
['Exact', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Exact property:headquarters_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q690
SYSTEM
Delft
Q690
(Q652369,P159,c(Q56061))
action filter_type
action find
entity Q652369
relation P159
type Q56061
[ANSWER] is the head office of that organization
['Q652369', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q652369 property:P159 ?y . ?y rdf:type ontology:Q56061 }
Delft
Delft is the head office of that organization
Delft
action filter_type
action find
entity Exact
relation headquarters location
type administrative territorial entity
['Exact', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Exact property:headquarters_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5013376
Q56061
USER
And also tell me about COMSA Rail Transport?
(Q5013376,P159,c(Q56061))
action filter_type
action find
entity Q5013376
relation P159
type Q56061
['Q5013376', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q5013376 property:P159 ?b . ?b rdf:type ontology:Q56061 }
COMSA Rail Transport
action filter_type
action find
entity COMSA Rail Transport
relation headquarters location
type administrative territorial entity
['COMSA Rail Transport', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:COMSA_Rail_Transport property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q5013376,P159,c(Q56061))
action filter_type
action find
entity Q5013376
relation P159
type Q56061
[ANSWER]
['Q5013376', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q5013376 property:P159 ?b . ?b rdf:type ontology:Q56061 }
Barcelona
Barcelona
action filter_type
action find
entity COMSA Rail Transport
relation headquarters location
type administrative territorial entity
['COMSA Rail Transport', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:COMSA_Rail_Transport property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
Which administrative territories have approximately the same number of holidays as their patron saint as that administrative territory ?
(c(Q56061),P417,c(Q1445650))
action approx
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q1492
relation P417
type Q56061
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?k ) WHERE { ?z property:P417 ?c . ?z rdf:type ontology:Q56061 . ?c rdf:type ontology:Q1445650 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q1492 property:P417 ?v . ?v rdf:type ontology:Q56061 } } . FILTER ( ?k = ?d ) }
action approx
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Barcelona
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?k ) WHERE { ?z property:patron_saint ?c . ?z rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:holiday } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Barcelona property:patron_saint ?v . ?v rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?k = ?d ) }
[]
holiday administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q264716 Q5818 Q187352 Q11974 Q12883498 Q40801 Q212841 Q54494 Q454875 Q14209773 Q50057 Q34111 Q117388 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q6221 Q2028 Q46718 Q929022 Q641 Q46165 Q649 Q58463 Q3395964 Q73489 Q54119 Q53825 Q200908 Q15090 Q81258 Q36647 Q13375 Q47074 Q59257 Q15088 Q4361 Q2914723 Q10305 Q53265 Q6340 Q101229 Q100129 Q52547 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q82208 Q116440 Q2284679 Q3557616 Q374108 Q3562704 Q220 Q90 Q496890 Q297224 Q431389 Q5991813 Q380189 Q617 Q470461 Q259039 Q733574 Q54556 Q932648 Q487786 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q100943 Q51400 Q504216 Q244193 Q1747381 Q51315 Q492475 Q334577 Q210470 Q39493 Q11959 Q329984 Q47034 Q15095 Q215080 Q270288 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q102820 Q15487 Q244207 Q1957 Q50074 Q1897 Q46864
(c(Q56061),P417,c(Q1445650))
action approx
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q1492
relation P417
type Q56061
[ANSWERS] have approximately the same number of holidays as their patron saint as that administrative territory
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?k ) WHERE { ?z property:P417 ?c . ?z rdf:type ontology:Q56061 . ?c rdf:type ontology:Q1445650 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q1492 property:P417 ?v . ?v rdf:type ontology:Q56061 } } . FILTER ( ?k = ?d ) }
Carzano Córdoba Kavala Las Palmas de Gran Canaria Pano Platres Borca di Cadore Drama Belvedere di Spinello Amarante Municipality San Lorenzo de' Picenardi Cagnano Amiterno Pozzallo Strangolagalli Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Brescia Verona Carrè Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Koufalia Camerino San Pedro Altilia Rethymno Lleida Padula Cork Pisa Aielli Montefortino Tarragona Curitiba Nemausus Zaragoza Gemona del Friuli Castel Giorgio Martinengo Calvenzano Campomaggiore Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Kastritsa Arpino General Alvear, Mendoza Platres Altrei Molista Rome Paris Balestrate Padergnone Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Giardinello Istiaia Africo Didymoteicho Orihuela Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Sorbolo Spoltore St. Martin in Passeier Cagno Polykastro Villamagna Valença Quetzaltenango Katerini Cantello Alicante Úbeda Espoo Albacete Machala Riccò del Golfo di Spezia Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Nibbiano Berga Campione d'Italia Vologda Castellafiume Cagliari Arcugnano
Moscow, Madrid and Milan have approximately the same number of holidays as their patron saint as that administrative territory
Moscow Madrid Milan
action approx
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Barcelona
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?k ) WHERE { ?z property:patron_saint ?c . ?z rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:holiday } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Barcelona property:patron_saint ?v . ?v rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?k = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027145
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as registry port than Mary Jane ?
(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 Q24027145
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?w ) WHERE { ?q property:P532 ?u . ?q rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?q } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Q24027145 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } }
Mary Jane
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 Mary Jane
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?w ) WHERE { ?q property:port_of_registry ?u . ?q rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Mary_Jane property:port_of_registry ?t . ?t 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 Q24027145
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?w ) WHERE { ?q property:P532 ?u . ?q rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?q } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Q24027145 property:P532 ?t . ?t 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 Mary Jane
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?w ) WHERE { ?q property:port_of_registry ?u . ?q rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Mary_Jane property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } }
[]