Simple Question (Direct)
Simple Question
Q881613
P39
Q12737077
USER
Which occupations were the positions for which Vernon Wallace Thomson were appointed ?
(Q881613,P39,c(Q12737077))
action filter_type
action find
entity Q881613
relation P39
type Q12737077
['Q881613', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q881613 property:P39 ?y }
Vernon Wallace Thomson
action filter_type
action find
entity Vernon Wallace Thomson
relation position held
type occupation
['Vernon Wallace Thomson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Vernon_Wallace_Thomson property:position_held ?y }
[]
occupation
Q13218630 Q18526160 Q3112727
SYSTEM
United States representative, member of the Wisconsin State Assembly, Governor of Wisconsin
Q13218630 Q18526160 Q3112727
(Q881613,P39,c(Q12737077))
action filter_type
action find
entity Q881613
relation P39
type Q12737077
The [ANSWERS] were the positions for which Vernon Wallace Thomson were appointed
['Q881613', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q881613 property:P39 ?y }
United States representative member of the Wisconsin State Assembly Governor of Wisconsin
The United States representative, member of the Wisconsin State Assembly and Governor of Wisconsin were the positions for which Vernon Wallace Thomson were appointed
United States representative member of the Wisconsin State Assembly Governor of Wisconsin
action filter_type
action find
entity Vernon Wallace Thomson
relation position held
type occupation
['Vernon Wallace Thomson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Vernon_Wallace_Thomson property:position_held ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3112727
P361
Q2324993
USER
Which branch is Governor of Wisconsin a component of ?
(Q3112727,P361,c(Q2324993))
action filter_type
action find
entity Q3112727
relation P361
type Q2324993
['Q3112727', 'P361', {'concept': 'Q2324993'}]
SELECT DISTINCT ?o WHERE { resource:Q3112727 property:P361 ?o . ?o rdf:type ontology:Q2324993 }
Governor of Wisconsin
action filter_type
action find
entity Governor of Wisconsin
relation part of
type branch
['Governor of Wisconsin', 'part of', {'concept': 'branch'}]
SELECT DISTINCT ?o WHERE { resource:Governor_of_Wisconsin property:part_of ?o . ?o rdf:type ontology:branch }
[]
branch
Q21624800
SYSTEM
Wisconsin executive branch
Q21624800
(Q3112727,P361,c(Q2324993))
action filter_type
action find
entity Q3112727
relation P361
type Q2324993
The [ANSWER] is Governor of Wisconsin a component of
['Q3112727', 'P361', {'concept': 'Q2324993'}]
SELECT DISTINCT ?o WHERE { resource:Q3112727 property:P361 ?o . ?o rdf:type ontology:Q2324993 }
Wisconsin executive branch
The Wisconsin executive branch is Governor of Wisconsin a component of
Wisconsin executive branch
action filter_type
action find
entity Governor of Wisconsin
relation part of
type branch
['Governor of Wisconsin', 'part of', {'concept': 'branch'}]
SELECT DISTINCT ?o WHERE { resource:Governor_of_Wisconsin property:part_of ?o . ?o rdf:type ontology:branch }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21624800 Q7413684
P17
Q15617994
USER
Does that branch belong to San Diego Independent School District ?
(Q21624800,P17,Q7413684)
action is_in
entity Q7413684
action find
entity Q21624800
relation P17
['Q21624800', 'P17', 'Q7413684']
ASK WHERE { resource:Q21624800 property:P17 resource:Q7413684 }
Wisconsin executive branch San Diego Independent School District
action is_in
entity San Diego Independent School District
action find
entity Wisconsin executive branch
relation country
['Wisconsin executive branch', 'country', 'San Diego Independent School District']
ASK WHERE { resource:Wisconsin_executive_branch property:country resource:San_Diego_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q21624800,P17,Q7413684)
action is_in
entity Q7413684
action find
entity Q21624800
relation P17
[ANSWER]
['Q21624800', 'P17', 'Q7413684']
ASK WHERE { resource:Q21624800 property:P17 resource:Q7413684 }
No
action is_in
entity San Diego Independent School District
action find
entity Wisconsin executive branch
relation country
['Wisconsin executive branch', 'country', 'San Diego Independent School District']
ASK WHERE { resource:Wisconsin_executive_branch property:country resource:San_Diego_Independent_School_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20859380
P1001
Q56061
USER
Which administrative territory comes under the supervision of Mierlo municipal council ?
(Q20859380,P1001,c(Q56061))
action filter_type
action find
entity Q20859380
relation P1001
type Q56061
['Q20859380', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q20859380 property:P1001 ?r }
Mierlo municipal council
action filter_type
action find
entity Mierlo municipal council
relation applies to jurisdiction
type administrative territorial entity
['Mierlo municipal council', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Mierlo_municipal_council property:applies_to_jurisdiction ?r }
[]
administrative territorial entity
Q1614337
SYSTEM
Mierlo
Q1614337
(Q20859380,P1001,c(Q56061))
action filter_type
action find
entity Q20859380
relation P1001
type Q56061
[ANSWER] comes under the supervision of [ANSWER] municipal council
['Q20859380', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q20859380 property:P1001 ?r }
Mierlo
Mierlo comes under the supervision of Mierlo municipal council
Mierlo
action filter_type
action find
entity Mierlo municipal council
relation applies to jurisdiction
type administrative territorial entity
['Mierlo municipal council', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Mierlo_municipal_council property:applies_to_jurisdiction ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26699343
Q56061
USER
And what about mayor of Cachorrilla?
(Q26699343,P1001,c(Q56061))
action filter_type
action find
entity Q26699343
relation P1001
type Q56061
['Q26699343', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q26699343 property:P1001 ?r . ?r rdf:type ontology:Q56061 }
mayor of Cachorrilla
action filter_type
action find
entity mayor of Cachorrilla
relation applies to jurisdiction
type administrative territorial entity
['mayor of Cachorrilla', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:mayor_of_Cachorrilla property:applies_to_jurisdiction ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q640211
SYSTEM
Cachorrilla
Q640211
(Q26699343,P1001,c(Q56061))
action filter_type
action find
entity Q26699343
relation P1001
type Q56061
[ANSWER]
['Q26699343', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q26699343 property:P1001 ?r . ?r rdf:type ontology:Q56061 }
Cachorrilla
Cachorrilla
action filter_type
action find
entity mayor of Cachorrilla
relation applies to jurisdiction
type administrative territorial entity
['mayor of Cachorrilla', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:mayor_of_Cachorrilla property:applies_to_jurisdiction ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q640211 Q1337284 Q554273
P17
Q15617994
USER
Is that administrative territory present in Hongshan District and Wahnwegen ?
(Q640211,P17,Q1337284) (Q640211,P17,Q554273)
action is_in
entity Q640211
action intersection
action find_reverse
entity Q1337284
relation P17
action find_reverse
entity Q554273
relation P17
['Q640211', 'P17', 'Q1337284'] ['Q640211', 'P17', 'Q554273']
ASK WHERE { resource:Q640211 property:P17 resource:Q554273 . resource:Q640211 property:P17 resource:Q1337284 }
Cachorrilla Hongshan District Wahnwegen
action is_in
entity Cachorrilla
action intersection
action find_reverse
entity Hongshan District
relation country
action find_reverse
entity Wahnwegen
relation country
['Cachorrilla', 'country', 'Hongshan District'] ['Cachorrilla', 'country', 'Wahnwegen']
ASK WHERE { resource:Cachorrilla property:country resource:Wahnwegen . resource:Cachorrilla property:country resource:Hongshan_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q640211,P17,Q1337284) (Q640211,P17,Q554273)
action is_in
entity Q640211
action intersection
action find_reverse
entity Q1337284
relation P17
action find_reverse
entity Q554273
relation P17
[ANSWER]
['Q640211', 'P17', 'Q1337284'] ['Q640211', 'P17', 'Q554273']
ASK WHERE { resource:Q640211 property:P17 resource:Q554273 . resource:Q640211 property:P17 resource:Q1337284 }
No
action is_in
entity Cachorrilla
action intersection
action find_reverse
entity Hongshan District
relation country
action find_reverse
entity Wahnwegen
relation country
['Cachorrilla', 'country', 'Hongshan District'] ['Cachorrilla', 'country', 'Wahnwegen']
ASK WHERE { resource:Cachorrilla property:country resource:Wahnwegen . resource:Cachorrilla property:country resource:Hongshan_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q640211
P17
Q15617994
USER
How many administrative territories are Cachorrilla present in ?
(Q640211,P17,c(Q15617994))
action count
action filter_type
action find
entity Q640211
relation P17
type Q15617994
['Q640211', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q640211 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Cachorrilla
action count
action filter_type
action find
entity Cachorrilla
relation country
type designation for an administrative territorial entity
['Cachorrilla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Cachorrilla property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q640211,P17,c(Q15617994))
action count
action filter_type
action find
entity Q640211
relation P17
type Q15617994
[ANSWER]
['Q640211', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q640211 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Cachorrilla
relation country
type designation for an administrative territorial entity
['Cachorrilla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Cachorrilla property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q13218757
Q15617994
USER
And how about TRT GAP?
(Q13218757,P17,c(Q15617994))
action count
action filter_type
action find
entity Q13218757
relation P17
type Q15617994
['Q13218757', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q13218757 property:P17 ?t }
TRT GAP
action count
action filter_type
action find
entity TRT GAP
relation country
type designation for an administrative territorial entity
['TRT GAP', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:TRT_GAP property:country ?t }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q13218757,P17,c(Q15617994))
action count
action filter_type
action find
entity Q13218757
relation P17
type Q15617994
[ANSWER]
['Q13218757', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q13218757 property:P17 ?t }
1
action count
action filter_type
action find
entity TRT GAP
relation country
type designation for an administrative territorial entity
['TRT GAP', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:TRT_GAP property:country ?t }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1539609 Q21624800
P361
Q12737077
USER
Which occupations are a part of Wisconsin executive branch or Vermont Senate ?
OR((c(Q12737077),P361,Q21624800), (c(Q12737077),P361,Q1539609))
action filter_type
action union
action find_reverse
entity Q21624800
relation P361
action find_reverse
entity Q1539609
relation P361
type Q12737077
{'OR': [[{'concept': 'Q12737077'}, 'P361', 'Q21624800'], [{'concept': 'Q12737077'}, 'P361', 'Q1539609']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P361 resource:Q21624800 } UNION { ?u property:P361 resource:Q1539609 } } . ?u rdf:type ontology:Q12737077 }
Vermont Senate Wisconsin executive branch
action filter_type
action union
action find_reverse
entity Wisconsin executive branch
relation part of
action find_reverse
entity Vermont Senate
relation part of
type occupation
{'OR': [[{'concept': 'occupation'}, 'part of', 'Wisconsin executive branch'], [{'concept': 'occupation'}, 'part of', 'Vermont Senate']]}
SELECT DISTINCT ?u WHERE { { { ?u property:part_of resource:Wisconsin_executive_branch } UNION { ?u property:part_of resource:Vermont_Senate } } . ?u rdf:type ontology:occupation }
[]
occupation
Q20065418 Q6544440 Q3112727
SYSTEM
member of the State Senate of Vermont, Lieutenant Governor of Wisconsin, Governor of Wisconsin
Q20065418 Q6544440 Q3112727
OR((c(Q12737077),P361,Q21624800), (c(Q12737077),P361,Q1539609))
action filter_type
action union
action find_reverse
entity Q21624800
relation P361
action find_reverse
entity Q1539609
relation P361
type Q12737077
A [ANSWERS] are a part of Wisconsin executive branch or Vermont Senate
{'OR': [[{'concept': 'Q12737077'}, 'P361', 'Q21624800'], [{'concept': 'Q12737077'}, 'P361', 'Q1539609']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P361 resource:Q21624800 } UNION { ?u property:P361 resource:Q1539609 } } . ?u rdf:type ontology:Q12737077 }
member of the State Senate of Vermont Lieutenant Governor of Wisconsin Governor of Wisconsin
A member of the State Senate of Vermont, Lieutenant Governor of Wisconsin and Governor of Wisconsin are a part of Wisconsin executive branch or Vermont Senate
member of the State Senate of Vermont Lieutenant Governor of Wisconsin Governor of Wisconsin
action filter_type
action union
action find_reverse
entity Wisconsin executive branch
relation part of
action find_reverse
entity Vermont Senate
relation part of
type occupation
{'OR': [[{'concept': 'occupation'}, 'part of', 'Wisconsin executive branch'], [{'concept': 'occupation'}, 'part of', 'Vermont Senate']]}
SELECT DISTINCT ?u WHERE { { { ?u property:part_of resource:Wisconsin_executive_branch } UNION { ?u property:part_of resource:Vermont_Senate } } . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1614337
P1383
Q13220204
USER
Which administrative country subdivision supervises Mierlo ?
(c(Q13220204),P1383,Q1614337)
action filter_type
action find_reverse
entity Q1614337
relation P1383
type Q13220204
[{'concept': 'Q13220204'}, 'P1383', 'Q1614337']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q13220204 . ?d property:P1383 resource:Q1614337 }
Mierlo
action filter_type
action find_reverse
entity Mierlo
relation contains settlement
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'contains settlement', 'Mierlo']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:second-level_administrative_country_subdivision . ?d property:contains_settlement resource:Mierlo }
[]
second-level administrative country subdivision
Q9835
SYSTEM
Geldrop-Mierlo
Q9835
(c(Q13220204),P1383,Q1614337)
action filter_type
action find_reverse
entity Q1614337
relation P1383
type Q13220204
[ANSWER] supervises Mierlo
[{'concept': 'Q13220204'}, 'P1383', 'Q1614337']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q13220204 . ?d property:P1383 resource:Q1614337 }
Geldrop-Mierlo
Geldrop-Mierlo supervises Mierlo
Geldrop-Mierlo
action filter_type
action find_reverse
entity Mierlo
relation contains settlement
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'contains settlement', 'Mierlo']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:second-level_administrative_country_subdivision . ?d property:contains_settlement resource:Mierlo }
[]