Simple Question (Direct)
Simple Question
Q3218707
P19
Q20667921
USER
Which french administrative division is the birthplace of Laura Ong ?
(Q3218707,P19,c(Q20667921))
action filter_type
action find
entity Q3218707
relation P19
type Q20667921
['Q3218707', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q3218707 property:P19 ?w . ?w rdf:type ontology:Q20667921 }
Laura Ong
action filter_type
action find
entity Laura Ong
relation place of birth
type type of french administrative division
['Laura Ong', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Laura_Ong property:place_of_birth ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q193877
SYSTEM
Ivry-sur-Seine
Q193877
(Q3218707,P19,c(Q20667921))
action filter_type
action find
entity Q3218707
relation P19
type Q20667921
[ANSWER] is the birthplace of Laura Ong
['Q3218707', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q3218707 property:P19 ?w . ?w rdf:type ontology:Q20667921 }
Ivry-sur-Seine
Ivry-sur-Seine is the birthplace of Laura Ong
Ivry-sur-Seine
action filter_type
action find
entity Laura Ong
relation place of birth
type type of french administrative division
['Laura Ong', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Laura_Ong property:place_of_birth ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193877
P159
Q874405
USER
Which social groups have headquarters located at that french administrative division ?
(c(Q874405),P159,Q193877)
action filter_type
action find_reverse
entity Q193877
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q193877']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q874405 . ?i property:P159 resource:Q193877 }
Ivry-sur-Seine
action filter_type
action find_reverse
entity Ivry-sur-Seine
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Ivry-sur-Seine']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:social_group . ?i property:headquarters_location resource:Ivry-sur-Seine }
[]
social group
Q1273376 Q636818
SYSTEM
E.Leclerc, École des technologies numériques appliquées
Q1273376 Q636818
(c(Q874405),P159,Q193877)
action filter_type
action find_reverse
entity Q193877
relation P159
type Q874405
[ANSWERS] have headquarters located at that french administrative division
[{'concept': 'Q874405'}, 'P159', 'Q193877']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q874405 . ?i property:P159 resource:Q193877 }
E.Leclerc École des technologies numériques appliquées
E.Leclerc and École des technologies numériques appliquées have headquarters located at that french administrative division
E.Leclerc École des technologies numériques appliquées
action filter_type
action find_reverse
entity Ivry-sur-Seine
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Ivry-sur-Seine']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:social_group . ?i property:headquarters_location resource:Ivry-sur-Seine }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1273376 Q636818
P159
Q20667921
USER
Which french administrative divisions are the headquarter locations of those social groups ?
(Q1273376,P159,c(Q20667921)) (Q636818,P159,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P159
type Q20667921
['Q1273376', 'P159', {'concept': 'Q20667921'}] ['Q636818', 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q20667921 . VALUES ( ?q ) { ( resource:Q1273376 ) ( resource:Q636818 ) } . ?q property:P159 ?i }
E.Leclerc École des technologies numériques appliquées
action filter_type
action find
entity prev_answer
relation headquarters location
type type of french administrative division
['E.Leclerc', 'headquarters location', {'concept': 'type of french administrative division'}] ['École des technologies numériques appliquées', 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_french_administrative_division . VALUES ( ?q ) { ( resource:E.Leclerc ) ( resource:École_des_technologies_numériques_appliquées ) } . ?q property:headquarters_location ?i }
[]
type of french administrative division
Q193877 Q193877
SYSTEM
Ivry-sur-Seine
Q193877 Q193877
(Q1273376,P159,c(Q20667921)) (Q636818,P159,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P159
type Q20667921
[ANSWER] and [ANSWER] are the headquarter locations of those social groups
['Q1273376', 'P159', {'concept': 'Q20667921'}] ['Q636818', 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q20667921 . VALUES ( ?q ) { ( resource:Q1273376 ) ( resource:Q636818 ) } . ?q property:P159 ?i }
Ivry-sur-Seine Ivry-sur-Seine
Ivry-sur-Seine and Ivry-sur-Seine are the headquarter locations of those social groups
Ivry-sur-Seine Ivry-sur-Seine
action filter_type
action find
entity prev_answer
relation headquarters location
type type of french administrative division
['E.Leclerc', 'headquarters location', {'concept': 'type of french administrative division'}] ['École des technologies numériques appliquées', 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_french_administrative_division . VALUES ( ?q ) { ( resource:E.Leclerc ) ( resource:École_des_technologies_numériques_appliquées ) } . ?q property:headquarters_location ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193877
P36
Q20667921
USER
Which french administrative divisions have Ivry-sur-Seine as their administrative centre ?
(c(Q20667921),P36,Q193877)
action filter_type
action find_reverse
entity Q193877
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q193877']
SELECT DISTINCT ?v WHERE { ?v property:P36 resource:Q193877 . ?v rdf:type ontology:Q20667921 }
Ivry-sur-Seine
action filter_type
action find_reverse
entity Ivry-sur-Seine
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Ivry-sur-Seine']
SELECT DISTINCT ?v WHERE { ?v property:capital resource:Ivry-sur-Seine . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1543266 Q19945104 Q1543346
SYSTEM
canton of Ivry-sur-Seine-Est, canton of Ivry-sur-Seine, canton of Ivry-sur-Seine-Ouest
Q1543266 Q19945104 Q1543346
(c(Q20667921),P36,Q193877)
action filter_type
action find_reverse
entity Q193877
relation P36
type Q20667921
[ANSWERS] have Ivry-sur-Seine as their administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q193877']
SELECT DISTINCT ?v WHERE { ?v property:P36 resource:Q193877 . ?v rdf:type ontology:Q20667921 }
canton of Ivry-sur-Seine-Est canton of Ivry-sur-Seine canton of Ivry-sur-Seine-Ouest
Canton of Ivry-sur-Seine-Est, canton of Ivry-sur-Seine and canton of Ivry-sur-Seine-Ouest have Ivry-sur-Seine as their administrative centre
canton of Ivry-sur-Seine-Est canton of Ivry-sur-Seine canton of Ivry-sur-Seine-Ouest
action filter_type
action find_reverse
entity Ivry-sur-Seine
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Ivry-sur-Seine']
SELECT DISTINCT ?v WHERE { ?v property:capital resource:Ivry-sur-Seine . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193877
P190
Q15617994
USER
Which administrative territory is twin city of Ivry-sur-Seine ?
(Q193877,P190,c(Q15617994))
action filter_type
action find
entity Q193877
relation P190
type Q15617994
['Q193877', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q193877 property:P190 ?s . ?s rdf:type ontology:Q15617994 }
Ivry-sur-Seine
action filter_type
action find
entity Ivry-sur-Seine
relation sister city
type designation for an administrative territorial entity
['Ivry-sur-Seine', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ivry-sur-Seine property:sister_city ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3758
SYSTEM
Kaiserslautern
Q3758
(Q193877,P190,c(Q15617994))
action filter_type
action find
entity Q193877
relation P190
type Q15617994
[ANSWER] is twin city of Ivry-sur-Seine
['Q193877', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q193877 property:P190 ?s . ?s rdf:type ontology:Q15617994 }
Kaiserslautern
Kaiserslautern is twin city of Ivry-sur-Seine
Kaiserslautern
action filter_type
action find
entity Ivry-sur-Seine
relation sister city
type designation for an administrative territorial entity
['Ivry-sur-Seine', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ivry-sur-Seine property:sister_city ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193877
P551
Q502895
USER
Which person lives in Ivry-sur-Seine ?
(c(Q502895),P551,Q193877)
action filter_type
action find_reverse
entity Q193877
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q193877']
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q193877 . ?l rdf:type ontology:Q502895 }
Ivry-sur-Seine
action filter_type
action find_reverse
entity Ivry-sur-Seine
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ivry-sur-Seine']
SELECT DISTINCT ?l WHERE { ?l property:residence resource:Ivry-sur-Seine . ?l rdf:type ontology:common_name }
[]
common name
Q2871980
SYSTEM
Aurélia Truel
Q2871980
(c(Q502895),P551,Q193877)
action filter_type
action find_reverse
entity Q193877
relation P551
type Q502895
[ANSWER] lives in Ivry-sur-Seine
[{'concept': 'Q502895'}, 'P551', 'Q193877']
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q193877 . ?l rdf:type ontology:Q502895 }
Aurélia Truel
Aurélia Truel lives in Ivry-sur-Seine
Aurélia Truel
action filter_type
action find_reverse
entity Ivry-sur-Seine
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ivry-sur-Seine']
SELECT DISTINCT ?l WHERE { ?l property:residence resource:Ivry-sur-Seine . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193877
P276
Q159334
USER
Which secondary school is situated at that french administrative division ?
(c(Q159334),P276,Q2871980)
action filter_type
action find_reverse
entity Q193877
relation P276
type Q159334
[{'concept': 'Q159334'}, 'P276', 'Q2871980']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q193877 . ?q rdf:type ontology:Q159334 }
Ivry-sur-Seine
action filter_type
action find_reverse
entity Ivry-sur-Seine
relation location
type secondary school
[{'concept': 'secondary school'}, 'location', 'Aurélia Truel']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Ivry-sur-Seine . ?q rdf:type ontology:secondary_school }
[]
secondary school
Q1572655
SYSTEM
École spéciale de mécanique et électricité
Q1572655
(c(Q159334),P276,Q2871980)
action filter_type
action find_reverse
entity Q193877
relation P276
type Q159334
[ANSWER] is situated at that french administrative division
[{'concept': 'Q159334'}, 'P276', 'Q2871980']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q193877 . ?q rdf:type ontology:Q159334 }
École spéciale de mécanique et électricité
École spéciale de mécanique et électricité is situated at that french administrative division
École spéciale de mécanique et électricité
action filter_type
action find_reverse
entity Ivry-sur-Seine
relation location
type secondary school
[{'concept': 'secondary school'}, 'location', 'Aurélia Truel']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Ivry-sur-Seine . ?q rdf:type ontology:secondary_school }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q193877
Q15617994
USER
And which administrative territory?
(Q193877,P17,c(Q15617994))
action filter_type
action find
entity Q193877
relation P17
type Q15617994
['Q193877', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q193877 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Ivry-sur-Seine
action filter_type
action find
entity Ivry-sur-Seine
relation country
type designation for an administrative territorial entity
['Ivry-sur-Seine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Ivry-sur-Seine property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q193877,P17,c(Q15617994))
action filter_type
action find
entity Q193877
relation P17
type Q15617994
[ANSWER]
['Q193877', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q193877 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Ivry-sur-Seine
relation country
type designation for an administrative territorial entity
['Ivry-sur-Seine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Ivry-sur-Seine property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q197908 Q801
P530
Q15617994
USER
Does France have tactful political relations with Zhongshan District and Israel ?
(Q142,P530,Q197908) (Q142,P530,Q801)
action is_in
entity Q142
action intersection
action find_reverse
entity Q197908
relation P530
action find_reverse
entity Q801
relation P530
['Q142', 'P530', 'Q197908'] ['Q142', 'P530', 'Q801']
ASK WHERE { resource:Q142 property:P530 resource:Q197908 . resource:Q142 property:P530 resource:Q801 }
France Zhongshan District Israel
action is_in
entity France
action intersection
action find_reverse
entity Zhongshan District
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['France', 'diplomatic relation', 'Zhongshan District'] ['France', 'diplomatic relation', 'Israel']
ASK WHERE { resource:France property:diplomatic_relation resource:Zhongshan_District . resource:France property:diplomatic_relation resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q142,P530,Q197908) (Q142,P530,Q801)
action is_in
entity Q142
action intersection
action find_reverse
entity Q197908
relation P530
action find_reverse
entity Q801
relation P530
[ANSWER]
['Q142', 'P530', 'Q197908'] ['Q142', 'P530', 'Q801']
ASK WHERE { resource:Q142 property:P530 resource:Q197908 . resource:Q142 property:P530 resource:Q801 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Zhongshan District
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['France', 'diplomatic relation', 'Zhongshan District'] ['France', 'diplomatic relation', 'Israel']
ASK WHERE { resource:France property:diplomatic_relation resource:Zhongshan_District . resource:France property:diplomatic_relation resource:Israel }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with around 19 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 19
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?f = 19 ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { ?y property:P530 ?a . ?y rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?y } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?f = 19 ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { ?y property:diplomatic_relation ?a . ?y rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
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 approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 19
[ANSWERS] have diplomatic relations with around 19 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?f = 19 ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { ?y property:P530 ?a . ?y rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?y } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with around 19 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?f = 19 ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { ?y property:diplomatic_relation ?a . ?y rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q35 Q367347
P35
Q502895
USER
How many people have the highest formal authority in Denmark or Cabinet of Gordon Bajnai ?
(Q35,P35,c(Q502895)) (Q367347,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q35
relation P35
type Q502895
action filter_type
action find
entity Q367347
relation P35
type Q502895
['Q35', 'P35', {'concept': 'Q502895'}] ['Q367347', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { resource:Q35 property:P35 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q367347 property:P35 ?q . ?q rdf:type ontology:Q502895 } }
Denmark Cabinet of Gordon Bajnai
action count
action union
action filter_type
action find
entity Denmark
relation head of state
type common name
action filter_type
action find
entity Cabinet of Gordon Bajnai
relation head of state
type common name
['Denmark', 'head of state', {'concept': 'common name'}] ['Cabinet of Gordon Bajnai', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { resource:Denmark property:head_of_state ?q . ?q rdf:type ontology:common_name } UNION { resource:Cabinet_of_Gordon_Bajnai property:head_of_state ?q . ?q rdf:type ontology:common_name } }
[]
common name
SYSTEM
24
Q157812 Q151305 Q156187 Q154041 Q161958 Q157789 Q94941 Q161059 Q157781 Q153586 Q157793 Q151312 Q155002 Q156572 Q58056 Q102139 Q152335 Q156617 Q157776 Q152756 Q154998 Q153940 Q154460 Q154993
(Q35,P35,c(Q502895)) (Q367347,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q35
relation P35
type Q502895
action filter_type
action find
entity Q367347
relation P35
type Q502895
[ANSWER]
['Q35', 'P35', {'concept': 'Q502895'}] ['Q367347', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { resource:Q35 property:P35 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q367347 property:P35 ?q . ?q rdf:type ontology:Q502895 } }
Frederick III of Denmark Christian IX of Denmark Frederick V of Denmark Frederick II of Denmark Eric of Pomerania Frederick I of Denmark Frederick VII of Denmark Frederick IV of Denmark Christian VIII of Denmark Christian IV of Denmark Christian V of Denmark Frederick IX of Denmark Frederick VI of Denmark Christian VII of Denmark Christopher of Bavaria Margrethe II of Denmark László Sólyom Christian X of Denmark John, King of Denmark Frederick VIII of Denmark Christian III of Denmark Christian I of Denmark Christian II of Denmark Christian VI of Denmark
24
action count
action union
action filter_type
action find
entity Denmark
relation head of state
type common name
action filter_type
action find
entity Cabinet of Gordon Bajnai
relation head of state
type common name
['Denmark', 'head of state', {'concept': 'common name'}] ['Cabinet of Gordon Bajnai', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { resource:Denmark property:head_of_state ?q . ?q rdf:type ontology:common_name } UNION { resource:Cabinet_of_Gordon_Bajnai property:head_of_state ?q . ?q rdf:type ontology:common_name } }
[]