Simple Question (Direct)
Simple Question
Q4723653
P641
Q349
USER
Which sport was Alfred Wood a part of ?
(Q4723653,P641,c(Q349))
action filter_type
action find
entity Q4723653
relation P641
type Q349
['Q4723653', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q4723653 property:P641 ?d . ?d rdf:type ontology:Q349 }
Alfred Wood
action filter_type
action find
entity Alfred Wood
relation sport
type sport
['Alfred Wood', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Alfred_Wood property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4723653,P641,c(Q349))
action filter_type
action find
entity Q4723653
relation P641
type Q349
Were [ANSWER] was Alfred Wood a part of
['Q4723653', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q4723653 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
Were association football was Alfred Wood a part of
association football
action filter_type
action find
entity Alfred Wood
relation sport
type sport
['Alfred Wood', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Alfred_Wood property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4723653
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q4723653
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q4723653 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Alfred Wood
action filter_type
action find
entity Alfred Wood
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alfred_Wood property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1538358
SYSTEM
Workington
Q1538358
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q4723653
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q4723653 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Workington
Workington is the place of birth of that person
Workington
action filter_type
action find
entity Alfred Wood
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alfred_Wood property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1538358 Q10542732
P19
Q502895
USER
Does David Symington have place of birth as that administrative territory ?
(Q10542732,P19,Q1538358)
action is_in
entity Q1538358
action find
entity Q10542732
relation P19
['Q10542732', 'P19', 'Q1538358']
ASK WHERE { resource:Q10542732 property:P19 resource:Q1538358 }
Workington David Symington
action is_in
entity Workington
action find
entity David Symington
relation place of birth
['David Symington', 'place of birth', 'Workington']
ASK WHERE { resource:David_Symington property:place_of_birth resource:Workington }
[]
common name
SYSTEM
YES
(Q10542732,P19,Q1538358)
action is_in
entity Q1538358
action find
entity Q10542732
relation P19
[ANSWER]
['Q10542732', 'P19', 'Q1538358']
ASK WHERE { resource:Q10542732 property:P19 resource:Q1538358 }
Yes
action is_in
entity Workington
action find
entity David Symington
relation place of birth
['David Symington', 'place of birth', 'Workington']
ASK WHERE { resource:David_Symington property:place_of_birth resource:Workington }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1538358
P17
Q15617994
USER
How many administrative territories are Workington present in ?
(Q1538358,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1538358
relation P17
type Q15617994
['Q1538358', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1538358 property:P17 ?a }
Workington
action count
action filter_type
action find
entity Workington
relation country
type designation for an administrative territorial entity
['Workington', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Workington property:country ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q1538358,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1538358
relation P17
type Q15617994
[ANSWER]
['Q1538358', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1538358 property:P17 ?a }
United Kingdom
1
action count
action filter_type
action find
entity Workington
relation country
type designation for an administrative territorial entity
['Workington', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Workington property:country ?a }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4929596
Q15617994
USER
And what about Blue Omega?
(Q4929596,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4929596
relation P17
type Q15617994
['Q4929596', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q4929596 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Blue Omega
action count
action filter_type
action find
entity Blue Omega
relation country
type designation for an administrative territorial entity
['Blue Omega', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Blue_Omega property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q4929596,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4929596
relation P17
type Q15617994
[ANSWER]
['Q4929596', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q4929596 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Blue Omega
relation country
type designation for an administrative territorial entity
['Blue Omega', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Blue_Omega property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1538358
P190
Q15617994 Q20667921
USER
How many administrative territories or french administrative divisions are partner towns of Workington ?
(Q1538358,P190,c(Q15617994)) (Q1538358,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q1538358
relation P190
type Q15617994
action filter_type
action find
entity Q1538358
relation P190
type Q20667921
['Q1538358', 'P190', {'concept': 'Q15617994'}] ['Q1538358', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } }
Workington
action count
action union
action filter_type
action find
entity Workington
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Workington
relation sister city
type type of french administrative division
['Workington', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Workington', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
2
Q10935 Q921780
(Q1538358,P190,c(Q15617994)) (Q1538358,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q1538358
relation P190
type Q15617994
action filter_type
action find
entity Q1538358
relation P190
type Q20667921
[ANSWER]
['Q1538358', 'P190', {'concept': 'Q15617994'}] ['Q1538358', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } }
Selm Val-de-Reuil
2
action count
action union
action filter_type
action find
entity Workington
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Workington
relation sister city
type type of french administrative division
['Workington', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Workington', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027511
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as registry port than Harperly ?
(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 Q24027511
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?r property:P532 ?o . ?r rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q56061 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q24027511 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?m ) }
Harperly
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 Harperly
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?r property:port_of_registry ?o . ?r rdf:type ontology:ship_type . ?o rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Harperly property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?s > ?m ) }
[]
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 Q24027511
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?r property:P532 ?o . ?r rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q56061 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q24027511 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?m ) }
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 Harperly
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?r property:port_of_registry ?o . ?r rdf:type ontology:ship_type . ?o rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Harperly property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?s > ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4723653
P106
Q12737077
USER
What is the profession of Alfred Wood ?
(Q4723653,P106,c(Q12737077))
action filter_type
action find
entity Q4723653
relation P106
type Q12737077
['Q4723653', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4723653 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Alfred Wood
action filter_type
action find
entity Alfred Wood
relation occupation
type occupation
['Alfred Wood', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Alfred_Wood property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4723653,P106,c(Q12737077))
action filter_type
action find
entity Q4723653
relation P106
type Q12737077
The profession of Alfred Wood is an [ANSWER]
['Q4723653', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4723653 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
The profession of Alfred Wood is an association football player
association football player
action filter_type
action find
entity Alfred Wood
relation occupation
type occupation
['Alfred Wood', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Alfred_Wood property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4723653
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Alfred Wood ?
(Q4723653,P27,c(Q15617994))
action filter_type
action find
entity Q4723653
relation P27
type Q15617994
['Q4723653', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q4723653 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Alfred Wood
action filter_type
action find
entity Alfred Wood
relation country of citizenship
type designation for an administrative territorial entity
['Alfred Wood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Alfred_Wood property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4723653,P27,c(Q15617994))
action filter_type
action find
entity Q4723653
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Alfred Wood
['Q4723653', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q4723653 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Alfred Wood
United Kingdom
action filter_type
action find
entity Alfred Wood
relation country of citizenship
type designation for an administrative territorial entity
['Alfred Wood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Alfred_Wood property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q386724 Q1792379
USER
Which occupations are depicted in atleast 2 works and art genres ?
(c(Q386724)|c(Q1792379),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 2
[[{'concept': 'Q386724'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?i WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q386724 ) ( ontology:Q1792379 ) } } GROUP BY ?i } . FILTER ( ?z >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 2
[[{'concept': 'work'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?i WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:work ) ( ontology:art_genre ) } } GROUP BY ?i } . FILTER ( ?z >= 2 ) }
[]
occupation work art genre
Q54128 Q2730732
SYSTEM
domestic worker, equestrian
Q54128 Q2730732
(c(Q386724)|c(Q1792379),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 2
[ANSWERS] are depicted in atleast 2 works and art genres
[[{'concept': 'Q386724'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?i WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q386724 ) ( ontology:Q1792379 ) } } GROUP BY ?i } . FILTER ( ?z >= 2 ) }
domestic worker equestrian
Domestic worker and equestrian are depicted in atleast 2 works and art genres
domestic worker equestrian
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 2
[[{'concept': 'work'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?i WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:work ) ( ontology:art_genre ) } } GROUP BY ?i } . FILTER ( ?z >= 2 ) }
[]