Simple Question (Direct)
Simple Question
Q7029554
P19
Q56061
USER
Which administrative territory was Nicolas Campion born in ?
(Q7029554,P19,c(Q56061))
action filter_type
action find
entity Q7029554
relation P19
type Q56061
['Q7029554', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q7029554 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Nicolas Campion
action filter_type
action find
entity Nicolas Campion
relation place of birth
type administrative territorial entity
['Nicolas Campion', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nicolas_Campion property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q7029554,P19,c(Q56061))
action filter_type
action find
entity Q7029554
relation P19
type Q56061
Nicolas Campion was born [ANSWER]
['Q7029554', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q7029554 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Paris
Nicolas Campion was born Paris
Paris
action filter_type
action find
entity Nicolas Campion
relation place of birth
type administrative territorial entity
['Nicolas Campion', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nicolas_Campion property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P206
Q355304
USER
Which watercourse is situated close to that administrative territory ?
(Q90,P206,c(Q355304))
action filter_type
action find
entity Q90
relation P206
type Q355304
['Q90', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q355304 . resource:Q90 property:P206 ?d }
Paris
action filter_type
action find
entity Paris
relation located next to body of water
type watercourse
['Paris', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:watercourse . resource:Paris property:located_next_to_body_of_water ?d }
[]
watercourse
Q1471
SYSTEM
Seine
Q1471
(Q90,P206,c(Q355304))
action filter_type
action find
entity Q90
relation P206
type Q355304
[ANSWER] is situated close to that administrative territory
['Q90', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q355304 . resource:Q90 property:P206 ?d }
Seine
Seine is situated close to that administrative territory
Seine
action filter_type
action find
entity Paris
relation located next to body of water
type watercourse
['Paris', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:watercourse . resource:Paris property:located_next_to_body_of_water ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P166
Q193622
USER
What was won by that administrative territory ?
(Q1471,P166,c(Q193622))
action filter_type
action find
entity Q90
relation P166
type Q193622
['Q1471', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?i WHERE { resource:Q90 property:P166 ?i . ?i rdf:type ontology:Q193622 }
Paris
action filter_type
action find
entity Paris
relation award received
type order
['Seine', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?i WHERE { resource:Paris property:award_received ?i . ?i rdf:type ontology:order }
[]
order
Q2990283
SYSTEM
Companion of the Liberation
Q2990283
(Q1471,P166,c(Q193622))
action filter_type
action find
entity Q90
relation P166
type Q193622
The [ANSWER] was won by that administrative territory
['Q1471', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?i WHERE { resource:Q90 property:P166 ?i . ?i rdf:type ontology:Q193622 }
Companion of the Liberation
The Companion of the Liberation was won by that administrative territory
Companion of the Liberation
action filter_type
action find
entity Paris
relation award received
type order
['Seine', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?i WHERE { resource:Paris property:award_received ?i . ?i rdf:type ontology:order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P609
Q83620
USER
Which thoroughfare is Paris a terminus location of ?
(c(Q83620),P609,Q90)
action filter_type
action find_reverse
entity Q90
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q90']
SELECT DISTINCT ?y WHERE { ?y property:P609 resource:Q90 . ?y rdf:type ontology:Q83620 }
Paris
action filter_type
action find_reverse
entity Paris
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Paris']
SELECT DISTINCT ?y WHERE { ?y property:terminus_location resource:Paris . ?y rdf:type ontology:thoroughfare }
[]
thoroughfare
Q1375828
SYSTEM
European route E19
Q1375828
(c(Q83620),P609,Q90)
action filter_type
action find_reverse
entity Q90
relation P609
type Q83620
Which thoroughfare is Paris a terminus location of
[{'concept': 'Q83620'}, 'P609', 'Q90']
SELECT DISTINCT ?y WHERE { ?y property:P609 resource:Q90 . ?y rdf:type ontology:Q83620 }
European route E19
Which thoroughfare is Paris a terminus location of
European route E19
action filter_type
action find_reverse
entity Paris
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Paris']
SELECT DISTINCT ?y WHERE { ?y property:terminus_location resource:Paris . ?y rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1375828
P361
Q83620
USER
Which thoroughfares are a portion of that one ?
(c(Q83620),P361,Q1375828)
action filter_type
action find_reverse
entity Q1375828
relation P361
type Q83620
[{'concept': 'Q83620'}, 'P361', 'Q1375828']
SELECT DISTINCT ?w WHERE { ?w property:P361 resource:Q1375828 . ?w rdf:type ontology:Q83620 }
European route E19
action filter_type
action find_reverse
entity European route E19
relation part of
type thoroughfare
[{'concept': 'thoroughfare'}, 'part of', 'European route E19']
SELECT DISTINCT ?w WHERE { ?w property:part_of resource:European_route_E19 . ?w rdf:type ontology:thoroughfare }
[]
thoroughfare
Q204081 Q602045 Q15875059
SYSTEM
A1 motorway, A7 motorway, European route E19 in the Netherlands
Q204081 Q602045 Q15875059
(c(Q83620),P361,Q1375828)
action filter_type
action find_reverse
entity Q1375828
relation P361
type Q83620
[ANSWERS] are a portion of that one
[{'concept': 'Q83620'}, 'P361', 'Q1375828']
SELECT DISTINCT ?w WHERE { ?w property:P361 resource:Q1375828 . ?w rdf:type ontology:Q83620 }
A1 motorway A7 motorway European route E19 in the Netherlands
A1 motorway, A7 motorway and European route E19 in the Netherlands are a portion of that one
A1 motorway A7 motorway European route E19 in the Netherlands
action filter_type
action find_reverse
entity European route E19
relation part of
type thoroughfare
[{'concept': 'thoroughfare'}, 'part of', 'European route E19']
SELECT DISTINCT ?w WHERE { ?w property:part_of resource:European_route_E19 . ?w rdf:type ontology:thoroughfare }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q83620 Q43229
USER
How many organizations are located on atmost 1 thoroughfare ?
(c(Q43229),P669,c(Q83620))
action count
action atmost
action find_tuple_counts
relation P669
type Q43229
type Q83620
value 1
[{'concept': 'Q43229'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:P669 ?u . ?u rdf:type ontology:Q83620 . ?h rdf:type ontology:Q43229 } GROUP BY ?h } . FILTER ( ?c <= 1 ) }
action count
action atmost
action find_tuple_counts
relation located on street
type organization
type thoroughfare
value 1
[{'concept': 'organization'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:located_on_street ?u . ?u rdf:type ontology:thoroughfare . ?h rdf:type ontology:organization } GROUP BY ?h } . FILTER ( ?c <= 1 ) }
[]
thoroughfare organization
SYSTEM
61
Q2324789 Q668213 Q2695989 Q7477097 Q17459702 Q19831693 Q19276150 Q17464922 Q2972484 Q2972483 Q20155178 Q3408814 Q2448500 Q15884250 Q492758 Q17611840 Q1943852 Q3107488 Q139243 Q12312868 Q17603026 Q7047734 Q26332677 Q16991731 Q2723882 Q12315707 Q2876188 Q18564653 Q2972544 Q2714932 Q2581800 Q17595902 Q12301201 Q15873578 Q15649784 Q437863 Q10542861 Q12305765 Q1457424 Q23445108 Q21096067 Q542252 Q5369960 Q691896 Q23661600 Q20064877 Q685038 Q12303604 Q666331 Q1457318 Q281477 Q2210097 Q209651 Q25513765 Q2031209 Q24007321 Q17601254 Q463262 Q2972549 Q3380319 Q668300
(c(Q43229),P669,c(Q83620))
action count
action atmost
action find_tuple_counts
relation P669
type Q43229
type Q83620
value 1
[ANSWER]
[{'concept': 'Q43229'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:P669 ?u . ?u rdf:type ontology:Q83620 . ?h rdf:type ontology:Q43229 } GROUP BY ?h } . FILTER ( ?c <= 1 ) }
Staatsarchiv des Kantons Zürich Museum of Design Begraafplaats Rijnhof Nieuwe Algemene Begraafplaats Meeuwenlaan Abdij Sion, Diepenveen churchyard near Laantje cimetière des Saints-Pères Joodse begraafplaats (Leek, Groningen) Cimetière Sainte-Marguerite Cimitero di Valmy Neuer Friedhof (Bad Honnef) Henry Poole & Co Zurich Tram Museum Zuiderhof Athenaeum Club Israëlitische begraafplaats (Almelo) Begraafplaats Soestbergen R.K. Kerkhof (Groningen) Ehrenfriedhof Lübeck Freeport Film Joodse Nieuwe Hoogduitse begraafplaats, Wassenaar Noisebridge 1991 Pharmacy Foundation Embassy of Nepal Saks Fifth Avenue Harder École régionale des Beaux-Arts de Rouen Alter Friedhof Oberdollendorf Cimetière de Montrouge musée de la vie romantique Willy Brandt House Algemene Begraafplaats, Dieren Altinget.dk Brussels Museums Council Godesberger Allee 133–137 Alter Friedhof Bad Honnef Kalmar Nation, Lund Chr. Augustinus Fabrikker Friedhof Sihlfeld Liberating Ourselves Locally Medley Studios German Institute for International and Security Affairs Embassy of the United States, London National Museum Zurich Pesthouse Close Begraafplaats Beeresteijn Kunsthaus Zürich Bispebjerg Cemetery Foundation E.G. Bührle Friedhof Eichbühl Picpus Cemetery Algemene Begraafplaats Montfoort Abbey Road Studios Studio des Dames Begraafplaats Groenesteeg Sailor Yacht Club Heilig Landstichting cemetery American Academy in Berlin South Park Street Cemetery Holmens Cemetery Rietberg Museum
61
action count
action atmost
action find_tuple_counts
relation located on street
type organization
type thoroughfare
value 1
[{'concept': 'organization'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:located_on_street ?u . ?u rdf:type ontology:thoroughfare . ?h rdf:type ontology:organization } GROUP BY ?h } . FILTER ( ?c <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q55488 Q12280 Q83620
USER
How many thoroughfares terminates at atleast 3 railway stations and bridges ?
(c(Q83620),P559,c(Q55488)|c(Q12280))
action count
action atleast
action union
action find_tuple_counts
relation P559
type Q83620
type Q55488
action find_tuple_counts
relation P559
type Q83620
type Q12280
value 3
[{'concept': 'Q83620'}, 'P559', [{'concept': 'Q55488'}, {'concept': 'Q12280'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) ?l WHERE { { ?l property:P559 ?p . ?p rdf:type ontology:Q55488 . ?l rdf:type ontology:Q83620 } UNION { ?l property:P559 ?p . ?l rdf:type ontology:Q83620 . ?p rdf:type ontology:Q12280 } } GROUP BY ?l } . FILTER ( ?i >= 3 ) }
action count
action atleast
action union
action find_tuple_counts
relation terminus
type thoroughfare
type railway station
action find_tuple_counts
relation terminus
type thoroughfare
type bridge
value 3
[{'concept': 'thoroughfare'}, 'terminus', [{'concept': 'railway station'}, {'concept': 'bridge'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) ?l WHERE { { ?l property:terminus ?p . ?p rdf:type ontology:railway_station . ?l rdf:type ontology:thoroughfare } UNION { ?l property:terminus ?p . ?l rdf:type ontology:thoroughfare . ?p rdf:type ontology:bridge } } GROUP BY ?l } . FILTER ( ?i >= 3 ) }
[]
railway station bridge thoroughfare
SYSTEM
2
Q409036 Q989339
(c(Q83620),P559,c(Q55488)|c(Q12280))
action count
action atleast
action union
action find_tuple_counts
relation P559
type Q83620
type Q55488
action find_tuple_counts
relation P559
type Q83620
type Q12280
value 3
[ANSWER]
[{'concept': 'Q83620'}, 'P559', [{'concept': 'Q55488'}, {'concept': 'Q12280'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) ?l WHERE { { ?l property:P559 ?p . ?p rdf:type ontology:Q55488 . ?l rdf:type ontology:Q83620 } UNION { ?l property:P559 ?p . ?l rdf:type ontology:Q83620 . ?p rdf:type ontology:Q12280 } } GROUP BY ?l } . FILTER ( ?i >= 3 ) }
Airport Express East Rail Line
2
action count
action atleast
action union
action find_tuple_counts
relation terminus
type thoroughfare
type railway station
action find_tuple_counts
relation terminus
type thoroughfare
type bridge
value 3
[{'concept': 'thoroughfare'}, 'terminus', [{'concept': 'railway station'}, {'concept': 'bridge'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) ?l WHERE { { ?l property:terminus ?p . ?p rdf:type ontology:railway_station . ?l rdf:type ontology:thoroughfare } UNION { ?l property:terminus ?p . ?l rdf:type ontology:thoroughfare . ?p rdf:type ontology:bridge } } GROUP BY ?l } . FILTER ( ?i >= 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8273218 Q2990283
P17
Q15617994
USER
Which administrative territories are Companion of the Liberation or Ostrovul Mare situated in ?
OR((Q2990283,P17,c(Q15617994)), (Q8273218,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2990283
relation P17
action find
entity Q8273218
relation P17
type Q15617994
{'OR': [['Q2990283', 'P17', {'concept': 'Q15617994'}], ['Q8273218', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2990283 property:P17 ?m } UNION { resource:Q8273218 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Ostrovul Mare Companion of the Liberation
action filter_type
action union
action find
entity Companion of the Liberation
relation country
action find
entity Ostrovul Mare
relation country
type designation for an administrative territorial entity
{'OR': [['Companion of the Liberation', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ostrovul Mare', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Companion_of_the_Liberation property:country ?m } UNION { resource:Ostrovul_Mare property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q218
SYSTEM
France, Romania
Q142 Q218
OR((Q2990283,P17,c(Q15617994)), (Q8273218,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2990283
relation P17
action find
entity Q8273218
relation P17
type Q15617994
Companion of the Liberation or Ostrovul Mare are situated in [ANSWERS]
{'OR': [['Q2990283', 'P17', {'concept': 'Q15617994'}], ['Q8273218', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2990283 property:P17 ?m } UNION { resource:Q8273218 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
France Romania
Companion of the Liberation or Ostrovul Mare are situated in France and Romania
France Romania
action filter_type
action union
action find
entity Companion of the Liberation
relation country
action find
entity Ostrovul Mare
relation country
type designation for an administrative territorial entity
{'OR': [['Companion of the Liberation', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ostrovul Mare', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Companion_of_the_Liberation property:country ?m } UNION { resource:Ostrovul_Mare property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have adopted max number of holidays and people as patron saint ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action argmax
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?u WHERE { { ?u rdf:type ontology:Q56061 . ?c rdf:type ontology:Q502895 . ?u property:P417 ?c } UNION { ?u property:P417 ?c . ?u rdf:type ontology:Q56061 . ?c rdf:type ontology:Q1445650 } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?a WHERE { { ?a rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1445650 . ?a property:P417 ?m } UNION { ?a property:P417 ?m . ?a rdf:type ontology:Q56061 . ?m rdf:type ontology:Q502895 } } GROUP BY ?a } . FILTER ( ?k = ?e ) }
action argmax
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?u WHERE { { ?u rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:common_name . ?u property:patron_saint ?c } UNION { ?u property:patron_saint ?c . ?u rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:holiday } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?a WHERE { { ?a rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:holiday . ?a property:patron_saint ?m } UNION { ?a property:patron_saint ?m . ?a rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:common_name } } GROUP BY ?a } . FILTER ( ?k = ?e ) }
[]
holiday common name administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action argmax
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
[ANSWERS] have adopted max number of holidays and people as patron saint
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?u WHERE { { ?u rdf:type ontology:Q56061 . ?c rdf:type ontology:Q502895 . ?u property:P417 ?c } UNION { ?u property:P417 ?c . ?u rdf:type ontology:Q56061 . ?c rdf:type ontology:Q1445650 } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?a WHERE { { ?a rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1445650 . ?a property:P417 ?m } UNION { ?a property:P417 ?m . ?a rdf:type ontology:Q56061 . ?m rdf:type ontology:Q502895 } } GROUP BY ?a } . FILTER ( ?k = ?e ) }
Brinzio Rome
Brinzio and Rome have adopted max number of holidays and people as patron saint
Brinzio Rome
action argmax
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?u WHERE { { ?u rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:common_name . ?u property:patron_saint ?c } UNION { ?u property:patron_saint ?c . ?u rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:holiday } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?a WHERE { { ?a rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:holiday . ?a property:patron_saint ?m } UNION { ?a property:patron_saint ?m . ?a rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:common_name } } GROUP BY ?a } . FILTER ( ?k = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3432142
P532
Q56061 Q2235308
USER
Which ship types have their base port as greater number of administrative territories than Golar Spirit ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q3432142
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?x ) WHERE { ?r property:P532 ?b . ?r rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q3432142 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?x > ?w ) }
Golar Spirit
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 Golar Spirit
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?x ) WHERE { ?r property:port_of_registry ?b . ?r rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Golar_Spirit property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?x > ?w ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q3432142
relation P532
type Q2235308
[ANSWERS] have their base port as greater number of administrative territories than Golar Spirit
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?x ) WHERE { ?r property:P532 ?b . ?r rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q3432142 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?x > ?w ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have their base port as greater number of administrative territories than Golar Spirit
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Golar Spirit
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?x ) WHERE { ?r property:port_of_registry ?b . ?r rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Golar_Spirit property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?x > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24027113
P532
Q56061 Q2235308
USER
And what about Eliza Jenkins?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027113
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?f ) WHERE { ?z property:P532 ?t . ?z rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q24027113 property:P532 ?v . ?v rdf:type ontology:Q2235308 } } . FILTER ( ?f > ?h ) }
Eliza Jenkins
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 Eliza Jenkins
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?f ) WHERE { ?z property:port_of_registry ?t . ?z rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Eliza_Jenkins property:port_of_registry ?v . ?v rdf:type ontology:ship_type } } . FILTER ( ?f > ?h ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027113
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?f ) WHERE { ?z property:P532 ?t . ?z rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q24027113 property:P532 ?v . ?v rdf:type ontology:Q2235308 } } . FILTER ( ?f > ?h ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Eliza Jenkins
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?f ) WHERE { ?z property:port_of_registry ?t . ?z rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Eliza_Jenkins property:port_of_registry ?v . ?v rdf:type ontology:ship_type } } . FILTER ( ?f > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q734
P37
Q5962346 Q34770 Q15617994
USER
Which administrative territories are around the same number of classification schemes or languages the official language of as Guyana ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q734
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?d ) WHERE { { ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q34770 . ?w property:P37 ?m } UNION { ?w property:P37 ?m . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q5962346 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q734 property:P37 ?j . { VALUES ( ?y ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?j rdf:type ?y } } } . FILTER ( ?d = ?b ) }
Guyana
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Guyana
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?d ) WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:language . ?w property:official_language ?m } UNION { ?w property:official_language ?m . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:classification_scheme } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Guyana property:official_language ?j . { VALUES ( ?y ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?j rdf:type ?y } } } . FILTER ( ?d = ?b ) }
[]
classification scheme language designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q734
relation P37
type Q5962346
type Q34770
[ANSWERS] are around the same number of classification schemes or languages the official language of as Guyana
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?d ) WHERE { { ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q34770 . ?w property:P37 ?m } UNION { ?w property:P37 ?m . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q5962346 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q734 property:P37 ?j . { VALUES ( ?y ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?j rdf:type ?y } } } . FILTER ( ?d = ?b ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy, Netherlands and Zambia are around the same number of classification schemes or languages the official language of as Guyana
Italy Netherlands Zambia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Guyana
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?d ) WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:language . ?w property:official_language ?m } UNION { ?w property:official_language ?m . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:classification_scheme } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Guyana property:official_language ?j . { VALUES ( ?y ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?j rdf:type ?y } } } . FILTER ( ?d = ?b ) }
[]