Simple Question (Direct)
Simple Question
Q5340021
P734
Q82799
USER
Who is associated with Edna Brown ?
(Q5340021,P734,c(Q82799))
action filter_type
action find
entity Q5340021
relation P734
type Q82799
['Q5340021', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q5340021 property:P734 ?s }
Edna Brown
action filter_type
action find
entity Edna Brown
relation family name
type name
['Edna Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Edna_Brown property:family_name ?s }
[]
name
Q13421990
SYSTEM
Brown
Q13421990
(Q5340021,P734,c(Q82799))
action filter_type
action find
entity Q5340021
relation P734
type Q82799
[ANSWER] is associated with Edna [ANSWER]
['Q5340021', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q5340021 property:P734 ?s }
Brown
Brown is associated with Edna Brown
Brown
action filter_type
action find
entity Edna Brown
relation family name
type name
['Edna Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Edna_Brown property:family_name ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5340021
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q13421990,P1412,c(Q34770))
action filter_type
action find
entity Q5340021
relation P1412
type Q34770
['Q13421990', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q5340021 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Edna Brown
action filter_type
action find
entity Edna Brown
relation languages spoken, written or signed
type language
['Brown', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Edna_Brown property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q13421990,P1412,c(Q34770))
action filter_type
action find
entity Q5340021
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q13421990', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q5340021 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
English
English is that person capable of writing
English
action filter_type
action find
entity Edna Brown
relation languages spoken, written or signed
type language
['Brown', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Edna_Brown property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5340021
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q1860,P39,c(Q12737077))
action filter_type
action find
entity Q5340021
relation P39
type Q12737077
['Q1860', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q5340021 property:P39 ?k }
Edna Brown
action filter_type
action find
entity Edna Brown
relation position held
type occupation
['English', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Edna_Brown property:position_held ?k }
[]
occupation
Q17502533
SYSTEM
member of the Ohio House of Representatives
Q17502533
(Q1860,P39,c(Q12737077))
action filter_type
action find
entity Q5340021
relation P39
type Q12737077
The [ANSWER]
['Q1860', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q5340021 property:P39 ?k }
member of the Ohio House of Representatives
The member of the Ohio House of Representatives
member of the Ohio House of Representatives
action filter_type
action find
entity Edna Brown
relation position held
type occupation
['English', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Edna_Brown property:position_held ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q386724 Q17638008
USER
Which occupations are demonstrated in exactly 2 works or game equipment ?
(c(Q386724)|c(Q17638008),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
value 2
[[{'concept': 'Q386724'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { { ?n property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q386724 } UNION { ?n property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q17638008 } } GROUP BY ?x } . FILTER ( ?p = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
value 2
[[{'concept': 'work'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { { ?n property:depicts ?x . ?x rdf:type ontology:occupation . ?n rdf:type ontology:work } UNION { ?n property:depicts ?x . ?x rdf:type ontology:occupation . ?n rdf:type ontology:game_equipment } } GROUP BY ?x } . FILTER ( ?p = 2 ) }
[]
occupation work game equipment
Q54128 Q2730732
SYSTEM
domestic worker, equestrian
Q54128 Q2730732
(c(Q386724)|c(Q17638008),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
value 2
[ANSWERS] are demonstrated in exactly 2 works or game equipment
[[{'concept': 'Q386724'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { { ?n property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q386724 } UNION { ?n property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q17638008 } } GROUP BY ?x } . FILTER ( ?p = 2 ) }
domestic worker equestrian
Domestic worker and equestrian are demonstrated in exactly 2 works or game equipment
domestic worker equestrian
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
value 2
[[{'concept': 'work'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { { ?n property:depicts ?x . ?x rdf:type ontology:occupation . ?n rdf:type ontology:work } UNION { ?n property:depicts ?x . ?x rdf:type ontology:occupation . ?n rdf:type ontology:game_equipment } } GROUP BY ?x } . FILTER ( ?p = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18016770 Q13421990
P407
Q34770
USER
Which languages are Brown or Mishap destroys SpaceX Falcon 1 after maiden launch in ?
OR((Q13421990,P407,c(Q34770)), (Q18016770,P407,c(Q34770)))
action filter_type
action union
action find
entity Q13421990
relation P407
action find
entity Q18016770
relation P407
type Q34770
{'OR': [['Q13421990', 'P407', {'concept': 'Q34770'}], ['Q18016770', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q18016770 property:P407 ?f } UNION { resource:Q13421990 property:P407 ?f } } . ?f rdf:type ontology:Q34770 }
Mishap destroys SpaceX Falcon 1 after maiden launch Brown
action filter_type
action union
action find
entity Brown
relation language of work or name
action find
entity Mishap destroys SpaceX Falcon 1 after maiden launch
relation language of work or name
type language
{'OR': [['Brown', 'language of work or name', {'concept': 'language'}], ['Mishap destroys SpaceX Falcon 1 after maiden launch', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Mishap_destroys_SpaceX_Falcon_1_after_maiden_launch property:language_of_work_or_name ?f } UNION { resource:Brown property:language_of_work_or_name ?f } } . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q13421990,P407,c(Q34770)), (Q18016770,P407,c(Q34770)))
action filter_type
action union
action find
entity Q13421990
relation P407
action find
entity Q18016770
relation P407
type Q34770
[ANSWER] is Brown or Mishap destroys SpaceX Falcon 1 after maiden launch in
{'OR': [['Q13421990', 'P407', {'concept': 'Q34770'}], ['Q18016770', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q18016770 property:P407 ?f } UNION { resource:Q13421990 property:P407 ?f } } . ?f rdf:type ontology:Q34770 }
English
English is Brown or Mishap destroys SpaceX Falcon 1 after maiden launch in
English
action filter_type
action union
action find
entity Brown
relation language of work or name
action find
entity Mishap destroys SpaceX Falcon 1 after maiden launch
relation language of work or name
type language
{'OR': [['Brown', 'language of work or name', {'concept': 'language'}], ['Mishap destroys SpaceX Falcon 1 after maiden launch', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Mishap_destroys_SpaceX_Falcon_1_after_maiden_launch property:language_of_work_or_name ?f } UNION { resource:Brown property:language_of_work_or_name ?f } } . ?f rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q225
P37
Q34770 Q15617994
USER
Which administrative territories are greater number of languages the official language of than Bosnia and Herzegovina ?
(c(Q15617994),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q225
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Q225 property:P37 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?o > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?o ) WHERE { ?y property:P37 ?g . ?y rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q34770 } GROUP BY ?y } }
Bosnia and Herzegovina
action greater
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Bosnia and Herzegovina
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Bosnia_and_Herzegovina property:official_language ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?o ) WHERE { ?y property:official_language ?g . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:language } GROUP BY ?y } }
[]
language designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q225
relation P37
type Q15617994
[ANSWERS] are greater number of languages the official language of than Bosnia and Herzegovina
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Q225 property:P37 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?o > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?o ) WHERE { ?y property:P37 ?g . ?y rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q34770 } GROUP BY ?y } }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy, Netherlands and Zambia are greater number of languages the official language of than Bosnia and Herzegovina
Italy Netherlands Zambia
action greater
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Bosnia and Herzegovina
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Bosnia_and_Herzegovina property:official_language ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?o ) WHERE { ?y property:official_language ?g . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:language } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q21671144
P37
Q34770 Q15617994
USER
And how about Mezhetchina?
(c(Q15617994),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q21671144
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?w ) WHERE { ?o property:P37 ?h . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q34770 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q21671144 property:P37 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?p ) }
Mezhetchina
action greater
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Mezhetchina
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?w ) WHERE { ?o property:official_language ?h . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:language } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Mezhetchina property:official_language ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?p ) }
[]
language designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q21671144
relation P37
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?w ) WHERE { ?o property:P37 ?h . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q34770 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q21671144 property:P37 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?p ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy Netherlands Zambia
action greater
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Mezhetchina
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?w ) WHERE { ?o property:official_language ?h . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:language } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Mezhetchina property:official_language ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?p ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q664178
P530
Q1048835
USER
Do Herradón de Pinares have diplomatic relations with those administrative territories ?
(Q664178,P530,Q38) (Q664178,P530,Q55) (Q664178,P530,Q953)
action is_in
entity prev_answer
action find
entity Q664178
relation P530
['Q664178', 'P530', 'Q38'] ['Q664178', 'P530', 'Q55'] ['Q664178', 'P530', 'Q953']
ASK WHERE { VALUES ( ?r ) { ( resource:Q804 ) ( resource:Q399 ) ( resource:Q800 ) } . resource:Q664178 property:P530 ?r }
Herradón de Pinares
action is_in
entity prev_answer
action find
entity Herradón de Pinares
relation diplomatic relation
['Herradón de Pinares', 'diplomatic relation', 'Italy'] ['Herradón de Pinares', 'diplomatic relation', 'Netherlands'] ['Herradón de Pinares', 'diplomatic relation', 'Zambia']
ASK WHERE { VALUES ( ?r ) { ( resource:Panama ) ( resource:Armenia ) ( resource:Costa_Rica ) } . resource:Herradón_de_Pinares property:diplomatic_relation ?r }
[]
political territorial entity
SYSTEM
NO
(Q664178,P530,Q38) (Q664178,P530,Q55) (Q664178,P530,Q953)
action is_in
entity prev_answer
action find
entity Q664178
relation P530
[ANSWER]
['Q664178', 'P530', 'Q38'] ['Q664178', 'P530', 'Q55'] ['Q664178', 'P530', 'Q953']
ASK WHERE { VALUES ( ?r ) { ( resource:Q804 ) ( resource:Q399 ) ( resource:Q800 ) } . resource:Q664178 property:P530 ?r }
No
action is_in
entity prev_answer
action find
entity Herradón de Pinares
relation diplomatic relation
['Herradón de Pinares', 'diplomatic relation', 'Italy'] ['Herradón de Pinares', 'diplomatic relation', 'Netherlands'] ['Herradón de Pinares', 'diplomatic relation', 'Zambia']
ASK WHERE { VALUES ( ?r ) { ( resource:Panama ) ( resource:Armenia ) ( resource:Costa_Rica ) } . resource:Herradón_de_Pinares property:diplomatic_relation ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q13421990 Q7827518 Q1860
P407
Q34770
USER
Is Brown in Torá language and English ?
(Q13421990,P407,Q7827518) (Q13421990,P407,Q1860)
action is_in
entity Q13421990
action intersection
action find_reverse
entity Q7827518
relation P407
action find_reverse
entity Q1860
relation P407
['Q13421990', 'P407', 'Q7827518'] ['Q13421990', 'P407', 'Q1860']
ASK WHERE { resource:Q13421990 property:P407 resource:Q1860 . resource:Q13421990 property:P407 resource:Q7827518 }
Brown Torá language English
action is_in
entity Brown
action intersection
action find_reverse
entity Torá language
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Brown', 'language of work or name', 'Torá language'] ['Brown', 'language of work or name', 'English']
ASK WHERE { resource:Brown property:language_of_work_or_name resource:English . resource:Brown property:language_of_work_or_name resource:Torá_language }
[]
language
SYSTEM
NO and YES respectively
(Q13421990,P407,Q7827518) (Q13421990,P407,Q1860)
action is_in
entity Q13421990
action intersection
action find_reverse
entity Q7827518
relation P407
action find_reverse
entity Q1860
relation P407
[ANSWER]
['Q13421990', 'P407', 'Q7827518'] ['Q13421990', 'P407', 'Q1860']
ASK WHERE { resource:Q13421990 property:P407 resource:Q1860 . resource:Q13421990 property:P407 resource:Q7827518 }
NO and YES respectively
action is_in
entity Brown
action intersection
action find_reverse
entity Torá language
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Brown', 'language of work or name', 'Torá language'] ['Brown', 'language of work or name', 'English']
ASK WHERE { resource:Brown property:language_of_work_or_name resource:English . resource:Brown property:language_of_work_or_name resource:Torá_language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q29
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Spain ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q29
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q29 property:P530 ?m } } . FILTER ( ?f = ?l ) . { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?v } }
Spain
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain property:diplomatic_relation ?m } } . FILTER ( ?f = ?l ) . { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q29
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q29 property:P530 ?m } } . FILTER ( ?f = ?l ) . { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?v } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
156
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain property:diplomatic_relation ?m } } . FILTER ( ?f = ?l ) . { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q796
P530
Q15617994 Q15617994
USER
And what about Iraq?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q796
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?y property:P530 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q796 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?o ) }
Iraq
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Iraq
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Iraq property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q796
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?y property:P530 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q796 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?o ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Iraq
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Iraq property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?o ) }
[]