Simple Question (Direct)
Simple Question
Q12981933
P641
Q349
USER
What did Martial Boudet participate in ?
(Q12981933,P641,c(Q349))
action filter_type
action find
entity Q12981933
relation P641
type Q349
['Q12981933', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q12981933 property:P641 ?j . ?j rdf:type ontology:Q349 }
Martial Boudet
action filter_type
action find
entity Martial Boudet
relation sport
type sport
['Martial Boudet', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Martial_Boudet property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q12981933,P641,c(Q349))
action filter_type
action find
entity Q12981933
relation P641
type Q349
Martial Boudet participated in [ANSWER]
['Q12981933', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q12981933 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Martial Boudet participated in association football
association football
action filter_type
action find
entity Martial Boudet
relation sport
type sport
['Martial Boudet', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Martial_Boudet property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12981933
P19
Q20667921
USER
Which french administrative division was that person born at ?
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q12981933
relation P19
type Q20667921
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q12981933 property:P19 ?q . ?q rdf:type ontology:Q20667921 }
Martial Boudet
action filter_type
action find
entity Martial Boudet
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Martial_Boudet property:place_of_birth ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q157010
SYSTEM
Glisy
Q157010
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q12981933
relation P19
type Q20667921
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q12981933 property:P19 ?q . ?q rdf:type ontology:Q20667921 }
Glisy
That person was born in Glisy
Glisy
action filter_type
action find
entity Martial Boudet
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Martial_Boudet property:place_of_birth ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q157010
P47
Q20667921
USER
Which french administrative divisions have an adjacent border with that one ?
(c(Q20667921),P47,Q157010)
action filter_type
action find
entity Q157010
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q157010']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . resource:Q157010 property:P47 ?a }
Glisy
action filter_type
action find
entity Glisy
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Glisy']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . resource:Glisy property:shares_border_with ?a }
[]
type of french administrative division
Q651369 Q1156989 Q683645
SYSTEM
Boves, Blangy-Tronville, Camon
Q651369 Q683645 Q1386306 Q1156989 Q313538
(c(Q20667921),P47,Q157010)
action filter_type
action find
entity Q157010
relation P47
type Q20667921
[ANSWERS] have an adjacent border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q157010']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . resource:Q157010 property:P47 ?a }
Boves Camon Lamotte-Brebière Blangy-Tronville Longueau
Boves, Blangy-Tronville and Camon have an adjacent border with that one
Boves Blangy-Tronville Camon
action filter_type
action find
entity Glisy
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Glisy']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . resource:Glisy property:shares_border_with ?a }
[]
Clarification
Simple Question|Single Entity|Indirect
Q651369
P1376
Q20667921
USER
Which french administrative division has that one as its county seat ?
(Q651369,P1376,c(Q20667921))
action filter_type
action find
entity Q651369
relation P1376
type Q20667921
['Q651369', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q651369 property:P1376 ?r . ?r rdf:type ontology:Q20667921 }
Boves
action filter_type
action find
entity Boves
relation capital of
type type of french administrative division
['Boves', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Boves property:capital_of ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q651369
SYSTEM
Did you mean Boves ?
Q651369 Q1156989 Q683645
(Q651369,P1376,c(Q20667921)) (Q1156989,P1376,c(Q20667921)) (Q683645,P1376,c(Q20667921))
[ANSWER]
['Q651369', 'P1376', {'concept': 'Q20667921'}] ['Q1156989', 'P1376', {'concept': 'Q20667921'}] ['Q683645', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q651369 property:P1376 ?r . ?r rdf:type ontology:Q20667921 }
Boves Blangy-Tronville Camon
Did you mean Boves ?
Boves
['Boves', 'capital of', {'concept': 'type of french administrative division'}] ['Blangy-Tronville', 'capital of', {'concept': 'type of french administrative division'}] ['Camon', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Boves property:capital_of ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q651369,P1376,c(Q20667921))
['Q651369', 'P1376', {'concept': 'Q20667921'}]
['Boves', 'capital of', {'concept': 'type of french administrative division'}]
[]
Q676210
SYSTEM
canton of Boves
Q676210
(Q651369,P1376,c(Q20667921))
action filter_type
action find
entity Q651369
relation P1376
type Q20667921
The [ANSWER] has that one as its county seat
['Q651369', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q651369 property:P1376 ?r . ?r rdf:type ontology:Q20667921 }
canton of Boves
The canton of Boves has that one as its county seat
canton of Boves
action filter_type
action find
entity Boves
relation capital of
type type of french administrative division
['Boves', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Boves property:capital_of ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q676210 Q142 Q183261
P17
Q15617994
USER
Is that french administrative division present in France and Stadelhofen ?
(Q676210,P17,Q142) (Q676210,P17,Q183261)
action is_in
entity Q676210
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q183261
relation P17
['Q676210', 'P17', 'Q142'] ['Q676210', 'P17', 'Q183261']
ASK WHERE { resource:Q676210 property:P17 resource:Q142 . resource:Q676210 property:P17 resource:Q183261 }
canton of Boves France Stadelhofen
action is_in
entity canton of Boves
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Stadelhofen
relation country
['canton of Boves', 'country', 'France'] ['canton of Boves', 'country', 'Stadelhofen']
ASK WHERE { resource:canton_of_Boves property:country resource:France . resource:canton_of_Boves property:country resource:Stadelhofen }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q676210,P17,Q142) (Q676210,P17,Q183261)
action is_in
entity Q676210
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q183261
relation P17
[ANSWER]
['Q676210', 'P17', 'Q142'] ['Q676210', 'P17', 'Q183261']
ASK WHERE { resource:Q676210 property:P17 resource:Q142 . resource:Q676210 property:P17 resource:Q183261 }
YES and NO respectively
action is_in
entity canton of Boves
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Stadelhofen
relation country
['canton of Boves', 'country', 'France'] ['canton of Boves', 'country', 'Stadelhofen']
ASK WHERE { resource:canton_of_Boves property:country resource:France . resource:canton_of_Boves property:country resource:Stadelhofen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12981933 Q142
P27
Q15617994
USER
Is France the country of citizenship of Martial Boudet ?
(Q12981933,P27,Q142)
action is_in
entity Q142
action find
entity Q12981933
relation P27
['Q12981933', 'P27', 'Q142']
ASK WHERE { resource:Q12981933 property:P27 resource:Q142 }
Martial Boudet France
action is_in
entity France
action find
entity Martial Boudet
relation country of citizenship
['Martial Boudet', 'country of citizenship', 'France']
ASK WHERE { resource:Martial_Boudet property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q12981933,P27,Q142)
action is_in
entity Q142
action find
entity Q12981933
relation P27
[ANSWER]
['Q12981933', 'P27', 'Q142']
ASK WHERE { resource:Q12981933 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Martial Boudet
relation country of citizenship
['Martial Boudet', 'country of citizenship', 'France']
ASK WHERE { resource:Martial_Boudet property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q651369
P47
Q20667921
USER
How many french administrative divisions share the border with Boves ?
(Q651369,P47,c(Q20667921))
action count
action filter_type
action find
entity Q651369
relation P47
type Q20667921
['Q651369', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q651369 property:P47 ?v . ?v rdf:type ontology:Q20667921 }
Boves
action count
action filter_type
action find
entity Boves
relation shares border with
type type of french administrative division
['Boves', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Boves property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
10
Q146155 Q795923 Q157010 Q70106 Q156857 Q636028 Q758973 Q1156989 Q313538 Q519360
(Q651369,P47,c(Q20667921))
action count
action filter_type
action find
entity Q651369
relation P47
type Q20667921
[ANSWER]
['Q651369', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q651369 property:P47 ?v . ?v rdf:type ontology:Q20667921 }
Fouencamps Thézy-Glimont Glisy Cottenchy Gentelles Cagny Saint-Fuscien Blangy-Tronville Longueau Sains-en-Amiénois
10
action count
action filter_type
action find
entity Boves
relation shares border with
type type of french administrative division
['Boves', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Boves property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1074229
Q20667921
USER
And how about Houville-en-Vexin?
(Q1074229,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1074229
relation P47
type Q20667921
['Q1074229', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q1074229 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Houville-en-Vexin
action count
action filter_type
action find
entity Houville-en-Vexin
relation shares border with
type type of french administrative division
['Houville-en-Vexin', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Houville-en-Vexin property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
6
(Q1074229,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1074229
relation P47
type Q20667921
[ANSWER]
['Q1074229', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q1074229 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
6
action count
action filter_type
action find
entity Houville-en-Vexin
relation shares border with
type type of french administrative division
['Houville-en-Vexin', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Houville-en-Vexin property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5431442 Q676210
P17
Q15617994
USER
Which administrative territories are canton of Boves or Fak Tha situated in ?
OR((Q676210,P17,c(Q15617994)), (Q5431442,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q676210
relation P17
action find
entity Q5431442
relation P17
type Q15617994
{'OR': [['Q676210', 'P17', {'concept': 'Q15617994'}], ['Q5431442', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q676210 property:P17 ?k } UNION { resource:Q5431442 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Fak Tha canton of Boves
action filter_type
action union
action find
entity canton of Boves
relation country
action find
entity Fak Tha
relation country
type designation for an administrative territorial entity
{'OR': [['canton of Boves', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fak Tha', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:canton_of_Boves property:country ?k } UNION { resource:Fak_Tha property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q869
SYSTEM
France, Thailand
Q142 Q869
OR((Q676210,P17,c(Q15617994)), (Q5431442,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q676210
relation P17
action find
entity Q5431442
relation P17
type Q15617994
[ANSWERS] are canton of Boves or Fak Tha situated in
{'OR': [['Q676210', 'P17', {'concept': 'Q15617994'}], ['Q5431442', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q676210 property:P17 ?k } UNION { resource:Q5431442 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
France Thailand
France and Thailand are canton of Boves or Fak Tha situated in
France Thailand
action filter_type
action union
action find
entity canton of Boves
relation country
action find
entity Fak Tha
relation country
type designation for an administrative territorial entity
{'OR': [['canton of Boves', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fak Tha', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:canton_of_Boves property:country ?k } UNION { resource:Fak_Tha property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with more number of administrative territories than Denmark ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?q ) WHERE { ?j property:P530 ?h . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q35 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?q > ?l ) }
Denmark
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?q ) WHERE { ?j property:diplomatic_relation ?h . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Denmark property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?q > ?l ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q40 Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?q ) WHERE { ?j property:P530 ?h . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q35 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?q > ?l ) }
Austria Germany Australia Canada
4
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?q ) WHERE { ?j property:diplomatic_relation ?h . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Denmark property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?q > ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with exactly 5 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 5
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { FILTER ( ?a = 5 ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?a ) WHERE { ?n rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?n property:P530 ?s } GROUP BY ?n } }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { FILTER ( ?a = 5 ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?a ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?s } GROUP BY ?n } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1
Q40
(c(Q1048835),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 5
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { FILTER ( ?a = 5 ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?a ) WHERE { ?n rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?n property:P530 ?s } GROUP BY ?n } }
Austria
1
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { FILTER ( ?a = 5 ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?a ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?s } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P30
Q2221906
USER
Which geographic locations are France located in ?
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q142 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
France
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:France property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q538 Q828 Q51
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
France are located in [ANSWERS]
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q142 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Europe Africa Oceania Americas Antarctica
France are located in Antarctica, Africa and Europe
Antarctica Africa Europe
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:France property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15
P172
Q502895
USER
Which person has that geographic location as his/her ethnicity ?
(c(Q502895),P172,Q15)
action filter_type
action find_reverse
entity Q15
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q15']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P172 resource:Q15 }
Africa
action filter_type
action find_reverse
entity Africa
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Africa']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:ethnic_group resource:Africa }
[]
common name
Clarification for simple ques.
Q15
SYSTEM
Did you mean Africa ?
Q51 Q15 Q46
(c(Q502895),P172,Q51) (c(Q502895),P172,Q15) (c(Q502895),P172,Q46)
[ANSWER]
[{'concept': 'Q502895'}, 'P172', 'Q51'] [{'concept': 'Q502895'}, 'P172', 'Q15'] [{'concept': 'Q502895'}, 'P172', 'Q46']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P172 resource:Q15 }
Antarctica Africa Europe
Did you mean Africa ?
Africa
[{'concept': 'common name'}, 'ethnic group', 'Antarctica'] [{'concept': 'common name'}, 'ethnic group', 'Africa'] [{'concept': 'common name'}, 'ethnic group', 'Europe']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:ethnic_group resource:Africa }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P172,Q15)
[{'concept': 'Q502895'}, 'P172', 'Q15']
[{'concept': 'common name'}, 'ethnic group', 'Africa']
[]
Q25324913
SYSTEM
Zaena Morisho
Q25324913
(c(Q502895),P172,Q15)
action filter_type
action find_reverse
entity Q15
relation P172
type Q502895
[ANSWER] has that geographic location as his/her ethnicity
[{'concept': 'Q502895'}, 'P172', 'Q15']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P172 resource:Q15 }
Zaena Morisho
Zaena Morisho has that geographic location as his/her ethnicity
Zaena Morisho
action filter_type
action find_reverse
entity Africa
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Africa']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:ethnic_group resource:Africa }
[]