Simple Question (Direct)
Simple Question
Q1330046
P20
Q618779
USER
Which award is the place of death of Elisabeth Katschnig-Fasch ?
(Q1330046,P20,c(Q618779))
action filter_type
action find
entity Q1330046
relation P20
type Q618779
['Q1330046', 'P20', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q618779 . resource:Q1330046 property:P20 ?r }
Elisabeth Katschnig-Fasch
action filter_type
action find
entity Elisabeth Katschnig-Fasch
relation place of death
type award
['Elisabeth Katschnig-Fasch', 'place of death', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:award . resource:Elisabeth_Katschnig-Fasch property:place_of_death ?r }
[]
award
Q13298
SYSTEM
Graz
Q13298
(Q1330046,P20,c(Q618779))
action filter_type
action find
entity Q1330046
relation P20
type Q618779
[ANSWER] is the place of death of Elisabeth Katschnig-Fasch
['Q1330046', 'P20', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q618779 . resource:Q1330046 property:P20 ?r }
Graz
Graz is the place of death of Elisabeth Katschnig-Fasch
Graz
action filter_type
action find
entity Elisabeth Katschnig-Fasch
relation place of death
type award
['Elisabeth Katschnig-Fasch', 'place of death', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:award . resource:Elisabeth_Katschnig-Fasch property:place_of_death ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1330046
P27
Q1048835
USER
Which political territory is the native country of Elisabeth Katschnig-Fasch ?
(Q1330046,P27,c(Q1048835))
action filter_type
action find
entity Q1330046
relation P27
type Q1048835
['Q1330046', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1330046 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Elisabeth Katschnig-Fasch
action filter_type
action find
entity Elisabeth Katschnig-Fasch
relation country of citizenship
type political territorial entity
['Elisabeth Katschnig-Fasch', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Elisabeth_Katschnig-Fasch property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1330046,P27,c(Q1048835))
action filter_type
action find
entity Q1330046
relation P27
type Q1048835
[ANSWER] is the native country of Elisabeth Katschnig-Fasch
['Q1330046', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1330046 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Austria
Austria is the native country of Elisabeth Katschnig-Fasch
Austria
action filter_type
action find
entity Elisabeth Katschnig-Fasch
relation country of citizenship
type political territorial entity
['Elisabeth Katschnig-Fasch', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Elisabeth_Katschnig-Fasch property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2590685
Q1048835
USER
And also tell me about Wolfgang Mütze?
(Q2590685,P27,c(Q1048835))
action filter_type
action find
entity Q2590685
relation P27
type Q1048835
['Q2590685', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q2590685 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Wolfgang Mütze
action filter_type
action find
entity Wolfgang Mütze
relation country of citizenship
type political territorial entity
['Wolfgang Mütze', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Wolfgang_Mütze property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2590685,P27,c(Q1048835))
action filter_type
action find
entity Q2590685
relation P27
type Q1048835
[ANSWER]
['Q2590685', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q2590685 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Wolfgang Mütze
relation country of citizenship
type political territorial entity
['Wolfgang Mütze', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Wolfgang_Mütze property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q7929653
P6
Q502895
USER
Is Viktor Bukanov the head of the government of that political territory ?
(Q183,P6,Q7929653)
action is_in
entity Q7929653
action find
entity Q183
relation P6
['Q183', 'P6', 'Q7929653']
ASK WHERE { resource:Q183 property:P6 resource:Q7929653 }
Germany Viktor Bukanov
action is_in
entity Viktor Bukanov
action find
entity Germany
relation head of government
['Germany', 'head of government', 'Viktor Bukanov']
ASK WHERE { resource:Germany property:head_of_government resource:Viktor_Bukanov }
[]
common name
SYSTEM
NO
(Q183,P6,Q7929653)
action is_in
entity Q7929653
action find
entity Q183
relation P6
[ANSWER]
['Q183', 'P6', 'Q7929653']
ASK WHERE { resource:Q183 property:P6 resource:Q7929653 }
No
action is_in
entity Viktor Bukanov
action find
entity Germany
relation head of government
['Germany', 'head of government', 'Viktor Bukanov']
ASK WHERE { resource:Germany property:head_of_government resource:Viktor_Bukanov }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q40 Q1772316
P47
Q1048835
USER
Does Alcohujate share the border with Austria ?
(Q40,P47,Q1772316)
action is_in
entity Q1772316
action find
entity Q40
relation P47
['Q40', 'P47', 'Q1772316']
ASK WHERE { resource:Q40 property:P47 resource:Q1772316 }
Austria Alcohujate
action is_in
entity Alcohujate
action find
entity Austria
relation shares border with
['Austria', 'shares border with', 'Alcohujate']
ASK WHERE { resource:Austria property:shares_border_with resource:Alcohujate }
[]
political territorial entity
SYSTEM
NO
(Q40,P47,Q1772316)
action is_in
entity Q1772316
action find
entity Q40
relation P47
[ANSWER]
['Q40', 'P47', 'Q1772316']
ASK WHERE { resource:Q40 property:P47 resource:Q1772316 }
No
action is_in
entity Alcohujate
action find
entity Austria
relation shares border with
['Austria', 'shares border with', 'Alcohujate']
ASK WHERE { resource:Austria property:shares_border_with resource:Alcohujate }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q13298 Q1379391
P6
Q502895
USER
Does Franz Hasiba have Graz as its head of government ?
(Q13298,P6,Q1379391)
action is_in
entity Q1379391
action find
entity Q13298
relation P6
['Q13298', 'P6', 'Q1379391']
ASK WHERE { resource:Q13298 property:P6 resource:Q1379391 }
Graz Franz Hasiba
action is_in
entity Franz Hasiba
action find
entity Graz
relation head of government
['Graz', 'head of government', 'Franz Hasiba']
ASK WHERE { resource:Graz property:head_of_government resource:Franz_Hasiba }
[]
common name
SYSTEM
YES
(Q13298,P6,Q1379391)
action is_in
entity Q1379391
action find
entity Q13298
relation P6
[ANSWER]
['Q13298', 'P6', 'Q1379391']
ASK WHERE { resource:Q13298 property:P6 resource:Q1379391 }
Yes
action is_in
entity Franz Hasiba
action find
entity Graz
relation head of government
['Graz', 'head of government', 'Franz Hasiba']
ASK WHERE { resource:Graz property:head_of_government resource:Franz_Hasiba }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q43287
P495
Q838948
USER
How many works of art originated in Germany and German Empire ?
(c(Q838948),P495,Q183) (c(Q838948),P495,Q43287)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P495
type Q838948
action filter_type
action find_reverse
entity Q43287
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q183'] [{'concept': 'Q838948'}, 'P495', 'Q43287']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:P495 resource:Q183 . ?x rdf:type ontology:Q838948 . ?x rdf:type ontology:Q838948 . ?x property:P495 resource:Q43287 }
Germany German Empire
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation country of origin
type work of art
action filter_type
action find_reverse
entity German Empire
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Germany'] [{'concept': 'work of art'}, 'country of origin', 'German Empire']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:country_of_origin resource:Germany . ?x rdf:type ontology:work_of_art . ?x rdf:type ontology:work_of_art . ?x property:country_of_origin resource:German_Empire }
[]
work of art
SYSTEM
15
Q19286626 Q15219469 Q6007685 Q19967274 Q15805708 Q151584 Q19760820 Q15804639 Q20743903 Q15804663 Q21869183 Q19760814 Q2092960 Q19760863 Q7758966
(c(Q838948),P495,Q183) (c(Q838948),P495,Q43287)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P495
type Q838948
action filter_type
action find_reverse
entity Q43287
relation P495
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q183'] [{'concept': 'Q838948'}, 'P495', 'Q43287']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:P495 resource:Q183 . ?x rdf:type ontology:Q838948 . ?x rdf:type ontology:Q838948 . ?x property:P495 resource:Q43287 }
Jettchen Gebert's Story The White Terror Imprisoned Soul My Leopold The Queen of the Stock Exchange Der neue Schreibtisch Opium The Eskimo Baby The House of Three Girls The ABC of Love The Black Hussar Bismarck Zapata's Gang The Adventures of Captain Hansen The Queen's Love Letter
15
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation country of origin
type work of art
action filter_type
action find_reverse
entity German Empire
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Germany'] [{'concept': 'work of art'}, 'country of origin', 'German Empire']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:country_of_origin resource:Germany . ?x rdf:type ontology:work_of_art . ?x rdf:type ontology:work_of_art . ?x property:country_of_origin resource:German_Empire }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relations with atleast 5 political territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { FILTER ( ?g >= 5 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 . ?y property:P530 ?s } GROUP BY ?y } }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { FILTER ( ?g >= 5 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?s } GROUP BY ?y } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q155 Q38
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { FILTER ( ?g >= 5 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 . ?y property:P530 ?s } GROUP BY ?y } }
Brazil Italy
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { FILTER ( ?g >= 5 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?s } GROUP BY ?y } }
[]