Simple Question (Direct)
Simple Question
Q2834476
P463
Q48204
USER
Which voluntary association was Alexis Chassang a member of ?
(Q2834476,P463,c(Q48204))
action filter_type
action find
entity Q2834476
relation P463
type Q48204
['Q2834476', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?o WHERE { resource:Q2834476 property:P463 ?o . ?o rdf:type ontology:Q48204 }
Alexis Chassang
action filter_type
action find
entity Alexis Chassang
relation member of
type voluntary association
['Alexis Chassang', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?o WHERE { resource:Alexis_Chassang property:member_of ?o . ?o rdf:type ontology:voluntary_association }
[]
voluntary association
Q18912936
SYSTEM
Hellenic Philological Society of Constantinople
Q18912936
(Q2834476,P463,c(Q48204))
action filter_type
action find
entity Q2834476
relation P463
type Q48204
[ANSWER]
['Q2834476', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?o WHERE { resource:Q2834476 property:P463 ?o . ?o rdf:type ontology:Q48204 }
Hellenic Philological Society of Constantinople
Hellenic Philological Society of Constantinople
action filter_type
action find
entity Alexis Chassang
relation member of
type voluntary association
['Alexis Chassang', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?o WHERE { resource:Alexis_Chassang property:member_of ?o . ?o rdf:type ontology:voluntary_association }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2834476
P20
Q20667921
USER
Where did Alexis Chassang die ?
(Q2834476,P20,c(Q20667921))
action filter_type
action find
entity Q2834476
relation P20
type Q20667921
['Q2834476', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q2834476 property:P20 ?r . ?r rdf:type ontology:Q20667921 }
Alexis Chassang
action filter_type
action find
entity Alexis Chassang
relation place of death
type type of french administrative division
['Alexis Chassang', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Alexis_Chassang property:place_of_death ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q249852
SYSTEM
Bourg-la-Reine
Q249852
(Q2834476,P20,c(Q20667921))
action filter_type
action find
entity Q2834476
relation P20
type Q20667921
[ANSWER]
['Q2834476', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q2834476 property:P20 ?r . ?r rdf:type ontology:Q20667921 }
Bourg-la-Reine
Bourg-la-Reine
action filter_type
action find
entity Alexis Chassang
relation place of death
type type of french administrative division
['Alexis Chassang', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Alexis_Chassang property:place_of_death ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q249852
P17
Q15617994
USER
Which administrative territory is that french administrative division present in ?
(Q249852,P17,c(Q15617994))
action filter_type
action find
entity Q249852
relation P17
type Q15617994
['Q249852', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q249852 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Bourg-la-Reine
action filter_type
action find
entity Bourg-la-Reine
relation country
type designation for an administrative territorial entity
['Bourg-la-Reine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Bourg-la-Reine property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q249852,P17,c(Q15617994))
action filter_type
action find
entity Q249852
relation P17
type Q15617994
[ANSWER]
['Q249852', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q249852 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Bourg-la-Reine
relation country
type designation for an administrative territorial entity
['Bourg-la-Reine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Bourg-la-Reine property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with atleast 42 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 42
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?h } . FILTER ( ?l >= 42 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 42
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?h } . FILTER ( ?l >= 42 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 42
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?h } . FILTER ( ?l >= 42 ) }
Germany Australia
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 42
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?h } . FILTER ( ?l >= 42 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q183 Q408
P47
Q15617994
USER
Who share the border with Germany and Australia ?
(Q183,P47,c(Q15617994)) (Q408,P47,c(Q15617994))
action union
action filter_type
action find
entity Q183
relation P47
type Q15617994
action filter_type
action find
entity Q408
relation P47
type Q15617994
['Q183', 'P47', {'concept': 'Q15617994'}] ['Q408', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q183 property:P47 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q408 property:P47 ?m . ?m rdf:type ontology:Q15617994 } }
Germany Australia
action union
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Australia
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Australia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Germany property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Australia property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q55 Q142 Q36
SYSTEM
Netherlands, France, Poland
Q142 Q213 Q55 Q29999 Q32 Q31 Q36 Q39 Q252
(Q183,P47,c(Q15617994)) (Q408,P47,c(Q15617994))
action union
action filter_type
action find
entity Q183
relation P47
type Q15617994
action filter_type
action find
entity Q408
relation P47
type Q15617994
[ANSWERS]
['Q183', 'P47', {'concept': 'Q15617994'}] ['Q408', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q183 property:P47 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q408 property:P47 ?m . ?m rdf:type ontology:Q15617994 } }
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium Poland Switzerland Indonesia
Netherlands France Poland
action union
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Australia
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Australia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Germany property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Australia property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q55
P112
Q180516
USER
Which room was started by that administrative territory ?
(c(Q180516),P112,Q55)
action filter_type
action find_reverse
entity Q55
relation P112
type Q180516
[{'concept': 'Q180516'}, 'P112', 'Q55']
SELECT DISTINCT ?h WHERE { ?h property:P112 resource:Q55 . ?h rdf:type ontology:Q180516 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation founder
type room
[{'concept': 'room'}, 'founder', 'Netherlands']
SELECT DISTINCT ?h WHERE { ?h property:founder resource:Netherlands . ?h rdf:type ontology:room }
[]
room
Clarification for simple ques.
Q36
SYSTEM
Did you mean Poland ?
Q55 Q142 Q36
(c(Q180516),P112,Q55) (c(Q180516),P112,Q142) (c(Q180516),P112,Q36)
[ANSWER]
[{'concept': 'Q180516'}, 'P112', 'Q55'] [{'concept': 'Q180516'}, 'P112', 'Q142'] [{'concept': 'Q180516'}, 'P112', 'Q36']
SELECT DISTINCT ?h WHERE { ?h property:P112 resource:Q55 . ?h rdf:type ontology:Q180516 }
Netherlands France Poland
Did you mean Poland ?
Poland
[{'concept': 'room'}, 'founder', 'Netherlands'] [{'concept': 'room'}, 'founder', 'France'] [{'concept': 'room'}, 'founder', 'Poland']
SELECT DISTINCT ?h WHERE { ?h property:founder resource:Netherlands . ?h rdf:type ontology:room }
[]
Simple Question (Coreferenced)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(c(Q180516),P112,Q55)
Q55
[{'concept': 'Q180516'}, 'P112', 'Q55']
[{'concept': 'room'}, 'founder', 'Netherlands']
[]
Q141720
SYSTEM
European Air Transport Command
Q141720
(c(Q180516),P112,Q55)
action filter_type
action find_reverse
entity Q55
relation P112
type Q180516
[ANSWER]
[{'concept': 'Q180516'}, 'P112', 'Q55']
SELECT DISTINCT ?h WHERE { ?h property:P112 resource:Q55 . ?h rdf:type ontology:Q180516 }
European Air Transport Command
European Air Transport Command
action filter_type
action find_reverse
entity Netherlands
relation founder
type room
[{'concept': 'room'}, 'founder', 'Netherlands']
SELECT DISTINCT ?h WHERE { ?h property:founder resource:Netherlands . ?h rdf:type ontology:room }
[]