Simple Question (Direct)
Simple Question
Q1324965
P39
Q12737077
USER
Which occupation was a position held by Fritz Tepperwien ?
(Q1324965,P39,c(Q12737077))
action filter_type
action find
entity Q1324965
relation P39
type Q12737077
['Q1324965', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1324965 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Fritz Tepperwien
action filter_type
action find
entity Fritz Tepperwien
relation position held
type occupation
['Fritz Tepperwien', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Fritz_Tepperwien property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q17441472
SYSTEM
member of the Bürgerschaft of Bremen
Q17441472
(Q1324965,P39,c(Q12737077))
action filter_type
action find
entity Q1324965
relation P39
type Q12737077
A [ANSWER] was a position held by Fritz Tepperwien
['Q1324965', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1324965 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the Bürgerschaft of Bremen
A member of the Bürgerschaft of Bremen was a position held by Fritz Tepperwien
member of the Bürgerschaft of Bremen
action filter_type
action find
entity Fritz Tepperwien
relation position held
type occupation
['Fritz Tepperwien', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Fritz_Tepperwien property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1324965
P106
Q12737077
USER
What does Fritz Tepperwien do for a living ?
(Q1324965,P106,c(Q12737077))
action filter_type
action find
entity Q1324965
relation P106
type Q12737077
['Q1324965', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1324965 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Fritz Tepperwien
action filter_type
action find
entity Fritz Tepperwien
relation occupation
type occupation
['Fritz Tepperwien', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Fritz_Tepperwien property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1324965,P106,c(Q12737077))
action filter_type
action find
entity Q1324965
relation P106
type Q12737077
Fritz Tepperwien does a [ANSWER] for a living
['Q1324965', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1324965 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
politician
Fritz Tepperwien does a politician for a living
politician
action filter_type
action find
entity Fritz Tepperwien
relation occupation
type occupation
['Fritz Tepperwien', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Fritz_Tepperwien property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q12059367
P106
Q502895
USER
Does Tomáš Šalé have that occupation as his/her means of employment ?
(Q12059367,P106,Q82955)
action is_in
entity Q12059367
action find
entity Q82955
relation P106
['Q12059367', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q12059367 }
politician Tomáš Šalé
action is_in
entity Tomáš Šalé
action find
entity politician
relation occupation
['Tomáš Šalé', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Tomáš_Šalé }
[]
common name
SYSTEM
NO
(Q12059367,P106,Q82955)
action is_in
entity Q12059367
action find
entity Q82955
relation P106
[ANSWER]
['Q12059367', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q12059367 }
No
action is_in
entity Tomáš Šalé
action find
entity politician
relation occupation
['Tomáš Šalé', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Tomáš_Šalé }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1324965
P937
Q515
USER
How many cities are the locations where Fritz Tepperwien worked ?
(Q1324965,P937,c(Q515))
action count
action filter_type
action find
entity Q1324965
relation P937
type Q515
['Q1324965', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q1324965 property:P937 ?i . ?i rdf:type ontology:Q515 }
Fritz Tepperwien
action count
action filter_type
action find
entity Fritz Tepperwien
relation work location
type city
['Fritz Tepperwien', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Fritz_Tepperwien property:work_location ?i . ?i rdf:type ontology:city }
[]
city
SYSTEM
1
Q1209
(Q1324965,P937,c(Q515))
action count
action filter_type
action find
entity Q1324965
relation P937
type Q515
[ANSWER]
['Q1324965', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q1324965 property:P937 ?i . ?i rdf:type ontology:Q515 }
Free Hanseatic City of Bremen
1
action count
action filter_type
action find
entity Fritz Tepperwien
relation work location
type city
['Fritz Tepperwien', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Fritz_Tepperwien property:work_location ?i . ?i rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1324965
P937
Q515
USER
Where did Fritz Tepperwien work ?
(Q1324965,P937,c(Q515))
action filter_type
action find
entity Q1324965
relation P937
type Q515
['Q1324965', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q515 . resource:Q1324965 property:P937 ?k }
Fritz Tepperwien
action filter_type
action find
entity Fritz Tepperwien
relation work location
type city
['Fritz Tepperwien', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:city . resource:Fritz_Tepperwien property:work_location ?k }
[]
city
Q1209
SYSTEM
Free Hanseatic City of Bremen
Q1209
(Q1324965,P937,c(Q515))
action filter_type
action find
entity Q1324965
relation P937
type Q515
Fritz Tepperwien worked in [ANSWER]
['Q1324965', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q515 . resource:Q1324965 property:P937 ?k }
Free Hanseatic City of Bremen
Fritz Tepperwien worked in Free Hanseatic City of Bremen
Free Hanseatic City of Bremen
action filter_type
action find
entity Fritz Tepperwien
relation work location
type city
['Fritz Tepperwien', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:city . resource:Fritz_Tepperwien property:work_location ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1209
P194
Q1752346
USER
Which assembly is the representative body for that city ?
(Q1209,P194,c(Q1752346))
action filter_type
action find
entity Q1209
relation P194
type Q1752346
['Q1209', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1752346 . resource:Q1209 property:P194 ?m }
Free Hanseatic City of Bremen
action filter_type
action find
entity Free Hanseatic City of Bremen
relation legislative body
type assembly
['Free Hanseatic City of Bremen', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:assembly . resource:Free_Hanseatic_City_of_Bremen property:legislative_body ?m }
[]
assembly
Q317147
SYSTEM
Bürgerschaft of Bremen
Q317147
(Q1209,P194,c(Q1752346))
action filter_type
action find
entity Q1209
relation P194
type Q1752346
[ANSWER] is the representative body for that city
['Q1209', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1752346 . resource:Q1209 property:P194 ?m }
Bürgerschaft of Bremen
Bürgerschaft of Bremen is the representative body for that city
Bürgerschaft of Bremen
action filter_type
action find
entity Free Hanseatic City of Bremen
relation legislative body
type assembly
['Free Hanseatic City of Bremen', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:assembly . resource:Free_Hanseatic_City_of_Bremen property:legislative_body ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1209
P710
Q1499496
USER
Which German presidential election has that city as its participant ?
(c(Q1499496),P710,Q317147)
action filter_type
action find_reverse
entity Q1209
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q317147']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q1209 . ?q rdf:type ontology:Q1499496 }
Free Hanseatic City of Bremen
action filter_type
action find_reverse
entity Free Hanseatic City of Bremen
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Bürgerschaft of Bremen']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Free_Hanseatic_City_of_Bremen . ?q rdf:type ontology:German_presidential_election }
[]
German presidential election
Q707051
SYSTEM
German presidential election, 2009
Q707051
(c(Q1499496),P710,Q317147)
action filter_type
action find_reverse
entity Q1209
relation P710
type Q1499496
[ANSWER] has that city as its participant
[{'concept': 'Q1499496'}, 'P710', 'Q317147']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q1209 . ?q rdf:type ontology:Q1499496 }
German presidential election, 2009
German presidential election, 2009 has that city as its participant
German presidential election, 2009
action filter_type
action find_reverse
entity Free Hanseatic City of Bremen
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Bürgerschaft of Bremen']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Free_Hanseatic_City_of_Bremen . ?q rdf:type ontology:German_presidential_election }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q707051 Q865259
P1344
Q502895
USER
Did Birgit Klaubert take part in that German presidential election ?
(Q865259,P1344,Q707051)
action is_in
entity Q707051
action find
entity Q865259
relation P1344
['Q865259', 'P1344', 'Q707051']
ASK WHERE { resource:Q865259 property:P1344 resource:Q707051 }
German presidential election, 2009 Birgit Klaubert
action is_in
entity German presidential election, 2009
action find
entity Birgit Klaubert
relation participant of
['Birgit Klaubert', 'participant of', 'German presidential election, 2009']
ASK WHERE { resource:Birgit_Klaubert property:participant_of resource:German_presidential_election,_2009 }
[]
common name
SYSTEM
YES
(Q865259,P1344,Q707051)
action is_in
entity Q707051
action find
entity Q865259
relation P1344
[ANSWER]
['Q865259', 'P1344', 'Q707051']
ASK WHERE { resource:Q865259 property:P1344 resource:Q707051 }
Yes
action is_in
entity German presidential election, 2009
action find
entity Birgit Klaubert
relation participant of
['Birgit Klaubert', 'participant of', 'German presidential election, 2009']
ASK WHERE { resource:Birgit_Klaubert property:participant_of resource:German_presidential_election,_2009 }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q21279371
P194
Q1752346 Q1048835
USER
How many political territories have more number of assemblies as their representative body than Lancashire ?
(c(Q1048835),P194,c(Q1752346))
action count
action greater
action find_tuple_counts
relation P194
type Q1048835
type Q1752346
action count
action filter_type
action find
entity Q21279371
relation P194
type Q1048835
[{'concept': 'Q1048835'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { FILTER ( ?t > ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q21279371 property:P194 ?c . ?c rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?t ) WHERE { ?y property:P194 ?k . ?y rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q1752346 } GROUP BY ?y } }
Lancashire
action count
action greater
action find_tuple_counts
relation legislative body
type political territorial entity
type assembly
action count
action filter_type
action find
entity Lancashire
relation legislative body
type political territorial entity
[{'concept': 'political territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { FILTER ( ?t > ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Lancashire property:legislative_body ?c . ?c rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?t ) WHERE { ?y property:legislative_body ?k . ?y rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:assembly } GROUP BY ?y } }
[]
assembly political territorial entity
SYSTEM
15
Q31747 Q785 Q193619 Q769 Q664 Q766 Q16 Q35 Q2594990 Q778 Q408 Q183 Q234 Q601252 Q781
(c(Q1048835),P194,c(Q1752346))
action count
action greater
action find_tuple_counts
relation P194
type Q1048835
type Q1752346
action count
action filter_type
action find
entity Q21279371
relation P194
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { FILTER ( ?t > ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q21279371 property:P194 ?c . ?c rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?t ) WHERE { ?y property:P194 ?k . ?y rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q1752346 } GROUP BY ?y } }
Irish Free State Jersey Union of South Africa Grenada New Zealand Jamaica Canada Denmark Dominion of New Zealand The Bahamas Australia Germany Flemish Region Banovina of Croatia Antigua and Barbuda
15
action count
action greater
action find_tuple_counts
relation legislative body
type political territorial entity
type assembly
action count
action filter_type
action find
entity Lancashire
relation legislative body
type political territorial entity
[{'concept': 'political territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { FILTER ( ?t > ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Lancashire property:legislative_body ?c . ?c rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?t ) WHERE { ?y property:legislative_body ?k . ?y rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:assembly } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5705
P194
Q1752346 Q1048835
USER
And how about Catalonia?
(c(Q1048835),P194,c(Q1752346))
action count
action greater
action find_tuple_counts
relation P194
type Q1048835
type Q1752346
action count
action filter_type
action find
entity Q5705
relation P194
type Q1048835
[{'concept': 'Q1048835'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?r ) WHERE { ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1752346 . ?h property:P194 ?o } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q5705 property:P194 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?r > ?i ) }
Catalonia
action count
action greater
action find_tuple_counts
relation legislative body
type political territorial entity
type assembly
action count
action filter_type
action find
entity Catalonia
relation legislative body
type political territorial entity
[{'concept': 'political territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?r ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:assembly . ?h property:legislative_body ?o } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Catalonia property:legislative_body ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?r > ?i ) }
[]
assembly political territorial entity
SYSTEM
15
Q31747 Q785 Q193619 Q769 Q664 Q766 Q16 Q35 Q2594990 Q778 Q408 Q183 Q234 Q601252 Q781
(c(Q1048835),P194,c(Q1752346))
action count
action greater
action find_tuple_counts
relation P194
type Q1048835
type Q1752346
action count
action filter_type
action find
entity Q5705
relation P194
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?r ) WHERE { ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1752346 . ?h property:P194 ?o } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q5705 property:P194 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?r > ?i ) }
Irish Free State Jersey Union of South Africa Grenada New Zealand Jamaica Canada Denmark Dominion of New Zealand The Bahamas Australia Germany Flemish Region Banovina of Croatia Antigua and Barbuda
15
action count
action greater
action find_tuple_counts
relation legislative body
type political territorial entity
type assembly
action count
action filter_type
action find
entity Catalonia
relation legislative body
type political territorial entity
[{'concept': 'political territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?r ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:assembly . ?h property:legislative_body ?o } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Catalonia property:legislative_body ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?r > ?i ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3516658 Q1792379
USER
Which occupations are demonstrated in around 1 heraldic symbols or art genres ?
(c(Q3516658)|c(Q1792379),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?b ) WHERE { { ?e property:P180 ?y . ?e rdf:type ontology:Q3516658 . ?y rdf:type ontology:Q12737077 } UNION { ?e property:P180 ?y . ?e rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q12737077 } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?b ) WHERE { { ?e property:depicts ?y . ?e rdf:type ontology:heraldic_symbol . ?y rdf:type ontology:occupation } UNION { ?e property:depicts ?y . ?e rdf:type ontology:art_genre . ?y rdf:type ontology:occupation } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
[]
occupation heraldic symbol art genre
Q4991371 Q1250916 Q2730732
SYSTEM
soldier, warrior, equestrian
Q2079936 Q1250916 Q4991371 Q2730732
(c(Q3516658)|c(Q1792379),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
The [ANSWERS] are demonstrated in around 1 heraldic symbols or art genres
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?b ) WHERE { { ?e property:P180 ?y . ?e rdf:type ontology:Q3516658 . ?y rdf:type ontology:Q12737077 } UNION { ?e property:P180 ?y . ?e rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q12737077 } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
king of marksmen warrior soldier equestrian
The soldier, warrior and equestrian are demonstrated in around 1 heraldic symbols or art genres
soldier warrior equestrian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?b ) WHERE { { ?e property:depicts ?y . ?e rdf:type ontology:heraldic_symbol . ?y rdf:type ontology:occupation } UNION { ?e property:depicts ?y . ?e rdf:type ontology:art_genre . ?y rdf:type ontology:occupation } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
[]