Simple Question (Direct)
Simple Question
Q887992
P27
Q15617994
USER
Which administrative territory is the native country of Axel Rodrigues de Arruda ?
(Q887992,P27,c(Q15617994))
action filter_type
action find
entity Q887992
relation P27
type Q15617994
['Q887992', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q887992 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Axel Rodrigues de Arruda
action filter_type
action find
entity Axel Rodrigues de Arruda
relation country of citizenship
type designation for an administrative territorial entity
['Axel Rodrigues de Arruda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Axel_Rodrigues_de_Arruda property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q887992,P27,c(Q15617994))
action filter_type
action find
entity Q887992
relation P27
type Q15617994
De [ANSWER] is the native country of Axel Rodrigues de Arruda
['Q887992', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q887992 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Brazil
De Brazil is the native country of Axel Rodrigues de Arruda
Brazil
action filter_type
action find
entity Axel Rodrigues de Arruda
relation country of citizenship
type designation for an administrative territorial entity
['Axel Rodrigues de Arruda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Axel_Rodrigues_de_Arruda property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q887992
P54
Q1194951
USER
What is that person a member of ?
(Q155,P54,c(Q1194951))
action filter_type
action find
entity Q887992
relation P54
type Q1194951
['Q155', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1194951 . resource:Q887992 property:P54 ?n }
Axel Rodrigues de Arruda
action filter_type
action find
entity Axel Rodrigues de Arruda
relation member of sports team
type national sports team
['Brazil', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:national_sports_team . resource:Axel_Rodrigues_de_Arruda property:member_of_sports_team ?n }
[]
national sports team
Q83459
SYSTEM
Brazil national football team
Q83459
(Q155,P54,c(Q1194951))
action filter_type
action find
entity Q887992
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q155', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1194951 . resource:Q887992 property:P54 ?n }
Brazil national football team
That person a member of is the Brazil national football team
Brazil national football team
action filter_type
action find
entity Axel Rodrigues de Arruda
relation member of sports team
type national sports team
['Brazil', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:national_sports_team . resource:Axel_Rodrigues_de_Arruda property:member_of_sports_team ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1344
Q15275719 Q1190554
USER
How many recurring events or events did that national sports team participate in ?
(Q83459,P1344,c(Q15275719)) (Q83459,P1344,c(Q1190554)) (Q83459,P1344,c(Q15275719)) (Q83459,P1344,c(Q1190554))
action count
action union
action filter_type
action find
entity Q83459
relation P1344
type Q15275719
action filter_type
action find
entity Q83459
relation P1344
type Q1190554
['Q83459', 'P1344', {'concept': 'Q15275719'}] ['Q83459', 'P1344', {'concept': 'Q1190554'}] ['Q83459', 'P1344', {'concept': 'Q15275719'}] ['Q83459', 'P1344', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q15275719 ) ( ontology:Q1190554 ) } . ?b rdf:type ?c }
action count
action union
action filter_type
action find
entity Brazil national football team
relation participant of
type recurring event
action filter_type
action find
entity Brazil national football team
relation participant of
type event
['Brazil national football team', 'participant of', {'concept': 'recurring event'}] ['Brazil national football team', 'participant of', {'concept': 'event'}] ['Brazil national football team', 'participant of', {'concept': 'recurring event'}] ['Brazil national football team', 'participant of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:recurring_event ) ( ontology:event ) } . ?b rdf:type ?c }
[]
recurring event event
SYSTEM
21
Q176883 Q37285 Q715021 Q132515 Q48432 Q134202 Q1477177 Q132529 Q46943 Q132533 Q132664 Q160813 Q101751 Q166121 Q47735 Q46938 Q131075 Q131591 Q46934 Q101730 Q79859
(Q83459,P1344,c(Q15275719)) (Q83459,P1344,c(Q1190554)) (Q83459,P1344,c(Q15275719)) (Q83459,P1344,c(Q1190554))
action count
action union
action filter_type
action find
entity Q83459
relation P1344
type Q15275719
action filter_type
action find
entity Q83459
relation P1344
type Q1190554
[ANSWER]
['Q83459', 'P1344', {'concept': 'Q15275719'}] ['Q83459', 'P1344', {'concept': 'Q1190554'}] ['Q83459', 'P1344', {'concept': 'Q15275719'}] ['Q83459', 'P1344', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q15275719 ) ( ontology:Q1190554 ) } . ?b rdf:type ?c }
2010 FIFA World Cup 2006 FIFA World Cup 2002 FIFA World Cup Final 1950 FIFA World Cup 1930 FIFA World Cup 1966 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 1978 FIFA World Cup 1958 FIFA World Cup 1970 FIFA World Cup 1962 FIFA World Cup 1994 FIFA World Cup 1974 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1954 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
21
action count
action union
action filter_type
action find
entity Brazil national football team
relation participant of
type recurring event
action filter_type
action find
entity Brazil national football team
relation participant of
type event
['Brazil national football team', 'participant of', {'concept': 'recurring event'}] ['Brazil national football team', 'participant of', {'concept': 'event'}] ['Brazil national football team', 'participant of', {'concept': 'recurring event'}] ['Brazil national football team', 'participant of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:recurring_event ) ( ontology:event ) } . ?b rdf:type ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q26430789 Q155
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Brazil and are Goscott Farmhouse present in ?
AND((Q155,P530,c(Q15617994)), (Q26430789,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q155
relation P530
action find
entity Q26430789
relation P17
type Q15617994
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q26430789', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q155 property:P530 ?e . resource:Q26430789 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Goscott Farmhouse Brazil
action filter_type
action intersection
action find
entity Brazil
relation diplomatic relation
action find
entity Goscott Farmhouse
relation country
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Goscott Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Brazil property:diplomatic_relation ?e . resource:Goscott_Farmhouse property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q155,P530,c(Q15617994)), (Q26430789,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q155
relation P530
action find
entity Q26430789
relation P17
type Q15617994
[ANSWER] have a diplomatic relationship with Brazil and are Goscott Farmhouse present in
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q26430789', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q155 property:P530 ?e . resource:Q26430789 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom have a diplomatic relationship with Brazil and are Goscott Farmhouse present in
United Kingdom
action filter_type
action intersection
action find
entity Brazil
relation diplomatic relation
action find
entity Goscott Farmhouse
relation country
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Goscott Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Brazil property:diplomatic_relation ?e . resource:Goscott_Farmhouse property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q30971
P530
Q1048835
USER
How many political territories have diplomatic associations with United Kingdom or French Polynesia ?
(c(Q1048835),P530,Q145) (c(Q1048835),P530,Q30971)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q30971
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q1048835'}, 'P530', 'Q30971']
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:P530 resource:Q30971 . ?v rdf:type ontology:Q1048835 } UNION { ?v property:P530 resource:Q145 . ?v rdf:type ontology:Q1048835 } }
United Kingdom French Polynesia
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity French Polynesia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'French Polynesia']
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:diplomatic_relation resource:French_Polynesia . ?v rdf:type ontology:political_territorial_entity } UNION { ?v property:diplomatic_relation resource:United_Kingdom . ?v rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
3
Q16 Q408 Q183
(c(Q1048835),P530,Q145) (c(Q1048835),P530,Q30971)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q30971
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q1048835'}, 'P530', 'Q30971']
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:P530 resource:Q30971 . ?v rdf:type ontology:Q1048835 } UNION { ?v property:P530 resource:Q145 . ?v rdf:type ontology:Q1048835 } }
Canada Australia Germany
3
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity French Polynesia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'French Polynesia']
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:diplomatic_relation resource:French_Polynesia . ?v rdf:type ontology:political_territorial_entity } UNION { ?v property:diplomatic_relation resource:United_Kingdom . ?v rdf:type ontology:political_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4621433 Q26430789
P17
Q15617994
USER
Which administrative territories do Goscott Farmhouse or Qaratəpə belong to ?
OR((Q26430789,P17,c(Q15617994)), (Q4621433,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26430789
relation P17
action find
entity Q4621433
relation P17
type Q15617994
{'OR': [['Q26430789', 'P17', {'concept': 'Q15617994'}], ['Q4621433', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4621433 property:P17 ?k } UNION { resource:Q26430789 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Qaratəpə Goscott Farmhouse
action filter_type
action union
action find
entity Goscott Farmhouse
relation country
action find
entity Qaratəpə
relation country
type designation for an administrative territorial entity
{'OR': [['Goscott Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Qaratəpə', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Qaratəpə property:country ?k } UNION { resource:Goscott_Farmhouse property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q227 Q145
SYSTEM
Azerbaijan, United Kingdom
Q227 Q145
OR((Q26430789,P17,c(Q15617994)), (Q4621433,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26430789
relation P17
action find
entity Q4621433
relation P17
type Q15617994
Goscott Farmhouse or Qaratəpə belong to both [ANSWERS]
{'OR': [['Q26430789', 'P17', {'concept': 'Q15617994'}], ['Q4621433', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4621433 property:P17 ?k } UNION { resource:Q26430789 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Azerbaijan United Kingdom
Goscott Farmhouse or Qaratəpə belong to both Azerbaijan and United Kingdom
Azerbaijan United Kingdom
action filter_type
action union
action find
entity Goscott Farmhouse
relation country
action find
entity Qaratəpə
relation country
type designation for an administrative territorial entity
{'OR': [['Goscott Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Qaratəpə', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Qaratəpə property:country ?k } UNION { resource:Goscott_Farmhouse property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q227 Q183
P530
Q15617994
USER
How many administrative territories are known to have diplomatic connections with Azerbaijan and Germany ?
(c(Q15617994),P530,Q227) (c(Q15617994),P530,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q227
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q227'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P530 resource:Q183 . ?v rdf:type ontology:Q15617994 . ?v property:P530 resource:Q227 . ?v rdf:type ontology:Q15617994 }
Azerbaijan Germany
action count
action intersection
action filter_type
action find_reverse
entity Azerbaijan
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Azerbaijan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:diplomatic_relation resource:Germany . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation resource:Azerbaijan . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q184 Q38 Q230 Q17
(c(Q15617994),P530,Q227) (c(Q15617994),P530,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q227
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q227'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P530 resource:Q183 . ?v rdf:type ontology:Q15617994 . ?v property:P530 resource:Q227 . ?v rdf:type ontology:Q15617994 }
Belarus Italy Georgia Japan
4
action count
action intersection
action filter_type
action find_reverse
entity Azerbaijan
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Azerbaijan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:diplomatic_relation resource:Germany . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation resource:Azerbaijan . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q731656 Q83459
P19 P17
Q15617994
USER
Which administrative territories are Brazil national football team present in or are the places of birth of Charles II, Duke of Mantua and Montferrat ?
OR((Q83459,P17,c(Q15617994)), (Q731656,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q83459
relation P17
action find
entity Q731656
relation P19
type Q15617994
{'OR': [['Q83459', 'P17', {'concept': 'Q15617994'}], ['Q731656', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q83459 property:P17 ?h } UNION { resource:Q731656 property:P19 ?h } } . ?h rdf:type ontology:Q15617994 }
Charles II, Duke of Mantua and Montferrat Brazil national football team
action filter_type
action union
action find
entity Brazil national football team
relation country
action find
entity Charles II, Duke of Mantua and Montferrat
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Brazil national football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Charles II, Duke of Mantua and Montferrat', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Brazil_national_football_team property:country ?h } UNION { resource:Charles_II,_Duke_of_Mantua_and_Montferrat property:place_of_birth ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q6247
SYSTEM
Brazil, Mantua
Q155 Q6247
OR((Q83459,P17,c(Q15617994)), (Q731656,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q83459
relation P17
action find
entity Q731656
relation P19
type Q15617994
[ANSWERS] are Brazil national football team present in or are the places of birth of Charles II, Duke of Mantua and Montferrat
{'OR': [['Q83459', 'P17', {'concept': 'Q15617994'}], ['Q731656', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q83459 property:P17 ?h } UNION { resource:Q731656 property:P19 ?h } } . ?h rdf:type ontology:Q15617994 }
Brazil Mantua
Brazil and Mantua are Brazil national football team present in or are the places of birth of Charles II, Duke of Mantua and Montferrat
Brazil Mantua
action filter_type
action union
action find
entity Brazil national football team
relation country
action find
entity Charles II, Duke of Mantua and Montferrat
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Brazil national football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Charles II, Duke of Mantua and Montferrat', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Brazil_national_football_team property:country ?h } UNION { resource:Charles_II,_Duke_of_Mantua_and_Montferrat property:place_of_birth ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q6247
P47
Q15617994
USER
Which administrative territories are bordered by those ones ?
(Q155,P47,c(Q15617994)) (Q6247,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q6247', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Q155 ) ( resource:Q6247 ) } . ?e rdf:type ontology:Q15617994 . ?k property:P47 ?e }
Brazil Mantua
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Mantua', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Brazil ) ( resource:Mantua ) } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:shares_border_with ?e }
[]
designation for an administrative territorial entity
Q142 Q414 Q739
SYSTEM
France, Argentina, Colombia
Q739 Q142 Q717 Q730 Q733 Q734 Q419 Q77 Q414 Q750 Q42357 Q42355 Q43025 Q42334 Q42212
(Q155,P47,c(Q15617994)) (Q6247,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are bordered by those ones
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q6247', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Q155 ) ( resource:Q6247 ) } . ?e rdf:type ontology:Q15617994 . ?k property:P47 ?e }
Colombia France Venezuela Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia San Giorgio di Mantova Bagnolo San Vito Curtatone Roncoferraro Porto Mantovano
France, Argentina and Colombia are bordered by those ones
France Argentina Colombia
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Mantua', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Brazil ) ( resource:Mantua ) } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:shares_border_with ?e }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q414 Q739
P17
Q12737077
USER
Which occupations are located in those administrative territories ?
(c(Q12737077),P17,Q142) (c(Q12737077),P17,Q414) (c(Q12737077),P17,Q739)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q12737077
[{'concept': 'Q12737077'}, 'P17', 'Q142'] [{'concept': 'Q12737077'}, 'P17', 'Q414'] [{'concept': 'Q12737077'}, 'P17', 'Q739']
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Q739 ) ( resource:Q142 ) ( resource:Q717 ) } . ?s property:P17 ?u . ?s rdf:type ontology:Q12737077 }
France Argentina Colombia
action filter_type
action find_reverse
entity prev_answer
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'France'] [{'concept': 'occupation'}, 'country', 'Argentina'] [{'concept': 'occupation'}, 'country', 'Colombia']
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Colombia ) ( resource:France ) ( resource:Venezuela ) } . ?s property:country ?u . ?s rdf:type ontology:occupation }
[]
occupation
Q16059954 Q3780304 Q15113603
SYSTEM
Minister of National Education, Member of the General Council, municipal councillor
Q16059954 Q2359870 Q23958341 Q283135 Q3128486 Q20202980 Q17618004 Q3780304 Q21750197 Q747123 Q15973153 Q20202948 Q17618137 Q19018261 Q2986308 Q25343330 Q3401779 Q23638977 Q3409237 Q1965891 Q20203006 Q12479878 Q1477945 Q3044918 Q21065832 Q3251880 Q15113603 Q2994367 Q3401663 Q3115767 Q17712741 Q3408923 Q12436652 Q3477294 Q3477299 Q21032519 Q2994439 Q14828018 Q21032547 Q7444344 Q21032552 Q21113166 Q7886203 Q20177062 Q1131971 Q3029430 Q3029404 Q21743287 Q16543547 Q20203208 Q16260691 Q27579823 Q382617 Q2986283 Q7444396 Q650012 Q15135541 Q3238298 Q19018174 Q19822522 Q2860249 Q3382119 Q19822699 Q21888124 Q16886136 Q2824533 Q23905996 Q6352182 Q4122443 Q21693118 Q5589713 Q26741444 Q18711738 Q21693213 Q6352224 Q6352200 Q12969145 Q16186017 Q18229570 Q5589678 Q853475 Q18960607 Q19850317 Q7169233 Q17104133 Q19254253 Q23653023
(c(Q12737077),P17,Q142) (c(Q12737077),P17,Q414) (c(Q12737077),P17,Q739)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q12737077
[ANSWERS] are located in those administrative territories
[{'concept': 'Q12737077'}, 'P17', 'Q142'] [{'concept': 'Q12737077'}, 'P17', 'Q414'] [{'concept': 'Q12737077'}, 'P17', 'Q739']
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Q739 ) ( resource:Q142 ) ( resource:Q717 ) } . ?s property:P17 ?u . ?s rdf:type ontology:Q12737077 }
Minister of National Education department prefect President of the Jury at the Cannes Festival Secretary of State of the Maison du Roi high-ranking civil servant in France Minister of Agriculture Secretary of State for Foreign Trade, Tourism Promotion and French overseas Member of the General Council Mayor of Annecy First Secretary of the French Socialist Party administrateur civil (France) Minister of the Economy, Finances and Industry French Minister of the Economy Deputy Prime Minister of France Commissaire de police President of Wikimedia France Premier peintre du Roi Mayor of Marseille Président à mortier Administrators of the Comédie-Française Minister of the Interior Minister of Information Grand Almoner of France member of the French National Assembly Governor of the Bastille Minister of Health municipal councillor Councillor of State Premier Architecte du Roi Chief Engraver of the Paris Mint Inspecteur des établissements sanitaires Prefect of Paris Minister of Culture (France) Secretary of State for War Secretary of State for Protestant Affairs Second Empire senator Conservateur des bibliothèques member of the Senate of France senator of the French Third Republic Secretary of State for Foreign Affairs Senator of the Fourth Republic Minister of City Affairs Governor of the Banque de France senator of community First Consul Director of Research at CNRS Hospital director in France superintendent (France) Member of the Departmental Council Minister of Foreign Affairs and International Development Secretary of State for Digital Bishop of Carcassonne maire Auctioneer Secretary of State of the Navy engineer of roads and bridges head of government of France Wolfcatcher Royal Minister of War Mayor of Nantes architecte des bâtiments de France sub-prefect mayor of Paris Minister of Commerce conseiller régional insolvency practitioner Member of the French Economic, Social and Environmental Council Governor of Catamarca Province Governor of La Rioja Province Head of Government of the Autonomous City of Buenos Aires Governor of Santa Fe Mayor of La Plata Member of the Argentine Chamber of Senators Mayor of Buenos Aires Governor of Chaco Province Governor of Jujuy Province President of Argentina Mayor of Rivadavia Member of the Argentine Chamber of Deputies Governor of Mendoza President of Colombia member of the Chamber of Representatives of Colombia Attorney General of Colombia Permanent Representative of Colombia to the Organization of American States Vice President of Colombia member of the Senate of Colombia Minister of Foreign Affairs of Colombia
Minister of National Education, Member of the General Council and municipal councillor are located in those administrative territories
Minister of National Education Member of the General Council municipal councillor
action filter_type
action find_reverse
entity prev_answer
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'France'] [{'concept': 'occupation'}, 'country', 'Argentina'] [{'concept': 'occupation'}, 'country', 'Colombia']
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Colombia ) ( resource:France ) ( resource:Venezuela ) } . ?s property:country ?u . ?s rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3780304
P1313
Q20667921
USER
Which french administrative division has that occupation as office of head of government ?
(c(Q20667921),P1313,Q3780304)
action filter_type
action find_reverse
entity Q3780304
relation P1313
type Q20667921
[{'concept': 'Q20667921'}, 'P1313', 'Q3780304']
SELECT DISTINCT ?t WHERE { ?t property:P1313 resource:Q3780304 . ?t rdf:type ontology:Q20667921 }
Member of the General Council
action filter_type
action find_reverse
entity Member of the General Council
relation office held by head of government
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'office held by head of government', 'Member of the General Council']
SELECT DISTINCT ?t WHERE { ?t property:office_held_by_head_of_government resource:Member_of_the_General_Council . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q3780304
SYSTEM
Did you mean Member of the General Council ?
Q16059954 Q3780304 Q15113603
(c(Q20667921),P1313,Q16059954) (c(Q20667921),P1313,Q3780304) (c(Q20667921),P1313,Q15113603)
[ANSWER]
[{'concept': 'Q20667921'}, 'P1313', 'Q16059954'] [{'concept': 'Q20667921'}, 'P1313', 'Q3780304'] [{'concept': 'Q20667921'}, 'P1313', 'Q15113603']
SELECT DISTINCT ?t WHERE { ?t property:P1313 resource:Q3780304 . ?t rdf:type ontology:Q20667921 }
Minister of National Education Member of the General Council municipal councillor
Did you mean Member of the General Council ?
Member of the General Council
[{'concept': 'type of french administrative division'}, 'office held by head of government', 'Minister of National Education'] [{'concept': 'type of french administrative division'}, 'office held by head of government', 'Member of the General Council'] [{'concept': 'type of french administrative division'}, 'office held by head of government', 'municipal councillor']
SELECT DISTINCT ?t WHERE { ?t property:office_held_by_head_of_government resource:Member_of_the_General_Council . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q20667921),P1313,Q3780304)
[{'concept': 'Q20667921'}, 'P1313', 'Q3780304']
[{'concept': 'type of french administrative division'}, 'office held by head of government', 'Member of the General Council']
[]
Q658007
SYSTEM
canton of Clamecy
Q658007
(c(Q20667921),P1313,Q3780304)
action filter_type
action find_reverse
entity Q3780304
relation P1313
type Q20667921
The [ANSWER] has that occupation as office of head of government
[{'concept': 'Q20667921'}, 'P1313', 'Q3780304']
SELECT DISTINCT ?t WHERE { ?t property:P1313 resource:Q3780304 . ?t rdf:type ontology:Q20667921 }
canton of Clamecy
The canton of Clamecy has that occupation as office of head of government
canton of Clamecy
action filter_type
action find_reverse
entity Member of the General Council
relation office held by head of government
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'office held by head of government', 'Member of the General Council']
SELECT DISTINCT ?t WHERE { ?t property:office_held_by_head_of_government resource:Member_of_the_General_Council . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q658007 Q3383859
P6
Q502895
USER
Is Pierre Barbier the head of government of canton of Clamecy ?
(Q658007,P6,Q3383859)
action is_in
entity Q3383859
action find
entity Q658007
relation P6
['Q658007', 'P6', 'Q3383859']
ASK WHERE { resource:Q658007 property:P6 resource:Q3383859 }
canton of Clamecy Pierre Barbier
action is_in
entity Pierre Barbier
action find
entity canton of Clamecy
relation head of government
['canton of Clamecy', 'head of government', 'Pierre Barbier']
ASK WHERE { resource:canton_of_Clamecy property:head_of_government resource:Pierre_Barbier }
[]
common name
SYSTEM
YES
(Q658007,P6,Q3383859)
action is_in
entity Q3383859
action find
entity Q658007
relation P6
[ANSWER]
['Q658007', 'P6', 'Q3383859']
ASK WHERE { resource:Q658007 property:P6 resource:Q3383859 }
Yes
action is_in
entity Pierre Barbier
action find
entity canton of Clamecy
relation head of government
['canton of Clamecy', 'head of government', 'Pierre Barbier']
ASK WHERE { resource:canton_of_Clamecy property:head_of_government resource:Pierre_Barbier }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12077374 Q145
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with United Kingdom or are Axintele located in ?
OR((Q145,P530,c(Q15617994)), (Q12077374,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q12077374
relation P17
type Q15617994
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q12077374', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q145 property:P530 ?w } UNION { resource:Q12077374 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Axintele United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Axintele
relation country
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Axintele', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:United_Kingdom property:diplomatic_relation ?w } UNION { resource:Axintele property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q805 Q801 Q155 Q218 Q37 Q403 Q38
SYSTEM
France, Yemen, Israel, Brazil, Romania, Lithuania, Serbia, Italy
Q142 Q805 Q801 Q155 Q218 Q37 Q403 Q38
OR((Q145,P530,c(Q15617994)), (Q12077374,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q12077374
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with United Kingdom or are Axintele located in
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q12077374', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q145 property:P530 ?w } UNION { resource:Q12077374 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
France Yemen Israel Brazil Romania Lithuania Serbia Italy
France, Yemen, Israel, Brazil, Romania, Lithuania, Serbia and Italy hold diplomatic relationship with United Kingdom or are Axintele located in
France Yemen Israel Brazil Romania Lithuania Serbia Italy
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Axintele
relation country
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Axintele', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:United_Kingdom property:diplomatic_relation ?w } UNION { resource:Axintele property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]