Simple Question (Direct)
Simple Question
Q273361
P47
Q20667921
USER
Who share the border with Zigliara ?
(Q273361,P47,c(Q20667921))
action filter_type
action find
entity Q273361
relation P47
type Q20667921
['Q273361', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q273361 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Zigliara
action filter_type
action find
entity Zigliara
relation shares border with
type type of french administrative division
['Zigliara', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Zigliara property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q273473 Q1108492 Q684878
SYSTEM
Santa-Maria-Siché, Petreto-Bicchisano, Moca-Croce
Q273473 Q681297 Q254151 Q1153469 Q1108492 Q643071 Q684878 Q1087791
(Q273361,P47,c(Q20667921))
action filter_type
action find
entity Q273361
relation P47
type Q20667921
[ANSWERS] share the border with Zigliara
['Q273361', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q273361 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Santa-Maria-Siché Argiusta-Moriccio Cardo-Torgia Urbalacone Petreto-Bicchisano Azilone-Ampaza Moca-Croce Forciolo
Santa-Maria-Siché, Petreto-Bicchisano and Moca-Croce share the border with Zigliara
Santa-Maria-Siché Petreto-Bicchisano Moca-Croce
action filter_type
action find
entity Zigliara
relation shares border with
type type of french administrative division
['Zigliara', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Zigliara property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q684878
P19
Q502895
USER
Who has location of birth at that french administrative division ?
(c(Q502895),P19,Q684878)
action filter_type
action find_reverse
entity Q684878
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q684878']
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q684878 . ?k rdf:type ontology:Q502895 }
Moca-Croce
action filter_type
action find_reverse
entity Moca-Croce
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Moca-Croce']
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Moca-Croce . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q684878
SYSTEM
Did you mean Moca-Croce ?
Q273473 Q1108492 Q684878
(c(Q502895),P19,Q273473) (c(Q502895),P19,Q1108492) (c(Q502895),P19,Q684878)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q273473'] [{'concept': 'Q502895'}, 'P19', 'Q1108492'] [{'concept': 'Q502895'}, 'P19', 'Q684878']
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q684878 . ?k rdf:type ontology:Q502895 }
Santa-Maria-Siché Petreto-Bicchisano Moca-Croce
Did you mean Moca-Croce ?
Moca-Croce
[{'concept': 'common name'}, 'place of birth', 'Santa-Maria-Siché'] [{'concept': 'common name'}, 'place of birth', 'Petreto-Bicchisano'] [{'concept': 'common name'}, 'place of birth', 'Moca-Croce']
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Moca-Croce . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P19,Q684878)
[{'concept': 'Q502895'}, 'P19', 'Q684878']
[{'concept': 'common name'}, 'place of birth', 'Moca-Croce']
[]
Q2865109
SYSTEM
Arthur Giovoni
Q2865109
(c(Q502895),P19,Q684878)
action filter_type
action find_reverse
entity Q684878
relation P19
type Q502895
[ANSWER] has location of birth at that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q684878']
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q684878 . ?k rdf:type ontology:Q502895 }
Arthur Giovoni
Arthur Giovoni has location of birth at that french administrative division
Arthur Giovoni
action filter_type
action find_reverse
entity Moca-Croce
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Moca-Croce']
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Moca-Croce . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2865109 Q15055530 Q330482
P26
Q502895
USER
Is that person the life partner of Angèle Chevrin-Giovoni and Michael Sprott ?
(Q2865109,P26,Q15055530) (Q2865109,P26,Q330482)
action is_in
entity Q2865109
action intersection
action find_reverse
entity Q15055530
relation P26
action find_reverse
entity Q330482
relation P26
['Q2865109', 'P26', 'Q15055530'] ['Q2865109', 'P26', 'Q330482']
ASK WHERE { resource:Q2865109 property:P26 resource:Q330482 . resource:Q2865109 property:P26 resource:Q15055530 }
Arthur Giovoni Angèle Chevrin-Giovoni Michael Sprott
action is_in
entity Arthur Giovoni
action intersection
action find_reverse
entity Angèle Chevrin-Giovoni
relation spouse
action find_reverse
entity Michael Sprott
relation spouse
['Arthur Giovoni', 'spouse', 'Angèle Chevrin-Giovoni'] ['Arthur Giovoni', 'spouse', 'Michael Sprott']
ASK WHERE { resource:Arthur_Giovoni property:spouse resource:Michael_Sprott . resource:Arthur_Giovoni property:spouse resource:Angèle_Chevrin-Giovoni }
[]
common name
SYSTEM
YES and NO respectively
(Q2865109,P26,Q15055530) (Q2865109,P26,Q330482)
action is_in
entity Q2865109
action intersection
action find_reverse
entity Q15055530
relation P26
action find_reverse
entity Q330482
relation P26
[ANSWER]
['Q2865109', 'P26', 'Q15055530'] ['Q2865109', 'P26', 'Q330482']
ASK WHERE { resource:Q2865109 property:P26 resource:Q330482 . resource:Q2865109 property:P26 resource:Q15055530 }
YES and NO respectively
action is_in
entity Arthur Giovoni
action intersection
action find_reverse
entity Angèle Chevrin-Giovoni
relation spouse
action find_reverse
entity Michael Sprott
relation spouse
['Arthur Giovoni', 'spouse', 'Angèle Chevrin-Giovoni'] ['Arthur Giovoni', 'spouse', 'Michael Sprott']
ASK WHERE { resource:Arthur_Giovoni property:spouse resource:Michael_Sprott . resource:Arthur_Giovoni property:spouse resource:Angèle_Chevrin-Giovoni }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2865109
P166
Q193622 Q618779
USER
How many orders or awards were received by Arthur Giovoni ?
(Q2865109,P166,c(Q193622)) (Q2865109,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q2865109
relation P166
type Q193622
action filter_type
action find
entity Q2865109
relation P166
type Q618779
['Q2865109', 'P166', {'concept': 'Q193622'}] ['Q2865109', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { resource:Q2865109 property:P166 ?p . ?p rdf:type ontology:Q193622 } UNION { resource:Q2865109 property:P166 ?p . ?p rdf:type ontology:Q618779 } }
Arthur Giovoni
action count
action union
action filter_type
action find
entity Arthur Giovoni
relation award received
type order
action filter_type
action find
entity Arthur Giovoni
relation award received
type award
['Arthur Giovoni', 'award received', {'concept': 'order'}] ['Arthur Giovoni', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { resource:Arthur_Giovoni property:award_received ?p . ?p rdf:type ontology:order } UNION { resource:Arthur_Giovoni property:award_received ?p . ?p rdf:type ontology:award } }
[]
order award
SYSTEM
3
Q2547676 Q2990283 Q10855271
(Q2865109,P166,c(Q193622)) (Q2865109,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q2865109
relation P166
type Q193622
action filter_type
action find
entity Q2865109
relation P166
type Q618779
[ANSWER]
['Q2865109', 'P166', {'concept': 'Q193622'}] ['Q2865109', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { resource:Q2865109 property:P166 ?p . ?p rdf:type ontology:Q193622 } UNION { resource:Q2865109 property:P166 ?p . ?p rdf:type ontology:Q618779 } }
Croix de guerre 1939–1945 Companion of the Liberation Knight of the Legion of Honour
3
action count
action union
action filter_type
action find
entity Arthur Giovoni
relation award received
type order
action filter_type
action find
entity Arthur Giovoni
relation award received
type award
['Arthur Giovoni', 'award received', {'concept': 'order'}] ['Arthur Giovoni', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { resource:Arthur_Giovoni property:award_received ?p . ?p rdf:type ontology:order } UNION { resource:Arthur_Giovoni property:award_received ?p . ?p rdf:type ontology:award } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q2865109
P106 P26
Q502895
USER
Which people are married to Arthur Giovoni and have the profession of politician ?
AND((c(Q502895),P26,Q2865109), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q2865109
relation P26
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q2865109'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?p WHERE { ?p property:P26 resource:Q2865109 . ?p property:P106 resource:Q82955 . ?p rdf:type ontology:Q502895 }
politician Arthur Giovoni
action filter_type
action intersection
action find_reverse
entity Arthur Giovoni
relation spouse
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Arthur Giovoni'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?p WHERE { ?p property:spouse resource:Arthur_Giovoni . ?p property:occupation resource:politician . ?p rdf:type ontology:common_name }
[]
common name
Q15055530
SYSTEM
Angèle Chevrin-Giovoni
Q15055530
AND((c(Q502895),P26,Q2865109), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q2865109
relation P26
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWER] is married to Arthur Giovoni and have the profession of politician
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q2865109'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?p WHERE { ?p property:P26 resource:Q2865109 . ?p property:P106 resource:Q82955 . ?p rdf:type ontology:Q502895 }
Angèle Chevrin-Giovoni
Angèle Chevrin-Giovoni is married to Arthur Giovoni and have the profession of politician
Angèle Chevrin-Giovoni
action filter_type
action intersection
action find_reverse
entity Arthur Giovoni
relation spouse
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Arthur Giovoni'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?p WHERE { ?p property:spouse resource:Arthur_Giovoni . ?p property:occupation resource:politician . ?p rdf:type ontology:common_name }
[]