Simple Question (Direct)
Simple Question
Q61775
P47
Q20667921
USER
Which french administrative divisions are adjacent to Crouy-Saint-Pierre ?
(Q61775,P47,c(Q20667921))
action filter_type
action find
entity Q61775
relation P47
type Q20667921
['Q61775', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q61775 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Crouy-Saint-Pierre
action filter_type
action find
entity Crouy-Saint-Pierre
relation shares border with
type type of french administrative division
['Crouy-Saint-Pierre', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Crouy-Saint-Pierre property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q587061 Q818355 Q642593
SYSTEM
Picquigny, Hangest-sur-Somme, Belloy-sur-Somme
Q773358 Q587061 Q1027785 Q818355 Q642593 Q795148 Q145437
(Q61775,P47,c(Q20667921))
action filter_type
action find
entity Q61775
relation P47
type Q20667921
[ANSWERS] are adjacent to Crouy-Saint-Pierre
['Q61775', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q61775 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Yzeux Picquigny Bourdon Hangest-sur-Somme Belloy-sur-Somme Soues Fourdrinoy
Picquigny, Hangest-sur-Somme and Belloy-sur-Somme are adjacent to Crouy-Saint-Pierre
Picquigny Hangest-sur-Somme Belloy-sur-Somme
action filter_type
action find
entity Crouy-Saint-Pierre
relation shares border with
type type of french administrative division
['Crouy-Saint-Pierre', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Crouy-Saint-Pierre property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q587061
P1376
Q20667921
USER
Which french administrative division has Picquigny as its county seat ?
(Q587061,P1376,c(Q20667921))
action filter_type
action find
entity Q587061
relation P1376
type Q20667921
['Q587061', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q587061 property:P1376 ?r }
Picquigny
action filter_type
action find
entity Picquigny
relation capital of
type type of french administrative division
['Picquigny', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Picquigny property:capital_of ?r }
[]
type of french administrative division
Q1446741
SYSTEM
canton of Picquigny
Q1446741
(Q587061,P1376,c(Q20667921))
action filter_type
action find
entity Q587061
relation P1376
type Q20667921
In [ANSWER] has Picquigny as its county seat
['Q587061', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q587061 property:P1376 ?r }
canton of Picquigny
In canton of Picquigny has Picquigny as its county seat
canton of Picquigny
action filter_type
action find
entity Picquigny
relation capital of
type type of french administrative division
['Picquigny', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Picquigny property:capital_of ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1348782 Q587061
P47
Q20667921
USER
Which french administrative divisions are adjacent to Picquigny or Saint-Cyr-la-Lande ?
OR((Q587061,P47,c(Q20667921)), (Q1348782,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q587061
relation P47
action find
entity Q1348782
relation P47
type Q20667921
{'OR': [['Q587061', 'P47', {'concept': 'Q20667921'}], ['Q1348782', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?s WHERE { { ?n property:P47 ?s . VALUES ( ?n ) { ( resource:Q1348782 ) ( resource:Q587061 ) } } . ?s rdf:type ontology:Q20667921 }
Saint-Cyr-la-Lande Picquigny
action filter_type
action union
action find
entity Picquigny
relation shares border with
action find
entity Saint-Cyr-la-Lande
relation shares border with
type type of french administrative division
{'OR': [['Picquigny', 'shares border with', {'concept': 'type of french administrative division'}], ['Saint-Cyr-la-Lande', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?s WHERE { { ?n property:shares_border_with ?s . VALUES ( ?n ) { ( resource:Saint-Cyr-la-Lande ) ( resource:Picquigny ) } } . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1467184 Q58923 Q642593 Q1345178 Q747663 Q630108 Q517541 Q583114 Q30712 Q1146421
SYSTEM
Some of them are Saint-Martin-de-Mâcon, La Chaussée-Tirancourt, Belloy-sur-Somme, Louzy, Antoigné, Breilly, Saisseval, Bovelles, Ailly-sur-Somme, Brion-près-Thouet
Q58923 Q1345178 Q61775 Q630108 Q1467246 Q517541 Q1467184 Q747663 Q1631587 Q642593 Q1146421 Q30712 Q145437 Q583114
OR((Q587061,P47,c(Q20667921)), (Q1348782,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q587061
relation P47
action find
entity Q1348782
relation P47
type Q20667921
[ANSWERS] are adjacent to Picquigny or Saint-Cyr-la-Lande
{'OR': [['Q587061', 'P47', {'concept': 'Q20667921'}], ['Q1348782', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?s WHERE { { ?n property:P47 ?s . VALUES ( ?n ) { ( resource:Q1348782 ) ( resource:Q587061 ) } } . ?s rdf:type ontology:Q20667921 }
La Chaussée-Tirancourt Louzy Crouy-Saint-Pierre Breilly Tourtenay Saisseval Saint-Martin-de-Mâcon Antoigné Saint-Léger-de-Montbrun Belloy-sur-Somme Brion-près-Thouet Ailly-sur-Somme Fourdrinoy Bovelles
Saint-Martin-de-Mâcon, La Chaussée-Tirancourt, Belloy-sur-Somme, Louzy, Antoigné, Breilly, Saisseval, Bovelles, Ailly-sur-Somme and Brion-près-Thouet are adjacent to Picquigny or Saint-Cyr-la-Lande
Saint-Martin-de-Mâcon La Chaussée-Tirancourt Belloy-sur-Somme Louzy Antoigné Breilly Saisseval Bovelles Ailly-sur-Somme Brion-près-Thouet
action filter_type
action union
action find
entity Picquigny
relation shares border with
action find
entity Saint-Cyr-la-Lande
relation shares border with
type type of french administrative division
{'OR': [['Picquigny', 'shares border with', {'concept': 'type of french administrative division'}], ['Saint-Cyr-la-Lande', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?s WHERE { { ?n property:shares_border_with ?s . VALUES ( ?n ) { ( resource:Saint-Cyr-la-Lande ) ( resource:Picquigny ) } } . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1467184 Q58923 Q642593 Q1345178 Q747663 Q630108 Q517541 Q583114 Q30712 Q1146421
P47
Q20667921
USER
Which french administrative divisions are adjacent to those ones ?
(Q1467184,P47,c(Q20667921)) (Q58923,P47,c(Q20667921)) (Q642593,P47,c(Q20667921)) (Q1345178,P47,c(Q20667921)) (Q747663,P47,c(Q20667921)) (Q630108,P47,c(Q20667921)) (Q517541,P47,c(Q20667921)) (Q583114,P47,c(Q20667921)) (Q30712,P47,c(Q20667921)) (Q1146421,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
['Q1467184', 'P47', {'concept': 'Q20667921'}] ['Q58923', 'P47', {'concept': 'Q20667921'}] ['Q642593', 'P47', {'concept': 'Q20667921'}] ['Q1345178', 'P47', {'concept': 'Q20667921'}] ['Q747663', 'P47', {'concept': 'Q20667921'}] ['Q630108', 'P47', {'concept': 'Q20667921'}] ['Q517541', 'P47', {'concept': 'Q20667921'}] ['Q583114', 'P47', {'concept': 'Q20667921'}] ['Q30712', 'P47', {'concept': 'Q20667921'}] ['Q1146421', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?j ) { ( resource:Q58923 ) ( resource:Q1345178 ) ( resource:Q61775 ) } . ?j property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Saint-Martin-de-Mâcon La Chaussée-Tirancourt Belloy-sur-Somme Louzy Antoigné Breilly Saisseval Bovelles Ailly-sur-Somme Brion-près-Thouet
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Saint-Martin-de-Mâcon', 'shares border with', {'concept': 'type of french administrative division'}] ['La Chaussée-Tirancourt', 'shares border with', {'concept': 'type of french administrative division'}] ['Belloy-sur-Somme', 'shares border with', {'concept': 'type of french administrative division'}] ['Louzy', 'shares border with', {'concept': 'type of french administrative division'}] ['Antoigné', 'shares border with', {'concept': 'type of french administrative division'}] ['Breilly', 'shares border with', {'concept': 'type of french administrative division'}] ['Saisseval', 'shares border with', {'concept': 'type of french administrative division'}] ['Bovelles', 'shares border with', {'concept': 'type of french administrative division'}] ['Ailly-sur-Somme', 'shares border with', {'concept': 'type of french administrative division'}] ['Brion-près-Thouet', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?j ) { ( resource:La_Chaussée-Tirancourt ) ( resource:Louzy ) ( resource:Crouy-Saint-Pierre ) } . ?j property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q175511 Q175511 Q279681
SYSTEM
Vignacourt for 1st, 2nd, Thouars for 3rd
Q1631587 Q1604541 Q1467246 Q1348782 Q670512 Q587061 Q582499 Q630108 Q938085 Q642593 Q30712 Q175511 Q58923 Q773358 Q61775 Q1027785 Q146461 Q587061 Q1090144 Q175511 Q573012 Q1616257 Q279681 Q1146421 Q1631587 Q1348782 Q816143 Q1616257 Q1467246 Q928806 Q1146421 Q838870 Q1348782 Q58923 Q30712 Q587061 Q527212 Q583114 Q587061 Q649224 Q145437 Q770331 Q586148 Q587061 Q157685 Q30712 Q770331 Q517541 Q120035 Q58923 Q749042 Q583114 Q938085 Q587061 Q68985 Q630108 Q120035 Q1345178 Q747663 Q1348782 Q1616257
(Q1467184,P47,c(Q20667921)) (Q58923,P47,c(Q20667921)) (Q642593,P47,c(Q20667921)) (Q1345178,P47,c(Q20667921)) (Q747663,P47,c(Q20667921)) (Q630108,P47,c(Q20667921)) (Q517541,P47,c(Q20667921)) (Q583114,P47,c(Q20667921)) (Q30712,P47,c(Q20667921)) (Q1146421,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS]
['Q1467184', 'P47', {'concept': 'Q20667921'}] ['Q58923', 'P47', {'concept': 'Q20667921'}] ['Q642593', 'P47', {'concept': 'Q20667921'}] ['Q1345178', 'P47', {'concept': 'Q20667921'}] ['Q747663', 'P47', {'concept': 'Q20667921'}] ['Q630108', 'P47', {'concept': 'Q20667921'}] ['Q517541', 'P47', {'concept': 'Q20667921'}] ['Q583114', 'P47', {'concept': 'Q20667921'}] ['Q30712', 'P47', {'concept': 'Q20667921'}] ['Q1146421', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?j ) { ( resource:Q58923 ) ( resource:Q1345178 ) ( resource:Q61775 ) } . ?j property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Saint-Léger-de-Montbrun Ternay Tourtenay Saint-Cyr-la-Lande Curçay-sur-Dive Picquigny Saint-Vaast-en-Chaussée Breilly Saint-Sauveur Belloy-sur-Somme Ailly-sur-Somme Vignacourt La Chaussée-Tirancourt Yzeux Crouy-Saint-Pierre Bourdon Flixecourt Picquigny Bettencourt-Saint-Ouen Vignacourt Sainte-Verge Saint-Martin-de-Sanzay Thouars Brion-près-Thouet Saint-Léger-de-Montbrun Saint-Cyr-la-Lande Berrie Saint-Martin-de-Sanzay Tourtenay Pouançay Brion-près-Thouet Montreuil-Bellay Saint-Cyr-la-Lande La Chaussée-Tirancourt Ailly-sur-Somme Picquigny Cavillon Bovelles Picquigny Briquemesnil-Floxicourt Fourdrinoy Seux Pissy Picquigny Guignemicourt Ailly-sur-Somme Seux Saisseval Ferrières La Chaussée-Tirancourt Saveuse Bovelles Saint-Sauveur Picquigny Dreuil-lès-Amiens Breilly Ferrières Louzy Antoigné Saint-Cyr-la-Lande Saint-Martin-de-Sanzay
Vignacourt, Vignacourt and Thouars are adjacent to those ones
Vignacourt Vignacourt Thouars
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Saint-Martin-de-Mâcon', 'shares border with', {'concept': 'type of french administrative division'}] ['La Chaussée-Tirancourt', 'shares border with', {'concept': 'type of french administrative division'}] ['Belloy-sur-Somme', 'shares border with', {'concept': 'type of french administrative division'}] ['Louzy', 'shares border with', {'concept': 'type of french administrative division'}] ['Antoigné', 'shares border with', {'concept': 'type of french administrative division'}] ['Breilly', 'shares border with', {'concept': 'type of french administrative division'}] ['Saisseval', 'shares border with', {'concept': 'type of french administrative division'}] ['Bovelles', 'shares border with', {'concept': 'type of french administrative division'}] ['Ailly-sur-Somme', 'shares border with', {'concept': 'type of french administrative division'}] ['Brion-près-Thouet', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?j ) { ( resource:La_Chaussée-Tirancourt ) ( resource:Louzy ) ( resource:Crouy-Saint-Pierre ) } . ?j property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q279681
P276
Q1190554
USER
Which event has its location as that french administrative division ?
(c(Q1190554),P276,Q279681)
action filter_type
action find_reverse
entity Q279681
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q279681']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1190554 . ?o property:P276 resource:Q279681 }
Thouars
action filter_type
action find_reverse
entity Thouars
relation location
type event
[{'concept': 'event'}, 'location', 'Thouars']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:event . ?o property:location resource:Thouars }
[]
event
Clarification for simple ques.
Q279681
SYSTEM
Did you mean Thouars ?
Q175511 Q175511 Q279681
(c(Q1190554),P276,Q175511) (c(Q1190554),P276,Q175511) (c(Q1190554),P276,Q279681)
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q175511'] [{'concept': 'Q1190554'}, 'P276', 'Q175511'] [{'concept': 'Q1190554'}, 'P276', 'Q279681']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1190554 . ?o property:P276 resource:Q279681 }
Vignacourt Vignacourt Thouars
Did you mean Thouars ?
Thouars
[{'concept': 'event'}, 'location', 'Vignacourt'] [{'concept': 'event'}, 'location', 'Vignacourt'] [{'concept': 'event'}, 'location', 'Thouars']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:event . ?o property:location resource:Thouars }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1190554),P276,Q279681)
[{'concept': 'Q1190554'}, 'P276', 'Q279681']
[{'concept': 'event'}, 'location', 'Thouars']
[]
Q2890178
SYSTEM
Battle of Thouars
Q2890178
(c(Q1190554),P276,Q279681)
action filter_type
action find_reverse
entity Q279681
relation P276
type Q1190554
[ANSWER] has its location as that french administrative division
[{'concept': 'Q1190554'}, 'P276', 'Q279681']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1190554 . ?o property:P276 resource:Q279681 }
Battle of Thouars
Battle of Thouars has its location as that french administrative division
Battle of Thouars
action filter_type
action find_reverse
entity Thouars
relation location
type event
[{'concept': 'event'}, 'location', 'Thouars']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:event . ?o property:location resource:Thouars }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8068
P828
Q3839081 Q1190554
USER
Which disasters causes lesser number of events than flood ?
(c(Q1190554),P828,c(Q3839081))
action less
action find_reverse_tuple_counts
relation P828
type Q3839081
type Q1190554
action count
action filter_type
action find_reverse
entity Q8068
relation P828
type Q1190554
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q3839081'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P828 ?d . ?d rdf:type ontology:Q3839081 . ?a rdf:type ontology:Q1190554 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P828 resource:Q8068 . ?u rdf:type ontology:Q1190554 } } . FILTER ( ?l < ?m ) }
flood
action less
action find_reverse_tuple_counts
relation has cause
type disaster
type event
action count
action filter_type
action find_reverse
entity flood
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'disaster'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:has_cause ?d . ?d rdf:type ontology:disaster . ?a rdf:type ontology:event } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:has_cause resource:flood . ?u rdf:type ontology:event } } . FILTER ( ?l < ?m ) }
[]
disaster event
Q7692360 Q5377742 Q327541
SYSTEM
volcanic eruption, engine failure on take-off, arson
Q5377742 Q7692360 Q327541 Q629257
(c(Q1190554),P828,c(Q3839081))
action less
action find_reverse_tuple_counts
relation P828
type Q3839081
type Q1190554
action count
action filter_type
action find_reverse
entity Q8068
relation P828
type Q1190554
[ANSWERS] cause lesser number of events than flood
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q3839081'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P828 ?d . ?d rdf:type ontology:Q3839081 . ?a rdf:type ontology:Q1190554 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P828 resource:Q8068 . ?u rdf:type ontology:Q1190554 } } . FILTER ( ?l < ?m ) }
engine failure on take-off volcanic eruption arson work accident
Volcanic eruption, engine failure on take-off and arson cause lesser number of events than flood
volcanic eruption engine failure on take-off arson
action less
action find_reverse_tuple_counts
relation has cause
type disaster
type event
action count
action filter_type
action find_reverse
entity flood
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'disaster'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:has_cause ?d . ?d rdf:type ontology:disaster . ?a rdf:type ontology:event } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:has_cause resource:flood . ?u rdf:type ontology:event } } . FILTER ( ?l < ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10286890 Q583114
P27 P17
Q15617994
USER
Which administrative territories do Bovelles belong to or are the native countriesof Fábio Mozart ?
OR((Q583114,P17,c(Q15617994)), (Q10286890,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q583114
relation P17
action find
entity Q10286890
relation P27
type Q15617994
{'OR': [['Q583114', 'P17', {'concept': 'Q15617994'}], ['Q10286890', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q10286890 property:P27 ?t } UNION { resource:Q583114 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Fábio Mozart Bovelles
action filter_type
action union
action find
entity Bovelles
relation country
action find
entity Fábio Mozart
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bovelles', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fábio Mozart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Fábio_Mozart property:country_of_citizenship ?t } UNION { resource:Bovelles property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q155
SYSTEM
France, Brazil
Q142 Q155
OR((Q583114,P17,c(Q15617994)), (Q10286890,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q583114
relation P17
action find
entity Q10286890
relation P27
type Q15617994
Bovelles belong to [ANSWERS] or are the native countriesof Fábio Mozart
{'OR': [['Q583114', 'P17', {'concept': 'Q15617994'}], ['Q10286890', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q10286890 property:P27 ?t } UNION { resource:Q583114 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
France Brazil
Bovelles belong to France and Brazil or are the native countriesof Fábio Mozart
France Brazil
action filter_type
action union
action find
entity Bovelles
relation country
action find
entity Fábio Mozart
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bovelles', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fábio Mozart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Fábio_Mozart property:country_of_citizenship ?t } UNION { resource:Bovelles property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10286890
P106
Q12737077
USER
What are the job of that person ?
(Q142,P106,c(Q12737077)) (Q155,P106,c(Q12737077))
action filter_type
action find
entity Q10286890
relation P106
type Q12737077
['Q142', 'P106', {'concept': 'Q12737077'}] ['Q155', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q10286890 property:P106 ?h }
Fábio Mozart
action filter_type
action find
entity Fábio Mozart
relation occupation
type occupation
['France', 'occupation', {'concept': 'occupation'}] ['Brazil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Fábio_Mozart property:occupation ?h }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q142,P106,c(Q12737077)) (Q155,P106,c(Q12737077))
action filter_type
action find
entity Q10286890
relation P106
type Q12737077
The job of that person are a [ANSWERS]
['Q142', 'P106', {'concept': 'Q12737077'}] ['Q155', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q10286890 property:P106 ?h }
journalist writer
The job of that person are a journalist and writer
journalist writer
action filter_type
action find
entity Fábio Mozart
relation occupation
type occupation
['France', 'occupation', {'concept': 'occupation'}] ['Brazil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Fábio_Mozart property:occupation ?h }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1930187 Q36180
P39
Q502895
USER
Who were responsible for occupying the position of journalist and writer ?
(c(Q502895),P39,Q1930187) (c(Q502895),P39,Q36180)
action union
action filter_type
action find_reverse
entity Q1930187
relation P39
type Q502895
action filter_type
action find_reverse
entity Q36180
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q502895 . ?x property:P39 resource:Q1930187 } UNION { ?x property:P39 resource:Q36180 . ?x rdf:type ontology:Q502895 } }
journalist writer
action union
action filter_type
action find_reverse
entity journalist
relation position held
type common name
action filter_type
action find_reverse
entity writer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:common_name . ?x property:position_held resource:journalist } UNION { ?x property:position_held resource:writer . ?x rdf:type ontology:common_name } }
[]
common name
Q2844607 Q2844607 Q4255270
SYSTEM
Amé-Thérèse-Joseph Masclet for 1st, 2nd, Mariano Roca de Togores, 1st Marquis of Molins for 3rd
Q2844607 Q2844607 Q20920104 Q20920104 Q723621 Q16912378 Q5945149 Q11294693 Q723621 Q20666477 Q163042 Q5945149 Q4255270
(c(Q502895),P39,Q1930187) (c(Q502895),P39,Q36180)
action union
action filter_type
action find_reverse
entity Q1930187
relation P39
type Q502895
action filter_type
action find_reverse
entity Q36180
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q502895 . ?x property:P39 resource:Q1930187 } UNION { ?x property:P39 resource:Q36180 . ?x rdf:type ontology:Q502895 } }
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Pierre Barthélémy Pierre Barthélémy Paul Nizan Alexandre Melnik José Rocamora Henri de Saint-Ignace Paul Nizan Marina Damestoy David Duke José Rocamora Mariano Roca de Togores, 1st Marquis of Molins
Amé-Thérèse-Joseph Masclet, Amé-Thérèse-Joseph Masclet and Mariano Roca de Togores, 1st Marquis of Molins were responsible for occupying the position of journalist and writer
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Mariano Roca de Togores, 1st Marquis of Molins
action union
action filter_type
action find_reverse
entity journalist
relation position held
type common name
action filter_type
action find_reverse
entity writer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:common_name . ?x property:position_held resource:journalist } UNION { ?x property:position_held resource:writer . ?x rdf:type ontology:common_name } }
[]