Simple Question (Direct)
Simple Question
Q1895973
P512
Q3412758
USER
What is the name of the degree held by Maria Hosp ?
(Q1895973,P512,c(Q3412758))
action filter_type
action find
entity Q1895973
relation P512
type Q3412758
['Q1895973', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q1895973 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
Maria Hosp
action filter_type
action find
entity Maria Hosp
relation academic degree
type qualification
['Maria Hosp', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Maria_Hosp property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
qualification
Q959320
SYSTEM
Doctor of Law
Q959320
(Q1895973,P512,c(Q3412758))
action filter_type
action find
entity Q1895973
relation P512
type Q3412758
The name of the degree held by Maria Hosp is a [ANSWER]
['Q1895973', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q1895973 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
Doctor of Law
The name of the degree held by Maria Hosp is a Doctor of Law
Doctor of Law
action filter_type
action find
entity Maria Hosp
relation academic degree
type qualification
['Maria Hosp', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Maria_Hosp property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1895973
P39
Q12737077
USER
What was the position held by Maria Hosp ?
(Q1895973,P39,c(Q12737077))
action filter_type
action find
entity Q1895973
relation P39
type Q12737077
['Q1895973', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1895973 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Maria Hosp
action filter_type
action find
entity Maria Hosp
relation position held
type occupation
['Maria Hosp', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Maria_Hosp property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q17535155
SYSTEM
Member of the National Council of Austria
Q17535155
(Q1895973,P39,c(Q12737077))
action filter_type
action find
entity Q1895973
relation P39
type Q12737077
The position held by Maria Hosp was a [ANSWER]
['Q1895973', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1895973 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Member of the National Council of Austria
The position held by Maria Hosp was a Member of the National Council of Austria
Member of the National Council of Austria
action filter_type
action find
entity Maria Hosp
relation position held
type occupation
['Maria Hosp', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Maria_Hosp property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1895973
P937
Q56061
USER
Which administrative territory is the work location of that person ?
(Q17535155,P937,c(Q56061))
action filter_type
action find
entity Q1895973
relation P937
type Q56061
['Q17535155', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q1895973 property:P937 ?k }
Maria Hosp
action filter_type
action find
entity Maria Hosp
relation work location
type administrative territorial entity
['Member of the National Council of Austria', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Maria_Hosp property:work_location ?k }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q17535155,P937,c(Q56061))
action filter_type
action find
entity Q1895973
relation P937
type Q56061
[ANSWER] is the work location of that person
['Q17535155', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q1895973 property:P937 ?k }
Vienna
Vienna is the work location of that person
Vienna
action filter_type
action find
entity Maria Hosp
relation work location
type administrative territorial entity
['Member of the National Council of Austria', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Maria_Hosp property:work_location ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1895973
P20
Q486972
USER
Where did the expiration of Maria Hosp occur ?
(Q1895973,P20,c(Q486972))
action filter_type
action find
entity Q1895973
relation P20
type Q486972
['Q1895973', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q1895973 property:P20 ?c . ?c rdf:type ontology:Q486972 }
Maria Hosp
action filter_type
action find
entity Maria Hosp
relation place of death
type human settlement
['Maria Hosp', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Maria_Hosp property:place_of_death ?c . ?c rdf:type ontology:human_settlement }
[]
human settlement
Q494504
SYSTEM
Bludenz
Q494504
(Q1895973,P20,c(Q486972))
action filter_type
action find
entity Q1895973
relation P20
type Q486972
The expiration of Maria Hosp occurred in [ANSWER]
['Q1895973', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q1895973 property:P20 ?c . ?c rdf:type ontology:Q486972 }
Bludenz
The expiration of Maria Hosp occurred in Bludenz
Bludenz
action filter_type
action find
entity Maria Hosp
relation place of death
type human settlement
['Maria Hosp', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Maria_Hosp property:place_of_death ?c . ?c rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1895973
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q494504,P102,c(Q7210356))
action filter_type
action find
entity Q1895973
relation P102
type Q7210356
['Q494504', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q1895973 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Maria Hosp
action filter_type
action find
entity Maria Hosp
relation member of political party
type political organization
['Bludenz', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Maria_Hosp property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q186867
SYSTEM
Austrian People's Party
Q186867
(Q494504,P102,c(Q7210356))
action filter_type
action find
entity Q1895973
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q494504', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q1895973 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Austrian People's Party
That person is affiliated with Austrian People's Party
Austrian People's Party
action filter_type
action find
entity Maria Hosp
relation member of political party
type political organization
['Bludenz', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Maria_Hosp property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q186867 Q5713920
P102
Q502895
USER
Is Hendrik Prinsloo the member of that political organization ?
(Q5713920,P102,Q186867)
action is_in
entity Q5713920
action find
entity Q186867
relation P102
['Q5713920', 'P102', 'Q186867']
ASK WHERE { resource:Q186867 property:P102 resource:Q5713920 }
Austrian People's Party Hendrik Prinsloo
action is_in
entity Hendrik Prinsloo
action find
entity Austrian People's Party
relation member of political party
['Hendrik Prinsloo', 'member of political party', "Austrian People's Party"]
ASK WHERE { resource:Austrian_People's_Party property:member_of_political_party resource:Hendrik_Prinsloo }
[]
common name
SYSTEM
NO
(Q5713920,P102,Q186867)
action is_in
entity Q5713920
action find
entity Q186867
relation P102
[ANSWER]
['Q5713920', 'P102', 'Q186867']
ASK WHERE { resource:Q186867 property:P102 resource:Q5713920 }
No
action is_in
entity Hendrik Prinsloo
action find
entity Austrian People's Party
relation member of political party
['Hendrik Prinsloo', 'member of political party', "Austrian People's Party"]
ASK WHERE { resource:Austrian_People's_Party property:member_of_political_party resource:Hendrik_Prinsloo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q186867 Q13033799
P921
Q191067
USER
How many articles have Austrian People's Party or March equinox as their principal topic ?
(c(Q191067),P921,Q186867) (c(Q191067),P921,Q13033799)
action count
action union
action filter_type
action find_reverse
entity Q186867
relation P921
type Q191067
action filter_type
action find_reverse
entity Q13033799
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q186867'] [{'concept': 'Q191067'}, 'P921', 'Q13033799']
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:P921 resource:Q186867 . ?z rdf:type ontology:Q191067 } UNION { ?z property:P921 resource:Q13033799 . ?z rdf:type ontology:Q191067 } }
Austrian People's Party March equinox
action count
action union
action filter_type
action find_reverse
entity Austrian People's Party
relation main subject
type article
action filter_type
action find_reverse
entity March equinox
relation main subject
type article
[{'concept': 'article'}, 'main subject', "Austrian People's Party"] [{'concept': 'article'}, 'main subject', 'March equinox']
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:main_subject resource:Austrian_People's_Party . ?z rdf:type ontology:article } UNION { ?z property:main_subject resource:March_equinox . ?z rdf:type ontology:article } }
[]
article
SYSTEM
2
Q24360804 Q24795789
(c(Q191067),P921,Q186867) (c(Q191067),P921,Q13033799)
action count
action union
action filter_type
action find_reverse
entity Q186867
relation P921
type Q191067
action filter_type
action find_reverse
entity Q13033799
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q186867'] [{'concept': 'Q191067'}, 'P921', 'Q13033799']
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:P921 resource:Q186867 . ?z rdf:type ontology:Q191067 } UNION { ?z property:P921 resource:Q13033799 . ?z rdf:type ontology:Q191067 } }
spring equinox spring equinox
2
action count
action union
action filter_type
action find_reverse
entity Austrian People's Party
relation main subject
type article
action filter_type
action find_reverse
entity March equinox
relation main subject
type article
[{'concept': 'article'}, 'main subject', "Austrian People's Party"] [{'concept': 'article'}, 'main subject', 'March equinox']
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:main_subject resource:Austrian_People's_Party . ?z rdf:type ontology:article } UNION { ?z property:main_subject resource:March_equinox . ?z rdf:type ontology:article } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P674
Q502895 Q166142 Q234460
USER
Which people plays a role in max number of applications and texts ?
(c(Q166142)|c(Q234460),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q166142
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
[[{'concept': 'Q166142'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P674 ?w . ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q166142 } UNION { ?m property:P674 ?w . ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q234460 } } GROUP BY ?w } } . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:P674 ?p . ?x rdf:type ontology:Q166142 . ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q502895 . ?x rdf:type ontology:Q234460 . ?x property:P674 ?p } } GROUP BY ?p } . FILTER ( ?s = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type application
action find_reverse_tuple_counts
relation characters
type common name
type text
[[{'concept': 'application'}, {'concept': 'text'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:characters ?w . ?w rdf:type ontology:common_name . ?m rdf:type ontology:application } UNION { ?m property:characters ?w . ?w rdf:type ontology:common_name . ?m rdf:type ontology:text } } GROUP BY ?w } } . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:characters ?p . ?x rdf:type ontology:application . ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:common_name . ?x rdf:type ontology:text . ?x property:characters ?p } } GROUP BY ?p } . FILTER ( ?s = ?c ) }
[]
common name application text
Q145746
SYSTEM
Joseph
Q145746
(c(Q166142)|c(Q234460),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q166142
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
[ANSWER] plays a role in max number of applications and texts
[[{'concept': 'Q166142'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P674 ?w . ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q166142 } UNION { ?m property:P674 ?w . ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q234460 } } GROUP BY ?w } } . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:P674 ?p . ?x rdf:type ontology:Q166142 . ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q502895 . ?x rdf:type ontology:Q234460 . ?x property:P674 ?p } } GROUP BY ?p } . FILTER ( ?s = ?c ) }
Joseph
Joseph plays a role in max number of applications and texts
Joseph
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type application
action find_reverse_tuple_counts
relation characters
type common name
type text
[[{'concept': 'application'}, {'concept': 'text'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:characters ?w . ?w rdf:type ontology:common_name . ?m rdf:type ontology:application } UNION { ?m property:characters ?w . ?w rdf:type ontology:common_name . ?m rdf:type ontology:text } } GROUP BY ?w } } . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:characters ?p . ?x rdf:type ontology:application . ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:common_name . ?x rdf:type ontology:text . ?x property:characters ?p } } GROUP BY ?p } . FILTER ( ?s = ?c ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145746 Q79 Q184632
P20
Q15617994
USER
Does Joseph have Egypt and Zehnhausen bei Rennerod as place of death ?
(Q145746,P20,Q79) (Q145746,P20,Q184632)
action is_in
entity Q145746
action intersection
action find_reverse
entity Q79
relation P20
action find_reverse
entity Q184632
relation P20
['Q145746', 'P20', 'Q79'] ['Q145746', 'P20', 'Q184632']
ASK WHERE { resource:Q145746 property:P20 resource:Q184632 . resource:Q145746 property:P20 resource:Q79 }
Joseph Egypt Zehnhausen bei Rennerod
action is_in
entity Joseph
action intersection
action find_reverse
entity Egypt
relation place of death
action find_reverse
entity Zehnhausen bei Rennerod
relation place of death
['Joseph', 'place of death', 'Egypt'] ['Joseph', 'place of death', 'Zehnhausen bei Rennerod']
ASK WHERE { resource:Joseph property:place_of_death resource:Zehnhausen_bei_Rennerod . resource:Joseph property:place_of_death resource:Egypt }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q145746,P20,Q79) (Q145746,P20,Q184632)
action is_in
entity Q145746
action intersection
action find_reverse
entity Q79
relation P20
action find_reverse
entity Q184632
relation P20
[ANSWER]
['Q145746', 'P20', 'Q79'] ['Q145746', 'P20', 'Q184632']
ASK WHERE { resource:Q145746 property:P20 resource:Q184632 . resource:Q145746 property:P20 resource:Q79 }
YES and NO respectively
action is_in
entity Joseph
action intersection
action find_reverse
entity Egypt
relation place of death
action find_reverse
entity Zehnhausen bei Rennerod
relation place of death
['Joseph', 'place of death', 'Egypt'] ['Joseph', 'place of death', 'Zehnhausen bei Rennerod']
ASK WHERE { resource:Joseph property:place_of_death resource:Zehnhausen_bei_Rennerod . resource:Joseph property:place_of_death resource:Egypt }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1741 Q4339043
P17
Q1048835
USER
Is Vienna a part of Ostrovskoho ?
(Q1741,P17,Q4339043)
action is_in
entity Q4339043
action find
entity Q1741
relation P17
['Q1741', 'P17', 'Q4339043']
ASK WHERE { resource:Q1741 property:P17 resource:Q4339043 }
Vienna Ostrovskoho
action is_in
entity Ostrovskoho
action find
entity Vienna
relation country
['Vienna', 'country', 'Ostrovskoho']
ASK WHERE { resource:Vienna property:country resource:Ostrovskoho }
[]
political territorial entity
SYSTEM
NO
(Q1741,P17,Q4339043)
action is_in
entity Q4339043
action find
entity Q1741
relation P17
[ANSWER]
['Q1741', 'P17', 'Q4339043']
ASK WHERE { resource:Q1741 property:P17 resource:Q4339043 }
No
action is_in
entity Ostrovskoho
action find
entity Vienna
relation country
['Vienna', 'country', 'Ostrovskoho']
ASK WHERE { resource:Vienna property:country resource:Ostrovskoho }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q145746
P7
Q502895
USER
How many people have Joseph as their brother ?
(Q145746,P7,c(Q502895))
action count
action filter_type
action find
entity Q145746
relation P7
type Q502895
['Q145746', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q145746 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Joseph
action count
action filter_type
action find
entity Joseph
relation brother
type common name
['Joseph', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Joseph property:brother ?o . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q1771963 Q460763 Q1773005 Q215512 Q282220
(Q145746,P7,c(Q502895))
action count
action filter_type
action find
entity Q145746
relation P7
type Q502895
[ANSWER]
['Q145746', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q145746 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Naphtali Benjamin Simeon Levi Judah
5
action count
action filter_type
action find
entity Joseph
relation brother
type common name
['Joseph', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Joseph property:brother ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145746
P7
Q502895
USER
Who are that one a brother of ?
action filter_type
action find
entity Q145746
relation P7
type Q502895
SELECT DISTINCT ?f WHERE { resource:Q145746 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Joseph
action filter_type
action find
entity Joseph
relation brother
type common name
SELECT DISTINCT ?f WHERE { resource:Joseph property:brother ?f . ?f rdf:type ontology:common_name }
[]
common name
Q215512 Q460763 Q282220
SYSTEM
Levi, Benjamin, Judah
Q1773005 Q215512 Q460763 Q282220 Q1771963
action filter_type
action find
entity Q145746
relation P7
type Q502895
That one a brother of are Lord [ANSWERS]
SELECT DISTINCT ?f WHERE { resource:Q145746 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Simeon Levi Benjamin Judah Naphtali
That one a brother of are Lord Levi, Benjamin and Judah
Levi Benjamin Judah
action filter_type
action find
entity Joseph
relation brother
type common name
SELECT DISTINCT ?f WHERE { resource:Joseph property:brother ?f . ?f rdf:type ontology:common_name }
[]