Simple Question (Direct)
Simple Question
Q5516102
P39
Q12737077
USER
Which occupation was a position occupied by Gabrielle Upton ?
(Q5516102,P39,c(Q12737077))
action filter_type
action find
entity Q5516102
relation P39
type Q12737077
['Q5516102', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5516102 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Gabrielle Upton
action filter_type
action find
entity Gabrielle Upton
relation position held
type occupation
['Gabrielle Upton', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Gabrielle_Upton property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q19202748
SYSTEM
Member of the New South Wales Legislative Assembly
Q19202748
(Q5516102,P39,c(Q12737077))
action filter_type
action find
entity Q5516102
relation P39
type Q12737077
The [ANSWER] was a position occupied by Gabrielle Upton
['Q5516102', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5516102 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Member of the New South Wales Legislative Assembly
The Member of the New South Wales Legislative Assembly was a position occupied by Gabrielle Upton
Member of the New South Wales Legislative Assembly
action filter_type
action find
entity Gabrielle Upton
relation position held
type occupation
['Gabrielle Upton', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Gabrielle_Upton property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19202748
P17
Q1048835
USER
Which political territory is that occupation situated in ?
(Q19202748,P17,c(Q1048835))
action filter_type
action find
entity Q19202748
relation P17
type Q1048835
['Q19202748', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q19202748 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Member of the New South Wales Legislative Assembly
action filter_type
action find
entity Member of the New South Wales Legislative Assembly
relation country
type political territorial entity
['Member of the New South Wales Legislative Assembly', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_the_New_South_Wales_Legislative_Assembly property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q19202748,P17,c(Q1048835))
action filter_type
action find
entity Q19202748
relation P17
type Q1048835
That occupation is situated in [ANSWER]
['Q19202748', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q19202748 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Australia
That occupation is situated in Australia
Australia
action filter_type
action find
entity Member of the New South Wales Legislative Assembly
relation country
type political territorial entity
['Member of the New South Wales Legislative Assembly', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_the_New_South_Wales_Legislative_Assembly property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P530
Q56061 Q1048835
USER
How many administrative territories and political territories have diplomatic associations with Australia ?
(c(Q56061),P530,Q408) (c(Q1048835),P530,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P530
type Q56061
action filter_type
action find_reverse
entity Q408
relation P530
type Q1048835
[{'concept': 'Q56061'}, 'P530', 'Q408'] [{'concept': 'Q1048835'}, 'P530', 'Q408']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?w . VALUES ( ?w ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } }
Australia
action count
action union
action filter_type
action find_reverse
entity Australia
relation diplomatic relation
type administrative territorial entity
action filter_type
action find_reverse
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'diplomatic relation', 'Australia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Australia']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?w . VALUES ( ?w ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 11 political territories
Q40 Q334 Q691 Q778 Q183 Q769 Q685 Q35 Q781 Q16 Q664 Q766
(c(Q56061),P530,Q408) (c(Q1048835),P530,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P530
type Q56061
action filter_type
action find_reverse
entity Q408
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q56061'}, 'P530', 'Q408'] [{'concept': 'Q1048835'}, 'P530', 'Q408']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?w . VALUES ( ?w ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } }
Austria Singapore Papua New Guinea The Bahamas Germany Grenada Solomon Islands Denmark Antigua and Barbuda Canada New Zealand Jamaica
1 administrative territories and 11 political territories
action count
action union
action filter_type
action find_reverse
entity Australia
relation diplomatic relation
type administrative territorial entity
action filter_type
action find_reverse
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'diplomatic relation', 'Australia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Australia']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?w . VALUES ( ?w ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P921
Q191067
USER
Which article is Australia a main subject of ?
(c(Q191067),P921,Q408)
action filter_type
action find_reverse
entity Q408
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q408']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q408 . ?m rdf:type ontology:Q191067 }
Australia
action filter_type
action find_reverse
entity Australia
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Australia']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Australia . ?m rdf:type ontology:article }
[]
article
Q20081148
SYSTEM
EB-11 / Australia
Q20081148
(c(Q191067),P921,Q408)
action filter_type
action find_reverse
entity Q408
relation P921
type Q191067
Which article is Australia a main subject of
[{'concept': 'Q191067'}, 'P921', 'Q408']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q408 . ?m rdf:type ontology:Q191067 }
EB-11 / Australia
Which article is Australia a main subject of
EB-11 / Australia
action filter_type
action find_reverse
entity Australia
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Australia']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Australia . ?m rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P163
Q14660
USER
What is the name of flag associated with Australia ?
(Q408,P163,c(Q14660))
action filter_type
action find
entity Q408
relation P163
type Q14660
['Q408', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q408 property:P163 ?r . ?r rdf:type ontology:Q14660 }
Australia
action filter_type
action find
entity Australia
relation flag
type flag
['Australia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:Australia property:flag ?r . ?r rdf:type ontology:flag }
[]
flag
Q81676
SYSTEM
flag of Australia
Q81676
(Q408,P163,c(Q14660))
action filter_type
action find
entity Q408
relation P163
type Q14660
The name of flag associated with Australia is the [ANSWER]
['Q408', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q408 property:P163 ?r . ?r rdf:type ontology:Q14660 }
flag of Australia
The name of flag associated with Australia is the flag of Australia
flag of Australia
action filter_type
action find
entity Australia
relation flag
type flag
['Australia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:Australia property:flag ?r . ?r rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P47
Q1048835
USER
Which political territories are next to the border of Australia ?
(c(Q1048835),P47,Q408)
action filter_type
action find
entity Q408
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q408']
SELECT DISTINCT ?s WHERE { resource:Q408 property:P47 ?s . ?s rdf:type ontology:Q1048835 }
Australia
action filter_type
action find
entity Australia
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Australia']
SELECT DISTINCT ?s WHERE { resource:Australia property:shares_border_with ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q5095 Q691
SYSTEM
New Zealand, Papua, Papua New Guinea
Q664 Q5095 Q691
(c(Q1048835),P47,Q408)
action filter_type
action find
entity Q408
relation P47
type Q1048835
Australia [ANSWERS] are next to the border of Australia
[{'concept': 'Q1048835'}, 'P47', 'Q408']
SELECT DISTINCT ?s WHERE { resource:Q408 property:P47 ?s . ?s rdf:type ontology:Q1048835 }
New Zealand Papua Papua New Guinea
Australia New Zealand, Papua and Papua New Guinea are next to the border of Australia
New Zealand Papua Papua New Guinea
action filter_type
action find
entity Australia
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Australia']
SELECT DISTINCT ?s WHERE { resource:Australia property:shares_border_with ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P137
Q3084961
USER
Which product linings were operated by Australia ?
(c(Q3084961),P137,Q408)
action filter_type
action find_reverse
entity Q408
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q408']
SELECT DISTINCT ?f WHERE { ?f property:P137 resource:Q408 . ?f rdf:type ontology:Q3084961 }
Australia
action filter_type
action find_reverse
entity Australia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Australia']
SELECT DISTINCT ?f WHERE { ?f property:operator resource:Australia . ?f rdf:type ontology:product_lining }
[]
product lining
Q159129 Q182027 Q976898
SYSTEM
Sea King, C-130 Hercules, Vega
Q694356 Q398965 Q687743 Q211369 Q976898 Q699843 Q1094597 Q189491 Q270990 Q831667 Q6492 Q629539 Q159129 Q17487802 Q17407104 Q15887932 Q660969 Q39668 Q159601 Q209613 Q182027 Q15817988 Q1188742
(c(Q3084961),P137,Q408)
action filter_type
action find_reverse
entity Q408
relation P137
type Q3084961
[ANSWERS] were operated by Australia
[{'concept': 'Q3084961'}, 'P137', 'Q408']
SELECT DISTINCT ?f WHERE { ?f property:P137 resource:Q408 . ?f rdf:type ontology:Q3084961 }
OH-58 Kiowa AW109 Hawk C-17 Globemaster III Vega Challenger 600 Super King Air UH-60 Black Hawk F-111 Aardvark SH-60 Seahawk Airbus A330 MRTT NH90 Sea King Hawk Series 100 Écureuil F/A-18A/B Hornet Bell 206 H125 Écureuil Tiger CH-47 Chinook C-130 Hercules H-60 WS-61 Sea King
Sea King, C-130 Hercules and Vega were operated by Australia
Sea King C-130 Hercules Vega
action filter_type
action find_reverse
entity Australia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Australia']
SELECT DISTINCT ?f WHERE { ?f property:operator resource:Australia . ?f rdf:type ontology:product_lining }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159129 Q182027 Q976898
P137
Q15617994
USER
Who manages Sea King, C-130 Hercules and Vega ?
(Q159129,P137,c(Q15617994)) (Q182027,P137,c(Q15617994)) (Q976898,P137,c(Q15617994))
action union
action filter_type
action find
entity Q159129
relation P137
type Q15617994
action filter_type
action find
entity Q182027
relation P137
type Q15617994
action filter_type
action find
entity Q976898
relation P137
type Q15617994
['Q159129', 'P137', {'concept': 'Q15617994'}] ['Q182027', 'P137', {'concept': 'Q15617994'}] ['Q976898', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q159129 property:P137 ?o . ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q15617994 . resource:Q182027 property:P137 ?o } }
Sea King C-130 Hercules Vega
action union
action filter_type
action find
entity Sea King
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity C-130 Hercules
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Vega
relation operator
type designation for an administrative territorial entity
['Sea King', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['C-130 Hercules', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Vega', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Sea_King property:operator ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:C-130_Hercules property:operator ?o } }
[]
designation for an administrative territorial entity
Q155 Q30 Q31
SYSTEM
Brazil, United States of America, Belgium
Q414 Q414 Q963 Q155 Q31 Q902 Q750 Q30
(Q159129,P137,c(Q15617994)) (Q182027,P137,c(Q15617994)) (Q976898,P137,c(Q15617994))
action union
action filter_type
action find
entity Q159129
relation P137
type Q15617994
action filter_type
action find
entity Q182027
relation P137
type Q15617994
action filter_type
action find
entity Q976898
relation P137
type Q15617994
[ANSWERS] manage Sea King, C-130 Hercules and Vega
['Q159129', 'P137', {'concept': 'Q15617994'}] ['Q182027', 'P137', {'concept': 'Q15617994'}] ['Q976898', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q159129 property:P137 ?o . ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q15617994 . resource:Q182027 property:P137 ?o } }
Argentina Argentina Botswana Brazil Belgium Bangladesh Bolivia United States of America
Brazil, United States of America and Belgium manage Sea King, C-130 Hercules and Vega
Brazil United States of America Belgium
action union
action filter_type
action find
entity Sea King
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity C-130 Hercules
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Vega
relation operator
type designation for an administrative territorial entity
['Sea King', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['C-130 Hercules', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Vega', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Sea_King property:operator ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:C-130_Hercules property:operator ?o } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q30
P610
Q14524493
USER
Which is the highest peak of that administrative territory ?
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q14524493 . resource:Q30 property:P610 ?f }
United States of America
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:terrain . resource:United_States_of_America property:highest_point ?f }
[]
terrain
Clarification for simple ques.
Q30
SYSTEM
Did you mean United States of America ?
Q155 Q30 Q31
(Q155,P610,c(Q14524493)) (Q30,P610,c(Q14524493)) (Q31,P610,c(Q14524493))
[ANSWER]
['Q155', 'P610', {'concept': 'Q14524493'}] ['Q30', 'P610', {'concept': 'Q14524493'}] ['Q31', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q14524493 . resource:Q30 property:P610 ?f }
Brazil United States of America Belgium
Did you mean United States of America ?
United States of America
['Brazil', 'highest point', {'concept': 'terrain'}] ['United States of America', 'highest point', {'concept': 'terrain'}] ['Belgium', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:terrain . resource:United_States_of_America property:highest_point ?f }
[]
Simple Question (Coreferenced)
USER
Yes
(Q30,P610,c(Q14524493))
['Q30', 'P610', {'concept': 'Q14524493'}]
['United States of America', 'highest point', {'concept': 'terrain'}]
[]
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
The highest peak of that administrative territory is Mount [ANSWER]
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q14524493 . resource:Q30 property:P610 ?f }
Denali
The highest peak of that administrative territory is Mount Denali
Denali
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:terrain . resource:United_States_of_America property:highest_point ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q130018 Q30 Q2389263
P17
Q15617994
USER
Is that terrain present in United States of America and Pionerskoye ?
(Q130018,P17,Q30) (Q130018,P17,Q2389263)
action is_in
entity Q130018
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q2389263
relation P17
['Q130018', 'P17', 'Q30'] ['Q130018', 'P17', 'Q2389263']
ASK WHERE { resource:Q130018 property:P17 resource:Q30 . resource:Q130018 property:P17 resource:Q2389263 }
Denali United States of America Pionerskoye
action is_in
entity Denali
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Pionerskoye
relation country
['Denali', 'country', 'United States of America'] ['Denali', 'country', 'Pionerskoye']
ASK WHERE { resource:Denali property:country resource:United_States_of_America . resource:Denali property:country resource:Pionerskoye }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q130018,P17,Q30) (Q130018,P17,Q2389263)
action is_in
entity Q130018
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q2389263
relation P17
[ANSWER]
['Q130018', 'P17', 'Q30'] ['Q130018', 'P17', 'Q2389263']
ASK WHERE { resource:Q130018 property:P17 resource:Q30 . resource:Q130018 property:P17 resource:Q2389263 }
YES and NO respectively
action is_in
entity Denali
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Pionerskoye
relation country
['Denali', 'country', 'United States of America'] ['Denali', 'country', 'Pionerskoye']
ASK WHERE { resource:Denali property:country resource:United_States_of_America . resource:Denali property:country resource:Pionerskoye }
[]