Simple Question (Direct)
Simple Question
Q452071
P106
Q12737077
USER
What is the profession of Nion Tocker ?
(Q452071,P106,c(Q12737077))
action filter_type
action find
entity Q452071
relation P106
type Q12737077
['Q452071', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q452071 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Nion Tocker
action filter_type
action find
entity Nion Tocker
relation occupation
type occupation
['Nion Tocker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Nion_Tocker property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q131524
SYSTEM
entrepreneur
Q131524
(Q452071,P106,c(Q12737077))
action filter_type
action find
entity Q452071
relation P106
type Q12737077
The profession of Nion Tocker is an [ANSWER]
['Q452071', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q452071 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
entrepreneur
The profession of Nion Tocker is an entrepreneur
entrepreneur
action filter_type
action find
entity Nion Tocker
relation occupation
type occupation
['Nion Tocker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Nion_Tocker property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q452071
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q131524,P20,c(Q56061))
action filter_type
action find
entity Q452071
relation P20
type Q56061
['Q131524', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q452071 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Nion Tocker
action filter_type
action find
entity Nion Tocker
relation place of death
type administrative territorial entity
['entrepreneur', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Nion_Tocker property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q62
SYSTEM
San Francisco
Q62
(Q131524,P20,c(Q56061))
action filter_type
action find
entity Q452071
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q131524', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q452071 property:P20 ?l . ?l rdf:type ontology:Q56061 }
San Francisco
San Francisco is the place of death of that person
San Francisco
action filter_type
action find
entity Nion Tocker
relation place of death
type administrative territorial entity
['entrepreneur', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Nion_Tocker property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q452071
P1344
Q15900616
USER
What did that person participate in ?
(Q62,P1344,c(Q15900616))
action filter_type
action find
entity Q452071
relation P1344
type Q15900616
['Q62', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?c WHERE { resource:Q452071 property:P1344 ?c . ?c rdf:type ontology:Q15900616 }
Nion Tocker
action filter_type
action find
entity Nion Tocker
relation participant of
type event sequence
['San Francisco', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?c WHERE { resource:Nion_Tocker property:participant_of ?c . ?c rdf:type ontology:event_sequence }
[]
event sequence
Q9591
SYSTEM
1928 Winter Olympics
Q9591
(Q62,P1344,c(Q15900616))
action filter_type
action find
entity Q452071
relation P1344
type Q15900616
That person participated in [ANSWER]
['Q62', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?c WHERE { resource:Q452071 property:P1344 ?c . ?c rdf:type ontology:Q15900616 }
1928 Winter Olympics
That person participated in 1928 Winter Olympics
1928 Winter Olympics
action filter_type
action find
entity Nion Tocker
relation participant of
type event sequence
['San Francisco', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?c WHERE { resource:Nion_Tocker property:participant_of ?c . ?c rdf:type ontology:event_sequence }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1344
Q15900616 Q502895
USER
How many event sequences did around the same number of people take part in as that event sequence ?
(c(Q502895),P1344,c(Q15900616))
action count
action approx
action find_reverse_tuple_counts
relation P1344
type Q15900616
type Q502895
action count
action filter_type
action find
entity Q9591
relation P1344
type Q15900616
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P1344 ?o . ?o rdf:type ontology:Q15900616 . ?y rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q9591 property:P1344 ?g . ?g rdf:type ontology:Q15900616 } } }
action count
action approx
action find_reverse_tuple_counts
relation participant of
type event sequence
type common name
action count
action filter_type
action find
entity 1928 Winter Olympics
relation participant of
type event sequence
[{'concept': 'common name'}, 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:participant_of ?o . ?o rdf:type ontology:event_sequence . ?y rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:1928_Winter_Olympics property:participant_of ?g . ?g rdf:type ontology:event_sequence } } }
[]
event sequence common name
SYSTEM
15
Q9646 Q9634 Q9636 Q9651 Q9657 Q9632 Q9658 Q9596 Q9591 Q9615 Q9583 Q9642 Q9652 Q9623 Q9600
(c(Q502895),P1344,c(Q15900616))
action count
action approx
action find_reverse_tuple_counts
relation P1344
type Q15900616
type Q502895
action count
action filter_type
action find
entity Q9591
relation P1344
type Q15900616
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P1344 ?o . ?o rdf:type ontology:Q15900616 . ?y rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q9591 property:P1344 ?g . ?g rdf:type ontology:Q15900616 } } }
1972 Winter Olympics 1960 Winter Olympics 1964 Winter Olympics 1976 Winter Olympics 1984 Winter Olympics 1956 Winter Olympics 1988 Winter Olympics 1932 Winter Olympics 1928 Winter Olympics 1948 Winter Olympics 1924 Winter Olympics 1968 Winter Olympics 1980 Winter Olympics 1952 Winter Olympics 1936 Winter Olympics
15
action count
action approx
action find_reverse_tuple_counts
relation participant of
type event sequence
type common name
action count
action filter_type
action find
entity 1928 Winter Olympics
relation participant of
type event sequence
[{'concept': 'common name'}, 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:participant_of ?o . ?o rdf:type ontology:event_sequence . ?y rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:1928_Winter_Olympics property:participant_of ?g . ?g rdf:type ontology:event_sequence } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q214828 Q452071
P27
Q15617994
USER
Which administrative territories are the native countriesof Nion Tocker and Ernest Manheim ?
AND((Q452071,P27,c(Q15617994)), (Q214828,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q452071
relation P27
action find
entity Q214828
relation P27
type Q15617994
{'AND': [['Q452071', 'P27', {'concept': 'Q15617994'}], ['Q214828', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q452071 property:P27 ?u . resource:Q214828 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Ernest Manheim Nion Tocker
action filter_type
action intersection
action find
entity Nion Tocker
relation country of citizenship
action find
entity Ernest Manheim
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Nion Tocker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ernest Manheim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Nion_Tocker property:country_of_citizenship ?u . resource:Ernest_Manheim property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q452071,P27,c(Q15617994)), (Q214828,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q452071
relation P27
action find
entity Q214828
relation P27
type Q15617994
[ANSWER] is the native countriesof Nion Tocker and Ernest Manheim
{'AND': [['Q452071', 'P27', {'concept': 'Q15617994'}], ['Q214828', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q452071 property:P27 ?u . resource:Q214828 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
United States of America is the native countriesof Nion Tocker and Ernest Manheim
United States of America
action filter_type
action intersection
action find
entity Nion Tocker
relation country of citizenship
action find
entity Ernest Manheim
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Nion Tocker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ernest Manheim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Nion_Tocker property:country_of_citizenship ?u . resource:Ernest_Manheim property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q1996016 Q11815
P6
Q502895
USER
Does that administrative territory have Ngawang Künga Wangyal and James Monroe as its administrative leader ?
(Q30,P6,Q1996016) (Q30,P6,Q11815)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1996016
relation P6
action find_reverse
entity Q11815
relation P6
['Q30', 'P6', 'Q1996016'] ['Q30', 'P6', 'Q11815']
ASK WHERE { resource:Q30 property:P6 resource:Q1996016 . resource:Q30 property:P6 resource:Q11815 }
United States of America Ngawang Künga Wangyal James Monroe
action is_in
entity United States of America
action intersection
action find_reverse
entity Ngawang Künga Wangyal
relation head of government
action find_reverse
entity James Monroe
relation head of government
['United States of America', 'head of government', 'Ngawang Künga Wangyal'] ['United States of America', 'head of government', 'James Monroe']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Ngawang_Künga_Wangyal . resource:United_States_of_America property:head_of_government resource:James_Monroe }
[]
common name
SYSTEM
NO and YES respectively
(Q30,P6,Q1996016) (Q30,P6,Q11815)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1996016
relation P6
action find_reverse
entity Q11815
relation P6
[ANSWER]
['Q30', 'P6', 'Q1996016'] ['Q30', 'P6', 'Q11815']
ASK WHERE { resource:Q30 property:P6 resource:Q1996016 . resource:Q30 property:P6 resource:Q11815 }
NO and YES respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Ngawang Künga Wangyal
relation head of government
action find_reverse
entity James Monroe
relation head of government
['United States of America', 'head of government', 'Ngawang Künga Wangyal'] ['United States of America', 'head of government', 'James Monroe']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Ngawang_Künga_Wangyal . resource:United_States_of_America property:head_of_government resource:James_Monroe }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories holds diplomatic relationship with around 19 political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?d } . FILTER ( ?s = 19 ) }
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?d } . FILTER ( ?s = 19 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q142 Q148 Q801
SYSTEM
France, People's Republic of China, Israel
Q801 Q805 Q142 Q145 Q148 Q403 Q43 Q17 Q79 Q1011
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[ANSWERS] hold diplomatic relationship with around 19 political territories and administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?d } . FILTER ( ?s = 19 ) }
Israel Yemen France United Kingdom People's Republic of China Serbia Turkey Japan Egypt Cape Verde
France, People's Republic of China and Israel hold diplomatic relationship with around 19 political territories and administrative territories
France People's Republic of China Israel
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?d } . FILTER ( ?s = 19 ) }
[]