Simple Question (Direct)
Simple Question
Q738466
P102
Q7210356
USER
Which political organizations are Georgios Karatzaferis a member of ?
(Q738466,P102,c(Q7210356))
action filter_type
action find
entity Q738466
relation P102
type Q7210356
['Q738466', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q738466 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Georgios Karatzaferis
action filter_type
action find
entity Georgios Karatzaferis
relation member of political party
type political organization
['Georgios Karatzaferis', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Georgios_Karatzaferis property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q226085 Q223153
SYSTEM
Popular Orthodox Rally, New Democracy
Q226085 Q223153
(Q738466,P102,c(Q7210356))
action filter_type
action find
entity Q738466
relation P102
type Q7210356
Party [ANSWERS] are Georgios Karatzaferis a member of
['Q738466', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q738466 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Popular Orthodox Rally New Democracy
Party Popular Orthodox Rally and New Democracy are Georgios Karatzaferis a member of
Popular Orthodox Rally New Democracy
action filter_type
action find
entity Georgios Karatzaferis
relation member of political party
type political organization
['Georgios Karatzaferis', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Georgios_Karatzaferis property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q738466
P39
Q12737077
USER
Which occupations were the positions for which that person were appointed ?
(Q226085,P39,c(Q12737077)) (Q223153,P39,c(Q12737077))
action filter_type
action find
entity Q738466
relation P39
type Q12737077
['Q226085', 'P39', {'concept': 'Q12737077'}] ['Q223153', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q738466 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Georgios Karatzaferis
action filter_type
action find
entity Georgios Karatzaferis
relation position held
type occupation
['Popular Orthodox Rally', 'position held', {'concept': 'occupation'}] ['New Democracy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Georgios_Karatzaferis property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q27169 Q18915989
SYSTEM
member of the European Parliament, Member of the Hellenic Parliament
Q27169 Q18915989
(Q226085,P39,c(Q12737077)) (Q223153,P39,c(Q12737077))
action filter_type
action find
entity Q738466
relation P39
type Q12737077
The [ANSWERS] were the positions for which that person were appointed
['Q226085', 'P39', {'concept': 'Q12737077'}] ['Q223153', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q738466 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
member of the European Parliament Member of the Hellenic Parliament
The member of the European Parliament and Member of the Hellenic Parliament were the positions for which that person were appointed
member of the European Parliament Member of the Hellenic Parliament
action filter_type
action find
entity Georgios Karatzaferis
relation position held
type occupation
['Popular Orthodox Rally', 'position held', {'concept': 'occupation'}] ['New Democracy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Georgios_Karatzaferis property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q738466
P488
Q7210356
USER
Which political organization does that person lead ?
(c(Q7210356),P488,Q27169) (c(Q7210356),P488,Q18915989)
action filter_type
action find_reverse
entity Q738466
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q27169'] [{'concept': 'Q7210356'}, 'P488', 'Q18915989']
SELECT DISTINCT ?a WHERE { ?a property:P488 resource:Q738466 . ?a rdf:type ontology:Q7210356 }
Georgios Karatzaferis
action filter_type
action find_reverse
entity Georgios Karatzaferis
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'member of the European Parliament'] [{'concept': 'political organization'}, 'chairperson', 'Member of the Hellenic Parliament']
SELECT DISTINCT ?a WHERE { ?a property:chairperson resource:Georgios_Karatzaferis . ?a rdf:type ontology:political_organization }
[]
political organization
Q226085
SYSTEM
Popular Orthodox Rally
Q226085
(c(Q7210356),P488,Q27169) (c(Q7210356),P488,Q18915989)
action filter_type
action find_reverse
entity Q738466
relation P488
type Q7210356
That person leads the [ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q27169'] [{'concept': 'Q7210356'}, 'P488', 'Q18915989']
SELECT DISTINCT ?a WHERE { ?a property:P488 resource:Q738466 . ?a rdf:type ontology:Q7210356 }
Popular Orthodox Rally
That person leads the Popular Orthodox Rally
Popular Orthodox Rally
action filter_type
action find_reverse
entity Georgios Karatzaferis
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'member of the European Parliament'] [{'concept': 'political organization'}, 'chairperson', 'Member of the Hellenic Parliament']
SELECT DISTINCT ?a WHERE { ?a property:chairperson resource:Georgios_Karatzaferis . ?a rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19115117 Q226085
P17
Q15617994
USER
Which administrative territories are Popular Orthodox Rally or Eikenlaan a part of ?
OR((Q226085,P17,c(Q15617994)), (Q19115117,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q226085
relation P17
action find
entity Q19115117
relation P17
type Q15617994
{'OR': [['Q226085', 'P17', {'concept': 'Q15617994'}], ['Q19115117', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q226085 property:P17 ?m } UNION { resource:Q19115117 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Eikenlaan Popular Orthodox Rally
action filter_type
action union
action find
entity Popular Orthodox Rally
relation country
action find
entity Eikenlaan
relation country
type designation for an administrative territorial entity
{'OR': [['Popular Orthodox Rally', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Eikenlaan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Popular_Orthodox_Rally property:country ?m } UNION { resource:Eikenlaan property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q41
SYSTEM
Netherlands, Greece
Q55 Q41
OR((Q226085,P17,c(Q15617994)), (Q19115117,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q226085
relation P17
action find
entity Q19115117
relation P17
type Q15617994
[ANSWERS] are Popular Orthodox Rally or Eikenlaan a part of
{'OR': [['Q226085', 'P17', {'concept': 'Q15617994'}], ['Q19115117', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q226085 property:P17 ?m } UNION { resource:Q19115117 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Netherlands Greece
Netherlands and Greece are Popular Orthodox Rally or Eikenlaan a part of
Netherlands Greece
action filter_type
action union
action find
entity Popular Orthodox Rally
relation country
action find
entity Eikenlaan
relation country
type designation for an administrative territorial entity
{'OR': [['Popular Orthodox Rally', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Eikenlaan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Popular_Orthodox_Rally property:country ?m } UNION { resource:Eikenlaan property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2613562
P710
Q1190554
USER
Did those administrative territories particiate in UFC 144 ?
(Q2613562,P710,Q55) (Q2613562,P710,Q41)
action is_in
entity prev_answer
action find
entity Q2613562
relation P710
['Q2613562', 'P710', 'Q55'] ['Q2613562', 'P710', 'Q41']
ASK WHERE { VALUES ( ?v ) { ( resource:Q55 ) ( resource:Q41 ) } . resource:Q2613562 property:P710 ?v }
UFC 144
action is_in
entity prev_answer
action find
entity UFC 144
relation participant
['UFC 144', 'participant', 'Netherlands'] ['UFC 144', 'participant', 'Greece']
ASK WHERE { VALUES ( ?v ) { ( resource:Netherlands ) ( resource:Greece ) } . resource:UFC_144 property:participant ?v }
[]
event
SYSTEM
NO
(Q2613562,P710,Q55) (Q2613562,P710,Q41)
action is_in
entity prev_answer
action find
entity Q2613562
relation P710
[ANSWER]
['Q2613562', 'P710', 'Q55'] ['Q2613562', 'P710', 'Q41']
ASK WHERE { VALUES ( ?v ) { ( resource:Q55 ) ( resource:Q41 ) } . resource:Q2613562 property:P710 ?v }
No
action is_in
entity prev_answer
action find
entity UFC 144
relation participant
['UFC 144', 'participant', 'Netherlands'] ['UFC 144', 'participant', 'Greece']
ASK WHERE { VALUES ( ?v ) { ( resource:Netherlands ) ( resource:Greece ) } . resource:UFC_144 property:participant ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q41 Q155 Q624298
P530
Q15617994
USER
Is Greece known to have diplomatic connections with Brazil and Beetzseeheide ?
(Q41,P530,Q155) (Q41,P530,Q624298)
action is_in
entity Q41
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q624298
relation P530
['Q41', 'P530', 'Q155'] ['Q41', 'P530', 'Q624298']
ASK WHERE { resource:Q41 property:P530 resource:Q155 . resource:Q41 property:P530 resource:Q624298 }
Greece Brazil Beetzseeheide
action is_in
entity Greece
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity Beetzseeheide
relation diplomatic relation
['Greece', 'diplomatic relation', 'Brazil'] ['Greece', 'diplomatic relation', 'Beetzseeheide']
ASK WHERE { resource:Greece property:diplomatic_relation resource:Brazil . resource:Greece property:diplomatic_relation resource:Beetzseeheide }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q41,P530,Q155) (Q41,P530,Q624298)
action is_in
entity Q41
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q624298
relation P530
[ANSWER]
['Q41', 'P530', 'Q155'] ['Q41', 'P530', 'Q624298']
ASK WHERE { resource:Q41 property:P530 resource:Q155 . resource:Q41 property:P530 resource:Q624298 }
YES and NO respectively
action is_in
entity Greece
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity Beetzseeheide
relation diplomatic relation
['Greece', 'diplomatic relation', 'Brazil'] ['Greece', 'diplomatic relation', 'Beetzseeheide']
ASK WHERE { resource:Greece property:diplomatic_relation resource:Brazil . resource:Greece property:diplomatic_relation resource:Beetzseeheide }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q55 Q142
P17
Q83620
USER
How many thoroughfares are located in Netherlands and France ?
(c(Q83620),P17,Q55) (c(Q83620),P17,Q142)
action count
action intersection
action filter_type
action find_reverse
entity Q55
relation P17
type Q83620
action filter_type
action find_reverse
entity Q142
relation P17
type Q83620
[{'concept': 'Q83620'}, 'P17', 'Q55'] [{'concept': 'Q83620'}, 'P17', 'Q142']
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:P17 resource:Q55 . ?k rdf:type ontology:Q83620 . ?k rdf:type ontology:Q83620 . ?k property:P17 resource:Q142 }
Netherlands France
action count
action intersection
action filter_type
action find_reverse
entity Netherlands
relation country
type thoroughfare
action filter_type
action find_reverse
entity France
relation country
type thoroughfare
[{'concept': 'thoroughfare'}, 'country', 'Netherlands'] [{'concept': 'thoroughfare'}, 'country', 'France']
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:country resource:Netherlands . ?k rdf:type ontology:thoroughfare . ?k rdf:type ontology:thoroughfare . ?k property:country resource:France }
[]
thoroughfare
SYSTEM
3
Q659345 Q869924 Q1375828
(c(Q83620),P17,Q55) (c(Q83620),P17,Q142)
action count
action intersection
action filter_type
action find_reverse
entity Q55
relation P17
type Q83620
action filter_type
action find_reverse
entity Q142
relation P17
type Q83620
[ANSWER]
[{'concept': 'Q83620'}, 'P17', 'Q55'] [{'concept': 'Q83620'}, 'P17', 'Q142']
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:P17 resource:Q55 . ?k rdf:type ontology:Q83620 . ?k rdf:type ontology:Q83620 . ?k property:P17 resource:Q142 }
European route E25 EV15 The Rhine Cycle Route European route E19
3
action count
action intersection
action filter_type
action find_reverse
entity Netherlands
relation country
type thoroughfare
action filter_type
action find_reverse
entity France
relation country
type thoroughfare
[{'concept': 'thoroughfare'}, 'country', 'Netherlands'] [{'concept': 'thoroughfare'}, 'country', 'France']
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:country resource:Netherlands . ?k rdf:type ontology:thoroughfare . ?k rdf:type ontology:thoroughfare . ?k property:country resource:France }
[]