Simple Question (Direct)
Simple Question
Q1870797
P20
Q515
USER
Where did Lothar Dräger expire ?
(Q1870797,P20,c(Q515))
action filter_type
action find
entity Q1870797
relation P20
type Q515
['Q1870797', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q515 . resource:Q1870797 property:P20 ?z }
Lothar Dräger
action filter_type
action find
entity Lothar Dräger
relation place of death
type city
['Lothar Dräger', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:city . resource:Lothar_Dräger property:place_of_death ?z }
[]
city
Q1711
SYSTEM
Potsdam
Q1711
(Q1870797,P20,c(Q515))
action filter_type
action find
entity Q1870797
relation P20
type Q515
Lothar Dräger expired in [ANSWER]
['Q1870797', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q515 . resource:Q1870797 property:P20 ?z }
Potsdam
Lothar Dräger expired in Potsdam
Potsdam
action filter_type
action find
entity Lothar Dräger
relation place of death
type city
['Lothar Dräger', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:city . resource:Lothar_Dräger property:place_of_death ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1711
P610
Q14524493
USER
Which terrain is the highest point of that city ?
(Q1711,P610,c(Q14524493))
action filter_type
action find
entity Q1711
relation P610
type Q14524493
['Q1711', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q1711 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Potsdam
action filter_type
action find
entity Potsdam
relation highest point
type terrain
['Potsdam', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Potsdam property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
terrain
Q569145
SYSTEM
Kleiner Ravensberg
Q569145
(Q1711,P610,c(Q14524493))
action filter_type
action find
entity Q1711
relation P610
type Q14524493
[ANSWER] is the highest point of that city
['Q1711', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q1711 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Kleiner Ravensberg
Kleiner Ravensberg is the highest point of that city
Kleiner Ravensberg
action filter_type
action find
entity Potsdam
relation highest point
type terrain
['Potsdam', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Potsdam property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1711
P291
Q571
USER
Which book was published in Potsdam ?
(c(Q571),P291,Q1711)
action filter_type
action find_reverse
entity Q1711
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q1711']
SELECT DISTINCT ?r WHERE { ?r property:P291 resource:Q1711 . ?r rdf:type ontology:Q571 }
Potsdam
action filter_type
action find_reverse
entity Potsdam
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Potsdam']
SELECT DISTINCT ?r WHERE { ?r property:place_of_publication resource:Potsdam . ?r rdf:type ontology:book }
[]
book
Q22295333
SYSTEM
Okkultsymbolik und Machtpolitik (first edition)
Q22295333
(c(Q571),P291,Q1711)
action filter_type
action find_reverse
entity Q1711
relation P291
type Q571
[ANSWER] was published in Potsdam
[{'concept': 'Q571'}, 'P291', 'Q1711']
SELECT DISTINCT ?r WHERE { ?r property:P291 resource:Q1711 . ?r rdf:type ontology:Q571 }
Okkultsymbolik und Machtpolitik (first edition)
Okkultsymbolik und Machtpolitik (first edition) was published in Potsdam
Okkultsymbolik und Machtpolitik (first edition)
action filter_type
action find_reverse
entity Potsdam
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Potsdam']
SELECT DISTINCT ?r WHERE { ?r property:place_of_publication resource:Potsdam . ?r rdf:type ontology:book }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1711
P36
Q1048835
USER
Which political territory consists of that city as its capital ?
(c(Q1048835),P36,Q22295333)
action filter_type
action find_reverse
entity Q1711
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q22295333']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q1711 . ?n rdf:type ontology:Q1048835 }
Potsdam
action filter_type
action find_reverse
entity Potsdam
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Okkultsymbolik und Machtpolitik (first edition)']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Potsdam . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q48094
SYSTEM
Potsdam District
Q48094
(c(Q1048835),P36,Q22295333)
action filter_type
action find_reverse
entity Q1711
relation P36
type Q1048835
[ANSWER] consists of that city as its capital
[{'concept': 'Q1048835'}, 'P36', 'Q22295333']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q1711 . ?n rdf:type ontology:Q1048835 }
Potsdam District
Potsdam District consists of that city as its capital
Potsdam District
action filter_type
action find_reverse
entity Potsdam
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Okkultsymbolik und Machtpolitik (first edition)']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Potsdam . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have a diplomatic relationship with max number of political territories ?
(c(Q1048835),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q766']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?y ) { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?z ) WHERE { ?s property:P530 ?t . ?s rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } GROUP BY ?s } } . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?f ) WHERE { ?b property:P530 ?v . ?b rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?f = ?y ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?y ) { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?z ) WHERE { ?s property:diplomatic_relation ?t . ?s rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?s } } . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?f ) WHERE { ?b property:diplomatic_relation ?v . ?b rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?f = ?y ) }
[]
political territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[ANSWER] have a diplomatic relationship with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q766']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?y ) { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?z ) WHERE { ?s property:P530 ?t . ?s rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } GROUP BY ?s } } . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?f ) WHERE { ?b property:P530 ?v . ?b rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?f = ?y ) }
Australia
Australia have a diplomatic relationship with max number of political territories
Australia
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?y ) { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?z ) WHERE { ?s property:diplomatic_relation ?t . ?s rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?s } } . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?f ) WHERE { ?b property:diplomatic_relation ?v . ?b rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?f = ?y ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q408 Q55898 Q189035
P530
Q15617994
USER
Does Australia have tactful political relations with Cusano Mutri and Zellhausen ?
(Q408,P530,Q55898) (Q408,P530,Q189035)
action is_in
entity Q408
action intersection
action find_reverse
entity Q55898
relation P530
action find_reverse
entity Q189035
relation P530
['Q408', 'P530', 'Q55898'] ['Q408', 'P530', 'Q189035']
ASK WHERE { resource:Q408 property:P530 resource:Q189035 . resource:Q408 property:P530 resource:Q55898 }
Australia Cusano Mutri Zellhausen
action is_in
entity Australia
action intersection
action find_reverse
entity Cusano Mutri
relation diplomatic relation
action find_reverse
entity Zellhausen
relation diplomatic relation
['Australia', 'diplomatic relation', 'Cusano Mutri'] ['Australia', 'diplomatic relation', 'Zellhausen']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Zellhausen . resource:Australia property:diplomatic_relation resource:Cusano_Mutri }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q408,P530,Q55898) (Q408,P530,Q189035)
action is_in
entity Q408
action intersection
action find_reverse
entity Q55898
relation P530
action find_reverse
entity Q189035
relation P530
[ANSWER]
['Q408', 'P530', 'Q55898'] ['Q408', 'P530', 'Q189035']
ASK WHERE { resource:Q408 property:P530 resource:Q189035 . resource:Q408 property:P530 resource:Q55898 }
No
action is_in
entity Australia
action intersection
action find_reverse
entity Cusano Mutri
relation diplomatic relation
action find_reverse
entity Zellhausen
relation diplomatic relation
['Australia', 'diplomatic relation', 'Cusano Mutri'] ['Australia', 'diplomatic relation', 'Zellhausen']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Zellhausen . resource:Australia property:diplomatic_relation resource:Cusano_Mutri }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have a diplomatic relationship with min number of political territories ?
(c(Q1048835),P530,Q953)
action argmin
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?b ) { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } GROUP BY ?e } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?f } . FILTER ( ?h = ?b ) }
action argmin
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?b ) { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?f } . FILTER ( ?h = ?b ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,Q953)
action argmin
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWERS] have a diplomatic relationship with min number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?b ) { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } GROUP BY ?e } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?f } . FILTER ( ?h = ?b ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen, Syria and Oman have a diplomatic relationship with min number of political territories
Yemen Syria Oman
action argmin
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?b ) { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?f } . FILTER ( ?h = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P38
Q8142
USER
What is used as the currency of Australia ?
(Q408,P38,c(Q8142))
action filter_type
action find
entity Q408
relation P38
type Q8142
['Q408', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8142 . resource:Q408 property:P38 ?r }
Australia
action filter_type
action find
entity Australia
relation currency
type currency
['Australia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:currency . resource:Australia property:currency ?r }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q408,P38,c(Q8142))
action filter_type
action find
entity Q408
relation P38
type Q8142
Australia [ANSWER] is used as the currency of Australia
['Q408', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8142 . resource:Q408 property:P38 ?r }
pound sterling
Australia pound sterling is used as the currency of Australia
pound sterling
action filter_type
action find
entity Australia
relation currency
type currency
['Australia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:currency . resource:Australia property:currency ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P921
Q191067
USER
Which article was mainly based on that political territory ?
(c(Q191067),P921,Q25224)
action filter_type
action find_reverse
entity Q408
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q25224']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q191067 . ?s property:P921 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'pound sterling']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:article . ?s property:main_subject resource:Australia }
[]
article
Q20081148
SYSTEM
EB-11 / Australia
Q20081148
(c(Q191067),P921,Q25224)
action filter_type
action find_reverse
entity Q408
relation P921
type Q191067
[ANSWER] was mainly based on that political territory
[{'concept': 'Q191067'}, 'P921', 'Q25224']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q191067 . ?s property:P921 resource:Q408 }
EB-11 / Australia
EB-11 / Australia was mainly based on that political territory
EB-11 / Australia
action filter_type
action find_reverse
entity Australia
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'pound sterling']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:article . ?s property:main_subject resource:Australia }
[]