Simple Question (Direct)
Simple Question
Q188939
P39
Q12737077
USER
What was the position held by Emilio Aguinaldo ?
(Q188939,P39,c(Q12737077))
action filter_type
action find
entity Q188939
relation P39
type Q12737077
['Q188939', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q188939 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Emilio Aguinaldo
action filter_type
action find
entity Emilio Aguinaldo
relation position held
type occupation
['Emilio Aguinaldo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Emilio_Aguinaldo property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q1209571
SYSTEM
President of the Philippines
Q1209571
(Q188939,P39,c(Q12737077))
action filter_type
action find
entity Q188939
relation P39
type Q12737077
The position held by Emilio Aguinaldo was the [ANSWER]
['Q188939', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q188939 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
President of the Philippines
The position held by Emilio Aguinaldo was the President of the Philippines
President of the Philippines
action filter_type
action find
entity Emilio Aguinaldo
relation position held
type occupation
['Emilio Aguinaldo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Emilio_Aguinaldo property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188939
P84
Q811430
USER
Which construction has its designs created by Emilio Aguinaldo ?
(c(Q811430),P84,Q188939)
action filter_type
action find_reverse
entity Q188939
relation P84
type Q811430
[{'concept': 'Q811430'}, 'P84', 'Q188939']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q811430 . ?v property:P84 resource:Q188939 }
Emilio Aguinaldo
action filter_type
action find_reverse
entity Emilio Aguinaldo
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'Emilio Aguinaldo']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:construction . ?v property:architect resource:Emilio_Aguinaldo }
[]
construction
Q3550173
SYSTEM
Aguinaldo Shrine
Q3550173
(c(Q811430),P84,Q188939)
action filter_type
action find_reverse
entity Q188939
relation P84
type Q811430
[ANSWER] has its designs created by Emilio Aguinaldo
[{'concept': 'Q811430'}, 'P84', 'Q188939']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q811430 . ?v property:P84 resource:Q188939 }
Aguinaldo Shrine
Aguinaldo Shrine has its designs created by Emilio Aguinaldo
Aguinaldo Shrine
action filter_type
action find_reverse
entity Emilio Aguinaldo
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'Emilio Aguinaldo']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:construction . ?v property:architect resource:Emilio_Aguinaldo }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3550173
P127
Q895526
USER
Who is the owner of that construction ?
(Q3550173,P127,c(Q895526))
action filter_type
action find
entity Q3550173
relation P127
type Q895526
['Q3550173', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?p WHERE { resource:Q3550173 property:P127 ?p . ?p rdf:type ontology:Q895526 }
Aguinaldo Shrine
action filter_type
action find
entity Aguinaldo Shrine
relation owned by
type authority organ
['Aguinaldo Shrine', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?p WHERE { resource:Aguinaldo_Shrine property:owned_by ?p . ?p rdf:type ontology:authority_organ }
[]
authority organ
Q7925797
SYSTEM
Government of the Philippines
Q7925797
(Q3550173,P127,c(Q895526))
action filter_type
action find
entity Q3550173
relation P127
type Q895526
The owner of that construction is the [ANSWER]
['Q3550173', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?p WHERE { resource:Q3550173 property:P127 ?p . ?p rdf:type ontology:Q895526 }
Government of the Philippines
The owner of that construction is the Government of the Philippines
Government of the Philippines
action filter_type
action find
entity Aguinaldo Shrine
relation owned by
type authority organ
['Aguinaldo Shrine', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?p WHERE { resource:Aguinaldo_Shrine property:owned_by ?p . ?p rdf:type ontology:authority_organ }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7925797 Q928
P17
Q15617994
USER
Is Government of the Philippines located in Philippines ?
(Q7925797,P17,Q928)
action is_in
entity Q928
action find
entity Q7925797
relation P17
['Q7925797', 'P17', 'Q928']
ASK WHERE { resource:Q7925797 property:P17 resource:Q928 }
Government of the Philippines Philippines
action is_in
entity Philippines
action find
entity Government of the Philippines
relation country
['Government of the Philippines', 'country', 'Philippines']
ASK WHERE { resource:Government_of_the_Philippines property:country resource:Philippines }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7925797,P17,Q928)
action is_in
entity Q928
action find
entity Q7925797
relation P17
[ANSWER]
['Q7925797', 'P17', 'Q928']
ASK WHERE { resource:Q7925797 property:P17 resource:Q928 }
Yes
action is_in
entity Philippines
action find
entity Government of the Philippines
relation country
['Government of the Philippines', 'country', 'Philippines']
ASK WHERE { resource:Government_of_the_Philippines property:country resource:Philippines }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q811430 Q3947 Q2235308
USER
How many constructions are considered to be the main utilization of approximately 1 houses or ship types ?
(c(Q3947)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q3947
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
value 1
[[{'concept': 'Q3947'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?k WHERE { { ?r property:P366 ?k . ?k rdf:type ontology:Q811430 . ?r rdf:type ontology:Q3947 } UNION { ?r property:P366 ?k . ?r rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q811430 } } GROUP BY ?k } }
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type house
action find_reverse_tuple_counts
relation use
type construction
type ship type
value 1
[[{'concept': 'house'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?k WHERE { { ?r property:use ?k . ?k rdf:type ontology:construction . ?r rdf:type ontology:house } UNION { ?r property:use ?k . ?r rdf:type ontology:ship_type . ?k rdf:type ontology:construction } } GROUP BY ?k } }
[]
construction house ship type
SYSTEM
3
Q11707 Q1195942 Q39715
(c(Q3947)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q3947
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
value 1
[ANSWER]
[[{'concept': 'Q3947'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?k WHERE { { ?r property:P366 ?k . ?k rdf:type ontology:Q811430 . ?r rdf:type ontology:Q3947 } UNION { ?r property:P366 ?k . ?r rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q811430 } } GROUP BY ?k } }
restaurant fire station lighthouse
3
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type house
action find_reverse_tuple_counts
relation use
type construction
type ship type
value 1
[[{'concept': 'house'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?k WHERE { { ?r property:use ?k . ?k rdf:type ontology:construction . ?r rdf:type ontology:house } UNION { ?r property:use ?k . ?r rdf:type ontology:ship_type . ?k rdf:type ontology:construction } } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7925797
P112
Q22687 Q43229
USER
How many banks and organizations were founded by Government of the Philippines ?
(c(Q22687),P112,Q7925797) (c(Q43229),P112,Q7925797)
action count
action union
action filter_type
action find_reverse
entity Q7925797
relation P112
type Q22687
action filter_type
action find_reverse
entity Q7925797
relation P112
type Q43229
[{'concept': 'Q22687'}, 'P112', 'Q7925797'] [{'concept': 'Q43229'}, 'P112', 'Q7925797']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { ?v property:P112 resource:Q7925797 . ?v rdf:type ontology:Q22687 } UNION { ?v rdf:type ontology:Q43229 . ?v property:P112 resource:Q7925797 } }
Government of the Philippines
action count
action union
action filter_type
action find_reverse
entity Government of the Philippines
relation founder
type bank
action filter_type
action find_reverse
entity Government of the Philippines
relation founder
type organization
[{'concept': 'bank'}, 'founder', 'Government of the Philippines'] [{'concept': 'organization'}, 'founder', 'Government of the Philippines']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { ?v property:founder resource:Government_of_the_Philippines . ?v rdf:type ontology:bank } UNION { ?v rdf:type ontology:organization . ?v property:founder resource:Government_of_the_Philippines } }
[]
bank organization
SYSTEM
1 banks and 1 organizations
Q1853468 Q6483872
(c(Q22687),P112,Q7925797) (c(Q43229),P112,Q7925797)
action count
action union
action filter_type
action find_reverse
entity Q7925797
relation P112
type Q22687
action filter_type
action find_reverse
entity Q7925797
relation P112
type Q43229
[ANSWER]
[{'concept': 'Q22687'}, 'P112', 'Q7925797'] [{'concept': 'Q43229'}, 'P112', 'Q7925797']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { ?v property:P112 resource:Q7925797 . ?v rdf:type ontology:Q22687 } UNION { ?v rdf:type ontology:Q43229 . ?v property:P112 resource:Q7925797 } }
Bangko Sentral ng Pilipinas Land Bank of the Philippines
1 banks and 1 organizations
action count
action union
action filter_type
action find_reverse
entity Government of the Philippines
relation founder
type bank
action filter_type
action find_reverse
entity Government of the Philippines
relation founder
type organization
[{'concept': 'bank'}, 'founder', 'Government of the Philippines'] [{'concept': 'organization'}, 'founder', 'Government of the Philippines']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { ?v property:founder resource:Government_of_the_Philippines . ?v rdf:type ontology:bank } UNION { ?v rdf:type ontology:organization . ?v property:founder resource:Government_of_the_Philippines } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10566854 Q3550173
P9 P84
Q502895
USER
Which people designed the architecture of Aguinaldo Shrine or are Princess Gaoyang a sibling of ?
OR((Q3550173,P84,c(Q502895)), (Q10566854,P9,c(Q502895)))
action filter_type
action union
action find
entity Q3550173
relation P84
action find
entity Q10566854
relation P9
type Q502895
{'OR': [['Q3550173', 'P84', {'concept': 'Q502895'}], ['Q10566854', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q3550173 property:P84 ?u } UNION { resource:Q10566854 property:P9 ?u } } . ?u rdf:type ontology:Q502895 }
Princess Gaoyang Aguinaldo Shrine
action filter_type
action union
action find
entity Aguinaldo Shrine
relation architect
action find
entity Princess Gaoyang
relation sister
type common name
{'OR': [['Aguinaldo Shrine', 'architect', {'concept': 'common name'}], ['Princess Gaoyang', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Aguinaldo_Shrine property:architect ?u } UNION { resource:Princess_Gaoyang property:sister ?u } } . ?u rdf:type ontology:common_name }
[]
common name
Q10721781 Q10721332 Q10721193 Q10721717 Q10721083 Q10721524 Q10720822 Q10720703 Q10721552 Q10721658
SYSTEM
Some of them are Princess Shou'an, Princess Shouchun, Princess Wei, Princess Lecheng, Princess Xinchang, Princess Xianyi, Princess Lingchang, Princess Changfen, Princess Yichun, Princess Taihua
Q10721415 Q10721552 Q10721781 Q10720736 Q10721682 Q10720777 Q10720927 Q10721580 Q10721717 Q10721524 Q10720822 Q10721612 Q10721489 Q10720865 Q10721018 Q11089714 Q10720703 Q10721658 Q10721270 Q10721233 Q188939 Q10720896 Q10721193 Q10721332 Q10721451 Q10721083 Q10721148 Q10721371 Q10720656 Q10720976 Q10721746
OR((Q3550173,P84,c(Q502895)), (Q10566854,P9,c(Q502895)))
action filter_type
action union
action find
entity Q3550173
relation P84
action find
entity Q10566854
relation P9
type Q502895
[ANSWERS] designed the architecture of Aguinaldo Shrine or are Princess Gaoyang a sibling of
{'OR': [['Q3550173', 'P84', {'concept': 'Q502895'}], ['Q10566854', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q3550173 property:P84 ?u } UNION { resource:Q10566854 property:P9 ?u } } . ?u rdf:type ontology:Q502895 }
Princess Yongning Princess Yichun Princess Shou'an Princess Xiaochang Princess Shouguang Princess Tangchang Princess Shangxian Princess Guangning Princess Lecheng Princess Xianyi Princess Lingchang Princess Wanchun Princess Ningqin Princess Changshan Princess Jin Princess Pukang Princess Changfen Princess Taihua Princess Xincheng Princess Zhenyang Emilio Aguinaldo Princess Wan'an Princess Wei Princess Shouchun Princess Song Princess Xinchang Princess Linjin Princess Changle Princess Yongmu Princess Huaisi Princess Xinping
Princess Shou'an, Princess Shouchun, Princess Wei, Princess Lecheng, Princess Xinchang, Princess Xianyi, Princess Lingchang, Princess Changfen, Princess Yichun and Princess Taihua designed the architecture of Aguinaldo Shrine or are Princess Gaoyang a sibling of
Princess Shou'an Princess Shouchun Princess Wei Princess Lecheng Princess Xinchang Princess Xianyi Princess Lingchang Princess Changfen Princess Yichun Princess Taihua
action filter_type
action union
action find
entity Aguinaldo Shrine
relation architect
action find
entity Princess Gaoyang
relation sister
type common name
{'OR': [['Aguinaldo Shrine', 'architect', {'concept': 'common name'}], ['Princess Gaoyang', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Aguinaldo_Shrine property:architect ?u } UNION { resource:Princess_Gaoyang property:sister ?u } } . ?u rdf:type ontology:common_name }
[]