Simple Question (Direct)
Simple Question
Q4503605
P19
Q56061
USER
Which administrative territory was John Holmes Prentiss born at ?
(Q4503605,P19,c(Q56061))
action filter_type
action find
entity Q4503605
relation P19
type Q56061
['Q4503605', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4503605 property:P19 ?w . ?w rdf:type ontology:Q56061 }
John Holmes Prentiss
action filter_type
action find
entity John Holmes Prentiss
relation place of birth
type administrative territorial entity
['John Holmes Prentiss', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:John_Holmes_Prentiss property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49179
SYSTEM
Worcester
Q49179
(Q4503605,P19,c(Q56061))
action filter_type
action find
entity Q4503605
relation P19
type Q56061
John Holmes Prentiss was born in [ANSWER]
['Q4503605', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4503605 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Worcester
John Holmes Prentiss was born in Worcester
Worcester
action filter_type
action find
entity John Holmes Prentiss
relation place of birth
type administrative territorial entity
['John Holmes Prentiss', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:John_Holmes_Prentiss property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4503605
P39
Q12737077
USER
What was the position held by that person ?
(Q49179,P39,c(Q12737077))
action filter_type
action find
entity Q4503605
relation P39
type Q12737077
['Q49179', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q4503605 property:P39 ?y }
John Holmes Prentiss
action filter_type
action find
entity John Holmes Prentiss
relation position held
type occupation
['Worcester', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:John_Holmes_Prentiss property:position_held ?y }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q49179,P39,c(Q12737077))
action filter_type
action find
entity Q4503605
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q49179', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q4503605 property:P39 ?y }
United States representative
The position held by that person was a United States representative
United States representative
action filter_type
action find
entity John Holmes Prentiss
relation position held
type occupation
['Worcester', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:John_Holmes_Prentiss property:position_held ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q13218630 Q827187 Q7056396
P17
Q15617994
USER
Is that occupation present in Parelioi and North Polk Community School District ?
(Q13218630,P17,Q827187) (Q13218630,P17,Q7056396)
action is_in
entity Q13218630
action intersection
action find_reverse
entity Q827187
relation P17
action find_reverse
entity Q7056396
relation P17
['Q13218630', 'P17', 'Q827187'] ['Q13218630', 'P17', 'Q7056396']
ASK WHERE { resource:Q13218630 property:P17 resource:Q7056396 . resource:Q13218630 property:P17 resource:Q827187 }
United States representative Parelioi North Polk Community School District
action is_in
entity United States representative
action intersection
action find_reverse
entity Parelioi
relation country
action find_reverse
entity North Polk Community School District
relation country
['United States representative', 'country', 'Parelioi'] ['United States representative', 'country', 'North Polk Community School District']
ASK WHERE { resource:United_States_representative property:country resource:North_Polk_Community_School_District . resource:United_States_representative property:country resource:Parelioi }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q13218630,P17,Q827187) (Q13218630,P17,Q7056396)
action is_in
entity Q13218630
action intersection
action find_reverse
entity Q827187
relation P17
action find_reverse
entity Q7056396
relation P17
[ANSWER]
['Q13218630', 'P17', 'Q827187'] ['Q13218630', 'P17', 'Q7056396']
ASK WHERE { resource:Q13218630 property:P17 resource:Q7056396 . resource:Q13218630 property:P17 resource:Q827187 }
No
action is_in
entity United States representative
action intersection
action find_reverse
entity Parelioi
relation country
action find_reverse
entity North Polk Community School District
relation country
['United States representative', 'country', 'Parelioi'] ['United States representative', 'country', 'North Polk Community School District']
ASK WHERE { resource:United_States_representative property:country resource:North_Polk_Community_School_District . resource:United_States_representative property:country resource:Parelioi }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4503605
P20
Q56061
USER
Where did the expiration of John Holmes Prentiss occur ?
(Q4503605,P20,c(Q56061))
action filter_type
action find
entity Q4503605
relation P20
type Q56061
['Q4503605', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q4503605 property:P20 ?s . ?s rdf:type ontology:Q56061 }
John Holmes Prentiss
action filter_type
action find
entity John Holmes Prentiss
relation place of death
type administrative territorial entity
['John Holmes Prentiss', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:John_Holmes_Prentiss property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1025016
SYSTEM
Cooperstown
Q1025016
(Q4503605,P20,c(Q56061))
action filter_type
action find
entity Q4503605
relation P20
type Q56061
The expiration of John Holmes Prentiss occurred in [ANSWER]
['Q4503605', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q4503605 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Cooperstown
The expiration of John Holmes Prentiss occurred in Cooperstown
Cooperstown
action filter_type
action find
entity John Holmes Prentiss
relation place of death
type administrative territorial entity
['John Holmes Prentiss', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:John_Holmes_Prentiss property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1025016
P159
Q43229
USER
Which organization has headquarters located at that administrative territory ?
(c(Q43229),P159,Q1025016)
action filter_type
action find_reverse
entity Q1025016
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1025016']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q1025016 . ?u rdf:type ontology:Q43229 }
Cooperstown
action filter_type
action find_reverse
entity Cooperstown
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Cooperstown']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Cooperstown . ?u rdf:type ontology:organization }
[]
organization
Q2425707
SYSTEM
Brewery Ommegang
Q2425707
(c(Q43229),P159,Q1025016)
action filter_type
action find_reverse
entity Q1025016
relation P159
type Q43229
[ANSWER] has headquarters located at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q1025016']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q1025016 . ?u rdf:type ontology:Q43229 }
Brewery Ommegang
Brewery Ommegang has headquarters located at that administrative territory
Brewery Ommegang
action filter_type
action find_reverse
entity Cooperstown
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Cooperstown']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Cooperstown . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2425707
P127
Q43229
USER
Which organization does that one belong to ?
(Q2425707,P127,c(Q43229))
action filter_type
action find
entity Q2425707
relation P127
type Q43229
['Q2425707', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . resource:Q2425707 property:P127 ?o }
Brewery Ommegang
action filter_type
action find
entity Brewery Ommegang
relation owned by
type organization
['Brewery Ommegang', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . resource:Brewery_Ommegang property:owned_by ?o }
[]
organization
Q387897
SYSTEM
Duvel Moortgat Brewery
Q387897
(Q2425707,P127,c(Q43229))
action filter_type
action find
entity Q2425707
relation P127
type Q43229
That one belongs to [ANSWER]
['Q2425707', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . resource:Q2425707 property:P127 ?o }
Duvel Moortgat Brewery
That one belongs to Duvel Moortgat Brewery
Duvel Moortgat Brewery
action filter_type
action find
entity Brewery Ommegang
relation owned by
type organization
['Brewery Ommegang', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . resource:Brewery_Ommegang property:owned_by ?o }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q294699 Q827187
P47 P17
Q15617994
USER
Which administrative territories are Parelioi situated in or have a shared border with Austis ?
OR((Q827187,P17,c(Q15617994)), (Q294699,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q827187
relation P17
action find
entity Q294699
relation P47
type Q15617994
{'OR': [['Q827187', 'P17', {'concept': 'Q15617994'}], ['Q294699', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q827187 property:P17 ?y } UNION { resource:Q294699 property:P47 ?y } } . ?y rdf:type ontology:Q15617994 }
Austis Parelioi
action filter_type
action union
action find
entity Parelioi
relation country
action find
entity Austis
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Parelioi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Austis', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Parelioi property:country ?y } UNION { resource:Austis property:shares_border_with ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q295622 Q386898 Q295631 Q41 Q386852 Q295351 Q295643 Q295550 Q295658
SYSTEM
Sorgono, Nughedu Santa Vittoria, Teti, Sardinia, Greece, Neoneli, Olzai, Tiana, Sardinia, Ortueri, Tonara
Q295622 Q386898 Q295631 Q41 Q386852 Q295351 Q295643 Q295550 Q295658
OR((Q827187,P17,c(Q15617994)), (Q294699,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q827187
relation P17
action find
entity Q294699
relation P47
type Q15617994
Parelioi are situated have [ANSWERS]
{'OR': [['Q827187', 'P17', {'concept': 'Q15617994'}], ['Q294699', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q827187 property:P17 ?y } UNION { resource:Q294699 property:P47 ?y } } . ?y rdf:type ontology:Q15617994 }
Sorgono Nughedu Santa Vittoria Teti, Sardinia Greece Neoneli Olzai Tiana, Sardinia Ortueri Tonara
Parelioi are situated have Sorgono, Nughedu Santa Vittoria, Teti, Sardinia, Greece, Neoneli, Olzai, Tiana, Sardinia, Ortueri and Tonara
Sorgono Nughedu Santa Vittoria Teti, Sardinia Greece Neoneli Olzai Tiana, Sardinia Ortueri Tonara
action filter_type
action union
action find
entity Parelioi
relation country
action find
entity Austis
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Parelioi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Austis', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Parelioi property:country ?y } UNION { resource:Austis property:shares_border_with ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q294699
P17
Q15617994
USER
How many administrative territories are Austis located in ?
(Q294699,P17,c(Q15617994))
action count
action filter_type
action find
entity Q294699
relation P17
type Q15617994
['Q294699', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Q294699 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Austis
action count
action filter_type
action find
entity Austis
relation country
type designation for an administrative territorial entity
['Austis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Austis property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q294699,P17,c(Q15617994))
action count
action filter_type
action find
entity Q294699
relation P17
type Q15617994
[ANSWER]
['Q294699', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Q294699 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Austis
relation country
type designation for an administrative territorial entity
['Austis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Austis property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5170570
P17
Q15617994
USER
And what about Corinne, Oklahoma?
(Q5170570,P17,c(Q15617994))
action count
action filter_type
action find
entity Q5170570
relation P17
type Q15617994
['Q5170570', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q5170570 property:P17 ?a }
Corinne, Oklahoma
action count
action filter_type
action find
entity Corinne, Oklahoma
relation country
type designation for an administrative territorial entity
['Corinne, Oklahoma', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Corinne,_Oklahoma property:country ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q5170570,P17,c(Q15617994))
action count
action filter_type
action find
entity Q5170570
relation P17
type Q15617994
[ANSWER]
['Q5170570', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q5170570 property:P17 ?a }
United States of America
1
action count
action filter_type
action find
entity Corinne, Oklahoma
relation country
type designation for an administrative territorial entity
['Corinne, Oklahoma', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Corinne,_Oklahoma property:country ?a }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3458585
Q15617994
USER
And how about Aela?
(Q3458585,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3458585
relation P17
type Q15617994
['Q3458585', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q3458585 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Aela
action count
action filter_type
action find
entity Aela
relation country
type designation for an administrative territorial entity
['Aela', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Aela property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3458585,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3458585
relation P17
type Q15617994
[ANSWER]
['Q3458585', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q3458585 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Aela
relation country
type designation for an administrative territorial entity
['Aela', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Aela property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q766
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with greater number of administrative territories than Jamaica ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?w ) WHERE { ?b property:P530 ?u . ?b rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q766 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?w > ?s ) }
Jamaica
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?w ) WHERE { ?b property:diplomatic_relation ?u . ?b rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Jamaica property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?w > ?s ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with greater number of administrative territories than Jamaica
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?w ) WHERE { ?b property:P530 ?u . ?b rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q766 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?w > ?s ) }
Austria Germany Australia Denmark Canada New Zealand
Germany, Australia and Denmark have diplomatic relationships with greater number of administrative territories than Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?w ) WHERE { ?b property:diplomatic_relation ?u . ?b rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Jamaica property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?w > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q40
P530
Q1048835 Q15617994
USER
And what about Austria?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?c ) WHERE { ?r property:P530 ?g . ?r rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?f } } . FILTER ( ?c > ?p ) }
Austria
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?c ) WHERE { ?r property:diplomatic_relation ?g . ?r rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?f } } . FILTER ( ?c > ?p ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?c ) WHERE { ?r property:P530 ?g . ?r rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?f } } . FILTER ( ?c > ?p ) }
Germany Australia Canada
Germany Australia Canada
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?c ) WHERE { ?r property:diplomatic_relation ?g . ?r rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?f } } . FILTER ( ?c > ?p ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q408
P1001
Q12737077
USER
Which occupations apply to jurisdiction over that political territory ?
(c(Q12737077),P1001,Q408)
action filter_type
action find_reverse
entity Q408
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q408']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q408 . ?n rdf:type ontology:Q12737077 }
Australia
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Australia . ?n rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q408
SYSTEM
Did you mean Australia ?
Q183 Q408 Q16
(c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q408) (c(Q12737077),P1001,Q16)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q408'] [{'concept': 'Q12737077'}, 'P1001', 'Q16']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q408 . ?n rdf:type ontology:Q12737077 }
Germany Australia Canada
Did you mean Australia ?
Australia
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Canada']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Australia . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12737077),P1001,Q408)
[{'concept': 'Q12737077'}, 'P1001', 'Q408']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Australia']
[]
Q319145 Q2390270 Q6865833
SYSTEM
Prime Minister of Australia, Treasurer of Australia, Minister for Finance
Q3409185 Q6865833 Q2660943 Q6865979 Q11796976 Q6865874 Q5261065 Q6865857 Q11796950 Q11796917 Q7574624 Q6865985 Q7574256 Q6865888 Q4818607 Q6865883 Q2460433 Q18912794 Q6866013 Q6865821 Q2390270 Q11796967 Q6865868 Q6865745 Q14931512 Q6865809 Q3315112 Q16147127 Q6814428 Q11122003 Q6865994 Q319145 Q11796986
(c(Q12737077),P1001,Q408)
action filter_type
action find_reverse
entity Q408
relation P1001
type Q12737077
[ANSWERS] apply to jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q408']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q408 . ?n rdf:type ontology:Q12737077 }
Chief Justice of Australia Minister for Finance Minister for Foreign Affairs Minister for Trade Minister for Social Inclusion (Australia) Minister for Human Services Deputy Prime Minister of Australia Minister for Health Minister for Immigration and Border Protection Minister for Broadband, Communications and the Digital Economy (Australia) Special Minister of State Minister for Veterans' Affairs Speaker of the House of Representatives Minister for Infrastructure and Transport Attorney-General of Australia Minister for Industry and Innovation Leader of the Opposition Member of the Australian House of Representatives Minister for the Status of Women Minister for Social Services Treasurer of Australia Minister for School Education, Early Childhood and Youth Minister for Home Affairs Minister for Agriculture, Fisheries and Forestry monarch of Australia Minister for Employment and Workplace Relations Minister for Defence Leader of the House member of the Australian Senate Vice-President of the Executive Council Minister for the Arts Prime Minister of Australia Minister for Sustainability, Environment, Water, Population and Communities (Australia)
Prime Minister of Australia, Treasurer of Australia and Minister for Finance apply to jurisdiction over that political territory
Prime Minister of Australia Treasurer of Australia Minister for Finance
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Australia . ?n rdf:type ontology:occupation }
[]