Simple Question (Direct)
Simple Question
Q2636224
P119
Q39614
USER
Which cemetery is the tomb of Marie Dorval ?
(Q2636224,P119,c(Q39614))
action filter_type
action find
entity Q2636224
relation P119
type Q39614
['Q2636224', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?b WHERE { resource:Q2636224 property:P119 ?b . ?b rdf:type ontology:Q39614 }
Marie Dorval
action filter_type
action find
entity Marie Dorval
relation place of burial
type cemetery
['Marie Dorval', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?b WHERE { resource:Marie_Dorval property:place_of_burial ?b . ?b rdf:type ontology:cemetery }
[]
cemetery
Q272208
SYSTEM
Montparnasse Cemetery
Q272208
(Q2636224,P119,c(Q39614))
action filter_type
action find
entity Q2636224
relation P119
type Q39614
The tomb of Marie Dorval is in [ANSWER]
['Q2636224', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?b WHERE { resource:Q2636224 property:P119 ?b . ?b rdf:type ontology:Q39614 }
Montparnasse Cemetery
The tomb of Marie Dorval is in Montparnasse Cemetery
Montparnasse Cemetery
action filter_type
action find
entity Marie Dorval
relation place of burial
type cemetery
['Marie Dorval', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?b WHERE { resource:Marie_Dorval property:place_of_burial ?b . ?b rdf:type ontology:cemetery }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2636224
P21
Q290
USER
Which sex does Marie Dorval have ?
(Q2636224,P21,c(Q290))
action filter_type
action find
entity Q2636224
relation P21
type Q290
['Q2636224', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2636224 property:P21 ?i . ?i rdf:type ontology:Q290 }
Marie Dorval
action filter_type
action find
entity Marie Dorval
relation gender
type sex
['Marie Dorval', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Marie_Dorval property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2636224,P21,c(Q290))
action filter_type
action find
entity Q2636224
relation P21
type Q290
Marie Dorval has a [ANSWER]
['Q2636224', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2636224 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
Marie Dorval has a female
female
action filter_type
action find
entity Marie Dorval
relation gender
type sex
['Marie Dorval', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Marie_Dorval property:gender ?i . ?i rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q3481435
P21
Q502895
USER
Does Shannon Crawford have the gender as that sex ?
(Q3481435,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q3481435
relation P21
['Q3481435', 'P21', 'Q6581072']
ASK WHERE { resource:Q3481435 property:P21 resource:Q6581072 }
female Shannon Crawford
action is_in
entity female
action find
entity Shannon Crawford
relation gender
['Shannon Crawford', 'gender', 'female']
ASK WHERE { resource:Shannon_Crawford property:gender resource:female }
[]
common name
SYSTEM
YES
(Q3481435,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q3481435
relation P21
[ANSWER]
['Q3481435', 'P21', 'Q6581072']
ASK WHERE { resource:Q3481435 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Shannon Crawford
relation gender
['Shannon Crawford', 'gender', 'female']
ASK WHERE { resource:Shannon_Crawford property:gender resource:female }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P669
Q79007 Q39614
USER
Which streets are max number of cemeteries located ?
(c(Q39614),P669,Q17518281)
action argmax
action find_reverse_tuple_counts
relation P669
type Q79007
type Q39614
[{'concept': 'Q39614'}, 'P669', 'Q17518281']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?g ) { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P669 ?r . ?r rdf:type ontology:Q79007 . ?f rdf:type ontology:Q39614 } GROUP BY ?r } } . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P669 ?p . ?p rdf:type ontology:Q79007 . ?u rdf:type ontology:Q39614 } GROUP BY ?p } . FILTER ( ?q = ?g ) }
action argmax
action find_reverse_tuple_counts
relation located on street
type street
type cemetery
[{'concept': 'cemetery'}, 'located on street', 'cours Saint-Pierre']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?g ) { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:located_on_street ?r . ?r rdf:type ontology:street . ?f rdf:type ontology:cemetery } GROUP BY ?r } } . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:located_on_street ?p . ?p rdf:type ontology:street . ?u rdf:type ontology:cemetery } GROUP BY ?p } . FILTER ( ?q = ?g ) }
[]
street cemetery
Q2921810 Q2921989 Q2873818
SYSTEM
boulevard Edgar-Quinet, boulevard de Ménilmontant, avenue Rachel
Q2921810 Q2921989 Q2873818
(c(Q39614),P669,Q17518281)
action argmax
action find_reverse_tuple_counts
relation P669
type Q79007
type Q39614
[ANSWERS] are max number of cemeteries located
[{'concept': 'Q39614'}, 'P669', 'Q17518281']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?g ) { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P669 ?r . ?r rdf:type ontology:Q79007 . ?f rdf:type ontology:Q39614 } GROUP BY ?r } } . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P669 ?p . ?p rdf:type ontology:Q79007 . ?u rdf:type ontology:Q39614 } GROUP BY ?p } . FILTER ( ?q = ?g ) }
boulevard Edgar-Quinet boulevard de Ménilmontant avenue Rachel
Boulevard Edgar-Quinet, boulevard de Ménilmontant and avenue Rachel are max number of cemeteries located
boulevard Edgar-Quinet boulevard de Ménilmontant avenue Rachel
action argmax
action find_reverse_tuple_counts
relation located on street
type street
type cemetery
[{'concept': 'cemetery'}, 'located on street', 'cours Saint-Pierre']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?g ) { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:located_on_street ?r . ?r rdf:type ontology:street . ?f rdf:type ontology:cemetery } GROUP BY ?r } } . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:located_on_street ?p . ?p rdf:type ontology:street . ?u rdf:type ontology:cemetery } GROUP BY ?p } . FILTER ( ?q = ?g ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5417086 Q3481435
P734
Q82799
USER
What are known by the name Shannon Crawford or Everette James ?
OR((Q3481435,P734,c(Q82799)), (Q5417086,P734,c(Q82799)))
action filter_type
action union
action find
entity Q3481435
relation P734
action find
entity Q5417086
relation P734
type Q82799
{'OR': [['Q3481435', 'P734', {'concept': 'Q82799'}], ['Q5417086', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?e WHERE { { ?p property:P734 ?e . VALUES ( ?p ) { ( resource:Q3481435 ) ( resource:Q5417086 ) } } . ?e rdf:type ontology:Q82799 }
Everette James Shannon Crawford
action filter_type
action union
action find
entity Shannon Crawford
relation family name
action find
entity Everette James
relation family name
type name
{'OR': [['Shannon Crawford', 'family name', {'concept': 'name'}], ['Everette James', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?e WHERE { { ?p property:family_name ?e . VALUES ( ?p ) { ( resource:Shannon_Crawford ) ( resource:Everette_James ) } } . ?e rdf:type ontology:name }
[]
name
Q20731004 Q12188082
SYSTEM
Crawford, James
Q20731004 Q12188082
OR((Q3481435,P734,c(Q82799)), (Q5417086,P734,c(Q82799)))
action filter_type
action union
action find
entity Q3481435
relation P734
action find
entity Q5417086
relation P734
type Q82799
And [ANSWERS] are known by the name Shannon Crawford or Everette James
{'OR': [['Q3481435', 'P734', {'concept': 'Q82799'}], ['Q5417086', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?e WHERE { { ?p property:P734 ?e . VALUES ( ?p ) { ( resource:Q3481435 ) ( resource:Q5417086 ) } } . ?e rdf:type ontology:Q82799 }
Crawford James
And Crawford and James are known by the name Shannon Crawford or Everette James
Crawford James
action filter_type
action union
action find
entity Shannon Crawford
relation family name
action find
entity Everette James
relation family name
type name
{'OR': [['Shannon Crawford', 'family name', {'concept': 'name'}], ['Everette James', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?e WHERE { { ?p property:family_name ?e . VALUES ( ?p ) { ( resource:Shannon_Crawford ) ( resource:Everette_James ) } } . ?e rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20731004
P1533
Q82799
USER
Which name is identical to Crawford ?
(c(Q82799),P1533,Q20731004)
action filter_type
action find_reverse
entity Q20731004
relation P1533
type Q82799
[{'concept': 'Q82799'}, 'P1533', 'Q20731004']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . ?s property:P1533 resource:Q20731004 }
Crawford
action filter_type
action find_reverse
entity Crawford
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Crawford']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . ?s property:family_name_identical_to_this_first_name resource:Crawford }
[]
name
Q20731003
SYSTEM
Crawford
Q20731003
(c(Q82799),P1533,Q20731004)
action filter_type
action find_reverse
entity Q20731004
relation P1533
type Q82799
Craig [ANSWER] is identical to [ANSWER]
[{'concept': 'Q82799'}, 'P1533', 'Q20731004']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . ?s property:P1533 resource:Q20731004 }
Crawford
Craig Crawford is identical to Crawford
Crawford
action filter_type
action find_reverse
entity Crawford
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Crawford']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . ?s property:family_name_identical_to_this_first_name resource:Crawford }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20731003
P361
Q853614
USER
Which identifier is that name a part of ?
(Q20731003,P361,c(Q853614))
action filter_type
action find
entity Q20731003
relation P361
type Q853614
['Q20731003', 'P361', {'concept': 'Q853614'}]
SELECT DISTINCT ?x WHERE { resource:Q20731003 property:P361 ?x . ?x rdf:type ontology:Q853614 }
Crawford
action filter_type
action find
entity Crawford
relation part of
type identifier
['Crawford', 'part of', {'concept': 'identifier'}]
SELECT DISTINCT ?x WHERE { resource:Crawford property:part_of ?x . ?x rdf:type ontology:identifier }
[]
identifier
Q738859
SYSTEM
Crawford
Q738859
(Q20731003,P361,c(Q853614))
action filter_type
action find
entity Q20731003
relation P361
type Q853614
[ANSWER] is that name a part of
['Q20731003', 'P361', {'concept': 'Q853614'}]
SELECT DISTINCT ?x WHERE { resource:Q20731003 property:P361 ?x . ?x rdf:type ontology:Q853614 }
Crawford
Crawford is that name a part of
Crawford
action filter_type
action find
entity Crawford
relation part of
type identifier
['Crawford', 'part of', {'concept': 'identifier'}]
SELECT DISTINCT ?x WHERE { resource:Crawford property:part_of ?x . ?x rdf:type ontology:identifier }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16131041 Q20731003
P1533
Q82799
USER
Which names are same as Crawford or Ayala ?
OR((Q20731003,P1533,c(Q82799)), (Q16131041,P1533,c(Q82799)))
action filter_type
action union
action find
entity Q20731003
relation P1533
action find
entity Q16131041
relation P1533
type Q82799
{'OR': [['Q20731003', 'P1533', {'concept': 'Q82799'}], ['Q16131041', 'P1533', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:P1533 ?k . VALUES ( ?o ) { ( resource:Q20731003 ) ( resource:Q16131041 ) } } . ?k rdf:type ontology:Q82799 }
Ayala Crawford
action filter_type
action union
action find
entity Crawford
relation family name identical to this first name
action find
entity Ayala
relation family name identical to this first name
type name
{'OR': [['Crawford', 'family name identical to this first name', {'concept': 'name'}], ['Ayala', 'family name identical to this first name', {'concept': 'name'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:family_name_identical_to_this_first_name ?k . VALUES ( ?o ) { ( resource:Crawford ) ( resource:Ayala ) } } . ?k rdf:type ontology:name }
[]
name
Q20731004 Q15540752
SYSTEM
Crawford, Ayala
Q20731004 Q15540752
OR((Q20731003,P1533,c(Q82799)), (Q16131041,P1533,c(Q82799)))
action filter_type
action union
action find
entity Q20731003
relation P1533
action find
entity Q16131041
relation P1533
type Q82799
And [ANSWERS] are same as Crawford or Ayala
{'OR': [['Q20731003', 'P1533', {'concept': 'Q82799'}], ['Q16131041', 'P1533', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:P1533 ?k . VALUES ( ?o ) { ( resource:Q20731003 ) ( resource:Q16131041 ) } } . ?k rdf:type ontology:Q82799 }
Crawford Ayala
And Crawford and Ayala are same as Crawford or Ayala
Crawford Ayala
action filter_type
action union
action find
entity Crawford
relation family name identical to this first name
action find
entity Ayala
relation family name identical to this first name
type name
{'OR': [['Crawford', 'family name identical to this first name', {'concept': 'name'}], ['Ayala', 'family name identical to this first name', {'concept': 'name'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:family_name_identical_to_this_first_name ?k . VALUES ( ?o ) { ( resource:Crawford ) ( resource:Ayala ) } } . ?k rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q20731004 Q15540752
P734
Q502895
USER
Who have Crawford and Ayala as surname ?
(c(Q502895),P734,Q20731004) (c(Q502895),P734,Q15540752)
action union
action filter_type
action find_reverse
entity Q20731004
relation P734
type Q502895
action filter_type
action find_reverse
entity Q15540752
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q20731004'] [{'concept': 'Q502895'}, 'P734', 'Q15540752']
SELECT DISTINCT ?r WHERE { ?r property:P734 ?k . VALUES ( ?k ) { ( resource:Q20731004 ) ( resource:Q15540752 ) } }
Crawford Ayala
action union
action filter_type
action find_reverse
entity Crawford
relation family name
type common name
action filter_type
action find_reverse
entity Ayala
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Crawford'] [{'concept': 'common name'}, 'family name', 'Ayala']
SELECT DISTINCT ?r WHERE { ?r property:family_name ?k . VALUES ( ?k ) { ( resource:Crawford ) ( resource:Ayala ) } }
[]
common name
Q40475 Q1037431 Q3305267
SYSTEM
Joan Crawford, Carl Crawford, Ray Crawford
Q18518714 Q888173 Q4993798 Q7701880 Q1592924 Q559391 Q117977 Q354165 Q3441376 Q385565 Q458239 Q6375450 Q1803687 Q537087 Q2438193 Q1363861 Q670179 Q2218403 Q512436 Q5364798 Q3898036 Q431427 Q656035 Q13219588 Q2032565 Q7045376 Q230481 Q444735 Q2059220 Q3934788 Q3929822 Q2913719 Q1179262 Q275927 Q3376526 Q79136 Q1904150 Q172348 Q2851050 Q5246102 Q15843181 Q6502479 Q542162 Q1452413 Q18812879 Q2081016 Q260486 Q1691697 Q70077 Q445085 Q1725323 Q23306225 Q3305267 Q17166349 Q2543292 Q369417 Q182349 Q513068 Q1280116 Q509307 Q276056 Q599740 Q262856 Q523816 Q199801 Q376581 Q504242 Q17626585 Q16613206 Q16536229 Q3719468 Q3481435 Q344934 Q3044644 Q711745 Q2151554 Q290834 Q1077142 Q1613756 Q6131905 Q447286 Q53398 Q851722 Q935717 Q4250319 Q2203515 Q2090005 Q2481040 Q9075 Q3990274 Q40475 Q1863438 Q318850 Q863061 Q173215 Q5213309 Q526279 Q1927193 Q3791470 Q297064 Q15431806 Q23019314 Q1270647 Q346950 Q1037431 Q1675773 Q330995 Q451393 Q22330923
(c(Q502895),P734,Q20731004) (c(Q502895),P734,Q15540752)
action union
action filter_type
action find_reverse
entity Q20731004
relation P734
type Q502895
action filter_type
action find_reverse
entity Q15540752
relation P734
type Q502895
As [ANSWERS] have Crawford and Ayala as surname
[{'concept': 'Q502895'}, 'P734', 'Q20731004'] [{'concept': 'Q502895'}, 'P734', 'Q15540752']
SELECT DISTINCT ?r WHERE { ?r property:P734 ?k . VALUES ( ?k ) { ( resource:Q20731004 ) ( resource:Q15540752 ) } }
Jeremy Crawford Coe I. Crawford Samuel W. Crawford, Jr. Terence Crawford Bangladesh Bruce Crawford Flora Steiger-Crawford Hank Crawford Ron Crawford Marc Crawford Ginnie Crawford Kate Crawford Ya Boy Isabella Valancy Crawford Carole Crawford Jordan Crawford Francis Marion Crawford Samuel J. Crawford Alex Crawford Ellen Crawford Paul Crawford Yunaika Crawford Michael Crawford Thomas Hartley Crawford O. G. S. Crawford Noah Crawford Alicia Fox Holly Crawford Paul Crawford Richard Crawford Ralston Crawford Chris Crawford Daz Crawford Randy Crawford Peter Crawford Frank Linke-Crawford Martin Jenkins Crawford Jim Crawford Anne Crawford Dean Crawford Ruben Crawford Lavell Crawford Johnny Crawford Fred L. Crawford Eusebius John Crawford Gavin Crawford Chandra Crawford Joel Crawford Claudia Nolte Judy Crawford Rosetta Crawford Thomas Crawford Ray Crawford Lilla Crawford Walt Crawford Rosanna Crawford Broderick Crawford Corey Crawford Rachael Crawford Joan Crawford Cheryl Crawford Tyrone Crawford Cindy Crawford Christina Crawford Cindy Crawford Jack Crawford Andrew Crawford Gary Crawford Terrence Crawford Candace Crawford Edmund Crawford Shannon Crawford Jai Crawford Joe Crawford Sam Crawford Rick Crawford Marjorie Cox Crawford Chris Crawford Jimmy Crawford James Crawford Jamal Crawford Samantha Crawford Beverly Crawford John Crawford Robert L. Crawford Jack Crawford Christina Crawford Ali Crawford Shawn Crawford Therese Crawford Joan Crawford Thomas Crawford Hasely Crawford Billy Crawford Ray Crawford Dan Crawford Gina Crawford Michael Crawford Ian Crawford Chace Crawford Hubie Crawford Earl Stetson Crawford Rusty Crawford Adair Crawford Carl Crawford Ivo Fairbairn-Crawford George W. Crawford Ruth Crawford Seeger Baltazar Ayala
As Joan Crawford, Carl Crawford and Ray Crawford have Crawford and Ayala as surname
Joan Crawford Carl Crawford Ray Crawford
action union
action filter_type
action find_reverse
entity Crawford
relation family name
type common name
action filter_type
action find_reverse
entity Ayala
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Crawford'] [{'concept': 'common name'}, 'family name', 'Ayala']
SELECT DISTINCT ?r WHERE { ?r property:family_name ?k . VALUES ( ?k ) { ( resource:Crawford ) ( resource:Ayala ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q40475 Q1037431 Q3305267
P734
Q82799
USER
Who have the surname those people ?
(Q40475,P734,c(Q82799)) (Q1037431,P734,c(Q82799)) (Q3305267,P734,c(Q82799))
action filter_type
action find
entity prev_answer
relation P734
type Q82799
['Q40475', 'P734', {'concept': 'Q82799'}] ['Q1037431', 'P734', {'concept': 'Q82799'}] ['Q3305267', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . VALUES ( ?o ) { ( resource:Q18518714 ) ( resource:Q888173 ) ( resource:Q4993798 ) } . ?o property:P734 ?k }
Joan Crawford Carl Crawford Ray Crawford
action filter_type
action find
entity prev_answer
relation family name
type name
['Joan Crawford', 'family name', {'concept': 'name'}] ['Carl Crawford', 'family name', {'concept': 'name'}] ['Ray Crawford', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . VALUES ( ?o ) { ( resource:Jeremy_Crawford ) ( resource:Coe_I._Crawford ) ( resource:Samuel_W._Crawford,_Jr. ) } . ?o property:family_name ?k }
[]
name
Q20731004 Q20731004 Q20731004
SYSTEM
Crawford
Q20731004 Q20731004 Q20731004
(Q40475,P734,c(Q82799)) (Q1037431,P734,c(Q82799)) (Q3305267,P734,c(Q82799))
action filter_type
action find
entity prev_answer
relation P734
type Q82799
[ANSWER], [ANSWER] and [ANSWER] have the surname those people
['Q40475', 'P734', {'concept': 'Q82799'}] ['Q1037431', 'P734', {'concept': 'Q82799'}] ['Q3305267', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . VALUES ( ?o ) { ( resource:Q18518714 ) ( resource:Q888173 ) ( resource:Q4993798 ) } . ?o property:P734 ?k }
Crawford Crawford Crawford
Crawford, Crawford and Crawford have the surname those people
Crawford Crawford Crawford
action filter_type
action find
entity prev_answer
relation family name
type name
['Joan Crawford', 'family name', {'concept': 'name'}] ['Carl Crawford', 'family name', {'concept': 'name'}] ['Ray Crawford', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . VALUES ( ?o ) { ( resource:Jeremy_Crawford ) ( resource:Coe_I._Crawford ) ( resource:Samuel_W._Crawford,_Jr. ) } . ?o property:family_name ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40475
P40
Q502895
USER
Which person is an offspring of Joan Crawford ?
(Q40475,P40,c(Q502895))
action filter_type
action find
entity Q40475
relation P40
type Q502895
['Q40475', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q40475 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Joan Crawford
action filter_type
action find
entity Joan Crawford
relation child
type common name
['Joan Crawford', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Joan_Crawford property:child ?i . ?i rdf:type ontology:common_name }
[]
common name
Q523816
SYSTEM
Christina Crawford
Q523816
(Q40475,P40,c(Q502895))
action filter_type
action find
entity Q40475
relation P40
type Q502895
[ANSWER] is an offspring of Joan Crawford
['Q40475', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q40475 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Christina Crawford
Christina Crawford is an offspring of Joan Crawford
Christina Crawford
action filter_type
action find
entity Joan Crawford
relation child
type common name
['Joan Crawford', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Joan_Crawford property:child ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6095399
Q502895
USER
And also tell me about Iuenka?
(Q6095399,P40,c(Q502895))
action filter_type
action find
entity Q6095399
relation P40
type Q502895
['Q6095399', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q6095399 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Iuenka
action filter_type
action find
entity Iuenka
relation child
type common name
['Iuenka', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Iuenka property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q16852182
SYSTEM
Khufukhaf II
Q16852182
(Q6095399,P40,c(Q502895))
action filter_type
action find
entity Q6095399
relation P40
type Q502895
[ANSWER]
['Q6095399', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q6095399 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Khufukhaf II
Khufukhaf II
action filter_type
action find
entity Iuenka
relation child
type common name
['Iuenka', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Iuenka property:child ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16852182 Q7244664
P26
Q502895
USER
Is Princess Khentkaus the life partner of that one ?
(Q7244664,P26,Q16852182)
action is_in
entity Q7244664
action find
entity Q16852182
relation P26
['Q7244664', 'P26', 'Q16852182']
ASK WHERE { resource:Q16852182 property:P26 resource:Q7244664 }
Khufukhaf II Princess Khentkaus
action is_in
entity Princess Khentkaus
action find
entity Khufukhaf II
relation spouse
['Princess Khentkaus', 'spouse', 'Khufukhaf II']
ASK WHERE { resource:Khufukhaf_II property:spouse resource:Princess_Khentkaus }
[]
common name
SYSTEM
YES
(Q7244664,P26,Q16852182)
action is_in
entity Q7244664
action find
entity Q16852182
relation P26
[ANSWER]
['Q7244664', 'P26', 'Q16852182']
ASK WHERE { resource:Q16852182 property:P26 resource:Q7244664 }
Yes
action is_in
entity Princess Khentkaus
action find
entity Khufukhaf II
relation spouse
['Princess Khentkaus', 'spouse', 'Khufukhaf II']
ASK WHERE { resource:Khufukhaf_II property:spouse resource:Princess_Khentkaus }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16852182
P22
Q502895
USER
Which male people were the parent of Khufukhaf II ?
action filter_type
action find
entity Q16852182
relation P22
type Q502895
SELECT DISTINCT ?i WHERE { resource:Q16852182 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Khufukhaf II
action filter_type
action find
entity Khufukhaf II
relation father
type common name
SELECT DISTINCT ?i WHERE { resource:Khufukhaf_II property:father ?i . ?i rdf:type ontology:common_name }
[]
common name
Q12644106 Q6095399
SYSTEM
Wetka, Iuenka
Q12644106 Q6095399
action filter_type
action find
entity Q16852182
relation P22
type Q502895
[ANSWERS] were the parent of Khufukhaf II
SELECT DISTINCT ?i WHERE { resource:Q16852182 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Wetka Iuenka
Wetka and Iuenka were the parent of Khufukhaf II
Wetka Iuenka
action filter_type
action find
entity Khufukhaf II
relation father
type common name
SELECT DISTINCT ?i WHERE { resource:Khufukhaf_II property:father ?i . ?i rdf:type ontology:common_name }
[]