Simple Question (Direct)
Simple Question
Q4894140
P20
Q20667921
USER
Where did the expiration of Juliana Morell occur ?
(Q4894140,P20,c(Q20667921))
action filter_type
action find
entity Q4894140
relation P20
type Q20667921
['Q4894140', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q4894140 property:P20 ?l . ?l rdf:type ontology:Q20667921 }
Juliana Morell
action filter_type
action find
entity Juliana Morell
relation place of death
type type of french administrative division
['Juliana Morell', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Juliana_Morell property:place_of_death ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6397
SYSTEM
Avignon
Q6397
(Q4894140,P20,c(Q20667921))
action filter_type
action find
entity Q4894140
relation P20
type Q20667921
The expiration of Juliana Morell occurred in [ANSWER]
['Q4894140', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q4894140 property:P20 ?l . ?l rdf:type ontology:Q20667921 }
Avignon
The expiration of Juliana Morell occurred in Avignon
Avignon
action filter_type
action find
entity Juliana Morell
relation place of death
type type of french administrative division
['Juliana Morell', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Juliana_Morell property:place_of_death ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4894140
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Juliana Morell ?
(Q4894140,P27,c(Q15617994))
action filter_type
action find
entity Q4894140
relation P27
type Q15617994
['Q4894140', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4894140 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Juliana Morell
action filter_type
action find
entity Juliana Morell
relation country of citizenship
type designation for an administrative territorial entity
['Juliana Morell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Juliana_Morell property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q4894140,P27,c(Q15617994))
action filter_type
action find
entity Q4894140
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Juliana Morell
['Q4894140', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4894140 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Spain
Spain is the country of citizenship of Juliana Morell
Spain
action filter_type
action find
entity Juliana Morell
relation country of citizenship
type designation for an administrative territorial entity
['Juliana Morell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Juliana_Morell property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29 Q5800267
P27
Q502895
USER
Is David Pinillos a native of that administrative territory ?
(Q5800267,P27,Q29)
action is_in
entity Q29
action find
entity Q5800267
relation P27
['Q5800267', 'P27', 'Q29']
ASK WHERE { resource:Q5800267 property:P27 resource:Q29 }
Spain David Pinillos
action is_in
entity Spain
action find
entity David Pinillos
relation country of citizenship
['David Pinillos', 'country of citizenship', 'Spain']
ASK WHERE { resource:David_Pinillos property:country_of_citizenship resource:Spain }
[]
common name
SYSTEM
YES
(Q5800267,P27,Q29)
action is_in
entity Q29
action find
entity Q5800267
relation P27
[ANSWER]
['Q5800267', 'P27', 'Q29']
ASK WHERE { resource:Q5800267 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity David Pinillos
relation country of citizenship
['David Pinillos', 'country of citizenship', 'Spain']
ASK WHERE { resource:David_Pinillos property:country_of_citizenship resource:Spain }
[]
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 around 46 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 46
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?c ) WHERE { ?l property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?c = 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': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?c ) WHERE { ?l property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?c = 46 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q40 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 46
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?c ) WHERE { ?l property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?c = 46 ) }
Austria Canada
2
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': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?c ) WHERE { ?l property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?c = 46 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6397
P127
Q41176
USER
Which building is owned by Avignon ?
(c(Q41176),P127,Q6397)
action filter_type
action find_reverse
entity Q6397
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q6397']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q6397 . ?p rdf:type ontology:Q41176 }
Avignon
action filter_type
action find_reverse
entity Avignon
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Avignon']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Avignon . ?p rdf:type ontology:building }
[]
building
Q20899071
SYSTEM
palais des papes d'Avignon - Chapelle Saint Marial
Q20899071
(c(Q41176),P127,Q6397)
action filter_type
action find_reverse
entity Q6397
relation P127
type Q41176
[ANSWER] is owned by Avignon
[{'concept': 'Q41176'}, 'P127', 'Q6397']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q6397 . ?p rdf:type ontology:Q41176 }
palais des papes d'Avignon - Chapelle Saint Marial
Palais des papes d'Avignon - Chapelle Saint Marial is owned by Avignon
palais des papes d'Avignon - Chapelle Saint Marial
action filter_type
action find_reverse
entity Avignon
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Avignon']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Avignon . ?p rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6397
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(Q20899071,P47,c(Q20667921))
action filter_type
action find
entity Q6397
relation P47
type Q20667921
['Q20899071', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q6397 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Avignon
action filter_type
action find
entity Avignon
relation shares border with
type type of french administrative division
["palais des papes d'Avignon - Chapelle Saint Marial", 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Avignon property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q269113 Q474034 Q538880
SYSTEM
Villeneuve-lès-Avignon, Noves, Sorgues
Q266880 Q471321 Q379963 Q330430 Q474034 Q474021 Q225501 Q269113 Q538880 Q676015
(Q20899071,P47,c(Q20667921))
action filter_type
action find
entity Q6397
relation P47
type Q20667921
[ANSWERS] are bordered by that one
['Q20899071', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q6397 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Les Angles Morières-lès-Avignon Caumont-sur-Durance Barbentane Noves Châteaurenard Le Pontet Villeneuve-lès-Avignon Sorgues Rognonas
Villeneuve-lès-Avignon, Noves and Sorgues are bordered by that one
Villeneuve-lès-Avignon Noves Sorgues
action filter_type
action find
entity Avignon
relation shares border with
type type of french administrative division
["palais des papes d'Avignon - Chapelle Saint Marial", 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Avignon property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6397
P47
Q20667921
USER
Do Avignon have an adjacent border with those ones ?
(Q6397,P47,Q269113) (Q6397,P47,Q474034) (Q6397,P47,Q538880)
action is_in
entity prev_answer
action find
entity Q6397
relation P47
['Q6397', 'P47', 'Q269113'] ['Q6397', 'P47', 'Q474034'] ['Q6397', 'P47', 'Q538880']
ASK WHERE { resource:Q6397 property:P47 ?c . VALUES ( ?c ) { ( resource:Q266880 ) ( resource:Q471321 ) ( resource:Q379963 ) } }
Avignon
action is_in
entity prev_answer
action find
entity Avignon
relation shares border with
['Avignon', 'shares border with', 'Villeneuve-lès-Avignon'] ['Avignon', 'shares border with', 'Noves'] ['Avignon', 'shares border with', 'Sorgues']
ASK WHERE { resource:Avignon property:shares_border_with ?c . VALUES ( ?c ) { ( resource:Les_Angles ) ( resource:Morières-lès-Avignon ) ( resource:Caumont-sur-Durance ) } }
[]
type of french administrative division
SYSTEM
YES
(Q6397,P47,Q269113) (Q6397,P47,Q474034) (Q6397,P47,Q538880)
action is_in
entity prev_answer
action find
entity Q6397
relation P47
[ANSWER]
['Q6397', 'P47', 'Q269113'] ['Q6397', 'P47', 'Q474034'] ['Q6397', 'P47', 'Q538880']
ASK WHERE { resource:Q6397 property:P47 ?c . VALUES ( ?c ) { ( resource:Q266880 ) ( resource:Q471321 ) ( resource:Q379963 ) } }
Yes
action is_in
entity prev_answer
action find
entity Avignon
relation shares border with
['Avignon', 'shares border with', 'Villeneuve-lès-Avignon'] ['Avignon', 'shares border with', 'Noves'] ['Avignon', 'shares border with', 'Sorgues']
ASK WHERE { resource:Avignon property:shares_border_with ?c . VALUES ( ?c ) { ( resource:Les_Angles ) ( resource:Morières-lès-Avignon ) ( resource:Caumont-sur-Durance ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4894140 Q1492 Q6363304
P19
Q56061
USER
Does Juliana Morell have location of birth at Barcelona and Kanivenarayanapura ?
(Q4894140,P19,Q1492) (Q4894140,P19,Q6363304)
action is_in
entity Q4894140
action intersection
action find_reverse
entity Q1492
relation P19
action find_reverse
entity Q6363304
relation P19
['Q4894140', 'P19', 'Q1492'] ['Q4894140', 'P19', 'Q6363304']
ASK WHERE { resource:Q4894140 property:P19 resource:Q1492 . resource:Q4894140 property:P19 resource:Q6363304 }
Juliana Morell Barcelona Kanivenarayanapura
action is_in
entity Juliana Morell
action intersection
action find_reverse
entity Barcelona
relation place of birth
action find_reverse
entity Kanivenarayanapura
relation place of birth
['Juliana Morell', 'place of birth', 'Barcelona'] ['Juliana Morell', 'place of birth', 'Kanivenarayanapura']
ASK WHERE { resource:Juliana_Morell property:place_of_birth resource:Barcelona . resource:Juliana_Morell property:place_of_birth resource:Kanivenarayanapura }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q4894140,P19,Q1492) (Q4894140,P19,Q6363304)
action is_in
entity Q4894140
action intersection
action find_reverse
entity Q1492
relation P19
action find_reverse
entity Q6363304
relation P19
[ANSWER]
['Q4894140', 'P19', 'Q1492'] ['Q4894140', 'P19', 'Q6363304']
ASK WHERE { resource:Q4894140 property:P19 resource:Q1492 . resource:Q4894140 property:P19 resource:Q6363304 }
YES and NO respectively
action is_in
entity Juliana Morell
action intersection
action find_reverse
entity Barcelona
relation place of birth
action find_reverse
entity Kanivenarayanapura
relation place of birth
['Juliana Morell', 'place of birth', 'Barcelona'] ['Juliana Morell', 'place of birth', 'Kanivenarayanapura']
ASK WHERE { resource:Juliana_Morell property:place_of_birth resource:Barcelona . resource:Juliana_Morell property:place_of_birth resource:Kanivenarayanapura }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q269113
P36
Q20667921
USER
Which french administrative division is Villeneuve-lès-Avignon the capital of ?
(c(Q20667921),P36,Q269113)
action filter_type
action find_reverse
entity Q269113
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q269113']
SELECT DISTINCT ?m WHERE { ?m property:P36 resource:Q269113 . ?m rdf:type ontology:Q20667921 }
Villeneuve-lès-Avignon
action filter_type
action find_reverse
entity Villeneuve-lès-Avignon
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Villeneuve-lès-Avignon']
SELECT DISTINCT ?m WHERE { ?m property:capital resource:Villeneuve-lès-Avignon . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1458257
SYSTEM
canton of Villeneuve-lès-Avignon
Q1458257
(c(Q20667921),P36,Q269113)
action filter_type
action find_reverse
entity Q269113
relation P36
type Q20667921
The [ANSWER] is Villeneuve-lès-Avignon the capital of
[{'concept': 'Q20667921'}, 'P36', 'Q269113']
SELECT DISTINCT ?m WHERE { ?m property:P36 resource:Q269113 . ?m rdf:type ontology:Q20667921 }
canton of Villeneuve-lès-Avignon
The canton of Villeneuve-lès-Avignon is Villeneuve-lès-Avignon the capital of
canton of Villeneuve-lès-Avignon
action filter_type
action find_reverse
entity Villeneuve-lès-Avignon
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Villeneuve-lès-Avignon']
SELECT DISTINCT ?m WHERE { ?m property:capital resource:Villeneuve-lès-Avignon . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q269113
P17
Q15617994
USER
Which administrative territory is Villeneuve-lès-Avignon present in ?
(Q269113,P17,c(Q15617994))
action filter_type
action find
entity Q269113
relation P17
type Q15617994
['Q269113', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q269113 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Villeneuve-lès-Avignon
action filter_type
action find
entity Villeneuve-lès-Avignon
relation country
type designation for an administrative territorial entity
['Villeneuve-lès-Avignon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Villeneuve-lès-Avignon property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q269113,P17,c(Q15617994))
action filter_type
action find
entity Q269113
relation P17
type Q15617994
Which administrative territory is Villeneuve-lès-Avignon present in
['Q269113', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q269113 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
France
Which administrative territory is Villeneuve-lès-Avignon present in
France
action filter_type
action find
entity Villeneuve-lès-Avignon
relation country
type designation for an administrative territorial entity
['Villeneuve-lès-Avignon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Villeneuve-lès-Avignon property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q269113
P190
Q56061
USER
Which administrative territories are partner town of that french administrative division ?
(c(Q56061),P190,Q142)
action filter_type
action find
entity Q269113
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q142']
SELECT DISTINCT ?r WHERE { resource:Q269113 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Villeneuve-lès-Avignon
action filter_type
action find
entity Villeneuve-lès-Avignon
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'France']
SELECT DISTINCT ?r WHERE { resource:Villeneuve-lès-Avignon property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q992256 Q103244
SYSTEM
Gytheio, San Miniato
Q992256 Q103244
(c(Q56061),P190,Q142)
action filter_type
action find
entity Q269113
relation P190
type Q56061
[ANSWERS] are partner town of that french administrative division
[{'concept': 'Q56061'}, 'P190', 'Q142']
SELECT DISTINCT ?r WHERE { resource:Q269113 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Gytheio San Miniato
Gytheio and San Miniato are partner town of that french administrative division
Gytheio San Miniato
action filter_type
action find
entity Villeneuve-lès-Avignon
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'France']
SELECT DISTINCT ?r WHERE { resource:Villeneuve-lès-Avignon property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q539699 Q269113
P47
Q20667921
USER
Which french administrative divisions are adjacent to Villeneuve-lès-Avignon or Wavrin ?
OR((Q269113,P47,c(Q20667921)), (Q539699,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q269113
relation P47
action find
entity Q539699
relation P47
type Q20667921
{'OR': [['Q269113', 'P47', {'concept': 'Q20667921'}], ['Q539699', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q539699 property:P47 ?l } UNION { resource:Q269113 property:P47 ?l } } . ?l rdf:type ontology:Q20667921 }
Wavrin Villeneuve-lès-Avignon
action filter_type
action union
action find
entity Villeneuve-lès-Avignon
relation shares border with
action find
entity Wavrin
relation shares border with
type type of french administrative division
{'OR': [['Villeneuve-lès-Avignon', 'shares border with', {'concept': 'type of french administrative division'}], ['Wavrin', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Wavrin property:shares_border_with ?l } UNION { resource:Villeneuve-lès-Avignon property:shares_border_with ?l } } . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1115935 Q635476 Q379982 Q665107 Q266880 Q273242 Q1063824 Q636289 Q1102150 Q6397
SYSTEM
Some of them are Allennes-les-Marais, Fournes-en-Weppes, Sauveterre, Santes, Les Angles, Rochefort-du-Gard, Beaucamps-Ligny, Herrin, Sainghin-en-Weppes, Avignon
Q1115935 Q1443457 Q266880 Q731614 Q635476 Q379982 Q273242 Q636289 Q665107 Q6397 Q267635 Q1063824 Q1102150 Q538880 Q665439
OR((Q269113,P47,c(Q20667921)), (Q539699,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q269113
relation P47
action find
entity Q539699
relation P47
type Q20667921
[ANSWERS] are adjacent to Villeneuve-lès-Avignon or Wavrin
{'OR': [['Q269113', 'P47', {'concept': 'Q20667921'}], ['Q539699', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q539699 property:P47 ?l } UNION { resource:Q269113 property:P47 ?l } } . ?l rdf:type ontology:Q20667921 }
Allennes-les-Marais Don Les Angles Houplin-Ancoisne Fournes-en-Weppes Sauveterre Rochefort-du-Gard Herrin Santes Avignon Pujaut Beaucamps-Ligny Sainghin-en-Weppes Sorgues Gondecourt
Allennes-les-Marais, Fournes-en-Weppes, Sauveterre, Santes, Les Angles, Rochefort-du-Gard, Beaucamps-Ligny, Herrin, Sainghin-en-Weppes and Avignon are adjacent to Villeneuve-lès-Avignon or Wavrin
Allennes-les-Marais Fournes-en-Weppes Sauveterre Santes Les Angles Rochefort-du-Gard Beaucamps-Ligny Herrin Sainghin-en-Weppes Avignon
action filter_type
action union
action find
entity Villeneuve-lès-Avignon
relation shares border with
action find
entity Wavrin
relation shares border with
type type of french administrative division
{'OR': [['Villeneuve-lès-Avignon', 'shares border with', {'concept': 'type of french administrative division'}], ['Wavrin', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Wavrin property:shares_border_with ?l } UNION { resource:Villeneuve-lès-Avignon property:shares_border_with ?l } } . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6397
P937
Q502895
USER
Who have that french administrative division as their work location ?
(c(Q502895),P937,Q6397)
action filter_type
action find_reverse
entity Q6397
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q6397']
SELECT DISTINCT ?f WHERE { ?f property:P937 resource:Q6397 . ?f rdf:type ontology:Q502895 }
Avignon
action filter_type
action find_reverse
entity Avignon
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Avignon']
SELECT DISTINCT ?f WHERE { ?f property:work_location resource:Avignon . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q665107
SYSTEM
Did you mean Santes ?
Q1115935 Q635476 Q379982 Q665107 Q266880 Q273242 Q1063824 Q636289 Q1102150 Q6397
(c(Q502895),P937,Q1115935) (c(Q502895),P937,Q635476) (c(Q502895),P937,Q379982) (c(Q502895),P937,Q665107) (c(Q502895),P937,Q266880) (c(Q502895),P937,Q273242) (c(Q502895),P937,Q1063824) (c(Q502895),P937,Q636289) (c(Q502895),P937,Q1102150) (c(Q502895),P937,Q6397)
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q1115935'] [{'concept': 'Q502895'}, 'P937', 'Q635476'] [{'concept': 'Q502895'}, 'P937', 'Q379982'] [{'concept': 'Q502895'}, 'P937', 'Q665107'] [{'concept': 'Q502895'}, 'P937', 'Q266880'] [{'concept': 'Q502895'}, 'P937', 'Q273242'] [{'concept': 'Q502895'}, 'P937', 'Q1063824'] [{'concept': 'Q502895'}, 'P937', 'Q636289'] [{'concept': 'Q502895'}, 'P937', 'Q1102150'] [{'concept': 'Q502895'}, 'P937', 'Q6397']
SELECT DISTINCT ?f WHERE { ?f property:P937 resource:Q6397 . ?f rdf:type ontology:Q502895 }
Allennes-les-Marais Fournes-en-Weppes Sauveterre Santes Les Angles Rochefort-du-Gard Beaucamps-Ligny Herrin Sainghin-en-Weppes Avignon
Did you mean Santes ?
Santes
[{'concept': 'common name'}, 'work location', 'Allennes-les-Marais'] [{'concept': 'common name'}, 'work location', 'Fournes-en-Weppes'] [{'concept': 'common name'}, 'work location', 'Sauveterre'] [{'concept': 'common name'}, 'work location', 'Santes'] [{'concept': 'common name'}, 'work location', 'Les Angles'] [{'concept': 'common name'}, 'work location', 'Rochefort-du-Gard'] [{'concept': 'common name'}, 'work location', 'Beaucamps-Ligny'] [{'concept': 'common name'}, 'work location', 'Herrin'] [{'concept': 'common name'}, 'work location', 'Sainghin-en-Weppes'] [{'concept': 'common name'}, 'work location', 'Avignon']
SELECT DISTINCT ?f WHERE { ?f property:work_location resource:Avignon . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Avignon. Could you tell me the answer for that?
(c(Q502895),P937,Q6397)
Q6397
[{'concept': 'Q502895'}, 'P937', 'Q6397']
[{'concept': 'common name'}, 'work location', 'Avignon']
[]
Q8343269 Q170389 Q966851
SYSTEM
Georges Trubert, Benedict XII, Enguerrand Quarton
Q972075 Q8343269 Q170389 Q21593046 Q966851
(c(Q502895),P937,Q6397)
action filter_type
action find_reverse
entity Q6397
relation P937
type Q502895
[ANSWERS] have that french administrative division as their work location
[{'concept': 'Q502895'}, 'P937', 'Q6397']
SELECT DISTINCT ?f WHERE { ?f property:P937 resource:Q6397 . ?f rdf:type ontology:Q502895 }
Bénézet of Avignon Georges Trubert Benedict XII Jean-Baptiste Péru Enguerrand Quarton
Georges Trubert, Benedict XII and Enguerrand Quarton have that french administrative division as their work location
Georges Trubert Benedict XII Enguerrand Quarton
action filter_type
action find_reverse
entity Avignon
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Avignon']
SELECT DISTINCT ?f WHERE { ?f property:work_location resource:Avignon . ?f rdf:type ontology:common_name }
[]