Simple Question (Direct)
Simple Question
Q20987727
P106
Q12737077
USER
What is the profession of Mohammad Alinejad ?
(Q20987727,P106,c(Q12737077))
action filter_type
action find
entity Q20987727
relation P106
type Q12737077
['Q20987727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q20987727 property:P106 ?q }
Mohammad Alinejad
action filter_type
action find
entity Mohammad Alinejad
relation occupation
type occupation
['Mohammad Alinejad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Mohammad_Alinejad property:occupation ?q }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20987727,P106,c(Q12737077))
action filter_type
action find
entity Q20987727
relation P106
type Q12737077
The profession of Mohammad Alinejad is an [ANSWER]
['Q20987727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q20987727 property:P106 ?q }
association football player
The profession of Mohammad Alinejad is an association football player
association football player
action filter_type
action find
entity Mohammad Alinejad
relation occupation
type occupation
['Mohammad Alinejad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Mohammad_Alinejad property:occupation ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20987727
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q20987727
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q20987727 property:P641 ?v }
Mohammad Alinejad
action filter_type
action find
entity Mohammad Alinejad
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Mohammad_Alinejad property:sport ?v }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q20987727
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q20987727 property:P641 ?v }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Mohammad Alinejad
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Mohammad_Alinejad property:sport ?v }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5552603 Q20987727
P19 P20
Q56061
USER
Which administrative territories were Mohammad Alinejad born in or did Gerrit de Graeff (III.) van Zuid-Polsbroek die ?
OR((Q20987727,P19,c(Q56061)), (Q5552603,P20,c(Q56061)))
action filter_type
action union
action find
entity Q20987727
relation P19
action find
entity Q5552603
relation P20
type Q56061
{'OR': [['Q20987727', 'P19', {'concept': 'Q56061'}], ['Q5552603', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . { { resource:Q20987727 property:P19 ?t } UNION { resource:Q5552603 property:P20 ?t } } }
Gerrit de Graeff (III.) van Zuid-Polsbroek Mohammad Alinejad
action filter_type
action union
action find
entity Mohammad Alinejad
relation place of birth
action find
entity Gerrit de Graeff (III.) van Zuid-Polsbroek
relation place of death
type administrative territorial entity
{'OR': [['Mohammad Alinejad', 'place of birth', {'concept': 'administrative territorial entity'}], ['Gerrit de Graeff (III.) van Zuid-Polsbroek', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . { { resource:Mohammad_Alinejad property:place_of_birth ?t } UNION { resource:Gerrit_de_Graeff_(III.)_van_Zuid-Polsbroek property:place_of_death ?t } } }
[]
administrative territorial entity
Q727 Q188155
SYSTEM
Amsterdam, Gorgan
Q727 Q188155
OR((Q20987727,P19,c(Q56061)), (Q5552603,P20,c(Q56061)))
action filter_type
action union
action find
entity Q20987727
relation P19
action find
entity Q5552603
relation P20
type Q56061
[ANSWERS] were Mohammad Alinejad born in or did Gerrit de Graeff (III.) van Zuid-Polsbroek die
{'OR': [['Q20987727', 'P19', {'concept': 'Q56061'}], ['Q5552603', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . { { resource:Q20987727 property:P19 ?t } UNION { resource:Q5552603 property:P20 ?t } } }
Amsterdam Gorgan
Amsterdam and Gorgan were Mohammad Alinejad born in or did Gerrit de Graeff (III.) van Zuid-Polsbroek die
Amsterdam Gorgan
action filter_type
action union
action find
entity Mohammad Alinejad
relation place of birth
action find
entity Gerrit de Graeff (III.) van Zuid-Polsbroek
relation place of death
type administrative territorial entity
{'OR': [['Mohammad Alinejad', 'place of birth', {'concept': 'administrative territorial entity'}], ['Gerrit de Graeff (III.) van Zuid-Polsbroek', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . { { resource:Mohammad_Alinejad property:place_of_birth ?t } UNION { resource:Gerrit_de_Graeff_(III.)_van_Zuid-Polsbroek property:place_of_death ?t } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16494093 Q20987727
P19
Q56061
USER
Which administrative territories were Mohammad Alinejad or Mauro Carranza born in ?
OR((Q20987727,P19,c(Q56061)), (Q16494093,P19,c(Q56061)))
action filter_type
action union
action find
entity Q20987727
relation P19
action find
entity Q16494093
relation P19
type Q56061
{'OR': [['Q20987727', 'P19', {'concept': 'Q56061'}], ['Q16494093', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q20987727 property:P19 ?o } UNION { resource:Q16494093 property:P19 ?o } } . ?o rdf:type ontology:Q56061 }
Mauro Carranza Mohammad Alinejad
action filter_type
action union
action find
entity Mohammad Alinejad
relation place of birth
action find
entity Mauro Carranza
relation place of birth
type administrative territorial entity
{'OR': [['Mohammad Alinejad', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mauro Carranza', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Mohammad_Alinejad property:place_of_birth ?o } UNION { resource:Mauro_Carranza property:place_of_birth ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q188155 Q44253
SYSTEM
Gorgan, Santiago del Estero
Q188155 Q44253
OR((Q20987727,P19,c(Q56061)), (Q16494093,P19,c(Q56061)))
action filter_type
action union
action find
entity Q20987727
relation P19
action find
entity Q16494093
relation P19
type Q56061
Mohammad Alinejad or Mauro Carranza were born in [ANSWERS]
{'OR': [['Q20987727', 'P19', {'concept': 'Q56061'}], ['Q16494093', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q20987727 property:P19 ?o } UNION { resource:Q16494093 property:P19 ?o } } . ?o rdf:type ontology:Q56061 }
Gorgan Santiago del Estero
Mohammad Alinejad or Mauro Carranza were born in Gorgan and Santiago del Estero
Gorgan Santiago del Estero
action filter_type
action union
action find
entity Mohammad Alinejad
relation place of birth
action find
entity Mauro Carranza
relation place of birth
type administrative territorial entity
{'OR': [['Mohammad Alinejad', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mauro Carranza', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Mohammad_Alinejad property:place_of_birth ?o } UNION { resource:Mauro_Carranza property:place_of_birth ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3371316 Q16494093
P19
Q56061
USER
Which administrative territories were Mauro Carranza or Paul Gigi born ?
OR((Q16494093,P19,c(Q56061)), (Q3371316,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16494093
relation P19
action find
entity Q3371316
relation P19
type Q56061
{'OR': [['Q16494093', 'P19', {'concept': 'Q56061'}], ['Q3371316', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { ?a property:P19 ?z . VALUES ( ?a ) { ( resource:Q16494093 ) ( resource:Q3371316 ) } } . ?z rdf:type ontology:Q56061 }
Paul Gigi Mauro Carranza
action filter_type
action union
action find
entity Mauro Carranza
relation place of birth
action find
entity Paul Gigi
relation place of birth
type administrative territorial entity
{'OR': [['Mauro Carranza', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Gigi', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?a property:place_of_birth ?z . VALUES ( ?a ) { ( resource:Mauro_Carranza ) ( resource:Paul_Gigi ) } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37776 Q44253
SYSTEM
Besançon, Santiago del Estero
Q37776 Q44253
OR((Q16494093,P19,c(Q56061)), (Q3371316,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16494093
relation P19
action find
entity Q3371316
relation P19
type Q56061
[ANSWERS] were Mauro Carranza or Paul Gigi born
{'OR': [['Q16494093', 'P19', {'concept': 'Q56061'}], ['Q3371316', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { ?a property:P19 ?z . VALUES ( ?a ) { ( resource:Q16494093 ) ( resource:Q3371316 ) } } . ?z rdf:type ontology:Q56061 }
Besançon Santiago del Estero
Besançon and Santiago del Estero were Mauro Carranza or Paul Gigi born
Besançon Santiago del Estero
action filter_type
action union
action find
entity Mauro Carranza
relation place of birth
action find
entity Paul Gigi
relation place of birth
type administrative territorial entity
{'OR': [['Mauro Carranza', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Gigi', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?a property:place_of_birth ?z . VALUES ( ?a ) { ( resource:Mauro_Carranza ) ( resource:Paul_Gigi ) } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions are adjacent to that administrative territory ?
(Q37776,P47,c(Q20667921))
['Q37776', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2899842 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
['Besançon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Besançon property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Quantitative|Count|Single entity type|Clarification
Q37776
SYSTEM
Did you mean Besançon ?
(Q37776,P47,c(Q20667921)) (Q44253,P47,c(Q20667921))
[ANSWER]
['Q37776', 'P47', {'concept': 'Q20667921'}] ['Q44253', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2899842 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Did you mean Besançon ?
Besançon
['Besançon', 'shares border with', {'concept': 'type of french administrative division'}] ['Santiago del Estero', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Besançon property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q37776,P47,c(Q20667921))
['Q37776', 'P47', {'concept': 'Q20667921'}]
['Besançon', 'shares border with', {'concept': 'type of french administrative division'}]
[]
SYSTEM
8
Q906146 Q906642 Q518781 Q547353 Q682514 Q906545 Q905860 Q906161
(Q37776,P47,c(Q20667921))
[ANSWER]
['Q37776', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2899842 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Serre-les-Sapins Pouilley-les-Vignes Montfaucon Thise Tallenay Pirey Vieilley Morre
8
['Besançon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Besançon property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37776
P159
Q874405
USER
Which social groups have their head office location at Besançon ?
(c(Q874405),P159,Q37776)
action filter_type
action find_reverse
entity Q37776
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q37776']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q874405 . ?v property:P159 resource:Q37776 }
Besançon
action filter_type
action find_reverse
entity Besançon
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Besançon']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:social_group . ?v property:headquarters_location resource:Besançon }
[]
social group
Q3572153 Q952244
SYSTEM
Yema, Energy Cities
Q3572153 Q952244
(c(Q874405),P159,Q37776)
action filter_type
action find_reverse
entity Q37776
relation P159
type Q874405
[ANSWERS] have their head office location at Besançon
[{'concept': 'Q874405'}, 'P159', 'Q37776']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q874405 . ?v property:P159 resource:Q37776 }
Yema Energy Cities
Yema and Energy Cities have their head office location at Besançon
Yema Energy Cities
action filter_type
action find_reverse
entity Besançon
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Besançon']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:social_group . ?v property:headquarters_location resource:Besançon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37776
P6
Q502895
USER
Which person does that administrative territory serve as the head of government for ?
(Q3572153,P6,c(Q502895)) (Q952244,P6,c(Q502895))
action filter_type
action find
entity Q37776
relation P6
type Q502895
['Q3572153', 'P6', {'concept': 'Q502895'}] ['Q952244', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q37776 property:P6 ?j }
Besançon
action filter_type
action find
entity Besançon
relation head of government
type common name
['Yema', 'head of government', {'concept': 'common name'}] ['Energy Cities', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Besançon property:head_of_government ?j }
[]
common name
Q287931
SYSTEM
Jean-Louis Fousseret
Q287931
(Q3572153,P6,c(Q502895)) (Q952244,P6,c(Q502895))
action filter_type
action find
entity Q37776
relation P6
type Q502895
For [ANSWER] that administrative territory serves as the head of government for
['Q3572153', 'P6', {'concept': 'Q502895'}] ['Q952244', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q37776 property:P6 ?j }
Jean-Louis Fousseret
For Jean-Louis Fousseret that administrative territory serves as the head of government for
Jean-Louis Fousseret
action filter_type
action find
entity Besançon
relation head of government
type common name
['Yema', 'head of government', {'concept': 'common name'}] ['Energy Cities', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Besançon property:head_of_government ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 2089 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2089
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { FILTER ( ?b >= 2089 ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:P1303 ?d . ?v rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2089
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { FILTER ( ?b >= 2089 ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:instrument ?d . ?v rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2089
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { FILTER ( ?b >= 2089 ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:P1303 ?d . ?v rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2089
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { FILTER ( ?b >= 2089 ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:instrument ?d . ?v rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } }
[]