Simple Question (Direct)
Simple Question
Q3588784
P21
Q290
USER
Which sex does Émile Villemant have ?
(Q3588784,P21,c(Q290))
action filter_type
action find
entity Q3588784
relation P21
type Q290
['Q3588784', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3588784 property:P21 ?b . ?b rdf:type ontology:Q290 }
Émile Villemant
action filter_type
action find
entity Émile Villemant
relation gender
type sex
['Émile Villemant', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Émile_Villemant property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3588784,P21,c(Q290))
action filter_type
action find
entity Q3588784
relation P21
type Q290
Émile Villemant has a [ANSWER]
['Q3588784', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3588784 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Émile Villemant has a male
male
action filter_type
action find
entity Émile Villemant
relation gender
type sex
['Émile Villemant', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Émile_Villemant property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3588784
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3588784
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3588784 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Émile Villemant
action filter_type
action find
entity Émile Villemant
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Émile_Villemant property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3588784
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3588784 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Émile Villemant
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Émile_Villemant property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q23755197
P495
Q838948
USER
Did 600,000 Francs a Month originate in that administrative territory ?
(Q23755197,P495,Q142)
action is_in
entity Q142
action find
entity Q23755197
relation P495
['Q23755197', 'P495', 'Q142']
ASK WHERE { resource:Q23755197 property:P495 resource:Q142 }
France 600,000 Francs a Month
action is_in
entity France
action find
entity 600,000 Francs a Month
relation country of origin
['600,000 Francs a Month', 'country of origin', 'France']
ASK WHERE { resource:600,000_Francs_a_Month property:country_of_origin resource:France }
[]
work of art
SYSTEM
YES
(Q23755197,P495,Q142)
action is_in
entity Q142
action find
entity Q23755197
relation P495
[ANSWER]
['Q23755197', 'P495', 'Q142']
ASK WHERE { resource:Q23755197 property:P495 resource:Q142 }
Yes
action is_in
entity France
action find
entity 600,000 Francs a Month
relation country of origin
['600,000 Francs a Month', 'country of origin', 'France']
ASK WHERE { resource:600,000_Francs_a_Month property:country_of_origin resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3588784 Q7444415 Q26693702
P39
Q12737077
USER
Was Émile Villemant appointed for the position of Secretary of the Commonwealth of Virginia and mayor of Calvarrasa de Abajo ?
(Q3588784,P39,Q7444415) (Q3588784,P39,Q26693702)
action is_in
entity Q3588784
action intersection
action find_reverse
entity Q7444415
relation P39
action find_reverse
entity Q26693702
relation P39
['Q3588784', 'P39', 'Q7444415'] ['Q3588784', 'P39', 'Q26693702']
ASK WHERE { resource:Q3588784 property:P39 resource:Q26693702 . resource:Q3588784 property:P39 resource:Q7444415 }
Émile Villemant Secretary of the Commonwealth of Virginia mayor of Calvarrasa de Abajo
action is_in
entity Émile Villemant
action intersection
action find_reverse
entity Secretary of the Commonwealth of Virginia
relation position held
action find_reverse
entity mayor of Calvarrasa de Abajo
relation position held
['Émile Villemant', 'position held', 'Secretary of the Commonwealth of Virginia'] ['Émile Villemant', 'position held', 'mayor of Calvarrasa de Abajo']
ASK WHERE { resource:Émile_Villemant property:position_held resource:mayor_of_Calvarrasa_de_Abajo . resource:Émile_Villemant property:position_held resource:Secretary_of_the_Commonwealth_of_Virginia }
[]
occupation
SYSTEM
NO
(Q3588784,P39,Q7444415) (Q3588784,P39,Q26693702)
action is_in
entity Q3588784
action intersection
action find_reverse
entity Q7444415
relation P39
action find_reverse
entity Q26693702
relation P39
[ANSWER]
['Q3588784', 'P39', 'Q7444415'] ['Q3588784', 'P39', 'Q26693702']
ASK WHERE { resource:Q3588784 property:P39 resource:Q26693702 . resource:Q3588784 property:P39 resource:Q7444415 }
No
action is_in
entity Émile Villemant
action intersection
action find_reverse
entity Secretary of the Commonwealth of Virginia
relation position held
action find_reverse
entity mayor of Calvarrasa de Abajo
relation position held
['Émile Villemant', 'position held', 'Secretary of the Commonwealth of Virginia'] ['Émile Villemant', 'position held', 'mayor of Calvarrasa de Abajo']
ASK WHERE { resource:Émile_Villemant property:position_held resource:mayor_of_Calvarrasa_de_Abajo . resource:Émile_Villemant property:position_held resource:Secretary_of_the_Commonwealth_of_Virginia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with approximately 93 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 93
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?i ) WHERE { ?x property:P530 ?f . ?x rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?i = 93 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 93
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?i ) WHERE { ?x property:diplomatic_relation ?f . ?x rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?i = 93 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 93
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?i ) WHERE { ?x property:P530 ?f . ?x rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?i = 93 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 93
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?i ) WHERE { ?x property:diplomatic_relation ?f . ?x rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?i = 93 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q20027951 Q2235308
USER
How many people were the team members of approximately 1 aircraft power classes and ship types ?
(c(Q20027951)|c(Q2235308),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
value 1
[[{'concept': 'Q20027951'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?g WHERE { { ?i property:P1029 ?g . ?i rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q502895 } UNION { ?i property:P1029 ?g . ?i rdf:type ontology:Q20027951 . ?g rdf:type ontology:Q502895 } } GROUP BY ?g } . FILTER ( ?d = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
value 1
[[{'concept': 'aircraft power class'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?g WHERE { { ?i property:crew_member ?g . ?i rdf:type ontology:ship_type . ?g rdf:type ontology:common_name } UNION { ?i property:crew_member ?g . ?i rdf:type ontology:aircraft_power_class . ?g rdf:type ontology:common_name } } GROUP BY ?g } . FILTER ( ?d = 1 ) }
[]
common name aircraft power class ship type
SYSTEM
5
Q4103224 Q17478723 Q70468 Q334084 Q294555
(c(Q20027951)|c(Q2235308),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
value 1
[ANSWER]
[[{'concept': 'Q20027951'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?g WHERE { { ?i property:P1029 ?g . ?i rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q502895 } UNION { ?i property:P1029 ?g . ?i rdf:type ontology:Q20027951 . ?g rdf:type ontology:Q502895 } } GROUP BY ?g } . FILTER ( ?d = 1 ) }
Theodore Van Kirk Hans-Kurt von Bremen Otto von Bülow Thomas Grenville Paul Tibbets
5
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
value 1
[[{'concept': 'aircraft power class'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?g WHERE { { ?i property:crew_member ?g . ?i rdf:type ontology:ship_type . ?g rdf:type ontology:common_name } UNION { ?i property:crew_member ?g . ?i rdf:type ontology:aircraft_power_class . ?g rdf:type ontology:common_name } } GROUP BY ?g } . FILTER ( ?d = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q708492
P361
Q1752346
USER
What is councillor a part of ?
(Q708492,P361,c(Q1752346))
action filter_type
action find
entity Q708492
relation P361
type Q1752346
['Q708492', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { resource:Q708492 property:P361 ?b . ?b rdf:type ontology:Q1752346 }
councillor
action filter_type
action find
entity councillor
relation part of
type assembly
['councillor', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { resource:councillor property:part_of ?b . ?b rdf:type ontology:assembly }
[]
assembly
Q3154693
SYSTEM
city council
Q3154693
(Q708492,P361,c(Q1752346))
action filter_type
action find
entity Q708492
relation P361
type Q1752346
Councillor a part of is a [ANSWER]
['Q708492', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { resource:Q708492 property:P361 ?b . ?b rdf:type ontology:Q1752346 }
city council
Councillor a part of is a city council
city council
action filter_type
action find
entity councillor
relation part of
type assembly
['councillor', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { resource:councillor property:part_of ?b . ?b rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3154693
P194
Q56061
USER
What has that assembly as its legislative body ?
(c(Q56061),P194,Q3154693)
action filter_type
action find_reverse
entity Q3154693
relation P194
type Q56061
[{'concept': 'Q56061'}, 'P194', 'Q3154693']
SELECT DISTINCT ?p WHERE { ?p property:P194 resource:Q3154693 . ?p rdf:type ontology:Q56061 }
city council
action filter_type
action find_reverse
entity city council
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', 'city council']
SELECT DISTINCT ?p WHERE { ?p property:legislative_body resource:city_council . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q266510
SYSTEM
Triptis
Q266510
(c(Q56061),P194,Q3154693)
action filter_type
action find_reverse
entity Q3154693
relation P194
type Q56061
[ANSWER] has that assembly as its legislative body
[{'concept': 'Q56061'}, 'P194', 'Q3154693']
SELECT DISTINCT ?p WHERE { ?p property:P194 resource:Q3154693 . ?p rdf:type ontology:Q56061 }
Triptis
Triptis has that assembly as its legislative body
Triptis
action filter_type
action find_reverse
entity city council
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', 'city council']
SELECT DISTINCT ?p WHERE { ?p property:legislative_body resource:city_council . ?p rdf:type ontology:administrative_territorial_entity }
[]