Simple Question (Direct)
Simple Question
Q3386881
P102
Q7210356
USER
Which party is Pierre Roux-Freissineng affiliated with ?
(Q3386881,P102,c(Q7210356))
action filter_type
action find
entity Q3386881
relation P102
type Q7210356
['Q3386881', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q3386881 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Pierre Roux-Freissineng
action filter_type
action find
entity Pierre Roux-Freissineng
relation member of political party
type political organization
['Pierre Roux-Freissineng', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Pierre_Roux-Freissineng property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q1882929
SYSTEM
Independent Radicals
Q1882929
(Q3386881,P102,c(Q7210356))
action filter_type
action find
entity Q3386881
relation P102
type Q7210356
Pierre Roux-Freissineng is affiliated with [ANSWER]
['Q3386881', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q3386881 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Independent Radicals
Pierre Roux-Freissineng is affiliated with Independent Radicals
Independent Radicals
action filter_type
action find
entity Pierre Roux-Freissineng
relation member of political party
type political organization
['Pierre Roux-Freissineng', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Pierre_Roux-Freissineng property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3386881
P39
Q12737077
USER
What were the positions for which Pierre Roux-Freissineng were appointed ?
(Q3386881,P39,c(Q12737077))
action filter_type
action find
entity Q3386881
relation P39
type Q12737077
['Q3386881', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3386881 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Pierre Roux-Freissineng
action filter_type
action find
entity Pierre Roux-Freissineng
relation position held
type occupation
['Pierre Roux-Freissineng', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Pierre_Roux-Freissineng property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q21032547 Q3044918
SYSTEM
senator of the French Third Republic, member of the French National Assembly
Q21032547 Q3044918
(Q3386881,P39,c(Q12737077))
action filter_type
action find
entity Q3386881
relation P39
type Q12737077
[ANSWERS]
['Q3386881', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3386881 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
senator of the French Third Republic member of the French National Assembly
And senator of the French Third Republic and member of the French National Assembly
senator of the French Third Republic member of the French National Assembly
action filter_type
action find
entity Pierre Roux-Freissineng
relation position held
type occupation
['Pierre Roux-Freissineng', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Pierre_Roux-Freissineng property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3386881
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Pierre Roux-Freissineng ?
(Q3386881,P27,c(Q15617994))
action filter_type
action find
entity Q3386881
relation P27
type Q15617994
['Q3386881', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3386881 property:P27 ?z }
Pierre Roux-Freissineng
action filter_type
action find
entity Pierre Roux-Freissineng
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Roux-Freissineng', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pierre_Roux-Freissineng property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3386881,P27,c(Q15617994))
action filter_type
action find
entity Q3386881
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Pierre Roux-Freissineng
['Q3386881', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3386881 property:P27 ?z }
France
France is the country of citizenship of Pierre Roux-Freissineng
France
action filter_type
action find
entity Pierre Roux-Freissineng
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Roux-Freissineng', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pierre_Roux-Freissineng property:country_of_citizenship ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q559091
P47
Q15617994
USER
Is Ganzlin adjacent to that one ?
(Q142,P47,Q559091)
action is_in
entity Q559091
action find
entity Q142
relation P47
['Q142', 'P47', 'Q559091']
ASK WHERE { resource:Q142 property:P47 resource:Q559091 }
France Ganzlin
action is_in
entity Ganzlin
action find
entity France
relation shares border with
['France', 'shares border with', 'Ganzlin']
ASK WHERE { resource:France property:shares_border_with resource:Ganzlin }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q142,P47,Q559091)
action is_in
entity Q559091
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q559091']
ASK WHERE { resource:Q142 property:P47 resource:Q559091 }
No
action is_in
entity Ganzlin
action find
entity France
relation shares border with
['France', 'shares border with', 'Ganzlin']
ASK WHERE { resource:France property:shares_border_with resource:Ganzlin }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q34020
P1376
Q15617994 Q56061 Q486972
USER
Which administrative territories have more number of administrative territories or human settlements as their county seat than Niue ?
(c(Q56061)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q34020
relation P1376
type Q56061
type Q486972
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?l WHERE { { ?y rdf:type ontology:Q56061 . ?l rdf:type ontology:Q15617994 . ?y property:P1376 ?l } UNION { ?y property:P1376 ?l . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q486972 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P1376 resource:Q34020 . { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } } } . FILTER ( ?s > ?e ) }
Niue
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Niue
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?l WHERE { { ?y rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:capital_of ?l } UNION { ?y property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:human_settlement } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:capital_of resource:Niue . { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } } } . FILTER ( ?s > ?e ) }
[]
designation for an administrative territorial entity administrative territorial entity human settlement
Q38 Q30 Q805
SYSTEM
Italy, United States of America, Yemen
Q805 Q258 Q1020 Q41 Q30 Q38 Q199688 Q12536 Q517333 Q160307
(c(Q56061)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q34020
relation P1376
type Q56061
type Q486972
[ANSWERS] have more number of administrative territories or human settlements as their county seat than Niue
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?l WHERE { { ?y rdf:type ontology:Q56061 . ?l rdf:type ontology:Q15617994 . ?y property:P1376 ?l } UNION { ?y property:P1376 ?l . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q486972 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P1376 resource:Q34020 . { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } } } . FILTER ( ?s > ?e ) }
Yemen South Africa Malawi Greece United States of America Italy Almohad Abbasid caliphate Principality of Polotsk Fatimid caliphate
Italy, United States of America and Yemen have more number of administrative territories or human settlements as their county seat than Niue
Italy United States of America Yemen
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Niue
relation capital of
type administrative territorial entity
type human settlement
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?l WHERE { { ?y rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:capital_of ?l } UNION { ?y property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:human_settlement } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:capital_of resource:Niue . { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } } } . FILTER ( ?s > ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5372919
P27
Q1048835
USER
How many political territories are Emma Paki an inhabitant of ?
(Q5372919,P27,c(Q1048835))
action count
action filter_type
action find
entity Q5372919
relation P27
type Q1048835
['Q5372919', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q5372919 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Emma Paki
action count
action filter_type
action find
entity Emma Paki
relation country of citizenship
type political territorial entity
['Emma Paki', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Emma_Paki property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q664
(Q5372919,P27,c(Q1048835))
action count
action filter_type
action find
entity Q5372919
relation P27
type Q1048835
[ANSWER]
['Q5372919', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q5372919 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
New Zealand
1
action count
action filter_type
action find
entity Emma Paki
relation country of citizenship
type political territorial entity
['Emma Paki', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Emma_Paki property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2172386
Q1048835
USER
And also tell me about Rudolf Baumann?
(Q2172386,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2172386
relation P27
type Q1048835
['Q2172386', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q2172386 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Rudolf Baumann
action count
action filter_type
action find
entity Rudolf Baumann
relation country of citizenship
type political territorial entity
['Rudolf Baumann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Rudolf_Baumann property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q2172386,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2172386
relation P27
type Q1048835
[ANSWER]
['Q2172386', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q2172386 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Rudolf Baumann
relation country of citizenship
type political territorial entity
['Rudolf Baumann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Rudolf_Baumann property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2172386
P166
Q618779
USER
Which awards were received by that person ?
action filter_type
action find
entity Q2172386
relation P166
type Q618779
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q618779 . resource:Q2172386 property:P166 ?b }
Rudolf Baumann
action filter_type
action find
entity Rudolf Baumann
relation award received
type award
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:award . resource:Rudolf_Baumann property:award_received ?b }
[]
award
Q514659 Q1614821
SYSTEM
Banner of Labor, Hervorragender Wissenschaftler des Volkes
Q514659 Q1614821
action filter_type
action find
entity Q2172386
relation P166
type Q618779
The [ANSWERS] were received by that person
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q618779 . resource:Q2172386 property:P166 ?b }
Banner of Labor Hervorragender Wissenschaftler des Volkes
The Banner of Labor and Hervorragender Wissenschaftler des Volkes were received by that person
Banner of Labor Hervorragender Wissenschaftler des Volkes
action filter_type
action find
entity Rudolf Baumann
relation award received
type award
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:award . resource:Rudolf_Baumann property:award_received ?b }
[]