Simple Question (Direct)
Simple Question
Q1175151
P641
Q349
USER
What did David Ledy participate in ?
(Q1175151,P641,c(Q349))
action filter_type
action find
entity Q1175151
relation P641
type Q349
['Q1175151', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q1175151 property:P641 ?s . ?s rdf:type ontology:Q349 }
David Ledy
action filter_type
action find
entity David Ledy
relation sport
type sport
['David Ledy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:David_Ledy property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1175151,P641,c(Q349))
action filter_type
action find
entity Q1175151
relation P641
type Q349
David Ledy participated in [ANSWER]
['Q1175151', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q1175151 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
David Ledy participated in association football
association football
action filter_type
action find
entity David Ledy
relation sport
type sport
['David Ledy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:David_Ledy property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1175151
P106
Q12737077
USER
Which occupation has David Ledy as his/her 's career ?
(Q1175151,P106,c(Q12737077))
action filter_type
action find
entity Q1175151
relation P106
type Q12737077
['Q1175151', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1175151 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
David Ledy
action filter_type
action find
entity David Ledy
relation occupation
type occupation
['David Ledy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:David_Ledy property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1175151,P106,c(Q12737077))
action filter_type
action find
entity Q1175151
relation P106
type Q12737077
Player [ANSWER] has David Ledy as his/her 's career
['Q1175151', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1175151 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football player
Player association football player has David Ledy as his/her 's career
association football player
action filter_type
action find
entity David Ledy
relation occupation
type occupation
['David Ledy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:David_Ledy property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10417725
Q12737077
USER
And how about Štefan Kvietik?
(Q10417725,P106,c(Q12737077))
action filter_type
action find
entity Q10417725
relation P106
type Q12737077
['Q10417725', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q10417725 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Štefan Kvietik
action filter_type
action find
entity Štefan Kvietik
relation occupation
type occupation
['Štefan Kvietik', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Štefan_Kvietik property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q10417725,P106,c(Q12737077))
action filter_type
action find
entity Q10417725
relation P106
type Q12737077
[ANSWER]
['Q10417725', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q10417725 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Štefan Kvietik
relation occupation
type occupation
['Štefan Kvietik', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Štefan_Kvietik property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10417725
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q33999,P39,c(Q12737077))
action filter_type
action find
entity Q10417725
relation P39
type Q12737077
['Q33999', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q10417725 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Štefan Kvietik
action filter_type
action find
entity Štefan Kvietik
relation position held
type occupation
['actor', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Štefan_Kvietik property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q486839
SYSTEM
member of parliament
Q486839
(Q33999,P39,c(Q12737077))
action filter_type
action find
entity Q10417725
relation P39
type Q12737077
[ANSWER]
['Q33999', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q10417725 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of parliament
Member of parliament
member of parliament
action filter_type
action find
entity Štefan Kvietik
relation position held
type occupation
['actor', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Štefan_Kvietik property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1680633 Q10417725
P39 P106
Q12737077
USER
Which occupations were the positions for which Štefan Kvietik were appointed or are the professions of J. J. Dossen ?
OR((Q10417725,P39,c(Q12737077)), (Q1680633,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q10417725
relation P39
action find
entity Q1680633
relation P106
type Q12737077
{'OR': [['Q10417725', 'P39', {'concept': 'Q12737077'}], ['Q1680633', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q10417725 property:P39 ?f } UNION { resource:Q1680633 property:P106 ?f } } . ?f rdf:type ontology:Q12737077 }
J. J. Dossen Štefan Kvietik
action filter_type
action union
action find
entity Štefan Kvietik
relation position held
action find
entity J. J. Dossen
relation occupation
type occupation
{'OR': [['Štefan Kvietik', 'position held', {'concept': 'occupation'}], ['J. J. Dossen', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Štefan_Kvietik property:position_held ?f } UNION { resource:J._J._Dossen property:occupation ?f } } . ?f rdf:type ontology:occupation }
[]
occupation
Q486839 Q16533 Q82955 Q1622272
SYSTEM
member of parliament, judge, politician, university teacher
Q486839 Q16533 Q82955 Q1622272
OR((Q10417725,P39,c(Q12737077)), (Q1680633,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q10417725
relation P39
action find
entity Q1680633
relation P106
type Q12737077
[ANSWERS] were the positions for which Štefan Kvietik were appointed or are the professions of J. Dossen
{'OR': [['Q10417725', 'P39', {'concept': 'Q12737077'}], ['Q1680633', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q10417725 property:P39 ?f } UNION { resource:Q1680633 property:P106 ?f } } . ?f rdf:type ontology:Q12737077 }
member of parliament judge politician university teacher
Member of parliament, judge, politician and university teacher were the positions for which Štefan Kvietik were appointed or are the professions of J. Dossen
member of parliament judge politician university teacher
action filter_type
action union
action find
entity Štefan Kvietik
relation position held
action find
entity J. J. Dossen
relation occupation
type occupation
{'OR': [['Štefan Kvietik', 'position held', {'concept': 'occupation'}], ['J. J. Dossen', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Štefan_Kvietik property:position_held ?f } UNION { resource:J._J._Dossen property:occupation ?f } } . ?f rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q486839 Q34201
P921
Q191067
USER
How many articles have member of parliament or Zeus as their principal topic ?
(c(Q191067),P921,Q486839) (c(Q191067),P921,Q34201)
action count
action union
action filter_type
action find_reverse
entity Q486839
relation P921
type Q191067
action filter_type
action find_reverse
entity Q34201
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q486839'] [{'concept': 'Q191067'}, 'P921', 'Q34201']
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { ?l property:P921 resource:Q34201 . ?l rdf:type ontology:Q191067 } UNION { ?l rdf:type ontology:Q191067 . ?l property:P921 resource:Q486839 } }
member of parliament Zeus
action count
action union
action filter_type
action find_reverse
entity member of parliament
relation main subject
type article
action filter_type
action find_reverse
entity Zeus
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'member of parliament'] [{'concept': 'article'}, 'main subject', 'Zeus']
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { ?l property:main_subject resource:Zeus . ?l rdf:type ontology:article } UNION { ?l rdf:type ontology:article . ?l property:main_subject resource:member_of_parliament } }
[]
article
SYSTEM
2
Q24054150 Q24054184
(c(Q191067),P921,Q486839) (c(Q191067),P921,Q34201)
action count
action union
action filter_type
action find_reverse
entity Q486839
relation P921
type Q191067
action filter_type
action find_reverse
entity Q34201
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q486839'] [{'concept': 'Q191067'}, 'P921', 'Q34201']
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { ?l property:P921 resource:Q34201 . ?l rdf:type ontology:Q191067 } UNION { ?l rdf:type ontology:Q191067 . ?l property:P921 resource:Q486839 } }
NSRW / Zeus EB-11 / Zeus
2
action count
action union
action filter_type
action find_reverse
entity member of parliament
relation main subject
type article
action filter_type
action find_reverse
entity Zeus
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'member of parliament'] [{'concept': 'article'}, 'main subject', 'Zeus']
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { ?l property:main_subject resource:Zeus . ?l rdf:type ontology:article } UNION { ?l rdf:type ontology:article . ?l property:main_subject resource:member_of_parliament } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11977135 Q1175151
P27
Q15617994
USER
Which administrative territories are David Ledy or Ingeborg Botnen an inhabitant of ?
OR((Q1175151,P27,c(Q15617994)), (Q11977135,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1175151
relation P27
action find
entity Q11977135
relation P27
type Q15617994
{'OR': [['Q1175151', 'P27', {'concept': 'Q15617994'}], ['Q11977135', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?f property:P27 ?p . VALUES ( ?f ) { ( resource:Q1175151 ) ( resource:Q11977135 ) } } . ?p rdf:type ontology:Q15617994 }
Ingeborg Botnen David Ledy
action filter_type
action union
action find
entity David Ledy
relation country of citizenship
action find
entity Ingeborg Botnen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['David Ledy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ingeborg Botnen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?f property:country_of_citizenship ?p . VALUES ( ?f ) { ( resource:David_Ledy ) ( resource:Ingeborg_Botnen ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q20
SYSTEM
France, Norway
Q142 Q20
OR((Q1175151,P27,c(Q15617994)), (Q11977135,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1175151
relation P27
action find
entity Q11977135
relation P27
type Q15617994
[ANSWERS] are David Ledy or Ingeborg Botnen an inhabitant of
{'OR': [['Q1175151', 'P27', {'concept': 'Q15617994'}], ['Q11977135', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?f property:P27 ?p . VALUES ( ?f ) { ( resource:Q1175151 ) ( resource:Q11977135 ) } } . ?p rdf:type ontology:Q15617994 }
France Norway
France and Norway are David Ledy or Ingeborg Botnen an inhabitant of
France Norway
action filter_type
action union
action find
entity David Ledy
relation country of citizenship
action find
entity Ingeborg Botnen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['David Ledy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ingeborg Botnen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?f property:country_of_citizenship ?p . VALUES ( ?f ) { ( resource:David_Ledy ) ( resource:Ingeborg_Botnen ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11977135
P937
Q56061
USER
What is the location where Ingeborg Botnen worked?
(Q142,P937,c(Q56061)) (Q20,P937,c(Q56061))
action filter_type
action find
entity Q11977135
relation P937
type Q56061
['Q142', 'P937', {'concept': 'Q56061'}] ['Q20', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q11977135 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Ingeborg Botnen
action filter_type
action find
entity Ingeborg Botnen
relation work location
type administrative territorial entity
['France', 'work location', {'concept': 'administrative territorial entity'}] ['Norway', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ingeborg_Botnen property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q142,P937,c(Q56061)) (Q20,P937,c(Q56061))
action filter_type
action find
entity Q11977135
relation P937
type Q56061
The location Ingeborg Botnen worked is in [ANSWER]
['Q142', 'P937', {'concept': 'Q56061'}] ['Q20', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q11977135 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Oslo
The location Ingeborg Botnen worked is in Oslo
Oslo
action filter_type
action find
entity Ingeborg Botnen
relation work location
type administrative territorial entity
['France', 'work location', {'concept': 'administrative territorial entity'}] ['Norway', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ingeborg_Botnen property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11977135
P102
Q7210356
USER
Which party is Ingeborg Botnen affiliated with ?
(Q11977135,P102,c(Q7210356))
action filter_type
action find
entity Q11977135
relation P102
type Q7210356
['Q11977135', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7210356 . resource:Q11977135 property:P102 ?h }
Ingeborg Botnen
action filter_type
action find
entity Ingeborg Botnen
relation member of political party
type political organization
['Ingeborg Botnen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_organization . resource:Ingeborg_Botnen property:member_of_political_party ?h }
[]
political organization
Q190219
SYSTEM
Norwegian Labour Party
Q190219
(Q11977135,P102,c(Q7210356))
action filter_type
action find
entity Q11977135
relation P102
type Q7210356
Ingeborg Botnen is affiliated with [ANSWER]
['Q11977135', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7210356 . resource:Q11977135 property:P102 ?h }
Norwegian Labour Party
Ingeborg Botnen is affiliated with Norwegian Labour Party
Norwegian Labour Party
action filter_type
action find
entity Ingeborg Botnen
relation member of political party
type political organization
['Ingeborg Botnen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_organization . resource:Ingeborg_Botnen property:member_of_political_party ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q510754
Q7210356
USER
And also tell me about Carl Frølich Hanssen?
(Q510754,P102,c(Q7210356))
action filter_type
action find
entity Q510754
relation P102
type Q7210356
['Q510754', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q510754 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Carl Frølich Hanssen
action filter_type
action find
entity Carl Frølich Hanssen
relation member of political party
type political organization
['Carl Frølich Hanssen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Carl_Frølich_Hanssen property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q167189
SYSTEM
Nasjonal Samling
Q167189
(Q510754,P102,c(Q7210356))
action filter_type
action find
entity Q510754
relation P102
type Q7210356
[ANSWER]
['Q510754', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q510754 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Nasjonal Samling
Nasjonal Samling
action filter_type
action find
entity Carl Frølich Hanssen
relation member of political party
type political organization
['Carl Frølich Hanssen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Carl_Frølich_Hanssen property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]