Simple Question (Direct)
Simple Question
Q7088559
P19
Q515
USER
Where was Olsen Racela born ?
(Q7088559,P19,c(Q515))
action filter_type
action find
entity Q7088559
relation P19
type Q515
['Q7088559', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q7088559 property:P19 ?d . ?d rdf:type ontology:Q515 }
Olsen Racela
action filter_type
action find
entity Olsen Racela
relation place of birth
type city
['Olsen Racela', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Olsen_Racela property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
city
Q1475
SYSTEM
Quezon City
Q1475
(Q7088559,P19,c(Q515))
action filter_type
action find
entity Q7088559
relation P19
type Q515
Olsen Racela was born in [ANSWER]
['Q7088559', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q7088559 property:P19 ?d . ?d rdf:type ontology:Q515 }
Quezon City
Olsen Racela was born in Quezon City
Quezon City
action filter_type
action find
entity Olsen Racela
relation place of birth
type city
['Olsen Racela', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Olsen_Racela property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7088559
P69
Q3918
USER
Which university is the alma mater of Olsen Racela ?
(Q7088559,P69,c(Q3918))
action filter_type
action find
entity Q7088559
relation P69
type Q3918
['Q7088559', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q7088559 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Olsen Racela
action filter_type
action find
entity Olsen Racela
relation educated at
type university
['Olsen Racela', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Olsen_Racela property:educated_at ?p . ?p rdf:type ontology:university }
[]
university
Q533235
SYSTEM
Ateneo de Manila University
Q533235
(Q7088559,P69,c(Q3918))
action filter_type
action find
entity Q7088559
relation P69
type Q3918
[ANSWER] is the alma mater of Olsen Racela
['Q7088559', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q7088559 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Ateneo de Manila University
Ateneo de Manila University is the alma mater of Olsen Racela
Ateneo de Manila University
action filter_type
action find
entity Olsen Racela
relation educated at
type university
['Olsen Racela', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Olsen_Racela property:educated_at ?p . ?p rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q533235 Q3550210
P69
Q502895
USER
Did Joey Salceda study at that university ?
(Q3550210,P69,Q533235)
action is_in
entity Q533235
action find
entity Q3550210
relation P69
['Q3550210', 'P69', 'Q533235']
ASK WHERE { resource:Q3550210 property:P69 resource:Q533235 }
Ateneo de Manila University Joey Salceda
action is_in
entity Ateneo de Manila University
action find
entity Joey Salceda
relation educated at
['Joey Salceda', 'educated at', 'Ateneo de Manila University']
ASK WHERE { resource:Joey_Salceda property:educated_at resource:Ateneo_de_Manila_University }
[]
common name
SYSTEM
YES
(Q3550210,P69,Q533235)
action is_in
entity Q533235
action find
entity Q3550210
relation P69
[ANSWER]
['Q3550210', 'P69', 'Q533235']
ASK WHERE { resource:Q3550210 property:P69 resource:Q533235 }
Yes
action is_in
entity Ateneo de Manila University
action find
entity Joey Salceda
relation educated at
['Joey Salceda', 'educated at', 'Ateneo de Manila University']
ASK WHERE { resource:Joey_Salceda property:educated_at resource:Ateneo_de_Manila_University }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q533235
P17
Q15617994
USER
Which administrative territory is that university located in ?
action filter_type
action find
entity Q533235
relation P17
type Q15617994
SELECT DISTINCT ?l WHERE { resource:Q533235 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Ateneo de Manila University
action filter_type
action find
entity Ateneo de Manila University
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?l WHERE { resource:Ateneo_de_Manila_University property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928
SYSTEM
Philippines
Q928
action filter_type
action find
entity Q533235
relation P17
type Q15617994
That university is located in [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q533235 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Philippines
That university is located in Philippines
Philippines
action filter_type
action find
entity Ateneo de Manila University
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?l WHERE { resource:Ateneo_de_Manila_University property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q928
P463
Q484652 Q43229
USER
How many international organizations and organizations were Philippines a member of ?
(Q928,P463,c(Q484652)) (Q928,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q928
relation P463
type Q484652
action filter_type
action find
entity Q928
relation P463
type Q43229
['Q928', 'P463', {'concept': 'Q484652'}] ['Q928', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { resource:Q928 property:P463 ?n . ?n rdf:type ontology:Q484652 } UNION { resource:Q928 property:P463 ?n . ?n rdf:type ontology:Q43229 } }
Philippines
action count
action union
action filter_type
action find
entity Philippines
relation member of
type international organization
action filter_type
action find
entity Philippines
relation member of
type organization
['Philippines', 'member of', {'concept': 'international organization'}] ['Philippines', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { resource:Philippines property:member_of ?n . ?n rdf:type ontology:international_organization } UNION { resource:Philippines property:member_of ?n . ?n rdf:type ontology:organization } }
[]
international organization organization
SYSTEM
4 international organizations and 6 organizations
Q191384 Q899770 Q7768 Q1065 Q188822 Q827525 Q656801 Q7825 Q170481 Q1043527
(Q928,P463,c(Q484652)) (Q928,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q928
relation P463
type Q484652
action filter_type
action find
entity Q928
relation P463
type Q43229
[ANSWER]
['Q928', 'P463', {'concept': 'Q484652'}] ['Q928', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { resource:Q928 property:P463 ?n . ?n rdf:type ontology:Q484652 } UNION { resource:Q928 property:P463 ?n . ?n rdf:type ontology:Q43229 } }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes ASEAN United Nations Asian Development Bank International Development Association International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation Multilateral Investment Guarantee Agency
4 international organizations and 6 organizations
action count
action union
action filter_type
action find
entity Philippines
relation member of
type international organization
action filter_type
action find
entity Philippines
relation member of
type organization
['Philippines', 'member of', {'concept': 'international organization'}] ['Philippines', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { resource:Philippines property:member_of ?n . ?n rdf:type ontology:international_organization } UNION { resource:Philippines property:member_of ?n . ?n rdf:type ontology:organization } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with atleast 102 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 102
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?q ) WHERE { ?o property:P530 ?t . ?o rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?q >= 102 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 102
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?q ) WHERE { ?o property:diplomatic_relation ?t . ?o rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?q >= 102 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 102
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?q ) WHERE { ?o property:P530 ?t . ?o rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?q >= 102 ) }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 102
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?q ) WHERE { ?o property:diplomatic_relation ?t . ?o rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?q >= 102 ) }
[]
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 associations with exactly 15 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?p ) WHERE { ?i rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?i property:P530 ?m } GROUP BY ?i } . FILTER ( ?p = 15 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?p ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?m } GROUP BY ?i } . FILTER ( ?p = 15 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q142 Q929
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?p ) WHERE { ?i rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?i property:P530 ?m } GROUP BY ?i } . FILTER ( ?p = 15 ) }
France Central African Republic
2
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?p ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?m } GROUP BY ?i } . FILTER ( ?p = 15 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with atleast 15 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?l ) WHERE { ?i property:P530 ?n . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?l >= 15 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?l ) WHERE { ?i property:diplomatic_relation ?n . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?l >= 15 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q148 Q159 Q155 Q30 Q38
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[ANSWERS] have diplomatic relationships with atleast 15 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?l ) WHERE { ?i property:P530 ?n . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?l >= 15 ) }
Israel Yemen France People's Republic of China Russia Brazil United States of America Italy
Italy, Brazil and United States of America have diplomatic relationships with atleast 15 administrative territories
Italy Brazil United States of America
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?l ) WHERE { ?i property:diplomatic_relation ?n . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?l >= 15 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q403
P530
Q15617994
USER
Do Serbia have diplomatic relations with those ones ?
(Q403,P530,Q38) (Q403,P530,Q155) (Q403,P530,Q30)
action is_in
entity prev_answer
action find
entity Q403
relation P530
['Q403', 'P530', 'Q38'] ['Q403', 'P530', 'Q155'] ['Q403', 'P530', 'Q30']
ASK WHERE { resource:Q403 property:P530 ?v . VALUES ( ?v ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } }
Serbia
action is_in
entity prev_answer
action find
entity Serbia
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Italy'] ['Serbia', 'diplomatic relation', 'Brazil'] ['Serbia', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Serbia property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q403,P530,Q38) (Q403,P530,Q155) (Q403,P530,Q30)
action is_in
entity prev_answer
action find
entity Q403
relation P530
[ANSWER]
['Q403', 'P530', 'Q38'] ['Q403', 'P530', 'Q155'] ['Q403', 'P530', 'Q30']
ASK WHERE { resource:Q403 property:P530 ?v . VALUES ( ?v ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } }
Yes
action is_in
entity prev_answer
action find
entity Serbia
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Italy'] ['Serbia', 'diplomatic relation', 'Brazil'] ['Serbia', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Serbia property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q271669 Q486972 Q15617994
USER
How many administrative territories are named after atleast 2 landforms and human settlements ?
(c(Q15617994),P138,c(Q271669)|c(Q486972))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action find_tuple_counts
relation P138
type Q15617994
type Q486972
value 2
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { { ?i property:P138 ?j . ?j rdf:type ontology:Q271669 . ?i rdf:type ontology:Q15617994 } UNION { ?i property:P138 ?j . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q486972 } } GROUP BY ?i } . FILTER ( ?m >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'landform'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { { ?i property:named_after ?j . ?j rdf:type ontology:landform . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i property:named_after ?j . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:human_settlement } } GROUP BY ?i } . FILTER ( ?m >= 2 ) }
[]
landform human settlement designation for an administrative territorial entity
SYSTEM
2
Q14697553 Q754
(c(Q15617994),P138,c(Q271669)|c(Q486972))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action find_tuple_counts
relation P138
type Q15617994
type Q486972
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { { ?i property:P138 ?j . ?j rdf:type ontology:Q271669 . ?i rdf:type ontology:Q15617994 } UNION { ?i property:P138 ?j . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q486972 } } GROUP BY ?i } . FILTER ( ?m >= 2 ) }
Neetzow-Liepen Trinidad and Tobago
2
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'landform'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { { ?i property:named_after ?j . ?j rdf:type ontology:landform . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i property:named_after ?j . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:human_settlement } } GROUP BY ?i } . FILTER ( ?m >= 2 ) }
[]