Simple Question (Direct)
Simple Question
Q2903022
P27
Q15617994
USER
Which administrative territory is Assaf Yaguri an inhabitant of ?
(Q2903022,P27,c(Q15617994))
action filter_type
action find
entity Q2903022
relation P27
type Q15617994
['Q2903022', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2903022 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Assaf Yaguri
action filter_type
action find
entity Assaf Yaguri
relation country of citizenship
type designation for an administrative territorial entity
['Assaf Yaguri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Assaf_Yaguri property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q2903022,P27,c(Q15617994))
action filter_type
action find
entity Q2903022
relation P27
type Q15617994
[ANSWER] is Assaf Yaguri an inhabitant of
['Q2903022', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2903022 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Israel
Israel is Assaf Yaguri an inhabitant of
Israel
action filter_type
action find
entity Assaf Yaguri
relation country of citizenship
type designation for an administrative territorial entity
['Assaf Yaguri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Assaf_Yaguri property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2903022
P1412
Q25295
USER
Which language family can that person read ?
(Q801,P1412,c(Q25295))
action filter_type
action find
entity Q2903022
relation P1412
type Q25295
['Q801', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?h WHERE { resource:Q2903022 property:P1412 ?h . ?h rdf:type ontology:Q25295 }
Assaf Yaguri
action filter_type
action find
entity Assaf Yaguri
relation languages spoken, written or signed
type language family
['Israel', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?h WHERE { resource:Assaf_Yaguri property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language_family }
[]
language family
Q9288
SYSTEM
Hebrew
Q9288
(Q801,P1412,c(Q25295))
action filter_type
action find
entity Q2903022
relation P1412
type Q25295
[ANSWER] can that person read
['Q801', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?h WHERE { resource:Q2903022 property:P1412 ?h . ?h rdf:type ontology:Q25295 }
Hebrew
Hebrew can that person read
Hebrew
action filter_type
action find
entity Assaf Yaguri
relation languages spoken, written or signed
type language family
['Israel', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?h WHERE { resource:Assaf_Yaguri property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language_family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2903022
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q9288,P102,c(Q7210356))
action filter_type
action find
entity Q2903022
relation P102
type Q7210356
['Q9288', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q2903022 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Assaf Yaguri
action filter_type
action find
entity Assaf Yaguri
relation member of political party
type political organization
['Hebrew', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Assaf_Yaguri property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q2583925
SYSTEM
Democratic Movement for Change
Q2583925
(Q9288,P102,c(Q7210356))
action filter_type
action find
entity Q2903022
relation P102
type Q7210356
[ANSWER] is that person a member of
['Q9288', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q2903022 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Democratic Movement for Change
Democratic Movement for Change is that person a member of
Democratic Movement for Change
action filter_type
action find
entity Assaf Yaguri
relation member of political party
type political organization
['Hebrew', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Assaf_Yaguri property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2903022
P19
Q56061
USER
Which administrative territory was Assaf Yaguri born at ?
(Q2903022,P19,c(Q56061))
action filter_type
action find
entity Q2903022
relation P19
type Q56061
['Q2903022', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2903022 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Assaf Yaguri
action filter_type
action find
entity Assaf Yaguri
relation place of birth
type administrative territorial entity
['Assaf Yaguri', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Assaf_Yaguri property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586687
SYSTEM
Yagur
Q586687
(Q2903022,P19,c(Q56061))
action filter_type
action find
entity Q2903022
relation P19
type Q56061
Assaf [ANSWER]i was born Amin [ANSWER]
['Q2903022', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2903022 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Yagur
Assaf Yaguri was born Amin Yagur
Yagur
action filter_type
action find
entity Assaf Yaguri
relation place of birth
type administrative territorial entity
['Assaf Yaguri', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Assaf_Yaguri property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20810579
Q56061
USER
And how about Donald Charles Cameron?
(Q20810579,P19,c(Q56061))
action filter_type
action find
entity Q20810579
relation P19
type Q56061
['Q20810579', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q20810579 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Donald Charles Cameron
action filter_type
action find
entity Donald Charles Cameron
relation place of birth
type administrative territorial entity
['Donald Charles Cameron', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Donald_Charles_Cameron property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q133073
SYSTEM
Dunedin
Q133073
(Q20810579,P19,c(Q56061))
action filter_type
action find
entity Q20810579
relation P19
type Q56061
[ANSWER]
['Q20810579', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q20810579 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Dunedin
Dunedin
action filter_type
action find
entity Donald Charles Cameron
relation place of birth
type administrative territorial entity
['Donald Charles Cameron', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Donald_Charles_Cameron property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P740
Q2088357 Q43229
USER
How many musical ensembles or organizations originated at that administrative territory ?
(c(Q2088357),P740,Q133073) (c(Q43229),P740,Q133073) (c(Q2088357),P740,Q133073) (c(Q43229),P740,Q133073)
action count
action union
action filter_type
action find_reverse
entity Q133073
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q133073
relation P740
type Q43229
[{'concept': 'Q2088357'}, 'P740', 'Q133073'] [{'concept': 'Q43229'}, 'P740', 'Q133073'] [{'concept': 'Q2088357'}, 'P740', 'Q133073'] [{'concept': 'Q43229'}, 'P740', 'Q133073']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:P740 resource:Q133073 . ?r rdf:type ontology:Q2088357 } UNION { ?r property:P740 resource:Q133073 . ?r rdf:type ontology:Q43229 } }
action count
action union
action filter_type
action find_reverse
entity Dunedin
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Dunedin
relation location of formation
type organization
[{'concept': 'musical ensemble'}, 'location of formation', 'Dunedin'] [{'concept': 'organization'}, 'location of formation', 'Dunedin'] [{'concept': 'musical ensemble'}, 'location of formation', 'Dunedin'] [{'concept': 'organization'}, 'location of formation', 'Dunedin']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:location_of_formation resource:Dunedin . ?r rdf:type ontology:musical_ensemble } UNION { ?r property:location_of_formation resource:Dunedin . ?r rdf:type ontology:organization } }
[]
musical ensemble organization
SYSTEM
2
Q2152089 Q6307630
(c(Q2088357),P740,Q133073) (c(Q43229),P740,Q133073) (c(Q2088357),P740,Q133073) (c(Q43229),P740,Q133073)
action count
action union
action filter_type
action find_reverse
entity Q133073
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q133073
relation P740
type Q43229
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q133073'] [{'concept': 'Q43229'}, 'P740', 'Q133073'] [{'concept': 'Q2088357'}, 'P740', 'Q133073'] [{'concept': 'Q43229'}, 'P740', 'Q133073']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:P740 resource:Q133073 . ?r rdf:type ontology:Q2088357 } UNION { ?r property:P740 resource:Q133073 . ?r rdf:type ontology:Q43229 } }
Union Company Julian Temple Band
2
action count
action union
action filter_type
action find_reverse
entity Dunedin
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Dunedin
relation location of formation
type organization
[{'concept': 'musical ensemble'}, 'location of formation', 'Dunedin'] [{'concept': 'organization'}, 'location of formation', 'Dunedin'] [{'concept': 'musical ensemble'}, 'location of formation', 'Dunedin'] [{'concept': 'organization'}, 'location of formation', 'Dunedin']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:location_of_formation resource:Dunedin . ?r rdf:type ontology:musical_ensemble } UNION { ?r property:location_of_formation resource:Dunedin . ?r rdf:type ontology:organization } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027413
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their registry harbour than Ina Lass ?
(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 Q24027413
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q24027413 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?a ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?n ) WHERE { ?v rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 . ?v property:P532 ?x } GROUP BY ?v } }
Ina Lass
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 Ina Lass
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Ina_Lass property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?n > ?a ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?n ) WHERE { ?v rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity . ?v property:port_of_registry ?x } GROUP BY ?v } }
[]
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 Q24027413
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q24027413 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?a ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?n ) WHERE { ?v rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 . ?v property:P532 ?x } GROUP BY ?v } }
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 Ina Lass
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Ina_Lass property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?n > ?a ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?n ) WHERE { ?v rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity . ?v property:port_of_registry ?x } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16826191 Q2903022
P20 P17
Q15617994
USER
Which administrative territories did Assaf Yaguri expire or do Agua Santa Airport belong to ?
OR((Q2903022,P20,c(Q15617994)), (Q16826191,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2903022
relation P20
action find
entity Q16826191
relation P17
type Q15617994
{'OR': [['Q2903022', 'P20', {'concept': 'Q15617994'}], ['Q16826191', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2903022 property:P20 ?d } UNION { resource:Q16826191 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Agua Santa Airport Assaf Yaguri
action filter_type
action union
action find
entity Assaf Yaguri
relation place of death
action find
entity Agua Santa Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Assaf Yaguri', 'place of death', {'concept': 'designation for an administrative territorial entity'}], ['Agua Santa Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Assaf_Yaguri property:place_of_death ?d } UNION { resource:Agua_Santa_Airport property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298 Q801
SYSTEM
Chile, Israel
Q298 Q801
OR((Q2903022,P20,c(Q15617994)), (Q16826191,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2903022
relation P20
action find
entity Q16826191
relation P17
type Q15617994
Assaf Yaguri expired in [ANSWERS]
{'OR': [['Q2903022', 'P20', {'concept': 'Q15617994'}], ['Q16826191', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2903022 property:P20 ?d } UNION { resource:Q16826191 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Chile Israel
Assaf Yaguri expired in Chile and Israel
Chile Israel
action filter_type
action union
action find
entity Assaf Yaguri
relation place of death
action find
entity Agua Santa Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Assaf Yaguri', 'place of death', {'concept': 'designation for an administrative territorial entity'}], ['Agua Santa Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Assaf_Yaguri property:place_of_death ?d } UNION { resource:Agua_Santa_Airport property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q801
P710
Q350604 Q645883
USER
How many armed conflicts or military operations did Israel participate in ?
(c(Q350604),P710,Q801) (c(Q645883),P710,Q801)
action count
action union
action filter_type
action find_reverse
entity Q801
relation P710
type Q350604
action filter_type
action find_reverse
entity Q801
relation P710
type Q645883
[{'concept': 'Q350604'}, 'P710', 'Q801'] [{'concept': 'Q645883'}, 'P710', 'Q801']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:P710 resource:Q801 . ?a rdf:type ontology:Q350604 } UNION { ?a rdf:type ontology:Q645883 . ?a property:P710 resource:Q801 } }
Israel
action count
action union
action filter_type
action find_reverse
entity Israel
relation participant
type armed conflict
action filter_type
action find_reverse
entity Israel
relation participant
type military operation
[{'concept': 'armed conflict'}, 'participant', 'Israel'] [{'concept': 'military operation'}, 'participant', 'Israel']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:participant resource:Israel . ?a rdf:type ontology:armed_conflict } UNION { ?a rdf:type ontology:military_operation . ?a property:participant resource:Israel } }
[]
armed conflict military operation
SYSTEM
2
Q49100 Q33933
(c(Q350604),P710,Q801) (c(Q645883),P710,Q801)
action count
action union
action filter_type
action find_reverse
entity Q801
relation P710
type Q350604
action filter_type
action find_reverse
entity Q801
relation P710
type Q645883
[ANSWER]
[{'concept': 'Q350604'}, 'P710', 'Q801'] [{'concept': 'Q645883'}, 'P710', 'Q801']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:P710 resource:Q801 . ?a rdf:type ontology:Q350604 } UNION { ?a rdf:type ontology:Q645883 . ?a property:P710 resource:Q801 } }
Yom Kippur War Operation Entebbe
2
action count
action union
action filter_type
action find_reverse
entity Israel
relation participant
type armed conflict
action filter_type
action find_reverse
entity Israel
relation participant
type military operation
[{'concept': 'armed conflict'}, 'participant', 'Israel'] [{'concept': 'military operation'}, 'participant', 'Israel']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:participant resource:Israel . ?a rdf:type ontology:armed_conflict } UNION { ?a rdf:type ontology:military_operation . ?a property:participant resource:Israel } }
[]