Simple Question (Direct)
Simple Question
Q5320196
P641
Q349
USER
Which sport was Décio Randazzo Teixeira a part of ?
(Q5320196,P641,c(Q349))
action filter_type
action find
entity Q5320196
relation P641
type Q349
['Q5320196', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q349 . resource:Q5320196 property:P641 ?b }
Décio Randazzo Teixeira
action filter_type
action find
entity Décio Randazzo Teixeira
relation sport
type sport
['Décio Randazzo Teixeira', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport . resource:Décio_Randazzo_Teixeira property:sport ?b }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5320196,P641,c(Q349))
action filter_type
action find
entity Q5320196
relation P641
type Q349
The [ANSWER] was Décio Randazzo Teixeira a part of
['Q5320196', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q349 . resource:Q5320196 property:P641 ?b }
association football
The association football was Décio Randazzo Teixeira a part of
association football
action filter_type
action find
entity Décio Randazzo Teixeira
relation sport
type sport
['Décio Randazzo Teixeira', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport . resource:Décio_Randazzo_Teixeira property:sport ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5320196
P21
Q290
USER
Which sex does Décio Randazzo Teixeira belong to ?
(Q5320196,P21,c(Q290))
action filter_type
action find
entity Q5320196
relation P21
type Q290
['Q5320196', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q5320196 property:P21 ?l . ?l rdf:type ontology:Q290 }
Décio Randazzo Teixeira
action filter_type
action find
entity Décio Randazzo Teixeira
relation gender
type sex
['Décio Randazzo Teixeira', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Décio_Randazzo_Teixeira property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5320196,P21,c(Q290))
action filter_type
action find
entity Q5320196
relation P21
type Q290
Décio Randazzo Teixeira belongs to [ANSWER]
['Q5320196', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q5320196 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Décio Randazzo Teixeira belongs to male
male
action filter_type
action find
entity Décio Randazzo Teixeira
relation gender
type sex
['Décio Randazzo Teixeira', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Décio_Randazzo_Teixeira property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5320196
P106
Q12737077
USER
Which occupation has Décio Randazzo Teixeira as his/her 's career ?
(Q5320196,P106,c(Q12737077))
action filter_type
action find
entity Q5320196
relation P106
type Q12737077
['Q5320196', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q5320196 property:P106 ?y }
Décio Randazzo Teixeira
action filter_type
action find
entity Décio Randazzo Teixeira
relation occupation
type occupation
['Décio Randazzo Teixeira', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Décio_Randazzo_Teixeira property:occupation ?y }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5320196,P106,c(Q12737077))
action filter_type
action find
entity Q5320196
relation P106
type Q12737077
The [ANSWER] has Décio Randazzo Teixeira as his/her 's career
['Q5320196', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q5320196 property:P106 ?y }
association football player
The association football player has Décio Randazzo Teixeira as his/her 's career
association football player
action filter_type
action find
entity Décio Randazzo Teixeira
relation occupation
type occupation
['Décio Randazzo Teixeira', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Décio_Randazzo_Teixeira property:occupation ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q26209334
P106
Q502895
USER
Does Klára Peslarová have that occupation as his/her means of employment ?
(Q26209334,P106,Q937857)
action is_in
entity Q26209334
action find
entity Q937857
relation P106
['Q26209334', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q26209334 }
association football player Klára Peslarová
action is_in
entity Klára Peslarová
action find
entity association football player
relation occupation
['Klára Peslarová', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Klára_Peslarová }
[]
common name
SYSTEM
NO
(Q26209334,P106,Q937857)
action is_in
entity Q26209334
action find
entity Q937857
relation P106
[ANSWER]
['Q26209334', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q26209334 }
No
action is_in
entity Klára Peslarová
action find
entity association football player
relation occupation
['Klára Peslarová', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Klára_Peslarová }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q459973 Q5320196
P19 P20
Q56061
USER
Which administrative territories did Décio Randazzo Teixeira expire or are the places of birth of Anne Jeffreys ?
OR((Q5320196,P20,c(Q56061)), (Q459973,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5320196
relation P20
action find
entity Q459973
relation P19
type Q56061
{'OR': [['Q5320196', 'P20', {'concept': 'Q56061'}], ['Q459973', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q5320196 property:P20 ?u } UNION { resource:Q459973 property:P19 ?u } } }
Anne Jeffreys Décio Randazzo Teixeira
action filter_type
action union
action find
entity Décio Randazzo Teixeira
relation place of death
action find
entity Anne Jeffreys
relation place of birth
type administrative territorial entity
{'OR': [['Décio Randazzo Teixeira', 'place of death', {'concept': 'administrative territorial entity'}], ['Anne Jeffreys', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:Décio_Randazzo_Teixeira property:place_of_death ?u } UNION { resource:Anne_Jeffreys property:place_of_birth ?u } } }
[]
administrative territorial entity
Q42800 Q367400
SYSTEM
Belo Horizonte, Goldsboro
Q42800 Q367400
OR((Q5320196,P20,c(Q56061)), (Q459973,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5320196
relation P20
action find
entity Q459973
relation P19
type Q56061
Décio Randazzo Teixeira expired in [ANSWERS] or are the places of birth of Anne Jeffreys
{'OR': [['Q5320196', 'P20', {'concept': 'Q56061'}], ['Q459973', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q5320196 property:P20 ?u } UNION { resource:Q459973 property:P19 ?u } } }
Belo Horizonte Goldsboro
Décio Randazzo Teixeira expired in Belo Horizonte and Goldsboro or are the places of birth of Anne Jeffreys
Belo Horizonte Goldsboro
action filter_type
action union
action find
entity Décio Randazzo Teixeira
relation place of death
action find
entity Anne Jeffreys
relation place of birth
type administrative territorial entity
{'OR': [['Décio Randazzo Teixeira', 'place of death', {'concept': 'administrative territorial entity'}], ['Anne Jeffreys', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:Décio_Randazzo_Teixeira property:place_of_death ?u } UNION { resource:Anne_Jeffreys property:place_of_birth ?u } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q56061
USER
Which administrative territories are situated close to atleast 2 bodies of water or waterways ?
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action atleast
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
value 2
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?b WHERE { VALUES ( ?t ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?c rdf:type ?t } GROUP BY ?b } . FILTER ( ?i >= 2 ) }
action atleast
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
value 2
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?b WHERE { VALUES ( ?t ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?c rdf:type ?t } GROUP BY ?b } . FILTER ( ?i >= 2 ) }
[]
body of water waterway administrative territorial entity
Q60 Q18419 Q9911
SYSTEM
New York City, Brooklyn, Den Helder
Q9911 Q831527 Q60 Q18419 Q3825
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action atleast
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
value 2
[ANSWERS] are situated close to atleast 2 bodies of water or waterways
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?b WHERE { VALUES ( ?t ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?c rdf:type ?t } GROUP BY ?b } . FILTER ( ?i >= 2 ) }
Den Helder Djurgården New York City Brooklyn Libreville
New York City, Brooklyn and Den Helder are situated close to atleast 2 bodies of water or waterways
New York City Brooklyn Den Helder
action atleast
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
value 2
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?b WHERE { VALUES ( ?t ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?c rdf:type ?t } GROUP BY ?b } . FILTER ( ?i >= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q60
P138
Q79007 Q3895768
USER
How many streets and fictional locations are the eponym of New York City ?
(c(Q79007),P138,Q60) (c(Q3895768),P138,Q60)
action count
action union
action filter_type
action find_reverse
entity Q60
relation P138
type Q79007
action filter_type
action find_reverse
entity Q60
relation P138
type Q3895768
[{'concept': 'Q79007'}, 'P138', 'Q60'] [{'concept': 'Q3895768'}, 'P138', 'Q60']
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { ?o rdf:type ontology:Q79007 . ?o property:P138 resource:Q60 } UNION { ?o property:P138 resource:Q60 . ?o rdf:type ontology:Q3895768 } }
New York City
action count
action union
action filter_type
action find_reverse
entity New York City
relation named after
type street
action filter_type
action find_reverse
entity New York City
relation named after
type fictional location
[{'concept': 'street'}, 'named after', 'New York City'] [{'concept': 'fictional location'}, 'named after', 'New York City']
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { ?o rdf:type ontology:street . ?o property:named_after resource:New_York_City } UNION { ?o property:named_after resource:New_York_City . ?o rdf:type ontology:fictional_location } }
[]
street fictional location
SYSTEM
1 streets and 3 fictional locations
Q18030322 Q18030394 Q18030290 Q2873938
(c(Q79007),P138,Q60) (c(Q3895768),P138,Q60)
action count
action union
action filter_type
action find_reverse
entity Q60
relation P138
type Q79007
action filter_type
action find_reverse
entity Q60
relation P138
type Q3895768
[ANSWER]
[{'concept': 'Q79007'}, 'P138', 'Q60'] [{'concept': 'Q3895768'}, 'P138', 'Q60']
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { ?o rdf:type ontology:Q79007 . ?o property:P138 resource:Q60 } UNION { ?o property:P138 resource:Q60 . ?o rdf:type ontology:Q3895768 } }
New New York New New York New New York avenue de New-York
1 streets and 3 fictional locations
action count
action union
action filter_type
action find_reverse
entity New York City
relation named after
type street
action filter_type
action find_reverse
entity New York City
relation named after
type fictional location
[{'concept': 'street'}, 'named after', 'New York City'] [{'concept': 'fictional location'}, 'named after', 'New York City']
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { ?o rdf:type ontology:street . ?o property:named_after resource:New_York_City } UNION { ?o property:named_after resource:New_York_City . ?o rdf:type ontology:fictional_location } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q19277222
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as registry port than Ceona Amazon ?
(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 Q19277222
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?i ) WHERE { ?f rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 . ?f property:P532 ?c } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q19277222 property:P532 ?l . ?l rdf:type ontology:Q2235308 } } . FILTER ( ?i > ?g ) }
Ceona Amazon
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 Ceona Amazon
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?i ) WHERE { ?f rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity . ?f property:port_of_registry ?c } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Ceona_Amazon property:port_of_registry ?l . ?l rdf:type ontology:ship_type } } . FILTER ( ?i > ?g ) }
[]
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 Q19277222
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as registry port than Ceona Amazon
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?i ) WHERE { ?f rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 . ?f property:P532 ?c } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q19277222 property:P532 ?l . ?l rdf:type ontology:Q2235308 } } . FILTER ( ?i > ?g ) }
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 greater number of administrative territories as registry port than Ceona Amazon
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 Ceona Amazon
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?i ) WHERE { ?f rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity . ?f property:port_of_registry ?c } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Ceona_Amazon property:port_of_registry ?l . ?l rdf:type ontology:ship_type } } . FILTER ( ?i > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q778649
P532
Q56061 Q2235308
USER
And what about Eclipse?
(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 Q778649
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?t ) WHERE { ?v rdf:type ontology:Q2235308 . ?d rdf:type ontology:Q56061 . ?v property:P532 ?d } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q778649 property:P532 ?a . ?a rdf:type ontology:Q2235308 } } . FILTER ( ?t > ?c ) }
Eclipse
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 Eclipse
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?t ) WHERE { ?v rdf:type ontology:ship_type . ?d rdf:type ontology:administrative_territorial_entity . ?v property:port_of_registry ?d } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Eclipse property:port_of_registry ?a . ?a rdf:type ontology:ship_type } } . FILTER ( ?t > ?c ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q11707059
SYSTEM
MS Azura, SS Maxim Gorkiy, MS Arrow
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(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 Q778649
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?t ) WHERE { ?v rdf:type ontology:Q2235308 . ?d rdf:type ontology:Q56061 . ?v property:P532 ?d } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q778649 property:P532 ?a . ?a rdf:type ontology:Q2235308 } } . FILTER ( ?t > ?c ) }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura SS Maxim Gorkiy MS Arrow
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 Eclipse
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?t ) WHERE { ?v rdf:type ontology:ship_type . ?d rdf:type ontology:administrative_territorial_entity . ?v property:port_of_registry ?d } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Eclipse property:port_of_registry ?a . ?a rdf:type ontology:ship_type } } . FILTER ( ?t > ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q60 Q173690
P190
Q15617994
USER
How many administrative territories are twin cities of New York City or Gjirokastër ?
(Q60,P190,c(Q15617994)) (Q173690,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q60
relation P190
type Q15617994
action filter_type
action find
entity Q173690
relation P190
type Q15617994
['Q60', 'P190', {'concept': 'Q15617994'}] ['Q173690', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?v property:P190 ?s . VALUES ( ?v ) { ( resource:Q60 ) ( resource:Q173690 ) } }
New York City Gjirokastër
action count
action union
action filter_type
action find
entity New York City
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Gjirokastër
relation sister city
type designation for an administrative territorial entity
['New York City', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Gjirokastër', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?v property:sister_city ?s . VALUES ( ?v ) { ( resource:New_York_City ) ( resource:Gjirokastër ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q16333 Q56071
(Q60,P190,c(Q15617994)) (Q173690,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q60
relation P190
type Q15617994
action filter_type
action find
entity Q173690
relation P190
type Q15617994
[ANSWER]
['Q60', 'P190', {'concept': 'Q15617994'}] ['Q173690', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?v property:P190 ?s . VALUES ( ?v ) { ( resource:Q60 ) ( resource:Q173690 ) } }
Casale Monferrato Grottammare
2
action count
action union
action filter_type
action find
entity New York City
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Gjirokastër
relation sister city
type designation for an administrative territorial entity
['New York City', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Gjirokastër', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?v property:sister_city ?s . VALUES ( ?v ) { ( resource:New_York_City ) ( resource:Gjirokastër ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P144
Q3895768
USER
Which fictional location is adapted from New York City ?
(c(Q3895768),P144,Q60)
action filter_type
action find_reverse
entity Q60
relation P144
type Q3895768
[{'concept': 'Q3895768'}, 'P144', 'Q60']
SELECT DISTINCT ?z WHERE { ?z property:P144 resource:Q60 . ?z rdf:type ontology:Q3895768 }
New York City
action filter_type
action find_reverse
entity New York City
relation based on
type fictional location
[{'concept': 'fictional location'}, 'based on', 'New York City']
SELECT DISTINCT ?z WHERE { ?z property:based_on resource:New_York_City . ?z rdf:type ontology:fictional_location }
[]
fictional location
Q18030290
SYSTEM
New New York
Q18030290
(c(Q3895768),P144,Q60)
action filter_type
action find_reverse
entity Q60
relation P144
type Q3895768
City New York is adapted from New York City
[{'concept': 'Q3895768'}, 'P144', 'Q60']
SELECT DISTINCT ?z WHERE { ?z property:P144 resource:Q60 . ?z rdf:type ontology:Q3895768 }
New New York
City New York is adapted from New York City
New New York
action filter_type
action find_reverse
entity New York City
relation based on
type fictional location
[{'concept': 'fictional location'}, 'based on', 'New York City']
SELECT DISTINCT ?z WHERE { ?z property:based_on resource:New_York_City . ?z rdf:type ontology:fictional_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18030290
P706
Q3895768
USER
What is the location where that one is located ?
(Q18030290,P706,c(Q3895768))
action filter_type
action find
entity Q18030290
relation P706
type Q3895768
['Q18030290', 'P706', {'concept': 'Q3895768'}]
SELECT DISTINCT ?t WHERE { resource:Q18030290 property:P706 ?t . ?t rdf:type ontology:Q3895768 }
New New York
action filter_type
action find
entity New New York
relation located on terrain feature
type fictional location
['New New York', 'located on terrain feature', {'concept': 'fictional location'}]
SELECT DISTINCT ?t WHERE { resource:New_New_York property:located_on_terrain_feature ?t . ?t rdf:type ontology:fictional_location }
[]
fictional location
Q18030305
SYSTEM
Old New York
Q18030305
(Q18030290,P706,c(Q3895768))
action filter_type
action find
entity Q18030290
relation P706
type Q3895768
The location that one is located is the [ANSWER]
['Q18030290', 'P706', {'concept': 'Q3895768'}]
SELECT DISTINCT ?t WHERE { resource:Q18030290 property:P706 ?t . ?t rdf:type ontology:Q3895768 }
Old New York
The location that one is located is the Old New York
Old New York
action filter_type
action find
entity New New York
relation located on terrain feature
type fictional location
['New New York', 'located on terrain feature', {'concept': 'fictional location'}]
SELECT DISTINCT ?t WHERE { resource:New_New_York property:located_on_terrain_feature ?t . ?t rdf:type ontology:fictional_location }
[]