Simple Question (Direct)
Simple Question
Q5112358
P102
Q7210356
USER
Which party is Christopher Fraser affiliated with ?
(Q5112358,P102,c(Q7210356))
action filter_type
action find
entity Q5112358
relation P102
type Q7210356
['Q5112358', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q5112358 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Christopher Fraser
action filter_type
action find
entity Christopher Fraser
relation member of political party
type political organization
['Christopher Fraser', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Christopher_Fraser property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q5112358,P102,c(Q7210356))
action filter_type
action find
entity Q5112358
relation P102
type Q7210356
Christopher Fraser is affiliated with [ANSWER]
['Q5112358', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q5112358 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Conservative Party
Christopher Fraser is affiliated with Conservative Party
Conservative Party
action filter_type
action find
entity Christopher Fraser
relation member of political party
type political organization
['Christopher Fraser', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Christopher_Fraser property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5112358
P1412
Q34770
USER
Which language can Christopher Fraser understand ?
(Q5112358,P1412,c(Q34770))
action filter_type
action find
entity Q5112358
relation P1412
type Q34770
['Q5112358', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q5112358 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Christopher Fraser
action filter_type
action find
entity Christopher Fraser
relation languages spoken, written or signed
type language
['Christopher Fraser', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Christopher_Fraser property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5112358,P1412,c(Q34770))
action filter_type
action find
entity Q5112358
relation P1412
type Q34770
Christopher Fraser can understand the [ANSWER]
['Q5112358', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q5112358 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
Christopher Fraser can understand the English
English
action filter_type
action find
entity Christopher Fraser
relation languages spoken, written or signed
type language
['Christopher Fraser', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Christopher_Fraser property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11686867
Q34770
USER
And also tell me about Julià Nougués i Subirà?
(Q11686867,P1412,c(Q34770))
action filter_type
action find
entity Q11686867
relation P1412
type Q34770
['Q11686867', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q11686867 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Julià Nougués i Subirà
action filter_type
action find
entity Julià Nougués i Subirà
relation languages spoken, written or signed
type language
['Julià Nougués i Subirà', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Julià_Nougués_i_Subirà property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q11686867,P1412,c(Q34770))
action filter_type
action find
entity Q11686867
relation P1412
type Q34770
[ANSWER]
['Q11686867', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q11686867 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Julià Nougués i Subirà
relation languages spoken, written or signed
type language
['Julià Nougués i Subirà', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Julià_Nougués_i_Subirà property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11686867
P937
Q56061
USER
Where did that person work ?
(Q1321,P937,c(Q56061))
action filter_type
action find
entity Q11686867
relation P937
type Q56061
['Q1321', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q11686867 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Julià Nougués i Subirà
action filter_type
action find
entity Julià Nougués i Subirà
relation work location
type administrative territorial entity
['Spanish', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Julià_Nougués_i_Subirà property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q1321,P937,c(Q56061))
action filter_type
action find
entity Q11686867
relation P937
type Q56061
That person worked in [ANSWER]
['Q1321', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q11686867 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Madrid
That person worked in Madrid
Madrid
action filter_type
action find
entity Julià Nougués i Subirà
relation work location
type administrative territorial entity
['Spanish', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Julià_Nougués_i_Subirà property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11686867 Q13786674
P102
Q7278
USER
How many political parties are Julià Nougués i Subirà or Inés Arrimadas affiliated with ?
(Q11686867,P102,c(Q7278)) (Q13786674,P102,c(Q7278))
action count
action union
action filter_type
action find
entity Q11686867
relation P102
type Q7278
action filter_type
action find
entity Q13786674
relation P102
type Q7278
['Q11686867', 'P102', {'concept': 'Q7278'}] ['Q13786674', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?p ) { ( resource:Q11686867 ) ( resource:Q13786674 ) } . ?p property:P102 ?t }
Julià Nougués i Subirà Inés Arrimadas
action count
action union
action filter_type
action find
entity Julià Nougués i Subirà
relation member of political party
type political party
action filter_type
action find
entity Inés Arrimadas
relation member of political party
type political party
['Julià Nougués i Subirà', 'member of political party', {'concept': 'political party'}] ['Inés Arrimadas', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?p ) { ( resource:Julià_Nougués_i_Subirà ) ( resource:Inés_Arrimadas ) } . ?p property:member_of_political_party ?t }
[]
political party
SYSTEM
2
Q3125165 Q1393123
(Q11686867,P102,c(Q7278)) (Q13786674,P102,c(Q7278))
action count
action union
action filter_type
action find
entity Q11686867
relation P102
type Q7278
action filter_type
action find
entity Q13786674
relation P102
type Q7278
[ANSWER]
['Q11686867', 'P102', {'concept': 'Q7278'}] ['Q13786674', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?p ) { ( resource:Q11686867 ) ( resource:Q13786674 ) } . ?p property:P102 ?t }
Democratic Federal Republican Party Ciudadanos
2
action count
action union
action filter_type
action find
entity Julià Nougués i Subirà
relation member of political party
type political party
action filter_type
action find
entity Inés Arrimadas
relation member of political party
type political party
['Julià Nougués i Subirà', 'member of political party', {'concept': 'political party'}] ['Inés Arrimadas', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?p ) { ( resource:Julià_Nougués_i_Subirà ) ( resource:Inés_Arrimadas ) } . ?p property:member_of_political_party ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5112358
P106
Q12737077
USER
What does Christopher Fraser do for a living ?
(Q5112358,P106,c(Q12737077))
action filter_type
action find
entity Q5112358
relation P106
type Q12737077
['Q5112358', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q5112358 property:P106 ?t }
Christopher Fraser
action filter_type
action find
entity Christopher Fraser
relation occupation
type occupation
['Christopher Fraser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Christopher_Fraser property:occupation ?t }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5112358,P106,c(Q12737077))
action filter_type
action find
entity Q5112358
relation P106
type Q12737077
Christopher Fraser does a [ANSWER] for a living
['Q5112358', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q5112358 property:P106 ?t }
politician
Christopher Fraser does a politician for a living
politician
action filter_type
action find
entity Christopher Fraser
relation occupation
type occupation
['Christopher Fraser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Christopher_Fraser property:occupation ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5112358
P57
Q838948
USER
Which work of art has that person as its director ?
(c(Q838948),P57,Q82955)
action filter_type
action find_reverse
entity Q5112358
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q82955']
SELECT DISTINCT ?i WHERE { ?i property:P57 resource:Q5112358 . ?i rdf:type ontology:Q838948 }
Christopher Fraser
action filter_type
action find_reverse
entity Christopher Fraser
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'politician']
SELECT DISTINCT ?i WHERE { ?i property:director resource:Christopher_Fraser . ?i rdf:type ontology:work_of_art }
[]
work of art
Q1753929
SYSTEM
Summer City
Q1753929
(c(Q838948),P57,Q82955)
action filter_type
action find_reverse
entity Q5112358
relation P57
type Q838948
[ANSWER] has that person as its director
[{'concept': 'Q838948'}, 'P57', 'Q82955']
SELECT DISTINCT ?i WHERE { ?i property:P57 resource:Q5112358 . ?i rdf:type ontology:Q838948 }
Summer City
Summer City has that person as its director
Summer City
action filter_type
action find_reverse
entity Christopher Fraser
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'politician']
SELECT DISTINCT ?i WHERE { ?i property:director resource:Christopher_Fraser . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5112358
P69
Q3918
USER
Which university was Christopher Fraser educated at ?
(Q5112358,P69,c(Q3918))
action filter_type
action find
entity Q5112358
relation P69
type Q3918
['Q5112358', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q5112358 property:P69 ?g . ?g rdf:type ontology:Q3918 }
Christopher Fraser
action filter_type
action find
entity Christopher Fraser
relation educated at
type university
['Christopher Fraser', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Christopher_Fraser property:educated_at ?g . ?g rdf:type ontology:university }
[]
university
Q1247544
SYSTEM
University of Westminster
Q1247544
(Q5112358,P69,c(Q3918))
action filter_type
action find
entity Q5112358
relation P69
type Q3918
Christopher Fraser was educated in [ANSWER]
['Q5112358', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q5112358 property:P69 ?g . ?g rdf:type ontology:Q3918 }
University of Westminster
Christopher Fraser was educated in University of Westminster
University of Westminster
action filter_type
action find
entity Christopher Fraser
relation educated at
type university
['Christopher Fraser', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Christopher_Fraser property:educated_at ?g . ?g rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1247544
P17
Q15617994
USER
Which administrative territory is that university a part of ?
(Q1247544,P17,c(Q15617994))
action filter_type
action find
entity Q1247544
relation P17
type Q15617994
['Q1247544', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1247544 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
University of Westminster
action filter_type
action find
entity University of Westminster
relation country
type designation for an administrative territorial entity
['University of Westminster', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:University_of_Westminster property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1247544,P17,c(Q15617994))
action filter_type
action find
entity Q1247544
relation P17
type Q15617994
[ANSWER] is that university a part of
['Q1247544', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1247544 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that university a part of
United Kingdom
action filter_type
action find
entity University of Westminster
relation country
type designation for an administrative territorial entity
['University of Westminster', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:University_of_Westminster property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]