Simple Question (Direct)
Simple Question
Q3164409
P27
Q15617994
USER
Which administrative territory is Jean-Baptiste Roidot a civilian of ?
(Q3164409,P27,c(Q15617994))
action filter_type
action find
entity Q3164409
relation P27
type Q15617994
['Q3164409', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3164409 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Jean-Baptiste Roidot
action filter_type
action find
entity Jean-Baptiste Roidot
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Baptiste Roidot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jean-Baptiste_Roidot property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3164409,P27,c(Q15617994))
action filter_type
action find
entity Q3164409
relation P27
type Q15617994
[ANSWER] is Jean-Baptiste Roidot a civilian of
['Q3164409', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3164409 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
France
France is Jean-Baptiste Roidot a civilian of
France
action filter_type
action find
entity Jean-Baptiste Roidot
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Baptiste Roidot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jean-Baptiste_Roidot property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3164409
P19
Q15617994
USER
Which administrative territory was that person born in ?
(Q142,P19,c(Q15617994))
action filter_type
action find
entity Q3164409
relation P19
type Q15617994
['Q142', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3164409 property:P19 ?w }
Jean-Baptiste Roidot
action filter_type
action find
entity Jean-Baptiste Roidot
relation place of birth
type designation for an administrative territorial entity
['France', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-Baptiste_Roidot property:place_of_birth ?w }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q142,P19,c(Q15617994))
action filter_type
action find
entity Q3164409
relation P19
type Q15617994
That person was born in [ANSWER]
['Q142', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3164409 property:P19 ?w }
France
That person was born in France
France
action filter_type
action find
entity Jean-Baptiste Roidot
relation place of birth
type designation for an administrative territorial entity
['France', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-Baptiste_Roidot property:place_of_birth ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q13116 Q183
P47
Q1048835
USER
Is that administrative territory next to the border of Benelux and Germany ?
(Q142,P47,Q13116) (Q142,P47,Q183)
action is_in
entity Q142
action intersection
action find_reverse
entity Q13116
relation P47
action find_reverse
entity Q183
relation P47
['Q142', 'P47', 'Q13116'] ['Q142', 'P47', 'Q183']
ASK WHERE { resource:Q142 property:P47 resource:Q183 . resource:Q142 property:P47 resource:Q13116 }
France Benelux Germany
action is_in
entity France
action intersection
action find_reverse
entity Benelux
relation shares border with
action find_reverse
entity Germany
relation shares border with
['France', 'shares border with', 'Benelux'] ['France', 'shares border with', 'Germany']
ASK WHERE { resource:France property:shares_border_with resource:Germany . resource:France property:shares_border_with resource:Benelux }
[]
political territorial entity
SYSTEM
YES
(Q142,P47,Q13116) (Q142,P47,Q183)
action is_in
entity Q142
action intersection
action find_reverse
entity Q13116
relation P47
action find_reverse
entity Q183
relation P47
[ANSWER]
['Q142', 'P47', 'Q13116'] ['Q142', 'P47', 'Q183']
ASK WHERE { resource:Q142 property:P47 resource:Q183 . resource:Q142 property:P47 resource:Q13116 }
Yes
action is_in
entity France
action intersection
action find_reverse
entity Benelux
relation shares border with
action find_reverse
entity Germany
relation shares border with
['France', 'shares border with', 'Benelux'] ['France', 'shares border with', 'Germany']
ASK WHERE { resource:France property:shares_border_with resource:Germany . resource:France property:shares_border_with resource:Benelux }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with atleast 75 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 75
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?v property:P530 ?x } GROUP BY ?v } . FILTER ( ?c >= 75 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 75
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?x } GROUP BY ?v } . FILTER ( ?c >= 75 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 75
[ANSWER] have tactful political relations with atleast 75 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?v property:P530 ?x } GROUP BY ?v } . FILTER ( ?c >= 75 ) }
Georgia
Georgia have tactful political relations with atleast 75 administrative territories
Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 75
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?c ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?x } GROUP BY ?v } . FILTER ( ?c >= 75 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q230 Q91243 Q736
P530
Q15617994
USER
Does Georgia have ambassadorial relations with Monteroni d'Arbia and Ecuador ?
(Q230,P530,Q91243) (Q230,P530,Q736)
action is_in
entity Q230
action intersection
action find_reverse
entity Q91243
relation P530
action find_reverse
entity Q736
relation P530
['Q230', 'P530', 'Q91243'] ['Q230', 'P530', 'Q736']
ASK WHERE { resource:Q230 property:P530 resource:Q91243 . resource:Q230 property:P530 resource:Q736 }
Georgia Monteroni d'Arbia Ecuador
action is_in
entity Georgia
action intersection
action find_reverse
entity Monteroni d'Arbia
relation diplomatic relation
action find_reverse
entity Ecuador
relation diplomatic relation
['Georgia', 'diplomatic relation', "Monteroni d'Arbia"] ['Georgia', 'diplomatic relation', 'Ecuador']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Monteroni_d'Arbia . resource:Georgia property:diplomatic_relation resource:Ecuador }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q230,P530,Q91243) (Q230,P530,Q736)
action is_in
entity Q230
action intersection
action find_reverse
entity Q91243
relation P530
action find_reverse
entity Q736
relation P530
[ANSWER]
['Q230', 'P530', 'Q91243'] ['Q230', 'P530', 'Q736']
ASK WHERE { resource:Q230 property:P530 resource:Q91243 . resource:Q230 property:P530 resource:Q736 }
NO and YES respectively
action is_in
entity Georgia
action intersection
action find_reverse
entity Monteroni d'Arbia
relation diplomatic relation
action find_reverse
entity Ecuador
relation diplomatic relation
['Georgia', 'diplomatic relation', "Monteroni d'Arbia"] ['Georgia', 'diplomatic relation', 'Ecuador']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Monteroni_d'Arbia . resource:Georgia property:diplomatic_relation resource:Ecuador }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atmost 76 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 76
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?u property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?u } . FILTER ( ?s <= 76 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?u property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?u } . FILTER ( ?s <= 76 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 76
[ANSWERS] have diplomatic relationships with atmost 76 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?u property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?u } . FILTER ( ?s <= 76 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relationships with atmost 76 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?u property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?u } . FILTER ( ?s <= 76 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35 Q16 Q40
P17
Q15700808
USER
Which urban unit definitions are located in those political territories ?
(c(Q15700808),P17,Q35) (c(Q15700808),P17,Q16) (c(Q15700808),P17,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q15700808
[{'concept': 'Q15700808'}, 'P17', 'Q35'] [{'concept': 'Q15700808'}, 'P17', 'Q16'] [{'concept': 'Q15700808'}, 'P17', 'Q40']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15700808 . ?g property:P17 ?a . VALUES ( ?a ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Denmark Canada Austria
action filter_type
action find_reverse
entity prev_answer
relation country
type urban unit definition
[{'concept': 'urban unit definition'}, 'country', 'Denmark'] [{'concept': 'urban unit definition'}, 'country', 'Canada'] [{'concept': 'urban unit definition'}, 'country', 'Austria']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:urban_unit_definition . ?g property:country ?a . VALUES ( ?a ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
urban unit definition
Q2167 Q1723642 Q5656925
SYSTEM
Lund, Kanata, Hareskovby
Q5656925 Q2167 Q1723642 Q5581463 Q687312
(c(Q15700808),P17,Q35) (c(Q15700808),P17,Q16) (c(Q15700808),P17,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q15700808
[ANSWERS] are located in those political territories
[{'concept': 'Q15700808'}, 'P17', 'Q35'] [{'concept': 'Q15700808'}, 'P17', 'Q16'] [{'concept': 'Q15700808'}, 'P17', 'Q40']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15700808 . ?g property:P17 ?a . VALUES ( ?a ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Hareskovby Lund Kanata Gondola Point Vorort
Lund, Kanata and Hareskovby are located in those political territories
Lund Kanata Hareskovby
action filter_type
action find_reverse
entity prev_answer
relation country
type urban unit definition
[{'concept': 'urban unit definition'}, 'country', 'Denmark'] [{'concept': 'urban unit definition'}, 'country', 'Canada'] [{'concept': 'urban unit definition'}, 'country', 'Austria']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:urban_unit_definition . ?g property:country ?a . VALUES ( ?a ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40
P159
Q874405
USER
Which social groups have the principal seat at Austria ?
(c(Q874405),P159,Q40)
action filter_type
action find_reverse
entity Q40
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q40']
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q40 . ?f rdf:type ontology:Q874405 }
Austria
action filter_type
action find_reverse
entity Austria
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Austria']
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Austria . ?f rdf:type ontology:social_group }
[]
social group
Q2737122 Q304062 Q303786
SYSTEM
Jugend Eine Welt, Austrian Physical Society, Austrian Mathematical Society
Q2737122 Q304062 Q303786
(c(Q874405),P159,Q40)
action filter_type
action find_reverse
entity Q40
relation P159
type Q874405
[ANSWERS] have the principal seat at Austria
[{'concept': 'Q874405'}, 'P159', 'Q40']
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q40 . ?f rdf:type ontology:Q874405 }
Jugend Eine Welt Austrian Physical Society Austrian Mathematical Society
Jugend Eine Welt, Austrian Physical Society and Austrian Mathematical Society have the principal seat at Austria
Jugend Eine Welt Austrian Physical Society Austrian Mathematical Society
action filter_type
action find_reverse
entity Austria
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Austria']
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Austria . ?f rdf:type ontology:social_group }
[]