Simple Question (Direct)
Simple Question
Q1126917
P19
Q56061
USER
Which administrative territory was Conrad Matschoss born at ?
(Q1126917,P19,c(Q56061))
action filter_type
action find
entity Q1126917
relation P19
type Q56061
['Q1126917', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1126917 property:P19 ?d }
Conrad Matschoss
action filter_type
action find
entity Conrad Matschoss
relation place of birth
type administrative territorial entity
['Conrad Matschoss', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Conrad_Matschoss property:place_of_birth ?d }
[]
administrative territorial entity
Q52893
SYSTEM
Nowy Tomyśl
Q52893
(Q1126917,P19,c(Q56061))
action filter_type
action find
entity Q1126917
relation P19
type Q56061
Conrad Matschoss was born in [ANSWER]
['Q1126917', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1126917 property:P19 ?d }
Nowy Tomyśl
Conrad Matschoss was born in Nowy Tomyśl
Nowy Tomyśl
action filter_type
action find
entity Conrad Matschoss
relation place of birth
type administrative territorial entity
['Conrad Matschoss', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Conrad_Matschoss property:place_of_birth ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1126917
P27
Q1048835
USER
Which political territory is the native country of Conrad Matschoss ?
(Q1126917,P27,c(Q1048835))
action filter_type
action find
entity Q1126917
relation P27
type Q1048835
['Q1126917', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1126917 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Conrad Matschoss
action filter_type
action find
entity Conrad Matschoss
relation country of citizenship
type political territorial entity
['Conrad Matschoss', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Conrad_Matschoss property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1126917,P27,c(Q1048835))
action filter_type
action find
entity Q1126917
relation P27
type Q1048835
The [ANSWER] is the native country of Conrad Matschoss
['Q1126917', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1126917 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Conrad Matschoss
Germany
action filter_type
action find
entity Conrad Matschoss
relation country of citizenship
type political territorial entity
['Conrad Matschoss', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Conrad_Matschoss property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1899984
Q1048835
USER
And how about Mark Christiansen?
(Q1899984,P27,c(Q1048835))
action filter_type
action find
entity Q1899984
relation P27
type Q1048835
['Q1899984', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1899984 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Mark Christiansen
action filter_type
action find
entity Mark Christiansen
relation country of citizenship
type political territorial entity
['Mark Christiansen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Mark_Christiansen property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q1899984,P27,c(Q1048835))
action filter_type
action find
entity Q1899984
relation P27
type Q1048835
[ANSWER]
['Q1899984', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1899984 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Denmark
Denmark
action filter_type
action find
entity Mark Christiansen
relation country of citizenship
type political territorial entity
['Mark Christiansen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Mark_Christiansen property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
How many political territories are lesser number of people an inhabitant of than that political territory ?
(c(Q502895),P27,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find_reverse
entity Q35
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P27 ?v . ?v rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?d < ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P27 resource:Q35 . ?h rdf:type ontology:Q502895 } } }
action count
action less
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find_reverse
entity Denmark
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?d < ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:country_of_citizenship resource:Denmark . ?h rdf:type ontology:common_name } } }
[]
political territorial entity common name
SYSTEM
62
Q635755 Q668384 Q1000 Q193714 Q1747689 Q746558 Q838261 Q785 Q193619 Q691 Q769 Q685 Q699964 Q763 Q1232887 Q664 Q766 Q22880 Q170361 Q1054923 Q10557 Q5720 Q505610 Q693551 Q13353 Q494354 Q650489 Q781 Q5705 Q757 Q168159 Q5785 Q109128 Q3306663 Q190959 Q11266977 Q223793 Q3995 Q130842 Q18221 Q650682 Q778 Q9676 Q217829 Q100166 Q9648 Q234 Q4040 Q2991382 Q309460 Q129286 Q168651 Q3908 Q9337 Q23635 Q192184 Q25228 Q31747 Q25305 Q79965 Q157070 Q170604
(c(Q502895),P27,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find_reverse
entity Q35
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P27 ?v . ?v rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?d < ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P27 resource:Q35 . ?h rdf:type ontology:Q502895 } } }
Odieta Medellín Gabon Mandatory Palestine Ancient Rome Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Papua New Guinea Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis County of Savoy New Zealand Jamaica Electoral Palatinate Saar British Hong Kong Swabia Valencian Country Flintshire Landgraviate of Hesse-Darmstadt Montserrat Kara-Khanid Khanate Margraviate of Baden Antigua and Barbuda Catalonia Saint Vincent and the Grenadines Anglesey Cayman Islands Gwynedd Merthyr Tydfil County Borough Transvaal Epirus Kingdom of Etruria Basque Country Greater Lebanon Turks and Caicos Islands Denbighshire The Bahamas Isle of Man Ceredigion Orkney Islands Falkland Islands Flemish Region Aragon County of Provence County of Hainaut British Raj Landgraviate of Hesse-Kassel Galicia Flemish Region Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands Golden Horde County of Flanders New France
62
action count
action less
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find_reverse
entity Denmark
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?d < ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:country_of_citizenship resource:Denmark . ?h rdf:type ontology:common_name } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P47
Q7275 Q1048835
USER
How many states or political territories share the border with Germany ?
(Q183,P47,c(Q7275)) (Q183,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q7275
action filter_type
action find
entity Q183
relation P47
type Q1048835
['Q183', 'P47', {'concept': 'Q7275'}] ['Q183', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { ?p rdf:type ontology:Q7275 . resource:Q183 property:P47 ?p } UNION { resource:Q183 property:P47 ?p . ?p rdf:type ontology:Q1048835 } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type state
action filter_type
action find
entity Germany
relation shares border with
type political territorial entity
['Germany', 'shares border with', {'concept': 'state'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { ?p rdf:type ontology:state . resource:Germany property:shares_border_with ?p } UNION { resource:Germany property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity } }
[]
state political territorial entity
SYSTEM
5
Q310293 Q16957 Q33946 Q40 Q35
(Q183,P47,c(Q7275)) (Q183,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q7275
action filter_type
action find
entity Q183
relation P47
type Q1048835
[ANSWER]
['Q183', 'P47', {'concept': 'Q7275'}] ['Q183', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { ?p rdf:type ontology:Q7275 . resource:Q183 property:P47 ?p } UNION { resource:Q183 property:P47 ?p . ?p rdf:type ontology:Q1048835 } }
Saar Protectorate East Germany Czechoslovakia Austria Denmark
5
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type state
action filter_type
action find
entity Germany
relation shares border with
type political territorial entity
['Germany', 'shares border with', {'concept': 'state'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { ?p rdf:type ontology:state . resource:Germany property:shares_border_with ?p } UNION { resource:Germany property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P88
Q41176
USER
What was commisioned by that political territory ?
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
SELECT DISTINCT ?x WHERE { ?x property:P88 resource:Q183 . ?x rdf:type ontology:Q41176 }
Germany
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
SELECT DISTINCT ?x WHERE { ?x property:commissioned_by resource:Germany . ?x rdf:type ontology:building }
[]
building
Q17416722
SYSTEM
Presse- und Informationsamt der Bundesregierung (Bonn)
Q17416722
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
[ANSWER] was commisioned by that political territory
SELECT DISTINCT ?x WHERE { ?x property:P88 resource:Q183 . ?x rdf:type ontology:Q41176 }
Presse- und Informationsamt der Bundesregierung (Bonn)
Presse- und Informationsamt der Bundesregierung (Bonn) was commisioned by that political territory
Presse- und Informationsamt der Bundesregierung (Bonn)
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
SELECT DISTINCT ?x WHERE { ?x property:commissioned_by resource:Germany . ?x rdf:type ontology:building }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P800
Q502895
USER
How many people have that building as a notable work ?
(c(Q502895),P800,Q17416722)
action count
action filter_type
action find_reverse
entity Q17416722
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q17416722']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P800 resource:Q17416722 . ?a rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Presse- und Informationsamt der Bundesregierung (Bonn)
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Presse- und Informationsamt der Bundesregierung (Bonn)']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:notable_work resource:Presse-_und_Informationsamt_der_Bundesregierung_(Bonn) . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q15649744
(c(Q502895),P800,Q17416722)
action count
action filter_type
action find_reverse
entity Q17416722
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q17416722']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P800 resource:Q17416722 . ?a rdf:type ontology:Q502895 }
Dirk Denninger
1
action count
action filter_type
action find_reverse
entity Presse- und Informationsamt der Bundesregierung (Bonn)
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Presse- und Informationsamt der Bundesregierung (Bonn)']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:notable_work resource:Presse-_und_Informationsamt_der_Bundesregierung_(Bonn) . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52893
P36
Q13220204
USER
Which administrative country subdivision is Nowy Tomyśl the capital of ?
(c(Q13220204),P36,Q52893)
action filter_type
action find_reverse
entity Q52893
relation P36
type Q13220204
[{'concept': 'Q13220204'}, 'P36', 'Q52893']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q52893 . ?o rdf:type ontology:Q13220204 }
Nowy Tomyśl
action filter_type
action find_reverse
entity Nowy Tomyśl
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Nowy Tomyśl']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Nowy_Tomyśl . ?o rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q133241
SYSTEM
Nowy Tomyśl County
Q133241
(c(Q13220204),P36,Q52893)
action filter_type
action find_reverse
entity Q52893
relation P36
type Q13220204
City [ANSWER] is Nowy Tomyśl the capital of
[{'concept': 'Q13220204'}, 'P36', 'Q52893']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q52893 . ?o rdf:type ontology:Q13220204 }
Nowy Tomyśl County
City Nowy Tomyśl County is Nowy Tomyśl the capital of
Nowy Tomyśl County
action filter_type
action find_reverse
entity Nowy Tomyśl
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Nowy Tomyśl']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Nowy_Tomyśl . ?o rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q133241 Q55058 Q36
P17
Q15617994
USER
Is that administrative country subdivision present in Monteforte Irpino and Poland ?
(Q133241,P17,Q55058) (Q133241,P17,Q36)
action is_in
entity Q133241
action intersection
action find_reverse
entity Q55058
relation P17
action find_reverse
entity Q36
relation P17
['Q133241', 'P17', 'Q55058'] ['Q133241', 'P17', 'Q36']
ASK WHERE { resource:Q133241 property:P17 resource:Q55058 . resource:Q133241 property:P17 resource:Q36 }
Nowy Tomyśl County Monteforte Irpino Poland
action is_in
entity Nowy Tomyśl County
action intersection
action find_reverse
entity Monteforte Irpino
relation country
action find_reverse
entity Poland
relation country
['Nowy Tomyśl County', 'country', 'Monteforte Irpino'] ['Nowy Tomyśl County', 'country', 'Poland']
ASK WHERE { resource:Nowy_Tomyśl_County property:country resource:Monteforte_Irpino . resource:Nowy_Tomyśl_County property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q133241,P17,Q55058) (Q133241,P17,Q36)
action is_in
entity Q133241
action intersection
action find_reverse
entity Q55058
relation P17
action find_reverse
entity Q36
relation P17
[ANSWER]
['Q133241', 'P17', 'Q55058'] ['Q133241', 'P17', 'Q36']
ASK WHERE { resource:Q133241 property:P17 resource:Q55058 . resource:Q133241 property:P17 resource:Q36 }
NO and YES respectively
action is_in
entity Nowy Tomyśl County
action intersection
action find_reverse
entity Monteforte Irpino
relation country
action find_reverse
entity Poland
relation country
['Nowy Tomyśl County', 'country', 'Monteforte Irpino'] ['Nowy Tomyśl County', 'country', 'Poland']
ASK WHERE { resource:Nowy_Tomyśl_County property:country resource:Monteforte_Irpino . resource:Nowy_Tomyśl_County property:country resource:Poland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17416722 Q183
P17
Q1048835
USER
Is Presse- und Informationsamt der Bundesregierung (Bonn) present in Germany ?
(Q17416722,P17,Q183)
action is_in
entity Q183
action find
entity Q17416722
relation P17
['Q17416722', 'P17', 'Q183']
ASK WHERE { resource:Q17416722 property:P17 resource:Q183 }
Presse- und Informationsamt der Bundesregierung (Bonn) Germany
action is_in
entity Germany
action find
entity Presse- und Informationsamt der Bundesregierung (Bonn)
relation country
['Presse- und Informationsamt der Bundesregierung (Bonn)', 'country', 'Germany']
ASK WHERE { resource:Presse-_und_Informationsamt_der_Bundesregierung_(Bonn) property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q17416722,P17,Q183)
action is_in
entity Q183
action find
entity Q17416722
relation P17
[ANSWER]
['Q17416722', 'P17', 'Q183']
ASK WHERE { resource:Q17416722 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Presse- und Informationsamt der Bundesregierung (Bonn)
relation country
['Presse- und Informationsamt der Bundesregierung (Bonn)', 'country', 'Germany']
ASK WHERE { resource:Presse-_und_Informationsamt_der_Bundesregierung_(Bonn) property:country resource:Germany }
[]