Simple Question (Direct)
Simple Question
Q3292379
P20
Q20667921
USER
Which french administrative division is the place of death of Marie Barrère-Affre ?
(Q3292379,P20,c(Q20667921))
action filter_type
action find
entity Q3292379
relation P20
type Q20667921
['Q3292379', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q3292379 property:P20 ?w . ?w rdf:type ontology:Q20667921 }
Marie Barrère-Affre
action filter_type
action find
entity Marie Barrère-Affre
relation place of death
type type of french administrative division
['Marie Barrère-Affre', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Marie_Barrère-Affre property:place_of_death ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q254829
SYSTEM
Collioure
Q254829
(Q3292379,P20,c(Q20667921))
action filter_type
action find
entity Q3292379
relation P20
type Q20667921
[ANSWER] is the place of death of Marie Barrère-Affre
['Q3292379', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q3292379 property:P20 ?w . ?w rdf:type ontology:Q20667921 }
Collioure
Collioure is the place of death of Marie Barrère-Affre
Collioure
action filter_type
action find
entity Marie Barrère-Affre
relation place of death
type type of french administrative division
['Marie Barrère-Affre', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Marie_Barrère-Affre property:place_of_death ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3292379
P119
Q20667921
USER
Which french administrative division is the resting place of that person ?
(Q254829,P119,c(Q20667921))
action filter_type
action find
entity Q3292379
relation P119
type Q20667921
['Q254829', 'P119', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q3292379 property:P119 ?t . ?t rdf:type ontology:Q20667921 }
Marie Barrère-Affre
action filter_type
action find
entity Marie Barrère-Affre
relation place of burial
type type of french administrative division
['Collioure', 'place of burial', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Marie_Barrère-Affre property:place_of_burial ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6730
SYSTEM
Perpignan
Q6730
(Q254829,P119,c(Q20667921))
action filter_type
action find
entity Q3292379
relation P119
type Q20667921
[ANSWER] is the resting place of that person
['Q254829', 'P119', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q3292379 property:P119 ?t . ?t rdf:type ontology:Q20667921 }
Perpignan
Perpignan is the resting place of that person
Perpignan
action filter_type
action find
entity Marie Barrère-Affre
relation place of burial
type type of french administrative division
['Collioure', 'place of burial', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Marie_Barrère-Affre property:place_of_burial ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6730 Q23857267
P19
Q502895
USER
Does Mario Nocera have place of birth as that french administrative division ?
(Q23857267,P19,Q6730)
action is_in
entity Q23857267
action find
entity Q6730
relation P19
['Q23857267', 'P19', 'Q6730']
ASK WHERE { resource:Q6730 property:P19 resource:Q23857267 }
Perpignan Mario Nocera
action is_in
entity Mario Nocera
action find
entity Perpignan
relation place of birth
['Mario Nocera', 'place of birth', 'Perpignan']
ASK WHERE { resource:Perpignan property:place_of_birth resource:Mario_Nocera }
[]
common name
SYSTEM
NO
(Q23857267,P19,Q6730)
action is_in
entity Q23857267
action find
entity Q6730
relation P19
[ANSWER]
['Q23857267', 'P19', 'Q6730']
ASK WHERE { resource:Q6730 property:P19 resource:Q23857267 }
No
action is_in
entity Mario Nocera
action find
entity Perpignan
relation place of birth
['Mario Nocera', 'place of birth', 'Perpignan']
ASK WHERE { resource:Perpignan property:place_of_birth resource:Mario_Nocera }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6730 Q266941
P1376
Q15617994
USER
How many administrative territories have Perpignan or Chiavari have their first city ?
(Q6730,P1376,c(Q15617994)) (Q266941,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q6730
relation P1376
type Q15617994
action filter_type
action find
entity Q266941
relation P1376
type Q15617994
['Q6730', 'P1376', {'concept': 'Q15617994'}] ['Q266941', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { resource:Q6730 property:P1376 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q266941 property:P1376 ?f . ?f rdf:type ontology:Q15617994 } }
Perpignan Chiavari
action count
action union
action filter_type
action find
entity Perpignan
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Chiavari
relation capital of
type designation for an administrative territorial entity
['Perpignan', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Chiavari', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { resource:Perpignan property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Chiavari property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q598193 Q12709
(Q6730,P1376,c(Q15617994)) (Q266941,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q6730
relation P1376
type Q15617994
action filter_type
action find
entity Q266941
relation P1376
type Q15617994
[ANSWER]
['Q6730', 'P1376', {'concept': 'Q15617994'}] ['Q266941', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { resource:Q6730 property:P1376 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q266941 property:P1376 ?f . ?f rdf:type ontology:Q15617994 } }
Apennins Pyrénées-Orientales
2
action count
action union
action filter_type
action find
entity Perpignan
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Chiavari
relation capital of
type designation for an administrative territorial entity
['Perpignan', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Chiavari', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { resource:Perpignan property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Chiavari property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q186925 Q3292379
P47 P19
Q20667921
USER
Which french administrative divisions were Marie Barrère-Affre born in or have a shared border with Lamarque ?
OR((Q3292379,P19,c(Q20667921)), (Q186925,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3292379
relation P19
action find
entity Q186925
relation P47
type Q20667921
{'OR': [['Q3292379', 'P19', {'concept': 'Q20667921'}], ['Q186925', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q3292379 property:P19 ?t } UNION { resource:Q186925 property:P47 ?t } } . ?t rdf:type ontology:Q20667921 }
Lamarque Marie Barrère-Affre
action filter_type
action union
action find
entity Marie Barrère-Affre
relation place of birth
action find
entity Lamarque
relation shares border with
type type of french administrative division
{'OR': [['Marie Barrère-Affre', 'place of birth', {'concept': 'type of french administrative division'}], ['Lamarque', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Marie_Barrère-Affre property:place_of_birth ?t } UNION { resource:Lamarque property:shares_border_with ?t } } . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6730 Q202562 Q715861 Q195102 Q368089 Q861768 Q501897
SYSTEM
Perpignan, Blaye, Arcins, Moulis-en-Médoc, Listrac-Médoc, Cussac-Fort-Médoc, Plassac
Q6730 Q202562 Q715861 Q195102 Q368089 Q861768 Q501897
OR((Q3292379,P19,c(Q20667921)), (Q186925,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3292379
relation P19
action find
entity Q186925
relation P47
type Q20667921
[ANSWERS] were Marie Barrère-Affre born in or have a shared border with Lamarque
{'OR': [['Q3292379', 'P19', {'concept': 'Q20667921'}], ['Q186925', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q3292379 property:P19 ?t } UNION { resource:Q186925 property:P47 ?t } } . ?t rdf:type ontology:Q20667921 }
Perpignan Blaye Arcins Moulis-en-Médoc Listrac-Médoc Cussac-Fort-Médoc Plassac
Perpignan, Blaye, Arcins, Moulis-en-Médoc, Listrac-Médoc, Cussac-Fort-Médoc and Plassac were Marie Barrère-Affre born in or have a shared border with Lamarque
Perpignan Blaye Arcins Moulis-en-Médoc Listrac-Médoc Cussac-Fort-Médoc Plassac
action filter_type
action union
action find
entity Marie Barrère-Affre
relation place of birth
action find
entity Lamarque
relation shares border with
type type of french administrative division
{'OR': [['Marie Barrère-Affre', 'place of birth', {'concept': 'type of french administrative division'}], ['Lamarque', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Marie_Barrère-Affre property:place_of_birth ?t } UNION { resource:Lamarque property:shares_border_with ?t } } . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6366692 Q6730
P17
Q15617994
USER
Which administrative territories are Perpignan or Kapir Atiira situated in ?
OR((Q6730,P17,c(Q15617994)), (Q6366692,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6730
relation P17
action find
entity Q6366692
relation P17
type Q15617994
{'OR': [['Q6730', 'P17', {'concept': 'Q15617994'}], ['Q6366692', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Q6730 ) ( resource:Q6366692 ) } . ?d property:P17 ?j } . ?j rdf:type ontology:Q15617994 }
Kapir Atiira Perpignan
action filter_type
action union
action find
entity Perpignan
relation country
action find
entity Kapir Atiira
relation country
type designation for an administrative territorial entity
{'OR': [['Perpignan', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kapir Atiira', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Perpignan ) ( resource:Kapir_Atiira ) } . ?d property:country ?j } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1036
SYSTEM
France, Uganda
Q142 Q1036
OR((Q6730,P17,c(Q15617994)), (Q6366692,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6730
relation P17
action find
entity Q6366692
relation P17
type Q15617994
Perpignan or Kapir Atiira are situated in [ANSWERS]
{'OR': [['Q6730', 'P17', {'concept': 'Q15617994'}], ['Q6366692', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Q6730 ) ( resource:Q6366692 ) } . ?d property:P17 ?j } . ?j rdf:type ontology:Q15617994 }
France Uganda
Perpignan or Kapir Atiira are situated in France and Uganda
France Uganda
action filter_type
action union
action find
entity Perpignan
relation country
action find
entity Kapir Atiira
relation country
type designation for an administrative territorial entity
{'OR': [['Perpignan', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kapir Atiira', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Perpignan ) ( resource:Kapir_Atiira ) } . ?d property:country ?j } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of France ?
(c(Q12737077),P1001,Q142)
action filter_type
action find_reverse
entity Q142
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q142 . ?s rdf:type ontology:Q12737077 }
France
action filter_type
action find_reverse
entity France
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'France']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:France . ?s rdf:type ontology:occupation }
[]
occupation
Q191954 Q16059954 Q15113603
SYSTEM
President of the French Republic, Minister of National Education, municipal councillor
Q3251880 Q19018174 Q2986308 Q21113166 Q191954 Q3044918 Q7444344 Q17553783 Q16886136 Q3477294 Q17618004 Q21032621 Q2359870 Q21888124 Q20202948 Q2994367 Q12479878 Q1587677 Q3382119 Q1285463 Q20202980 Q17618137 Q19018261 Q20177062 Q16059954 Q14828018 Q20203208 Q16260691 Q15113603 Q15135541 Q3115299 Q12436652 Q20203006
(c(Q12737077),P1001,Q142)
action filter_type
action find_reverse
entity Q142
relation P1001
type Q12737077
[ANSWERS] have control over the jurisdiction of France
[{'concept': 'Q12737077'}, 'P1001', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q142 . ?s rdf:type ontology:Q12737077 }
Minister of Health Minister of War Commissaire de police Minister of City Affairs President of the French Republic member of the French National Assembly Secretary of State for Foreign Affairs Minister of Justice conseiller régional Secretary of State for War Secretary of State for Foreign Trade, Tourism Promotion and French overseas Pair of France department prefect Minister of Commerce Minister of the Economy, Finances and Industry Councillor of State Minister of Information Prime Minister of France sub-prefect prefect Minister of Agriculture French Minister of the Economy Deputy Prime Minister of France senator of community Minister of National Education member of the Senate of France Minister of Foreign Affairs and International Development Secretary of State for Digital municipal councillor head of government of France French Grand Elector Minister of Culture (France) Minister of the Interior
President of the French Republic, Minister of National Education and municipal councillor have control over the jurisdiction of France
President of the French Republic Minister of National Education municipal councillor
action filter_type
action find_reverse
entity France
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'France']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:France . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P123
Q166142
USER
Which applications were released by France ?
(c(Q166142),P123,Q142)
action filter_type
action find_reverse
entity Q142
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q142']
SELECT DISTINCT ?e WHERE { ?e property:P123 resource:Q142 . ?e rdf:type ontology:Q166142 }
France
action filter_type
action find_reverse
entity France
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'France']
SELECT DISTINCT ?e WHERE { ?e property:publisher resource:France . ?e rdf:type ontology:application }
[]
application
Q1165469 Q3038553
SYSTEM
Post Mortem, Dracula: Origin
Q1165469 Q3038553
(c(Q166142),P123,Q142)
action filter_type
action find_reverse
entity Q142
relation P123
type Q166142
[ANSWERS] were released by France
[{'concept': 'Q166142'}, 'P123', 'Q142']
SELECT DISTINCT ?e WHERE { ?e property:P123 resource:Q142 . ?e rdf:type ontology:Q166142 }
Post Mortem Dracula: Origin
Post Mortem and Dracula: Origin were released by France
Post Mortem Dracula: Origin
action filter_type
action find_reverse
entity France
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'France']
SELECT DISTINCT ?e WHERE { ?e property:publisher resource:France . ?e rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1165469 Q3038553
P136
Q483394
USER
What can be considered as category for Post Mortem and Dracula: Origin ?
(Q1165469,P136,c(Q483394)) (Q3038553,P136,c(Q483394))
action union
action filter_type
action find
entity Q1165469
relation P136
type Q483394
action filter_type
action find
entity Q3038553
relation P136
type Q483394
['Q1165469', 'P136', {'concept': 'Q483394'}] ['Q3038553', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q483394 . resource:Q1165469 property:P136 ?m } UNION { resource:Q3038553 property:P136 ?m . ?m rdf:type ontology:Q483394 } }
Post Mortem Dracula: Origin
action union
action filter_type
action find
entity Post Mortem
relation genre
type genre
action filter_type
action find
entity Dracula: Origin
relation genre
type genre
['Post Mortem', 'genre', {'concept': 'genre'}] ['Dracula: Origin', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:genre . resource:Post_Mortem property:genre ?m } UNION { resource:Dracula:_Origin property:genre ?m . ?m rdf:type ontology:genre } }
[]
genre
Q23916 Q23916
SYSTEM
adventure game
Q23916 Q23916
(Q1165469,P136,c(Q483394)) (Q3038553,P136,c(Q483394))
action union
action filter_type
action find
entity Q1165469
relation P136
type Q483394
action filter_type
action find
entity Q3038553
relation P136
type Q483394
And [ANSWER] and [ANSWER] can be considered as category for Post Mortem and Dracula: Origin
['Q1165469', 'P136', {'concept': 'Q483394'}] ['Q3038553', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q483394 . resource:Q1165469 property:P136 ?m } UNION { resource:Q3038553 property:P136 ?m . ?m rdf:type ontology:Q483394 } }
adventure game adventure game
And adventure game and adventure game can be considered as category for Post Mortem and Dracula: Origin
adventure game adventure game
action union
action filter_type
action find
entity Post Mortem
relation genre
type genre
action filter_type
action find
entity Dracula: Origin
relation genre
type genre
['Post Mortem', 'genre', {'concept': 'genre'}] ['Dracula: Origin', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:genre . resource:Post_Mortem property:genre ?m } UNION { resource:Dracula:_Origin property:genre ?m . ?m rdf:type ontology:genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P740
Q43229
USER
What were formed at France ?
(c(Q43229),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P740 resource:Q142 . ?g rdf:type ontology:Q43229 }
France
action filter_type
action find_reverse
entity France
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'France']
SELECT DISTINCT ?g WHERE { ?g property:location_of_formation resource:France . ?g rdf:type ontology:organization }
[]
organization
Q322644 Q1075391 Q294520
SYSTEM
Hutchinson SA, Chloé, Alten
Q18126700 Q3140536 Q3205965 Q3866987 Q1075391 Q5514400 Q3093177 Q322644 Q294520
(c(Q43229),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q43229
[ANSWERS] were formed at France
[{'concept': 'Q43229'}, 'P740', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P740 resource:Q142 . ?g rdf:type ontology:Q43229 }
KDS Horiba ABX SAS LC Waikiki Mulberry Chloé GRAITEC GEFCO Hutchinson SA Alten
Hutchinson SA, Chloé and Alten were formed at France
Hutchinson SA Chloé Alten
action filter_type
action find_reverse
entity France
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'France']
SELECT DISTINCT ?g WHERE { ?g property:location_of_formation resource:France . ?g rdf:type ontology:organization }
[]