Simple Question (Direct)
Simple Question
Q3011924
P106
Q12737077
USER
What is the job of Dagui Bakari ?
(Q3011924,P106,c(Q12737077))
action filter_type
action find
entity Q3011924
relation P106
type Q12737077
['Q3011924', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3011924 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Dagui Bakari
action filter_type
action find
entity Dagui Bakari
relation occupation
type occupation
['Dagui Bakari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Dagui_Bakari property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3011924,P106,c(Q12737077))
action filter_type
action find
entity Q3011924
relation P106
type Q12737077
The job of Dagui Bakari is an [ANSWER]
['Q3011924', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3011924 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
The job of Dagui Bakari is an association football player
association football player
action filter_type
action find
entity Dagui Bakari
relation occupation
type occupation
['Dagui Bakari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Dagui_Bakari property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3011924
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q3011924
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q3011924 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Dagui Bakari
action filter_type
action find
entity Dagui Bakari
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Dagui_Bakari property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q3011924
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q3011924 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Paris
That person was born in Paris
Paris
action filter_type
action find
entity Dagui Bakari
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Dagui_Bakari property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3011924
P54
Q1194951
USER
What is that person a member of ?
(Q90,P54,c(Q1194951))
action filter_type
action find
entity Q3011924
relation P54
type Q1194951
['Q90', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { resource:Q3011924 property:P54 ?m . ?m rdf:type ontology:Q1194951 }
Dagui Bakari
action filter_type
action find
entity Dagui Bakari
relation member of sports team
type national sports team
['Paris', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { resource:Dagui_Bakari property:member_of_sports_team ?m . ?m rdf:type ontology:national_sports_team }
[]
national sports team
Q175145
SYSTEM
Ivory Coast national football team
Q175145
(Q90,P54,c(Q1194951))
action filter_type
action find
entity Q3011924
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q90', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { resource:Q3011924 property:P54 ?m . ?m rdf:type ontology:Q1194951 }
Ivory Coast national football team
That person a member of is the Ivory Coast national football team
Ivory Coast national football team
action filter_type
action find
entity Dagui Bakari
relation member of sports team
type national sports team
['Paris', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { resource:Dagui_Bakari property:member_of_sports_team ?m . ?m rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q158893 Q3011924
P47 P27
Q15617994
USER
Which administrative territories are Dagui Bakari a civilian of or share the border with Friedrichshain-Kreuzberg ?
OR((Q3011924,P27,c(Q15617994)), (Q158893,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3011924
relation P27
action find
entity Q158893
relation P47
type Q15617994
{'OR': [['Q3011924', 'P27', {'concept': 'Q15617994'}], ['Q158893', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3011924 property:P27 ?s } UNION { resource:Q158893 property:P47 ?s } } . ?s rdf:type ontology:Q15617994 }
Friedrichshain-Kreuzberg Dagui Bakari
action filter_type
action union
action find
entity Dagui Bakari
relation country of citizenship
action find
entity Friedrichshain-Kreuzberg
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Dagui Bakari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Friedrichshain-Kreuzberg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Dagui_Bakari property:country_of_citizenship ?s } UNION { resource:Friedrichshain-Kreuzberg property:shares_border_with ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q163966 Q1008 Q158089 Q158106 Q4071168 Q163012 Q329609
SYSTEM
France, Mitte, Côte d'Ivoire, Treptow-Köpenick, Tempelhof-Schöneberg, Neukölln, Pankow, Lichtenberg
Q142 Q163966 Q1008 Q158089 Q158106 Q4071168 Q163012 Q329609
OR((Q3011924,P27,c(Q15617994)), (Q158893,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3011924
relation P27
action find
entity Q158893
relation P47
type Q15617994
[ANSWERS] are Dagui Bakari a civilian of or share the border with Friedrichshain-Kreuzberg
{'OR': [['Q3011924', 'P27', {'concept': 'Q15617994'}], ['Q158893', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3011924 property:P27 ?s } UNION { resource:Q158893 property:P47 ?s } } . ?s rdf:type ontology:Q15617994 }
France Mitte Côte d'Ivoire Treptow-Köpenick Tempelhof-Schöneberg Neukölln Pankow Lichtenberg
France, Mitte, Côte d'Ivoire, Treptow-Köpenick, Tempelhof-Schöneberg, Neukölln, Pankow and Lichtenberg are Dagui Bakari a civilian of or share the border with Friedrichshain-Kreuzberg
France Mitte Côte d'Ivoire Treptow-Köpenick Tempelhof-Schöneberg Neukölln Pankow Lichtenberg
action filter_type
action union
action find
entity Dagui Bakari
relation country of citizenship
action find
entity Friedrichshain-Kreuzberg
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Dagui Bakari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Friedrichshain-Kreuzberg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Dagui_Bakari property:country_of_citizenship ?s } UNION { resource:Friedrichshain-Kreuzberg property:shares_border_with ?s } } . ?s 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 46 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 46
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?r ) WHERE { ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?h property:P530 ?o } GROUP BY ?h } . FILTER ( ?r = 46 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 46
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?r ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?o } GROUP BY ?h } . FILTER ( ?r = 46 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3
Q40 Q35 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 46
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?r ) WHERE { ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?h property:P530 ?o } GROUP BY ?h } . FILTER ( ?r = 46 ) }
Austria Denmark Canada
3
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 46
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?r ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?o } GROUP BY ?h } . FILTER ( ?r = 46 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with atleast 108 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 108
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 . ?z property:P530 ?b } GROUP BY ?z } . FILTER ( ?a >= 108 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 108
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity . ?z property:diplomatic_relation ?b } GROUP BY ?z } . FILTER ( ?a >= 108 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 108
[ANSWER] have diplomatic relations with atleast 108 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 . ?z property:P530 ?b } GROUP BY ?z } . FILTER ( ?a >= 108 ) }
Germany
Germany have diplomatic relations with atleast 108 administrative territories
Germany
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 108
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity . ?z property:diplomatic_relation ?b } GROUP BY ?z } . FILTER ( ?a >= 108 ) }
[]