Simple Question (Direct)
Simple Question
Q3270682
P39
Q12737077
USER
Which occupation was a position occupied by Léon Archimbaud ?
(Q3270682,P39,c(Q12737077))
action filter_type
action find
entity Q3270682
relation P39
type Q12737077
['Q3270682', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3270682 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Léon Archimbaud
action filter_type
action find
entity Léon Archimbaud
relation position held
type occupation
['Léon Archimbaud', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Léon_Archimbaud property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3270682,P39,c(Q12737077))
action filter_type
action find
entity Q3270682
relation P39
type Q12737077
A member of the French National Assembly was a position occupied by Léon Archimbaud
['Q3270682', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3270682 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position occupied by Léon Archimbaud
member of the French National Assembly
action filter_type
action find
entity Léon Archimbaud
relation position held
type occupation
['Léon Archimbaud', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Léon_Archimbaud property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3270682
P21
Q290
USER
What is the sex of Léon Archimbaud ?
(Q3270682,P21,c(Q290))
action filter_type
action find
entity Q3270682
relation P21
type Q290
['Q3270682', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3270682 property:P21 ?h . ?h rdf:type ontology:Q290 }
Léon Archimbaud
action filter_type
action find
entity Léon Archimbaud
relation gender
type sex
['Léon Archimbaud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Léon_Archimbaud property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3270682,P21,c(Q290))
action filter_type
action find
entity Q3270682
relation P21
type Q290
The sex of Léon Archimbaud is the [ANSWER]
['Q3270682', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3270682 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Léon Archimbaud is the male
male
action filter_type
action find
entity Léon Archimbaud
relation gender
type sex
['Léon Archimbaud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Léon_Archimbaud property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3270682
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3270682
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3270682 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Léon Archimbaud
action filter_type
action find
entity Léon Archimbaud
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Léon_Archimbaud property:country_of_citizenship ?f . ?f 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 Q3270682
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3270682 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Léon Archimbaud
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Léon_Archimbaud property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
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 30 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 30
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?s = 30 ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?s ) WHERE { ?u property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?u } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?s = 30 ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?s ) WHERE { ?u property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?u } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 30
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?s = 30 ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?s ) WHERE { ?u property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?u } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?s = 30 ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?s ) WHERE { ?u property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3270682
P102
Q7210356
USER
Which political organization is Léon Archimbaud a member of ?
(Q3270682,P102,c(Q7210356))
action filter_type
action find
entity Q3270682
relation P102
type Q7210356
['Q3270682', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q3270682 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Léon Archimbaud
action filter_type
action find
entity Léon Archimbaud
relation member of political party
type political organization
['Léon Archimbaud', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Léon_Archimbaud property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q11502881
SYSTEM
Republican, Radical and Radical-Socialist Party
Q11502881
(Q3270682,P102,c(Q7210356))
action filter_type
action find
entity Q3270682
relation P102
type Q7210356
The [ANSWER] is Léon Archimbaud a member of
['Q3270682', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q3270682 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Republican, Radical and Radical-Socialist Party
The Republican, Radical and Radical-Socialist Party is Léon Archimbaud a member of
Republican, Radical and Radical-Socialist Party
action filter_type
action find
entity Léon Archimbaud
relation member of political party
type political organization
['Léon Archimbaud', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Léon_Archimbaud property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3270682
P106
Q12737077
USER
What does Léon Archimbaud do for a living ?
(Q3270682,P106,c(Q12737077))
action filter_type
action find
entity Q3270682
relation P106
type Q12737077
['Q3270682', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3270682 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Léon Archimbaud
action filter_type
action find
entity Léon Archimbaud
relation occupation
type occupation
['Léon Archimbaud', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Léon_Archimbaud property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3270682,P106,c(Q12737077))
action filter_type
action find
entity Q3270682
relation P106
type Q12737077
Léon Archimbaud does a [ANSWER] for a living
['Q3270682', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3270682 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician
Léon Archimbaud does a politician for a living
politician
action filter_type
action find
entity Léon Archimbaud
relation occupation
type occupation
['Léon Archimbaud', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Léon_Archimbaud property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q2897683 Q3270682
P106
Q12737077
USER
And also Bernard Chenot
AND((Q3270682,P106,c(Q12737077)), (Q2897683,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3270682
relation P106
action find
entity Q2897683
relation P106
type Q12737077
{'AND': [['Q3270682', 'P106', {'concept': 'Q12737077'}], ['Q2897683', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { resource:Q2897683 property:P106 ?l . resource:Q3270682 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Bernard Chenot Léon Archimbaud
action filter_type
action intersection
action find
entity Léon Archimbaud
relation occupation
action find
entity Bernard Chenot
relation occupation
type occupation
{'AND': [['Léon Archimbaud', 'occupation', {'concept': 'occupation'}], ['Bernard Chenot', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { resource:Bernard_Chenot property:occupation ?l . resource:Léon_Archimbaud property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q3270682,P106,c(Q12737077)), (Q2897683,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3270682
relation P106
action find
entity Q2897683
relation P106
type Q12737077
[ANSWER]
{'AND': [['Q3270682', 'P106', {'concept': 'Q12737077'}], ['Q2897683', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { resource:Q2897683 property:P106 ?l . resource:Q3270682 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action intersection
action find
entity Léon Archimbaud
relation occupation
action find
entity Bernard Chenot
relation occupation
type occupation
{'AND': [['Léon Archimbaud', 'occupation', {'concept': 'occupation'}], ['Bernard Chenot', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { resource:Bernard_Chenot property:occupation ?l . resource:Léon_Archimbaud property:occupation ?l . ?l rdf:type ontology:occupation }
[]