Simple Question (Direct)
Simple Question
Q872225
P26
Q502895
USER
Which person is the life partner of Antal Cserna ?
(Q872225,P26,c(Q502895))
action filter_type
action find
entity Q872225
relation P26
type Q502895
['Q872225', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q872225 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Antal Cserna
action filter_type
action find
entity Antal Cserna
relation spouse
type common name
['Antal Cserna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Antal_Cserna property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q1294294
SYSTEM
Krisztina Szalay
Q1294294
(Q872225,P26,c(Q502895))
action filter_type
action find
entity Q872225
relation P26
type Q502895
[ANSWER] is the life partner of Antal Cserna
['Q872225', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q872225 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Krisztina Szalay
Krisztina Szalay is the life partner of Antal Cserna
Krisztina Szalay
action filter_type
action find
entity Antal Cserna
relation spouse
type common name
['Antal Cserna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Antal_Cserna property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1294294
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q1294294,P27,c(Q15617994))
action filter_type
action find
entity Q1294294
relation P27
type Q15617994
['Q1294294', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1294294 property:P27 ?l }
Krisztina Szalay
action filter_type
action find
entity Krisztina Szalay
relation country of citizenship
type designation for an administrative territorial entity
['Krisztina Szalay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Krisztina_Szalay property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q1294294,P27,c(Q15617994))
action filter_type
action find
entity Q1294294
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q1294294', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1294294 property:P27 ?l }
Hungary
Hungary is that person a civilian of
Hungary
action filter_type
action find
entity Krisztina Szalay
relation country of citizenship
type designation for an administrative territorial entity
['Krisztina Szalay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Krisztina_Szalay property:country_of_citizenship ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1294294
P21
Q290
USER
Which sex does Krisztina Szalay possess ?
(Q1294294,P21,c(Q290))
action filter_type
action find
entity Q1294294
relation P21
type Q290
['Q1294294', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1294294 property:P21 ?v . ?v rdf:type ontology:Q290 }
Krisztina Szalay
action filter_type
action find
entity Krisztina Szalay
relation gender
type sex
['Krisztina Szalay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Krisztina_Szalay property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1294294,P21,c(Q290))
action filter_type
action find
entity Q1294294
relation P21
type Q290
Krisztina Szalay possesses the [ANSWER]
['Q1294294', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1294294 property:P21 ?v . ?v rdf:type ontology:Q290 }
female
Krisztina Szalay possesses the female
female
action filter_type
action find
entity Krisztina Szalay
relation gender
type sex
['Krisztina Szalay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Krisztina_Szalay property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1294294
P106
Q12737077
USER
What do that person do for a living ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q1294294
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1294294 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Krisztina Szalay
action filter_type
action find
entity Krisztina Szalay
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Krisztina_Szalay property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q3455803 Q33999 Q36180
SYSTEM
director, actor, writer
Q3455803 Q33999 Q36180
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q1294294
relation P106
type Q12737077
The [ANSWERS] that person do for a living
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1294294 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
director actor writer
The director, actor and writer that person do for a living
director actor writer
action filter_type
action find
entity Krisztina Szalay
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Krisztina_Szalay property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q2342494
USER
Which occupations do approximately the same number of people and collectables belong to as that occupation ?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?h ) { ( ?z ) ( ?x ) } . ?h property:Q627436 ?y } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?h ) { ( ?z ) ( ?x ) } . ?h property:field_of_work ?y } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
occupation common name collectable
Comparative|More/Less|Mult. entity type|Clarification
Q36180
SYSTEM
Did you mean writer ?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?h ) { ( ?z ) ( ?x ) } . ?h property:Q627436 ?y } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
Did you mean writer ?
writer
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?h ) { ( ?z ) ( ?x ) } . ?h property:field_of_work ?y } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
[]
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491 Q11774891 Q6981670
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[ANSWERS] approximately the same number of people and collectables belong to as that occupation
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
novelist legislator singer business magnate secretary teacher sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist ice hockey player Navajo weaving
Chief of police, archaeologist and Commissioner of Baseball approximately the same number of people and collectables belong to as that occupation
chief of police archaeologist Commissioner of Baseball
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1351840 Q1051088
P641
Q349
USER
Which sports were Commissioner of Baseball or 2004–05 Ligue 1 a part of ?
OR((Q1051088,P641,c(Q349)), (Q1351840,P641,c(Q349)))
action filter_type
action union
action find
entity Q1051088
relation P641
action find
entity Q1351840
relation P641
type Q349
{'OR': [['Q1051088', 'P641', {'concept': 'Q349'}], ['Q1351840', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1051088 property:P641 ?u } UNION { resource:Q1351840 property:P641 ?u } } . ?u rdf:type ontology:Q349 }
2004–05 Ligue 1 Commissioner of Baseball
action filter_type
action union
action find
entity Commissioner of Baseball
relation sport
action find
entity 2004–05 Ligue 1
relation sport
type sport
{'OR': [['Commissioner of Baseball', 'sport', {'concept': 'sport'}], ['2004–05 Ligue 1', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Commissioner_of_Baseball property:sport ?u } UNION { resource:2004–05_Ligue_1 property:sport ?u } } . ?u rdf:type ontology:sport }
[]
sport
Q5369 Q2736
SYSTEM
baseball, association football
Q5369 Q2736
OR((Q1051088,P641,c(Q349)), (Q1351840,P641,c(Q349)))
action filter_type
action union
action find
entity Q1051088
relation P641
action find
entity Q1351840
relation P641
type Q349
[ANSWERS] were Commissioner of Baseball or 2004–05 Ligue 1 a part of
{'OR': [['Q1051088', 'P641', {'concept': 'Q349'}], ['Q1351840', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1051088 property:P641 ?u } UNION { resource:Q1351840 property:P641 ?u } } . ?u rdf:type ontology:Q349 }
baseball association football
Baseball and association football were Commissioner of Baseball or 2004–05 Ligue 1 a part of
baseball association football
action filter_type
action union
action find
entity Commissioner of Baseball
relation sport
action find
entity 2004–05 Ligue 1
relation sport
type sport
{'OR': [['Commissioner of Baseball', 'sport', {'concept': 'sport'}], ['2004–05 Ligue 1', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Commissioner_of_Baseball property:sport ?u } UNION { resource:2004–05_Ligue_1 property:sport ?u } } . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1351840
P17
Q15617994
USER
Which administrative territory is 2004–05 Ligue 1 situated in ?
(Q1351840,P17,c(Q15617994))
action filter_type
action find
entity Q1351840
relation P17
type Q15617994
['Q1351840', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1351840 property:P17 ?g }
2004–05 Ligue 1
action filter_type
action find
entity 2004–05 Ligue 1
relation country
type designation for an administrative territorial entity
['2004–05 Ligue 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:2004–05_Ligue_1 property:country ?g }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1351840,P17,c(Q15617994))
action filter_type
action find
entity Q1351840
relation P17
type Q15617994
Which administrative territory is 2004–05 Ligue 1 situated in
['Q1351840', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1351840 property:P17 ?g }
France
Which administrative territory is 2004–05 Ligue 1 situated in
France
action filter_type
action find
entity 2004–05 Ligue 1
relation country
type designation for an administrative territorial entity
['2004–05 Ligue 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:2004–05_Ligue_1 property:country ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19633367
Q15617994
USER
And how about Verlengde Kerkweg?
(Q19633367,P17,c(Q15617994))
action filter_type
action find
entity Q19633367
relation P17
type Q15617994
['Q19633367', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q19633367 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Verlengde Kerkweg
action filter_type
action find
entity Verlengde Kerkweg
relation country
type designation for an administrative territorial entity
['Verlengde Kerkweg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Verlengde_Kerkweg property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19633367,P17,c(Q15617994))
action filter_type
action find
entity Q19633367
relation P17
type Q15617994
[ANSWER]
['Q19633367', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q19633367 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Verlengde Kerkweg
relation country
type designation for an administrative territorial entity
['Verlengde Kerkweg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Verlengde_Kerkweg property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q372144
P36
Q56061
USER
How many administrative territories are the capitals of France or Musandam Governorate ?
(Q142,P36,c(Q56061)) (Q372144,P36,c(Q56061))
action count
action union
action filter_type
action find
entity Q142
relation P36
type Q56061
action filter_type
action find
entity Q372144
relation P36
type Q56061
['Q142', 'P36', {'concept': 'Q56061'}] ['Q372144', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?x property:P36 ?s . VALUES ( ?x ) { ( resource:Q142 ) ( resource:Q372144 ) } }
France Musandam Governorate
action count
action union
action filter_type
action find
entity France
relation capital
type administrative territorial entity
action filter_type
action find
entity Musandam Governorate
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}] ['Musandam Governorate', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?x property:capital ?s . VALUES ( ?x ) { ( resource:France ) ( resource:Musandam_Governorate ) } }
[]
administrative territorial entity
SYSTEM
2
Q426646 Q90
(Q142,P36,c(Q56061)) (Q372144,P36,c(Q56061))
action count
action union
action filter_type
action find
entity Q142
relation P36
type Q56061
action filter_type
action find
entity Q372144
relation P36
type Q56061
[ANSWER]
['Q142', 'P36', {'concept': 'Q56061'}] ['Q372144', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?x property:P36 ?s . VALUES ( ?x ) { ( resource:Q142 ) ( resource:Q372144 ) } }
Khasab Paris
2
action count
action union
action filter_type
action find
entity France
relation capital
type administrative territorial entity
action filter_type
action find
entity Musandam Governorate
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}] ['Musandam Governorate', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?x property:capital ?s . VALUES ( ?x ) { ( resource:France ) ( resource:Musandam_Governorate ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q55
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have diplomatic relationships with Netherlands ?
(Q55,P530,c(Q15617994)) (Q55,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q55
relation P530
type Q15617994
action filter_type
action find
entity Q55
relation P530
type Q1048835
['Q55', 'P530', {'concept': 'Q15617994'}] ['Q55', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?e ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?e }
Netherlands
action count
action union
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Netherlands
relation diplomatic relation
type political territorial entity
['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?e ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?e }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q408 Q38 Q183
(Q55,P530,c(Q15617994)) (Q55,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q55
relation P530
type Q15617994
action filter_type
action find
entity Q55
relation P530
type Q1048835
[ANSWER]
['Q55', 'P530', {'concept': 'Q15617994'}] ['Q55', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?e ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?e }
Australia Italy Germany
3
action count
action union
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Netherlands
relation diplomatic relation
type political territorial entity
['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?e ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?e }
[]