Simple Question (Direct)
Simple Question
Q19968821
P19
Q56061
USER
Which administrative territory is the birthplace of Marcus Mathisen ?
(Q19968821,P19,c(Q56061))
action filter_type
action find
entity Q19968821
relation P19
type Q56061
['Q19968821', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q19968821 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Marcus Mathisen
action filter_type
action find
entity Marcus Mathisen
relation place of birth
type administrative territorial entity
['Marcus Mathisen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Marcus_Mathisen property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3196726
SYSTEM
Albertslund
Q3196726
(Q19968821,P19,c(Q56061))
action filter_type
action find
entity Q19968821
relation P19
type Q56061
In [ANSWER] is the birthplace of Marcus Mathisen
['Q19968821', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q19968821 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Albertslund
In Albertslund is the birthplace of Marcus Mathisen
Albertslund
action filter_type
action find
entity Marcus Mathisen
relation place of birth
type administrative territorial entity
['Marcus Mathisen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Marcus_Mathisen property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19968821
P106
Q12737077
USER
What is the job of that person ?
(Q3196726,P106,c(Q12737077))
action filter_type
action find
entity Q19968821
relation P106
type Q12737077
['Q3196726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q19968821 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Marcus Mathisen
action filter_type
action find
entity Marcus Mathisen
relation occupation
type occupation
['Albertslund', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Marcus_Mathisen property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3196726,P106,c(Q12737077))
action filter_type
action find
entity Q19968821
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q3196726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q19968821 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Marcus Mathisen
relation occupation
type occupation
['Albertslund', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Marcus_Mathisen property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19968821
P21
Q290
USER
What is the sex of Marcus Mathisen ?
(Q19968821,P21,c(Q290))
action filter_type
action find
entity Q19968821
relation P21
type Q290
['Q19968821', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q19968821 property:P21 ?m . ?m rdf:type ontology:Q290 }
Marcus Mathisen
action filter_type
action find
entity Marcus Mathisen
relation gender
type sex
['Marcus Mathisen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Marcus_Mathisen property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19968821,P21,c(Q290))
action filter_type
action find
entity Q19968821
relation P21
type Q290
The sex of Marcus Mathisen is the [ANSWER]
['Q19968821', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q19968821 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Marcus Mathisen is the male
male
action filter_type
action find
entity Marcus Mathisen
relation gender
type sex
['Marcus Mathisen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Marcus_Mathisen property:gender ?m . ?m rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q2056501 Q19968821
P21
Q290
USER
And also Mohammed Hazzaz
AND((Q19968821,P21,c(Q290)), (Q2056501,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q19968821
relation P21
action find
entity Q2056501
relation P21
type Q290
{'AND': [['Q19968821', 'P21', {'concept': 'Q290'}], ['Q2056501', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { resource:Q19968821 property:P21 ?e . resource:Q2056501 property:P21 ?e . ?e rdf:type ontology:Q290 }
Mohammed Hazzaz Marcus Mathisen
action filter_type
action intersection
action find
entity Marcus Mathisen
relation gender
action find
entity Mohammed Hazzaz
relation gender
type sex
{'AND': [['Marcus Mathisen', 'gender', {'concept': 'sex'}], ['Mohammed Hazzaz', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { resource:Marcus_Mathisen property:gender ?e . resource:Mohammed_Hazzaz property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q19968821,P21,c(Q290)), (Q2056501,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q19968821
relation P21
action find
entity Q2056501
relation P21
type Q290
[ANSWER]
{'AND': [['Q19968821', 'P21', {'concept': 'Q290'}], ['Q2056501', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { resource:Q19968821 property:P21 ?e . resource:Q2056501 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Marcus Mathisen
relation gender
action find
entity Mohammed Hazzaz
relation gender
type sex
{'AND': [['Marcus Mathisen', 'gender', {'concept': 'sex'}], ['Mohammed Hazzaz', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { resource:Marcus_Mathisen property:gender ?e . resource:Mohammed_Hazzaz property:gender ?e . ?e rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q24004654
P21
Q502895
USER
Does George Jennings Hinde have that sex as the sex ?
(Q24004654,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q24004654
relation P21
['Q24004654', 'P21', 'Q6581097']
ASK WHERE { resource:Q24004654 property:P21 resource:Q6581097 }
male George Jennings Hinde
action is_in
entity male
action find
entity George Jennings Hinde
relation gender
['George Jennings Hinde', 'gender', 'male']
ASK WHERE { resource:George_Jennings_Hinde property:gender resource:male }
[]
common name
SYSTEM
YES
(Q24004654,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q24004654
relation P21
[ANSWER]
['Q24004654', 'P21', 'Q6581097']
ASK WHERE { resource:Q24004654 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity George Jennings Hinde
relation gender
['George Jennings Hinde', 'gender', 'male']
ASK WHERE { resource:George_Jennings_Hinde property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q16979650 Q874405
USER
How many sibling groups or social groups have association football player as his/her means of employment ?
(c(Q16979650),P106,Q937857) (c(Q874405),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
[{'concept': 'Q16979650'}, 'P106', 'Q937857'] [{'concept': 'Q874405'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ontology:Q16979650 . ?h property:P106 resource:Q937857 } UNION { ?h property:P106 resource:Q937857 . ?h rdf:type ontology:Q874405 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
[{'concept': 'sibling group'}, 'occupation', 'association football player'] [{'concept': 'social group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ontology:sibling_group . ?h property:occupation resource:association_football_player } UNION { ?h property:occupation resource:association_football_player . ?h rdf:type ontology:social_group } }
[]
sibling group social group
SYSTEM
2
Q3752378 Q6027090
(c(Q16979650),P106,Q937857) (c(Q874405),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
[ANSWER]
[{'concept': 'Q16979650'}, 'P106', 'Q937857'] [{'concept': 'Q874405'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ontology:Q16979650 . ?h property:P106 resource:Q937857 } UNION { ?h property:P106 resource:Q937857 . ?h rdf:type ontology:Q874405 } }
Fratelli Céspedes Milija and Pavle Bakić
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
[{'concept': 'sibling group'}, 'occupation', 'association football player'] [{'concept': 'social group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ontology:sibling_group . ?h property:occupation resource:association_football_player } UNION { ?h property:occupation resource:association_football_player . ?h rdf:type ontology:social_group } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1389009 Q19968821
P27
Q1048835
USER
Which political territories are the native countriesof Marcus Mathisen or Mikkel Elbjørn ?
OR((Q19968821,P27,c(Q1048835)), (Q1389009,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q19968821
relation P27
action find
entity Q1389009
relation P27
type Q1048835
{'OR': [['Q19968821', 'P27', {'concept': 'Q1048835'}], ['Q1389009', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { ?v property:P27 ?i . VALUES ( ?v ) { ( resource:Q19968821 ) ( resource:Q1389009 ) } } . ?i rdf:type ontology:Q1048835 }
Mikkel Elbjørn Marcus Mathisen
action filter_type
action union
action find
entity Marcus Mathisen
relation country of citizenship
action find
entity Mikkel Elbjørn
relation country of citizenship
type political territorial entity
{'OR': [['Marcus Mathisen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mikkel Elbjørn', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?v property:country_of_citizenship ?i . VALUES ( ?v ) { ( resource:Marcus_Mathisen ) ( resource:Mikkel_Elbjørn ) } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
OR((Q19968821,P27,c(Q1048835)), (Q1389009,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q19968821
relation P27
action find
entity Q1389009
relation P27
type Q1048835
[ANSWER] is the native countriesof Marcus Mathisen or Mikkel Elbjørn
{'OR': [['Q19968821', 'P27', {'concept': 'Q1048835'}], ['Q1389009', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { ?v property:P27 ?i . VALUES ( ?v ) { ( resource:Q19968821 ) ( resource:Q1389009 ) } } . ?i rdf:type ontology:Q1048835 }
Denmark
Denmark is the native countriesof Marcus Mathisen or Mikkel Elbjørn
Denmark
action filter_type
action union
action find
entity Marcus Mathisen
relation country of citizenship
action find
entity Mikkel Elbjørn
relation country of citizenship
type political territorial entity
{'OR': [['Marcus Mathisen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mikkel Elbjørn', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?v property:country_of_citizenship ?i . VALUES ( ?v ) { ( resource:Marcus_Mathisen ) ( resource:Mikkel_Elbjørn ) } } . ?i rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q35 Q155 Q953
P530
Q15617994
USER
Does that political territory have tactful political relations with Brazil and Zambia ?
(Q35,P530,Q155) (Q35,P530,Q953)
action is_in
entity Q35
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q953
relation P530
['Q35', 'P530', 'Q155'] ['Q35', 'P530', 'Q953']
ASK WHERE { resource:Q35 property:P530 resource:Q155 . resource:Q35 property:P530 resource:Q953 }
Denmark Brazil Zambia
action is_in
entity Denmark
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity Zambia
relation diplomatic relation
['Denmark', 'diplomatic relation', 'Brazil'] ['Denmark', 'diplomatic relation', 'Zambia']
ASK WHERE { resource:Denmark property:diplomatic_relation resource:Brazil . resource:Denmark property:diplomatic_relation resource:Zambia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q35,P530,Q155) (Q35,P530,Q953)
action is_in
entity Q35
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q953
relation P530
[ANSWER]
['Q35', 'P530', 'Q155'] ['Q35', 'P530', 'Q953']
ASK WHERE { resource:Q35 property:P530 resource:Q155 . resource:Q35 property:P530 resource:Q953 }
Yes
action is_in
entity Denmark
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity Zambia
relation diplomatic relation
['Denmark', 'diplomatic relation', 'Brazil'] ['Denmark', 'diplomatic relation', 'Zambia']
ASK WHERE { resource:Denmark property:diplomatic_relation resource:Brazil . resource:Denmark property:diplomatic_relation resource:Zambia }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26697607 Q19968821
P27 P1001
Q1048835
USER
Which political territories are the native countriesof Marcus Mathisen or are judicially linked to mayor of Quicena ?
OR((Q19968821,P27,c(Q1048835)), (Q26697607,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q19968821
relation P27
action find
entity Q26697607
relation P1001
type Q1048835
{'OR': [['Q19968821', 'P27', {'concept': 'Q1048835'}], ['Q26697607', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q26697607 property:P1001 ?b } UNION { resource:Q19968821 property:P27 ?b } } . ?b rdf:type ontology:Q1048835 }
mayor of Quicena Marcus Mathisen
action filter_type
action union
action find
entity Marcus Mathisen
relation country of citizenship
action find
entity mayor of Quicena
relation applies to jurisdiction
type political territorial entity
{'OR': [['Marcus Mathisen', 'country of citizenship', {'concept': 'political territorial entity'}], ['mayor of Quicena', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:mayor_of_Quicena property:applies_to_jurisdiction ?b } UNION { resource:Marcus_Mathisen property:country_of_citizenship ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2000611 Q35
SYSTEM
Quicena, Denmark
Q2000611 Q35
OR((Q19968821,P27,c(Q1048835)), (Q26697607,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q19968821
relation P27
action find
entity Q26697607
relation P1001
type Q1048835
[ANSWERS] are the native countriesof Marcus Mathisen or are judicially linked to mayor of Quicena
{'OR': [['Q19968821', 'P27', {'concept': 'Q1048835'}], ['Q26697607', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q26697607 property:P1001 ?b } UNION { resource:Q19968821 property:P27 ?b } } . ?b rdf:type ontology:Q1048835 }
Quicena Denmark
Quicena and Denmark are the native countriesof Marcus Mathisen or are judicially linked to mayor of Quicena
Quicena Denmark
action filter_type
action union
action find
entity Marcus Mathisen
relation country of citizenship
action find
entity mayor of Quicena
relation applies to jurisdiction
type political territorial entity
{'OR': [['Marcus Mathisen', 'country of citizenship', {'concept': 'political territorial entity'}], ['mayor of Quicena', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:mayor_of_Quicena property:applies_to_jurisdiction ?b } UNION { resource:Marcus_Mathisen property:country_of_citizenship ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q15324 Q1267889 Q1048835
USER
How many political territories are located in atleast 1 bodies of water and waterways ?
(c(Q1048835),P706,c(Q15324)|c(Q1267889))
action count
action atleast
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?l WHERE { { ?l property:P706 ?e . ?l rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15324 } UNION { ?l property:P706 ?e . ?l rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1267889 } } GROUP BY ?l } . FILTER ( ?d >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?l WHERE { { ?l property:located_on_terrain_feature ?e . ?l rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:body_of_water } UNION { ?l property:located_on_terrain_feature ?e . ?l rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:waterway } } GROUP BY ?l } . FILTER ( ?d >= 1 ) }
[]
body of water waterway political territorial entity
SYSTEM
8
Q785 Q904566 Q42314 Q898856 Q3405693 Q202023 Q9676 Q168159
(c(Q1048835),P706,c(Q15324)|c(Q1267889))
action count
action atleast
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?l WHERE { { ?l property:P706 ?e . ?l rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15324 } UNION { ?l property:P706 ?e . ?l rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1267889 } } GROUP BY ?l } . FILTER ( ?d >= 1 ) }
Jersey Brecqhou Channel Islands Jethou Sark Herm Isle of Man Anglesey
8
action count
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?l WHERE { { ?l property:located_on_terrain_feature ?e . ?l rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:body_of_water } UNION { ?l property:located_on_terrain_feature ?e . ?l rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:waterway } } GROUP BY ?l } . FILTER ( ?d >= 1 ) }
[]