Simple Question (Direct)
Simple Question
Q14903110
P106
Q12737077
USER
What is the profession of Ludwig Markus Mack ?
(Q14903110,P106,c(Q12737077))
action filter_type
action find
entity Q14903110
relation P106
type Q12737077
['Q14903110', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q14903110 property:P106 ?i }
Ludwig Markus Mack
action filter_type
action find
entity Ludwig Markus Mack
relation occupation
type occupation
['Ludwig Markus Mack', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Ludwig_Markus_Mack property:occupation ?i }
[]
occupation
Q43845
SYSTEM
businessperson
Q43845
(Q14903110,P106,c(Q12737077))
action filter_type
action find
entity Q14903110
relation P106
type Q12737077
The profession of Ludwig Markus Mack is a [ANSWER]
['Q14903110', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q14903110 property:P106 ?i }
businessperson
The profession of Ludwig Markus Mack is a businessperson
businessperson
action filter_type
action find
entity Ludwig Markus Mack
relation occupation
type occupation
['Ludwig Markus Mack', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Ludwig_Markus_Mack property:occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14903110
P112
Q43229
USER
Which organization was founded by Ludwig Markus Mack ?
(c(Q43229),P112,Q14903110)
action filter_type
action find_reverse
entity Q14903110
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q14903110']
SELECT DISTINCT ?f WHERE { ?f property:P112 resource:Q14903110 . ?f rdf:type ontology:Q43229 }
Ludwig Markus Mack
action filter_type
action find_reverse
entity Ludwig Markus Mack
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Ludwig Markus Mack']
SELECT DISTINCT ?f WHERE { ?f property:founder resource:Ludwig_Markus_Mack . ?f rdf:type ontology:organization }
[]
organization
Q1748810
SYSTEM
Macks Ølbryggeri
Q1748810
(c(Q43229),P112,Q14903110)
action filter_type
action find_reverse
entity Q14903110
relation P112
type Q43229
[ANSWER] was founded by Ludwig Markus Mack
[{'concept': 'Q43229'}, 'P112', 'Q14903110']
SELECT DISTINCT ?f WHERE { ?f property:P112 resource:Q14903110 . ?f rdf:type ontology:Q43229 }
Macks Ølbryggeri
Macks Ølbryggeri was founded by Ludwig Markus Mack
Macks Ølbryggeri
action filter_type
action find_reverse
entity Ludwig Markus Mack
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Ludwig Markus Mack']
SELECT DISTINCT ?f WHERE { ?f property:founder resource:Ludwig_Markus_Mack . ?f rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14903110
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q1748810,P102,c(Q7210356))
action filter_type
action find
entity Q14903110
relation P102
type Q7210356
['Q1748810', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q14903110 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Ludwig Markus Mack
action filter_type
action find
entity Ludwig Markus Mack
relation member of political party
type political organization
['Macks Ølbryggeri', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Ludwig_Markus_Mack property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q586364
SYSTEM
Conservative Party
Q586364
(Q1748810,P102,c(Q7210356))
action filter_type
action find
entity Q14903110
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q1748810', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q14903110 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Conservative Party
The Conservative Party is that person a member of
Conservative Party
action filter_type
action find
entity Ludwig Markus Mack
relation member of political party
type political organization
['Macks Ølbryggeri', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Ludwig_Markus_Mack property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q586364 Q585
P159
Q56061
USER
Is Oslo the HQ of that political organization ?
(Q586364,P159,Q585)
action is_in
entity Q585
action find
entity Q586364
relation P159
['Q586364', 'P159', 'Q585']
ASK WHERE { resource:Q586364 property:P159 resource:Q585 }
Conservative Party Oslo
action is_in
entity Oslo
action find
entity Conservative Party
relation headquarters location
['Conservative Party', 'headquarters location', 'Oslo']
ASK WHERE { resource:Conservative_Party property:headquarters_location resource:Oslo }
[]
administrative territorial entity
SYSTEM
YES
(Q586364,P159,Q585)
action is_in
entity Q585
action find
entity Q586364
relation P159
[ANSWER]
['Q586364', 'P159', 'Q585']
ASK WHERE { resource:Q586364 property:P159 resource:Q585 }
Yes
action is_in
entity Oslo
action find
entity Conservative Party
relation headquarters location
['Conservative Party', 'headquarters location', 'Oslo']
ASK WHERE { resource:Conservative_Party property:headquarters_location resource:Oslo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q14903110 Q6915523
P27
Q15617994
USER
Is Ludwig Markus Mack a civilian of Moscow School District ?
(Q14903110,P27,Q6915523)
action is_in
entity Q6915523
action find
entity Q14903110
relation P27
['Q14903110', 'P27', 'Q6915523']
ASK WHERE { resource:Q14903110 property:P27 resource:Q6915523 }
Ludwig Markus Mack Moscow School District
action is_in
entity Moscow School District
action find
entity Ludwig Markus Mack
relation country of citizenship
['Ludwig Markus Mack', 'country of citizenship', 'Moscow School District']
ASK WHERE { resource:Ludwig_Markus_Mack property:country_of_citizenship resource:Moscow_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q14903110,P27,Q6915523)
action is_in
entity Q6915523
action find
entity Q14903110
relation P27
[ANSWER]
['Q14903110', 'P27', 'Q6915523']
ASK WHERE { resource:Q14903110 property:P27 resource:Q6915523 }
No
action is_in
entity Moscow School District
action find
entity Ludwig Markus Mack
relation country of citizenship
['Ludwig Markus Mack', 'country of citizenship', 'Moscow School District']
ASK WHERE { resource:Ludwig_Markus_Mack property:country_of_citizenship resource:Moscow_School_District }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14903110
P19
Q56061
USER
Which administrative territory was that person born at ?
action filter_type
action find
entity Q14903110
relation P19
type Q56061
SELECT DISTINCT ?j WHERE { resource:Q14903110 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Ludwig Markus Mack
action filter_type
action find
entity Ludwig Markus Mack
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?j WHERE { resource:Ludwig_Markus_Mack property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q26087
SYSTEM
Tromsø
Q26087
action filter_type
action find
entity Q14903110
relation P19
type Q56061
That person was born in [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q14903110 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Tromsø
That person was born in Tromsø
Tromsø
action filter_type
action find
entity Ludwig Markus Mack
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?j WHERE { resource:Ludwig_Markus_Mack property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1059572 Q14903110
P27
Q15617994
USER
Which administrative territories are Ludwig Markus Mack or Khaled Al Khamissi a civilian of ?
OR((Q14903110,P27,c(Q15617994)), (Q1059572,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14903110
relation P27
action find
entity Q1059572
relation P27
type Q15617994
{'OR': [['Q14903110', 'P27', {'concept': 'Q15617994'}], ['Q1059572', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?y ) { ( resource:Q14903110 ) ( resource:Q1059572 ) } . ?y property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Khaled Al Khamissi Ludwig Markus Mack
action filter_type
action union
action find
entity Ludwig Markus Mack
relation country of citizenship
action find
entity Khaled Al Khamissi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ludwig Markus Mack', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Khaled Al Khamissi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?y ) { ( resource:Ludwig_Markus_Mack ) ( resource:Khaled_Al_Khamissi ) } . ?y property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q79
SYSTEM
Norway, Egypt
Q20 Q79
OR((Q14903110,P27,c(Q15617994)), (Q1059572,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14903110
relation P27
action find
entity Q1059572
relation P27
type Q15617994
[ANSWERS] are Ludwig Markus Mack or Khaled Al Khamissi a civilian of
{'OR': [['Q14903110', 'P27', {'concept': 'Q15617994'}], ['Q1059572', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?y ) { ( resource:Q14903110 ) ( resource:Q1059572 ) } . ?y property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Norway Egypt
Norway and Egypt are Ludwig Markus Mack or Khaled Al Khamissi a civilian of
Norway Egypt
action filter_type
action union
action find
entity Ludwig Markus Mack
relation country of citizenship
action find
entity Khaled Al Khamissi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ludwig Markus Mack', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Khaled Al Khamissi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?y ) { ( resource:Ludwig_Markus_Mack ) ( resource:Khaled_Al_Khamissi ) } . ?y property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1059572
P21
Q290
USER
What is the sex of Khaled Al Khamissi ?
(Q20,P21,c(Q290)) (Q79,P21,c(Q290))
action filter_type
action find
entity Q1059572
relation P21
type Q290
['Q20', 'P21', {'concept': 'Q290'}] ['Q79', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1059572 property:P21 ?t . ?t rdf:type ontology:Q290 }
Khaled Al Khamissi
action filter_type
action find
entity Khaled Al Khamissi
relation gender
type sex
['Norway', 'gender', {'concept': 'sex'}] ['Egypt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Khaled_Al_Khamissi property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20,P21,c(Q290)) (Q79,P21,c(Q290))
action filter_type
action find
entity Q1059572
relation P21
type Q290
The sex of Khaled Al Khamissi is the [ANSWER]
['Q20', 'P21', {'concept': 'Q290'}] ['Q79', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1059572 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Khaled Al Khamissi is the male
male
action filter_type
action find
entity Khaled Al Khamissi
relation gender
type sex
['Norway', 'gender', {'concept': 'sex'}] ['Egypt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Khaled_Al_Khamissi property:gender ?t . ?t rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q559613 Q1059572
P21
Q290
USER
Or Stewart Stevenson?
OR((Q1059572,P21,c(Q290)), (Q559613,P21,c(Q290)))
action filter_type
action union
action find
entity Q1059572
relation P21
action find
entity Q559613
relation P21
type Q290
{'OR': [['Q1059572', 'P21', {'concept': 'Q290'}], ['Q559613', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q559613 property:P21 ?b } UNION { resource:Q1059572 property:P21 ?b } } . ?b rdf:type ontology:Q290 }
Stewart Stevenson Khaled Al Khamissi
action filter_type
action union
action find
entity Khaled Al Khamissi
relation gender
action find
entity Stewart Stevenson
relation gender
type sex
{'OR': [['Khaled Al Khamissi', 'gender', {'concept': 'sex'}], ['Stewart Stevenson', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Stewart_Stevenson property:gender ?b } UNION { resource:Khaled_Al_Khamissi property:gender ?b } } . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q1059572,P21,c(Q290)), (Q559613,P21,c(Q290)))
action filter_type
action union
action find
entity Q1059572
relation P21
action find
entity Q559613
relation P21
type Q290
[ANSWER]
{'OR': [['Q1059572', 'P21', {'concept': 'Q290'}], ['Q559613', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q559613 property:P21 ?b } UNION { resource:Q1059572 property:P21 ?b } } . ?b rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Khaled Al Khamissi
relation gender
action find
entity Stewart Stevenson
relation gender
type sex
{'OR': [['Khaled Al Khamissi', 'gender', {'concept': 'sex'}], ['Stewart Stevenson', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Stewart_Stevenson property:gender ?b } UNION { resource:Khaled_Al_Khamissi property:gender ?b } } . ?b rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q994395 Q6915523
P17
Q15617994
USER
Which administrative territories do Moscow School District or Burga belong to ?
OR((Q6915523,P17,c(Q15617994)), (Q994395,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6915523
relation P17
action find
entity Q994395
relation P17
type Q15617994
{'OR': [['Q6915523', 'P17', {'concept': 'Q15617994'}], ['Q994395', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q6915523 property:P17 ?g } UNION { resource:Q994395 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Burga Moscow School District
action filter_type
action union
action find
entity Moscow School District
relation country
action find
entity Burga
relation country
type designation for an administrative territorial entity
{'OR': [['Moscow School District', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Burga', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Moscow_School_District property:country ?g } UNION { resource:Burga property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q45
SYSTEM
United States of America, Portugal
Q30 Q45
OR((Q6915523,P17,c(Q15617994)), (Q994395,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6915523
relation P17
action find
entity Q994395
relation P17
type Q15617994
Moscow School District or Burga belong to the [ANSWERS]
{'OR': [['Q6915523', 'P17', {'concept': 'Q15617994'}], ['Q994395', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q6915523 property:P17 ?g } UNION { resource:Q994395 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
United States of America Portugal
Moscow School District or Burga belong to the United States of America and Portugal
United States of America Portugal
action filter_type
action union
action find
entity Moscow School District
relation country
action find
entity Burga
relation country
type designation for an administrative territorial entity
{'OR': [['Moscow School District', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Burga', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Moscow_School_District property:country ?g } UNION { resource:Burga property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with approximately 70 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 70
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { FILTER ( ?l = 70 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?l ) WHERE { ?z property:P530 ?s . ?z rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?z } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 70
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { FILTER ( ?l = 70 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?l ) WHERE { ?z property:diplomatic_relation ?s . ?z rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 70
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { FILTER ( ?l = 70 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?l ) WHERE { ?z property:P530 ?s . ?z rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?z } }
Australia Canada
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 70
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { FILTER ( ?l = 70 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?l ) WHERE { ?z property:diplomatic_relation ?s . ?z rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } }
[]