Simple Question (Direct)
Simple Question
Q4485172
P19
Q13220204
USER
Which administrative country subdivision was Moysey Fishbein born at ?
(Q4485172,P19,c(Q13220204))
action filter_type
action find
entity Q4485172
relation P19
type Q13220204
['Q4485172', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q4485172 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Moysey Fishbein
action filter_type
action find
entity Moysey Fishbein
relation place of birth
type second-level administrative country subdivision
['Moysey Fishbein', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Moysey_Fishbein property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q157725
SYSTEM
Chernivtsi
Q157725
(Q4485172,P19,c(Q13220204))
action filter_type
action find
entity Q4485172
relation P19
type Q13220204
Moysey Fishbein was born in [ANSWER]
['Q4485172', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q4485172 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Chernivtsi
Moysey Fishbein was born in Chernivtsi
Chernivtsi
action filter_type
action find
entity Moysey Fishbein
relation place of birth
type second-level administrative country subdivision
['Moysey Fishbein', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Moysey_Fishbein property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4485172
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q157725,P27,c(Q15617994))
action filter_type
action find
entity Q4485172
relation P27
type Q15617994
['Q157725', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q4485172 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Moysey Fishbein
action filter_type
action find
entity Moysey Fishbein
relation country of citizenship
type designation for an administrative territorial entity
['Chernivtsi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Moysey_Fishbein property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q157725,P27,c(Q15617994))
action filter_type
action find
entity Q4485172
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q157725', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q4485172 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Ukraine
The Ukraine is that person a civilian of
Ukraine
action filter_type
action find
entity Moysey Fishbein
relation country of citizenship
type designation for an administrative territorial entity
['Chernivtsi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Moysey_Fishbein property:country_of_citizenship ?l . ?l 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
Q212 Q1899 Q276156
P36
Q515
USER
Is Kyiv and Berbești the capital of Q212 ?
(Q212,P36,Q1899) (Q212,P36,Q276156)
action is_in
entity Q212
action intersection
action find_reverse
entity Q1899
relation P36
action find_reverse
entity Q276156
relation P36
['Q212', 'P36', 'Q1899'] ['Q212', 'P36', 'Q276156']
ASK WHERE { resource:Q212 property:P36 resource:Q1899 . resource:Q212 property:P36 resource:Q276156 }
Ukraine Kyiv Berbești
action is_in
entity Ukraine
action intersection
action find_reverse
entity Kyiv
relation capital
action find_reverse
entity Berbești
relation capital
['Ukraine', 'capital', 'Kyiv'] ['Ukraine', 'capital', 'Berbești']
ASK WHERE { resource:Ukraine property:capital resource:Kyiv . resource:Ukraine property:capital resource:Berbești }
[]
city
SYSTEM
YES and NO respectively
(Q212,P36,Q1899) (Q212,P36,Q276156)
action is_in
entity Q212
action intersection
action find_reverse
entity Q1899
relation P36
action find_reverse
entity Q276156
relation P36
[ANSWER]
['Q212', 'P36', 'Q1899'] ['Q212', 'P36', 'Q276156']
ASK WHERE { resource:Q212 property:P36 resource:Q1899 . resource:Q212 property:P36 resource:Q276156 }
YES and NO respectively
action is_in
entity Ukraine
action intersection
action find_reverse
entity Kyiv
relation capital
action find_reverse
entity Berbești
relation capital
['Ukraine', 'capital', 'Kyiv'] ['Ukraine', 'capital', 'Berbești']
ASK WHERE { resource:Ukraine property:capital resource:Kyiv . resource:Ukraine property:capital resource:Berbești }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q212 Q403
P463
Q43229
USER
How many organizations were Ukraine and Serbia a member of ?
(Q212,P463,c(Q43229)) (Q403,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q212
relation P463
type Q43229
action filter_type
action find
entity Q403
relation P463
type Q43229
['Q212', 'P463', {'concept': 'Q43229'}] ['Q403', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q212 property:P463 ?l . ?l rdf:type ontology:Q43229 . resource:Q403 property:P463 ?l . ?l rdf:type ontology:Q43229 }
Ukraine Serbia
action count
action intersection
action filter_type
action find
entity Ukraine
relation member of
type organization
action filter_type
action find
entity Serbia
relation member of
type organization
['Ukraine', 'member of', {'concept': 'organization'}] ['Serbia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Ukraine property:member_of ?l . ?l rdf:type ontology:organization . resource:Serbia property:member_of ?l . ?l rdf:type ontology:organization }
[]
organization
SYSTEM
5
Q380340 Q191384 Q899770 Q656801 Q827525
(Q212,P463,c(Q43229)) (Q403,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q212
relation P463
type Q43229
action filter_type
action find
entity Q403
relation P463
type Q43229
[ANSWER]
['Q212', 'P463', {'concept': 'Q43229'}] ['Q403', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q212 property:P463 ?l . ?l rdf:type ontology:Q43229 . resource:Q403 property:P463 ?l . ?l rdf:type ontology:Q43229 }
Organization of the Black Sea Economic Cooperation International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation International Development Association
5
action count
action intersection
action filter_type
action find
entity Ukraine
relation member of
type organization
action filter_type
action find
entity Serbia
relation member of
type organization
['Ukraine', 'member of', {'concept': 'organization'}] ['Serbia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Ukraine property:member_of ?l . ?l rdf:type ontology:organization . resource:Serbia property:member_of ?l . ?l rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q157725 Q23140
P159
Q28640
USER
How many professions have the principal seat at Chernivtsi or Warwickshire ?
(c(Q28640),P159,Q157725) (c(Q28640),P159,Q23140)
action count
action union
action filter_type
action find_reverse
entity Q157725
relation P159
type Q28640
action filter_type
action find_reverse
entity Q23140
relation P159
type Q28640
[{'concept': 'Q28640'}, 'P159', 'Q157725'] [{'concept': 'Q28640'}, 'P159', 'Q23140']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:P159 resource:Q157725 . ?q rdf:type ontology:Q28640 } UNION { ?q property:P159 resource:Q23140 . ?q rdf:type ontology:Q28640 } }
Chernivtsi Warwickshire
action count
action union
action filter_type
action find_reverse
entity Chernivtsi
relation headquarters location
type profession
action filter_type
action find_reverse
entity Warwickshire
relation headquarters location
type profession
[{'concept': 'profession'}, 'headquarters location', 'Chernivtsi'] [{'concept': 'profession'}, 'headquarters location', 'Warwickshire']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:headquarters_location resource:Chernivtsi . ?q rdf:type ontology:profession } UNION { ?q property:headquarters_location resource:Warwickshire . ?q rdf:type ontology:profession } }
[]
profession
SYSTEM
5
Q7939990 Q4926954 Q4926947 Q23901 Q7847084
(c(Q28640),P159,Q157725) (c(Q28640),P159,Q23140)
action count
action union
action filter_type
action find_reverse
entity Q157725
relation P159
type Q28640
action filter_type
action find_reverse
entity Q23140
relation P159
type Q28640
[ANSWER]
[{'concept': 'Q28640'}, 'P159', 'Q157725'] [{'concept': 'Q28640'}, 'P159', 'Q23140']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:P159 resource:Q157725 . ?q rdf:type ontology:Q28640 } UNION { ?q property:P159 resource:Q23140 . ?q rdf:type ontology:Q28640 } }
Volatile Games Blitz Games Blitz Arcade Codemasters TruSim
5
action count
action union
action filter_type
action find_reverse
entity Chernivtsi
relation headquarters location
type profession
action filter_type
action find_reverse
entity Warwickshire
relation headquarters location
type profession
[{'concept': 'profession'}, 'headquarters location', 'Chernivtsi'] [{'concept': 'profession'}, 'headquarters location', 'Warwickshire']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:headquarters_location resource:Chernivtsi . ?q rdf:type ontology:profession } UNION { ?q property:headquarters_location resource:Warwickshire . ?q rdf:type ontology:profession } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atleast 13 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?s ) WHERE { ?e rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?e property:P530 ?x } GROUP BY ?e } . FILTER ( ?s >= 13 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?s ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?x } GROUP BY ?e } . FILTER ( ?s >= 13 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
8
Q801 Q805 Q142 Q148 Q159 Q155 Q30 Q38
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?s ) WHERE { ?e rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?e property:P530 ?x } GROUP BY ?e } . FILTER ( ?s >= 13 ) }
Israel Yemen France People's Republic of China Russia Brazil United States of America Italy
8
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?s ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?x } GROUP BY ?e } . FILTER ( ?s >= 13 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1003082
P47
Q56061
USER
Which administrative territory is adjacent to Rahway ?
(Q1003082,P47,c(Q56061))
action filter_type
action find
entity Q1003082
relation P47
type Q56061
['Q1003082', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1003082 property:P47 ?u . ?u rdf:type ontology:Q56061 }
Rahway
action filter_type
action find
entity Rahway
relation shares border with
type administrative territorial entity
['Rahway', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Rahway property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1004712
SYSTEM
Linden
Q1004712
(Q1003082,P47,c(Q56061))
action filter_type
action find
entity Q1003082
relation P47
type Q56061
To [ANSWER] is adjacent to Rahway
['Q1003082', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1003082 property:P47 ?u . ?u rdf:type ontology:Q56061 }
Linden
To Linden is adjacent to Rahway
Linden
action filter_type
action find
entity Rahway
relation shares border with
type administrative territorial entity
['Rahway', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Rahway property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]