Simple Question (Direct)
Simple Question
Q18348775
P27
Q15617994
USER
Which administrative territory is the native country of Conrad Ricamora ?
(Q18348775,P27,c(Q15617994))
action filter_type
action find
entity Q18348775
relation P27
type Q15617994
['Q18348775', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q18348775 property:P27 ?t }
Conrad Ricamora
action filter_type
action find
entity Conrad Ricamora
relation country of citizenship
type designation for an administrative territorial entity
['Conrad Ricamora', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Conrad_Ricamora property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q18348775,P27,c(Q15617994))
action filter_type
action find
entity Q18348775
relation P27
type Q15617994
[ANSWER] is the native country of Conrad Ricamora
['Q18348775', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q18348775 property:P27 ?t }
United States of America
United States of America is the native country of Conrad Ricamora
United States of America
action filter_type
action find
entity Conrad Ricamora
relation country of citizenship
type designation for an administrative territorial entity
['Conrad Ricamora', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Conrad_Ricamora property:country_of_citizenship ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is the currency of that administrative territory ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?v WHERE { resource:Q30 property:P38 ?v . ?v rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?v WHERE { resource:United_States_of_America property:currency ?v . ?v rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
The currency of that administrative territory is the [ANSWER]
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?v WHERE { resource:Q30 property:P38 ?v . ?v rdf:type ontology:Q8142 }
United States dollar
The currency of that administrative territory is the United States dollar
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?v WHERE { resource:United_States_of_America property:currency ?v . ?v rdf:type ontology:currency }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P38
Q8142 Q15617994 Q5589178
USER
Which currencies are considered to be the currency of around the same number of administrative territories and regimes as that currency ?
(c(Q15617994)|c(Q5589178),P38,c(Q8142))
action approx
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q15617994
action find_reverse_tuple_counts
relation P38
type Q8142
type Q5589178
action count
action filter_multi_types
action find_reverse
entity Q4917
relation P38
type Q15617994
type Q5589178
[[{'concept': 'Q15617994'}, {'concept': 'Q5589178'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?d WHERE { { ?d rdf:type ontology:Q8142 . ?q rdf:type ontology:Q15617994 . ?q property:P38 ?d } UNION { ?q rdf:type ontology:Q5589178 . ?d rdf:type ontology:Q8142 . ?q property:P38 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P38 resource:Q4917 . { { ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q5589178 } } } } . FILTER ( ?a = ?x ) }
action approx
action union
action find_reverse_tuple_counts
relation currency
type currency
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation currency
type currency
type regime
action count
action filter_multi_types
action find_reverse
entity United States dollar
relation currency
type designation for an administrative territorial entity
type regime
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'regime'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?d WHERE { { ?d rdf:type ontology:currency . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:currency ?d } UNION { ?q rdf:type ontology:regime . ?d rdf:type ontology:currency . ?q property:currency ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:currency resource:United_States_dollar . { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:regime } } } } . FILTER ( ?a = ?x ) }
[]
currency designation for an administrative territorial entity regime
Q4917
SYSTEM
United States dollar
Q4917
(c(Q15617994)|c(Q5589178),P38,c(Q8142))
action approx
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q15617994
action find_reverse_tuple_counts
relation P38
type Q8142
type Q5589178
action count
action filter_multi_types
action find_reverse
entity Q4917
relation P38
type Q15617994
type Q5589178
[ANSWER] is considered to be the currency of around the same number of administrative territories and regimes as that currency
[[{'concept': 'Q15617994'}, {'concept': 'Q5589178'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?d WHERE { { ?d rdf:type ontology:Q8142 . ?q rdf:type ontology:Q15617994 . ?q property:P38 ?d } UNION { ?q rdf:type ontology:Q5589178 . ?d rdf:type ontology:Q8142 . ?q property:P38 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P38 resource:Q4917 . { { ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q5589178 } } } } . FILTER ( ?a = ?x ) }
United States dollar
United States dollar is considered to be the currency of around the same number of administrative territories and regimes as that currency
United States dollar
action approx
action union
action find_reverse_tuple_counts
relation currency
type currency
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation currency
type currency
type regime
action count
action filter_multi_types
action find_reverse
entity United States dollar
relation currency
type designation for an administrative territorial entity
type regime
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'regime'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?d WHERE { { ?d rdf:type ontology:currency . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:currency ?d } UNION { ?q rdf:type ontology:regime . ?d rdf:type ontology:currency . ?q property:currency ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:currency resource:United_States_dollar . { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:regime } } } } . FILTER ( ?a = ?x ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P38
Q8142 Q1048835
USER
Which political territories are approximately 1 currency the currency of ?
(c(Q1048835),P38,c(Q8142))
action approx
action find_tuple_counts
relation P38
type Q1048835
type Q8142
value 1
[{'concept': 'Q1048835'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?y ) WHERE { ?o rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q8142 . ?o property:P38 ?d } GROUP BY ?o } }
action approx
action find_tuple_counts
relation currency
type political territorial entity
type currency
value 1
[{'concept': 'political territorial entity'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?y ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:currency . ?o property:currency ?d } GROUP BY ?o } }
[]
currency political territorial entity
Q408 Q785 Q9676
SYSTEM
Australia, Jersey, Isle of Man
Q13116 Q785 Q9676 Q18221 Q43448 Q408 Q9648 Q35086 Q25305
(c(Q1048835),P38,c(Q8142))
action approx
action find_tuple_counts
relation P38
type Q1048835
type Q8142
value 1
[ANSWERS] are approximately 1 currency the currency of
[{'concept': 'Q1048835'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?y ) WHERE { ?o rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q8142 . ?o property:P38 ?d } GROUP BY ?o } }
Benelux Jersey Isle of Man Turks and Caicos Islands British Indian Ocean Territory Australia Falkland Islands South Georgia and the South Sandwich Islands British Virgin Islands
Australia, Jersey and Isle of Man are approximately 1 currency the currency of
Australia Jersey Isle of Man
action approx
action find_tuple_counts
relation currency
type political territorial entity
type currency
value 1
[{'concept': 'political territorial entity'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?y ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:currency . ?o property:currency ?d } GROUP BY ?o } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q785
P551
Q502895
USER
Which people live in that political territory ?
(c(Q502895),P551,Q785)
action filter_type
action find_reverse
entity Q785
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q785']
SELECT DISTINCT ?h WHERE { ?h property:P551 resource:Q785 . ?h rdf:type ontology:Q502895 }
Jersey
action filter_type
action find_reverse
entity Jersey
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Jersey']
SELECT DISTINCT ?h WHERE { ?h property:residence resource:Jersey . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q9676
SYSTEM
Did you mean Isle of Man ?
Q408 Q785 Q9676
(c(Q502895),P551,Q408) (c(Q502895),P551,Q785) (c(Q502895),P551,Q9676)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q408'] [{'concept': 'Q502895'}, 'P551', 'Q785'] [{'concept': 'Q502895'}, 'P551', 'Q9676']
SELECT DISTINCT ?h WHERE { ?h property:P551 resource:Q785 . ?h rdf:type ontology:Q502895 }
Australia Jersey Isle of Man
Did you mean Isle of Man ?
Isle of Man
[{'concept': 'common name'}, 'residence', 'Australia'] [{'concept': 'common name'}, 'residence', 'Jersey'] [{'concept': 'common name'}, 'residence', 'Isle of Man']
SELECT DISTINCT ?h WHERE { ?h property:residence resource:Jersey . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Jersey. Could you tell me the answer for that?
(c(Q502895),P551,Q785)
Q785
[{'concept': 'Q502895'}, 'P551', 'Q785']
[{'concept': 'common name'}, 'residence', 'Jersey']
[]
Q295498 Q6115640 Q189144
SYSTEM
Henry Cavill, Jack Walker, Walter Raleigh
Q6115640 Q189144 Q21995579 Q295498 Q6836348 Q6905581
(c(Q502895),P551,Q785)
action filter_type
action find_reverse
entity Q785
relation P551
type Q502895
[ANSWERS] live in that political territory
[{'concept': 'Q502895'}, 'P551', 'Q785']
SELECT DISTINCT ?h WHERE { ?h property:P551 resource:Q785 . ?h rdf:type ontology:Q502895 }
Jack Walker Walter Raleigh Simon Nixon Henry Cavill Michel Couriard Montfort Tadier
Henry Cavill, Jack Walker and Walter Raleigh live in that political territory
Henry Cavill Jack Walker Walter Raleigh
action filter_type
action find_reverse
entity Jersey
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Jersey']
SELECT DISTINCT ?h WHERE { ?h property:residence resource:Jersey . ?h rdf:type ontology:common_name }
[]