Simple Question (Direct)
Simple Question
Q5075662
P39
Q12737077
USER
Which occupation was a position for which Charles Blunt was appointed ?
(Q5075662,P39,c(Q12737077))
action filter_type
action find
entity Q5075662
relation P39
type Q12737077
['Q5075662', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q5075662 property:P39 ?j }
Charles Blunt
action filter_type
action find
entity Charles Blunt
relation position held
type occupation
['Charles Blunt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Charles_Blunt property:position_held ?j }
[]
occupation
Q18912794
SYSTEM
Member of the Australian House of Representatives
Q18912794
(Q5075662,P39,c(Q12737077))
action filter_type
action find
entity Q5075662
relation P39
type Q12737077
The [ANSWER] was a position for which Charles Blunt was appointed
['Q5075662', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q5075662 property:P39 ?j }
Member of the Australian House of Representatives
The Member of the Australian House of Representatives was a position for which Charles Blunt was appointed
Member of the Australian House of Representatives
action filter_type
action find
entity Charles Blunt
relation position held
type occupation
['Charles Blunt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Charles_Blunt property:position_held ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18912794
P1001
Q1048835
USER
Which political territory belongs to jurisdiction of that occupation ?
(Q18912794,P1001,c(Q1048835))
action filter_type
action find
entity Q18912794
relation P1001
type Q1048835
['Q18912794', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q18912794 property:P1001 ?b . ?b rdf:type ontology:Q1048835 }
Member of the Australian House of Representatives
action filter_type
action find
entity Member of the Australian House of Representatives
relation applies to jurisdiction
type political territorial entity
['Member of the Australian House of Representatives', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Member_of_the_Australian_House_of_Representatives property:applies_to_jurisdiction ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q18912794,P1001,c(Q1048835))
action filter_type
action find
entity Q18912794
relation P1001
type Q1048835
To [ANSWER] belongs to jurisdiction of that occupation
['Q18912794', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q18912794 property:P1001 ?b . ?b rdf:type ontology:Q1048835 }
Australia
To Australia belongs to jurisdiction of that occupation
Australia
action filter_type
action find
entity Member of the Australian House of Representatives
relation applies to jurisdiction
type political territorial entity
['Member of the Australian House of Representatives', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Member_of_the_Australian_House_of_Representatives property:applies_to_jurisdiction ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q408 Q96
P530
Q15617994
USER
Does Mexico have diplomatic relationships with that political territory ?
(Q408,P530,Q96)
action is_in
entity Q96
action find
entity Q408
relation P530
['Q408', 'P530', 'Q96']
ASK WHERE { resource:Q408 property:P530 resource:Q96 }
Australia Mexico
action is_in
entity Mexico
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Mexico']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Mexico }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q408,P530,Q96)
action is_in
entity Q96
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q96']
ASK WHERE { resource:Q408 property:P530 resource:Q96 }
Yes
action is_in
entity Mexico
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Mexico']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Mexico }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5075662 Q8560835
P27
Q1048835
USER
Is Huaylillas District the country of citizenship of Charles Blunt ?
(Q5075662,P27,Q8560835)
action is_in
entity Q8560835
action find
entity Q5075662
relation P27
['Q5075662', 'P27', 'Q8560835']
ASK WHERE { resource:Q5075662 property:P27 resource:Q8560835 }
Charles Blunt Huaylillas District
action is_in
entity Huaylillas District
action find
entity Charles Blunt
relation country of citizenship
['Charles Blunt', 'country of citizenship', 'Huaylillas District']
ASK WHERE { resource:Charles_Blunt property:country_of_citizenship resource:Huaylillas_District }
[]
political territorial entity
SYSTEM
NO
(Q5075662,P27,Q8560835)
action is_in
entity Q8560835
action find
entity Q5075662
relation P27
[ANSWER]
['Q5075662', 'P27', 'Q8560835']
ASK WHERE { resource:Q5075662 property:P27 resource:Q8560835 }
No
action is_in
entity Huaylillas District
action find
entity Charles Blunt
relation country of citizenship
['Charles Blunt', 'country of citizenship', 'Huaylillas District']
ASK WHERE { resource:Charles_Blunt property:country_of_citizenship resource:Huaylillas_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic relations with atleast 6 political territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 6
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?x ) WHERE { ?e property:P530 ?h . ?e rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?x >= 6 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 6
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?x ) WHERE { ?e property:diplomatic_relation ?h . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?x >= 6 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q38 Q230
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 6
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?x ) WHERE { ?e property:P530 ?h . ?e rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?x >= 6 ) }
Italy Georgia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 6
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?x ) WHERE { ?e property:diplomatic_relation ?h . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?x >= 6 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18912794
P361
Q2145277
USER
What is Member of the Australian House of Representatives a portion of ?
(Q18912794,P361,c(Q2145277))
action filter_type
action find
entity Q18912794
relation P361
type Q2145277
['Q18912794', 'P361', {'concept': 'Q2145277'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2145277 . resource:Q18912794 property:P361 ?q }
Member of the Australian House of Representatives
action filter_type
action find
entity Member of the Australian House of Representatives
relation part of
type House of Representatives
['Member of the Australian House of Representatives', 'part of', {'concept': 'House of Representatives'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:House_of_Representatives . resource:Member_of_the_Australian_House_of_Representatives property:part_of ?q }
[]
House of Representatives
Q783401
SYSTEM
House of Representatives
Q783401
(Q18912794,P361,c(Q2145277))
action filter_type
action find
entity Q18912794
relation P361
type Q2145277
Member of the Australian [ANSWER] a portion of is the [ANSWER]
['Q18912794', 'P361', {'concept': 'Q2145277'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2145277 . resource:Q18912794 property:P361 ?q }
House of Representatives
Member of the Australian House of Representatives a portion of is the House of Representatives
House of Representatives
action filter_type
action find
entity Member of the Australian House of Representatives
relation part of
type House of Representatives
['Member of the Australian House of Representatives', 'part of', {'concept': 'House of Representatives'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:House_of_Representatives . resource:Member_of_the_Australian_House_of_Representatives property:part_of ?q }
[]