Simple Question (Direct)
Simple Question
Q2965667
P39
Q12737077
USER
What were the positions held by Christian Troadec ?
(Q2965667,P39,c(Q12737077))
action filter_type
action find
entity Q2965667
relation P39
type Q12737077
['Q2965667', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q2965667 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Christian Troadec
action filter_type
action find
entity Christian Troadec
relation position held
type occupation
['Christian Troadec', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Christian_Troadec property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q16886136 Q382617
SYSTEM
conseiller régional, maire
Q16886136 Q382617
(Q2965667,P39,c(Q12737077))
action filter_type
action find
entity Q2965667
relation P39
type Q12737077
The positions held by Christian Troadec were both [ANSWERS]
['Q2965667', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q2965667 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
conseiller régional maire
The positions held by Christian Troadec were both conseiller régional and maire
conseiller régional maire
action filter_type
action find
entity Christian Troadec
relation position held
type occupation
['Christian Troadec', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Christian_Troadec property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16886136
P361
Q1752346
USER
Which assembly is that occupation a part of ?
(Q16886136,P361,c(Q1752346))
action filter_type
action find
entity Q16886136
relation P361
type Q1752346
['Q16886136', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { resource:Q16886136 property:P361 ?y . ?y rdf:type ontology:Q1752346 }
conseiller régional
action filter_type
action find
entity conseiller régional
relation part of
type assembly
['conseiller régional', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { resource:conseiller_régional property:part_of ?y . ?y rdf:type ontology:assembly }
[]
assembly
Clarification for simple ques.
Q16886136
SYSTEM
Did you mean conseiller régional ?
Q16886136 Q382617
(Q16886136,P361,c(Q1752346)) (Q382617,P361,c(Q1752346))
[ANSWER]
['Q16886136', 'P361', {'concept': 'Q1752346'}] ['Q382617', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { resource:Q16886136 property:P361 ?y . ?y rdf:type ontology:Q1752346 }
conseiller régional maire
Did you mean conseiller régional ?
conseiller régional
['conseiller régional', 'part of', {'concept': 'assembly'}] ['maire', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { resource:conseiller_régional property:part_of ?y . ?y rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
USER
Yes
(Q16886136,P361,c(Q1752346))
['Q16886136', 'P361', {'concept': 'Q1752346'}]
['conseiller régional', 'part of', {'concept': 'assembly'}]
[]
Q583157
SYSTEM
regional council
Q583157
(Q16886136,P361,c(Q1752346))
action filter_type
action find
entity Q16886136
relation P361
type Q1752346
The [ANSWER] is that occupation a part of
['Q16886136', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { resource:Q16886136 property:P361 ?y . ?y rdf:type ontology:Q1752346 }
regional council
The regional council is that occupation a part of
regional council
action filter_type
action find
entity conseiller régional
relation part of
type assembly
['conseiller régional', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { resource:conseiller_régional property:part_of ?y . ?y rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q583157 Q16886136
P361
Q12737077
USER
Is conseiller régional a component of that assembly ?
(Q16886136,P361,Q583157)
action is_in
entity Q583157
action find
entity Q16886136
relation P361
['Q16886136', 'P361', 'Q583157']
ASK WHERE { resource:Q16886136 property:P361 resource:Q583157 }
regional council conseiller régional
action is_in
entity regional council
action find
entity conseiller régional
relation part of
['conseiller régional', 'part of', 'regional council']
ASK WHERE { resource:conseiller_régional property:part_of resource:regional_council }
[]
occupation
SYSTEM
YES
(Q16886136,P361,Q583157)
action is_in
entity Q583157
action find
entity Q16886136
relation P361
[ANSWER]
['Q16886136', 'P361', 'Q583157']
ASK WHERE { resource:Q16886136 property:P361 resource:Q583157 }
Yes
action is_in
entity regional council
action find
entity conseiller régional
relation part of
['conseiller régional', 'part of', 'regional council']
ASK WHERE { resource:conseiller_régional property:part_of resource:regional_council }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16886136 Q142
P17
Q15617994
USER
Is conseiller régional present in France ?
(Q16886136,P17,Q142)
action is_in
entity Q142
action find
entity Q16886136
relation P17
['Q16886136', 'P17', 'Q142']
ASK WHERE { resource:Q16886136 property:P17 resource:Q142 }
conseiller régional France
action is_in
entity France
action find
entity conseiller régional
relation country
['conseiller régional', 'country', 'France']
ASK WHERE { resource:conseiller_régional property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16886136,P17,Q142)
action is_in
entity Q142
action find
entity Q16886136
relation P17
[ANSWER]
['Q16886136', 'P17', 'Q142']
ASK WHERE { resource:Q16886136 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity conseiller régional
relation country
['conseiller régional', 'country', 'France']
ASK WHERE { resource:conseiller_régional property:country resource:France }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11248482 Q583157
P27 P17
Q15617994
USER
Which administrative territories are regional council present in or are the native countriesof Tomoe Sawa ?
OR((Q583157,P17,c(Q15617994)), (Q11248482,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q583157
relation P17
action find
entity Q11248482
relation P27
type Q15617994
{'OR': [['Q583157', 'P17', {'concept': 'Q15617994'}], ['Q11248482', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q583157 property:P17 ?x } UNION { resource:Q11248482 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Tomoe Sawa regional council
action filter_type
action union
action find
entity regional council
relation country
action find
entity Tomoe Sawa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['regional council', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tomoe Sawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:regional_council property:country ?x } UNION { resource:Tomoe_Sawa property:country_of_citizenship ?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((Q583157,P17,c(Q15617994)), (Q11248482,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q583157
relation P17
action find
entity Q11248482
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q583157', 'P17', {'concept': 'Q15617994'}], ['Q11248482', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q583157 property:P17 ?x } UNION { resource:Q11248482 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
France Japan
Which administrative territories are regional council present in or are the native countriesof Tomoe Sawa
France Japan
action filter_type
action union
action find
entity regional council
relation country
action find
entity Tomoe Sawa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['regional council', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tomoe Sawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:regional_council property:country ?x } UNION { resource:Tomoe_Sawa property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q773395
P840
Q166142
USER
Do Gran Turismo 5 have their setting located at those administrative territories ?
(Q773395,P840,Q142) (Q773395,P840,Q17)
action is_in
entity prev_answer
action find
entity Q773395
relation P840
['Q773395', 'P840', 'Q142'] ['Q773395', 'P840', 'Q17']
ASK WHERE { VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q17 ) } . resource:Q773395 property:P840 ?k }
Gran Turismo 5
action is_in
entity prev_answer
action find
entity Gran Turismo 5
relation narrative location
['Gran Turismo 5', 'narrative location', 'France'] ['Gran Turismo 5', 'narrative location', 'Japan']
ASK WHERE { VALUES ( ?k ) { ( resource:France ) ( resource:Japan ) } . resource:Gran_Turismo_5 property:narrative_location ?k }
[]
application
SYSTEM
YES
(Q773395,P840,Q142) (Q773395,P840,Q17)
action is_in
entity prev_answer
action find
entity Q773395
relation P840
[ANSWER]
['Q773395', 'P840', 'Q142'] ['Q773395', 'P840', 'Q17']
ASK WHERE { VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q17 ) } . resource:Q773395 property:P840 ?k }
Yes
action is_in
entity prev_answer
action find
entity Gran Turismo 5
relation narrative location
['Gran Turismo 5', 'narrative location', 'France'] ['Gran Turismo 5', 'narrative location', 'Japan']
ASK WHERE { VALUES ( ?k ) { ( resource:France ) ( resource:Japan ) } . resource:Gran_Turismo_5 property:narrative_location ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q320273 Q583157
P361
Q12737077
USER
Which occupations are a component of regional council or Nova Scotia House of Assembly ?
OR((c(Q12737077),P361,Q583157), (c(Q12737077),P361,Q320273))
action filter_type
action union
action find_reverse
entity Q583157
relation P361
action find_reverse
entity Q320273
relation P361
type Q12737077
{'OR': [[{'concept': 'Q12737077'}, 'P361', 'Q583157'], [{'concept': 'Q12737077'}, 'P361', 'Q320273']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . { { ?t property:P361 resource:Q583157 } UNION { ?t property:P361 resource:Q320273 } } }
Nova Scotia House of Assembly regional council
action filter_type
action union
action find_reverse
entity regional council
relation part of
action find_reverse
entity Nova Scotia House of Assembly
relation part of
type occupation
{'OR': [[{'concept': 'occupation'}, 'part of', 'regional council'], [{'concept': 'occupation'}, 'part of', 'Nova Scotia House of Assembly']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . { { ?t property:part_of resource:regional_council } UNION { ?t property:part_of resource:Nova_Scotia_House_of_Assembly } } }
[]
occupation
Q16886136 Q18239264
SYSTEM
conseiller régional, member of the Nova Scotia House of Assembly
Q16886136 Q18239264
OR((c(Q12737077),P361,Q583157), (c(Q12737077),P361,Q320273))
action filter_type
action union
action find_reverse
entity Q583157
relation P361
action find_reverse
entity Q320273
relation P361
type Q12737077
The [ANSWERS] are a component of regional council or Nova Scotia House of Assembly
{'OR': [[{'concept': 'Q12737077'}, 'P361', 'Q583157'], [{'concept': 'Q12737077'}, 'P361', 'Q320273']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . { { ?t property:P361 resource:Q583157 } UNION { ?t property:P361 resource:Q320273 } } }
conseiller régional member of the Nova Scotia House of Assembly
The conseiller régional and member of the Nova Scotia House of Assembly are a component of regional council or Nova Scotia House of Assembly
conseiller régional member of the Nova Scotia House of Assembly
action filter_type
action union
action find_reverse
entity regional council
relation part of
action find_reverse
entity Nova Scotia House of Assembly
relation part of
type occupation
{'OR': [[{'concept': 'occupation'}, 'part of', 'regional council'], [{'concept': 'occupation'}, 'part of', 'Nova Scotia House of Assembly']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . { { ?t property:part_of resource:regional_council } UNION { ?t property:part_of resource:Nova_Scotia_House_of_Assembly } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q320273
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of that legislature ?
(Q16886136,P1001,c(Q15617994)) (Q18239264,P1001,c(Q15617994))
action filter_type
action find
entity Q320273
relation P1001
type Q15617994
['Q16886136', 'P1001', {'concept': 'Q15617994'}] ['Q18239264', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q320273 property:P1001 ?c . ?c rdf:type ontology:Q15617994 }
Nova Scotia House of Assembly
action filter_type
action find
entity Nova Scotia House of Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['conseiller régional', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['member of the Nova Scotia House of Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Nova_Scotia_House_of_Assembly property:applies_to_jurisdiction ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1952
SYSTEM
Nova Scotia
Q1952
(Q16886136,P1001,c(Q15617994)) (Q18239264,P1001,c(Q15617994))
action filter_type
action find
entity Q320273
relation P1001
type Q15617994
[ANSWER] applies to jurisdiction of that legislature
['Q16886136', 'P1001', {'concept': 'Q15617994'}] ['Q18239264', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q320273 property:P1001 ?c . ?c rdf:type ontology:Q15617994 }
Nova Scotia
Nova Scotia applies to jurisdiction of that legislature
Nova Scotia
action filter_type
action find
entity Nova Scotia House of Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['conseiller régional', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['member of the Nova Scotia House of Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Nova_Scotia_House_of_Assembly property:applies_to_jurisdiction ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1952
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q1952,P163,c(Q14660))
action filter_type
action find
entity Q1952
relation P163
type Q14660
['Q1952', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { resource:Q1952 property:P163 ?o . ?o rdf:type ontology:Q14660 }
Nova Scotia
action filter_type
action find
entity Nova Scotia
relation flag
type flag
['Nova Scotia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { resource:Nova_Scotia property:flag ?o . ?o rdf:type ontology:flag }
[]
flag
Q601976
SYSTEM
Flag of Nova Scotia
Q601976
(Q1952,P163,c(Q14660))
action filter_type
action find
entity Q1952
relation P163
type Q14660
The [ANSWER] is associated with that administrative territory
['Q1952', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { resource:Q1952 property:P163 ?o . ?o rdf:type ontology:Q14660 }
Flag of Nova Scotia
The Flag of Nova Scotia is associated with that administrative territory
Flag of Nova Scotia
action filter_type
action find
entity Nova Scotia
relation flag
type flag
['Nova Scotia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { resource:Nova_Scotia property:flag ?o . ?o rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P163
Q15617994
USER
How many administrative territories are associated with that flag ?
(c(Q15617994),P163,Q601976)
action count
action filter_type
action find_reverse
entity Q601976
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q601976']
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:P163 resource:Q601976 . ?d rdf:type ontology:Q15617994 }
action count
action filter_type
action find_reverse
entity Flag of Nova Scotia
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Nova Scotia']
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:flag resource:Flag_of_Nova_Scotia . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q1952
(c(Q15617994),P163,Q601976)
action count
action filter_type
action find_reverse
entity Q601976
relation P163
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P163', 'Q601976']
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:P163 resource:Q601976 . ?d rdf:type ontology:Q15617994 }
Nova Scotia
1
action count
action filter_type
action find_reverse
entity Flag of Nova Scotia
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Nova Scotia']
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:flag resource:Flag_of_Nova_Scotia . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1952
P37
Q34770
USER
What is considered to be the official language of Nova Scotia ?
(Q1952,P37,c(Q34770))
action filter_type
action find
entity Q1952
relation P37
type Q34770
['Q1952', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q1952 property:P37 ?n }
Nova Scotia
action filter_type
action find
entity Nova Scotia
relation official language
type language
['Nova Scotia', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Nova_Scotia property:official_language ?n }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1952,P37,c(Q34770))
action filter_type
action find
entity Q1952
relation P37
type Q34770
[ANSWER] is considered to be the official language of Nova Scotia
['Q1952', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q1952 property:P37 ?n }
English
English is considered to be the official language of Nova Scotia
English
action filter_type
action find
entity Nova Scotia
relation official language
type language
['Nova Scotia', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Nova_Scotia property:official_language ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1952
P1313
Q12737077
USER
Which occupation is fulfilled by Nova Scotia ?
(Q1952,P1313,c(Q12737077))
action filter_type
action find
entity Q1952
relation P1313
type Q12737077
['Q1952', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1952 property:P1313 ?c . ?c rdf:type ontology:Q12737077 }
Nova Scotia
action filter_type
action find
entity Nova Scotia
relation office held by head of government
type occupation
['Nova Scotia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Nova_Scotia property:office_held_by_head_of_government ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q7240360
SYSTEM
Premier of Nova Scotia
Q7240360
(Q1952,P1313,c(Q12737077))
action filter_type
action find
entity Q1952
relation P1313
type Q12737077
The [ANSWER] is fulfilled by Nova Scotia
['Q1952', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1952 property:P1313 ?c . ?c rdf:type ontology:Q12737077 }
Premier of Nova Scotia
The Premier of Nova Scotia is fulfilled by Nova Scotia
Premier of Nova Scotia
action filter_type
action find
entity Nova Scotia
relation office held by head of government
type occupation
['Nova Scotia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Nova_Scotia property:office_held_by_head_of_government ?c . ?c rdf:type ontology:occupation }
[]