Simple Question (Direct)
Simple Question
Q3455690
P39
Q12737077
USER
What were the positions held by Régis Barailla ?
(Q3455690,P39,c(Q12737077))
action filter_type
action find
entity Q3455690
relation P39
type Q12737077
['Q3455690', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3455690 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Régis Barailla
action filter_type
action find
entity Régis Barailla
relation position held
type occupation
['Régis Barailla', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Régis_Barailla property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q3455690,P39,c(Q12737077))
action filter_type
action find
entity Q3455690
relation P39
type Q12737077
[ANSWERS]
['Q3455690', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3455690 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The positions held by Régis Barailla were deputy maire and member of the French National Assembly
maire member of the French National Assembly
action filter_type
action find
entity Régis Barailla
relation position held
type occupation
['Régis Barailla', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Régis_Barailla property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3455690
P19
Q20667921
USER
Which french administrative division is the birthplace of Régis Barailla ?
(Q3455690,P19,c(Q20667921))
action filter_type
action find
entity Q3455690
relation P19
type Q20667921
['Q3455690', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q3455690 property:P19 ?b }
Régis Barailla
action filter_type
action find
entity Régis Barailla
relation place of birth
type type of french administrative division
['Régis Barailla', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:Régis_Barailla property:place_of_birth ?b }
[]
type of french administrative division
Q199893
SYSTEM
Albas
Q199893
(Q3455690,P19,c(Q20667921))
action filter_type
action find
entity Q3455690
relation P19
type Q20667921
[ANSWER] is the birthplace of Régis Barailla
['Q3455690', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q3455690 property:P19 ?b }
Albas
Albas is the birthplace of Régis Barailla
Albas
action filter_type
action find
entity Régis Barailla
relation place of birth
type type of french administrative division
['Régis Barailla', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:Régis_Barailla property:place_of_birth ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3455690
P106
Q12737077
USER
Which occupations are the professions of Régis Barailla ?
(Q3455690,P106,c(Q12737077))
action filter_type
action find
entity Q3455690
relation P106
type Q12737077
['Q3455690', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3455690 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Régis Barailla
action filter_type
action find
entity Régis Barailla
relation occupation
type occupation
['Régis Barailla', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Régis_Barailla property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q897317 Q82955
SYSTEM
winegrower, politician
Q897317 Q82955
(Q3455690,P106,c(Q12737077))
action filter_type
action find
entity Q3455690
relation P106
type Q12737077
The professions of Régis Barailla are a [ANSWERS]
['Q3455690', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3455690 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
winegrower politician
The professions of Régis Barailla are a winegrower and politician
winegrower politician
action filter_type
action find
entity Régis Barailla
relation occupation
type occupation
['Régis Barailla', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Régis_Barailla property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3455690
P102
Q7210356
USER
Which political organization is Régis Barailla a member of ?
(Q3455690,P102,c(Q7210356))
action filter_type
action find
entity Q3455690
relation P102
type Q7210356
['Q3455690', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q3455690 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Régis Barailla
action filter_type
action find
entity Régis Barailla
relation member of political party
type political organization
['Régis Barailla', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Régis_Barailla property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q3455690,P102,c(Q7210356))
action filter_type
action find
entity Q3455690
relation P102
type Q7210356
The [ANSWER] is Régis Barailla a member of
['Q3455690', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q3455690 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Socialist Party
The Socialist Party is Régis Barailla a member of
Socialist Party
action filter_type
action find
entity Régis Barailla
relation member of political party
type political organization
['Régis Barailla', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Régis_Barailla property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3455690
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q170972,P27,c(Q15617994))
action filter_type
action find
entity Q3455690
relation P27
type Q15617994
['Q170972', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3455690 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Régis Barailla
action filter_type
action find
entity Régis Barailla
relation country of citizenship
type designation for an administrative territorial entity
['Socialist Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Régis_Barailla property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q170972,P27,c(Q15617994))
action filter_type
action find
entity Q3455690
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q170972', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3455690 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
France
The France is that person an inhabitant of
France
action filter_type
action find
entity Régis Barailla
relation country of citizenship
type designation for an administrative territorial entity
['Socialist Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Régis_Barailla property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P108
Q502895
USER
Which person has that administrative territory as its employer ?
(c(Q502895),P108,Q142)
action filter_type
action find_reverse
entity Q142
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q142']
SELECT DISTINCT ?r WHERE { ?r property:P108 resource:Q142 . ?r rdf:type ontology:Q502895 }
France
action filter_type
action find_reverse
entity France
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'France']
SELECT DISTINCT ?r WHERE { ?r property:employer resource:France . ?r rdf:type ontology:common_name }
[]
common name
Q1352388
SYSTEM
François Thureau-Dangin
Q1352388
(c(Q502895),P108,Q142)
action filter_type
action find_reverse
entity Q142
relation P108
type Q502895
[ANSWER] has that administrative territory as its employer
[{'concept': 'Q502895'}, 'P108', 'Q142']
SELECT DISTINCT ?r WHERE { ?r property:P108 resource:Q142 . ?r rdf:type ontology:Q502895 }
François Thureau-Dangin
François Thureau-Dangin has that administrative territory as its employer
François Thureau-Dangin
action filter_type
action find_reverse
entity France
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'France']
SELECT DISTINCT ?r WHERE { ?r property:employer resource:France . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P530
Q15617994
USER
Who have a diplomatic relationship with France ?
(Q142,P530,c(Q15617994))
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q142 property:P530 ?w . ?w rdf:type ontology:Q15617994 }
France
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:France property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
(Q142,P530,c(Q15617994))
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with France
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q142 property:P530 ?w . ?w rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
Italy, Brazil and United States of America have a diplomatic relationship with France
Italy Brazil United States of America
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:France property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
(Q155,P30,c(Q2221906))
action filter_type
action find
entity Q155
relation P30
type Q2221906
['Q155', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q155 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
Brazil
action filter_type
action find
entity Brazil
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Brazil property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q155 Q30
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q30,P30,c(Q2221906))
[ANSWER]
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q155 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
Italy Brazil United States of America
Did you mean Italy ?
Italy
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Brazil property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(Q155,P30,c(Q2221906))
Q155
['Q155', 'P30', {'concept': 'Q2221906'}]
['Brazil', 'continent', {'concept': 'geographic location'}]
[]
Q18
SYSTEM
South America
Q18
(Q155,P30,c(Q2221906))
action filter_type
action find
entity Q155
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q155', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q155 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
South America
That administrative territory is located in South America
South America
action filter_type
action find
entity Brazil
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Brazil property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P47
Q15617994
USER
How many administrative territories are bordered by France ?
(Q142,P47,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P47
type Q15617994
['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q142 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
France
action count
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:France property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
11
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38
(Q142,P47,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P47
type Q15617994
[ANSWER]
['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q142 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy
11
action count
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:France property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q59296
Q15617994
USER
And how about Santa Vittoria in Matenano?
(Q59296,P47,c(Q15617994))
action count
action filter_type
action find
entity Q59296
relation P47
type Q15617994
['Q59296', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q59296 property:P47 ?l }
Santa Vittoria in Matenano
action count
action filter_type
action find
entity Santa Vittoria in Matenano
relation shares border with
type designation for an administrative territorial entity
['Santa Vittoria in Matenano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Santa_Vittoria_in_Matenano property:shares_border_with ?l }
[]
designation for an administrative territorial entity
SYSTEM
6
(Q59296,P47,c(Q15617994))
action count
action filter_type
action find
entity Q59296
relation P47
type Q15617994
[ANSWER]
['Q59296', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q59296 property:P47 ?l }
6
action count
action filter_type
action find
entity Santa Vittoria in Matenano
relation shares border with
type designation for an administrative territorial entity
['Santa Vittoria in Matenano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Santa_Vittoria_in_Matenano property:shares_border_with ?l }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11654725 Q3044918
P1001 P17
Q15617994
USER
Which administrative territories belong to jurisdiction of member of the French National Assembly or are Nagano Prefectural Road Route 495 located in ?
OR((Q3044918,P1001,c(Q15617994)), (Q11654725,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P1001
action find
entity Q11654725
relation P17
type Q15617994
{'OR': [['Q3044918', 'P1001', {'concept': 'Q15617994'}], ['Q11654725', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3044918 property:P1001 ?x } UNION { resource:Q11654725 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Nagano Prefectural Road Route 495 member of the French National Assembly
action filter_type
action union
action find
entity member of the French National Assembly
relation applies to jurisdiction
action find
entity Nagano Prefectural Road Route 495
relation country
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Nagano Prefectural Road Route 495', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?x } UNION { resource:Nagano_Prefectural_Road_Route_495 property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q17
SYSTEM
France, Japan
Q142 Q17
OR((Q3044918,P1001,c(Q15617994)), (Q11654725,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P1001
action find
entity Q11654725
relation P17
type Q15617994
Are [ANSWERS] belong to jurisdiction of member of the French National Assembly or are Nagano Prefectural Road Route 495 located in
{'OR': [['Q3044918', 'P1001', {'concept': 'Q15617994'}], ['Q11654725', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3044918 property:P1001 ?x } UNION { resource:Q11654725 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
France Japan
Are France and Japan belong to jurisdiction of member of the French National Assembly or are Nagano Prefectural Road Route 495 located in
France Japan
action filter_type
action union
action find
entity member of the French National Assembly
relation applies to jurisdiction
action find
entity Nagano Prefectural Road Route 495
relation country
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Nagano Prefectural Road Route 495', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?x } UNION { resource:Nagano_Prefectural_Road_Route_495 property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20992221
P495
Q838948
USER
Did Passage de Venus originate in those administrative territories ?
(Q20992221,P495,Q142) (Q20992221,P495,Q17)
action is_in
entity prev_answer
action find
entity Q20992221
relation P495
['Q20992221', 'P495', 'Q142'] ['Q20992221', 'P495', 'Q17']
ASK WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q17 ) } . resource:Q20992221 property:P495 ?c }
Passage de Venus
action is_in
entity prev_answer
action find
entity Passage de Venus
relation country of origin
['Passage de Venus', 'country of origin', 'France'] ['Passage de Venus', 'country of origin', 'Japan']
ASK WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:Japan ) } . resource:Passage_de_Venus property:country_of_origin ?c }
[]
work of art
SYSTEM
YES
(Q20992221,P495,Q142) (Q20992221,P495,Q17)
action is_in
entity prev_answer
action find
entity Q20992221
relation P495
[ANSWER]
['Q20992221', 'P495', 'Q142'] ['Q20992221', 'P495', 'Q17']
ASK WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q17 ) } . resource:Q20992221 property:P495 ?c }
Yes
action is_in
entity prev_answer
action find
entity Passage de Venus
relation country of origin
['Passage de Venus', 'country of origin', 'France'] ['Passage de Venus', 'country of origin', 'Japan']
ASK WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:Japan ) } . resource:Passage_de_Venus property:country_of_origin ?c }
[]