Simple Question (Direct)
Simple Question
Q1701990
P106
Q12737077
USER
What are the job of John Urry ?
(Q1701990,P106,c(Q12737077))
action filter_type
action find
entity Q1701990
relation P106
type Q12737077
['Q1701990', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1701990 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
John Urry
action filter_type
action find
entity John Urry
relation occupation
type occupation
['John Urry', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:John_Urry property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q2306091 Q1622272
SYSTEM
sociologist, university teacher
Q2306091 Q1622272
(Q1701990,P106,c(Q12737077))
action filter_type
action find
entity Q1701990
relation P106
type Q12737077
The job of John Urry are a [ANSWERS]
['Q1701990', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1701990 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
sociologist university teacher
The job of John Urry are a sociologist and university teacher
sociologist university teacher
action filter_type
action find
entity John Urry
relation occupation
type occupation
['John Urry', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:John_Urry property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1701990
P1412
Q34770
USER
Which language does John Urry speak in ?
(Q1701990,P1412,c(Q34770))
action filter_type
action find
entity Q1701990
relation P1412
type Q34770
['Q1701990', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1701990 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
John Urry
action filter_type
action find
entity John Urry
relation languages spoken, written or signed
type language
['John Urry', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:John_Urry property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1701990,P1412,c(Q34770))
action filter_type
action find
entity Q1701990
relation P1412
type Q34770
John Urry speaks [ANSWER]
['Q1701990', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1701990 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
English
John Urry speaks English
English
action filter_type
action find
entity John Urry
relation languages spoken, written or signed
type language
['John Urry', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:John_Urry property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P417
Q502895
USER
Which person is the patron saint of university teacher ?
(Q1622272,P417,c(Q502895))
action filter_type
action find
entity Q1622272
relation P417
type Q502895
['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1622272 property:P417 ?b . ?b rdf:type ontology:Q502895 }
university teacher
action filter_type
action find
entity university teacher
relation patron saint
type common name
['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:university_teacher property:patron_saint ?b . ?b rdf:type ontology:common_name }
[]
common name
Q9438
SYSTEM
Thomas Aquinas
Q9438
(Q1622272,P417,c(Q502895))
action filter_type
action find
entity Q1622272
relation P417
type Q502895
[ANSWER] is the patron saint of university teacher
['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1622272 property:P417 ?b . ?b rdf:type ontology:Q502895 }
Thomas Aquinas
Thomas Aquinas is the patron saint of university teacher
Thomas Aquinas
action filter_type
action find
entity university teacher
relation patron saint
type common name
['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:university_teacher property:patron_saint ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3516658 Q15709879
USER
Which occupations are depicted in approximately 1 heraldic symbols and artwork series ?
(c(Q3516658)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[[{'concept': 'Q3516658'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:Q15709879 ) ( ontology:Q3516658 ) } . ?c rdf:type ?e } GROUP BY ?r } }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:artwork_series ) ( ontology:heraldic_symbol ) } . ?c rdf:type ?e } GROUP BY ?r } }
[]
occupation heraldic symbol artwork series
Q1250916 Q47064 Q805221
SYSTEM
warrior, military personnel, ballet dancer
Q1250916 Q47064 Q805221 Q12059906 Q622630 Q39631
(c(Q3516658)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
The [ANSWERS] are depicted in approximately 1 heraldic symbols and artwork series
[[{'concept': 'Q3516658'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:Q15709879 ) ( ontology:Q3516658 ) } . ?c rdf:type ?e } GROUP BY ?r } }
warrior military personnel ballet dancer herder odalisque physician
The warrior, military personnel and ballet dancer are depicted in approximately 1 heraldic symbols and artwork series
warrior military personnel ballet dancer
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?h ) WHERE { VALUES ( ?e ) { ( ontology:artwork_series ) ( ontology:heraldic_symbol ) } . ?c rdf:type ?e } GROUP BY ?r } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47064
P425
Q43229
USER
Who has that one as the associated field of occupation ?
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q47064 property:P425 ?c . ?c rdf:type ontology:Q43229 }
military personnel
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:military_personnel property:field_of_this_occupation ?c . ?c rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q805221
SYSTEM
Did you mean ballet dancer ?
Q1250916 Q47064 Q805221
(Q1250916,P425,c(Q43229)) (Q47064,P425,c(Q43229)) (Q805221,P425,c(Q43229))
[ANSWER]
['Q1250916', 'P425', {'concept': 'Q43229'}] ['Q47064', 'P425', {'concept': 'Q43229'}] ['Q805221', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q47064 property:P425 ?c . ?c rdf:type ontology:Q43229 }
warrior military personnel ballet dancer
Did you mean ballet dancer ?
ballet dancer
['warrior', 'field of this occupation', {'concept': 'organization'}] ['military personnel', 'field of this occupation', {'concept': 'organization'}] ['ballet dancer', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:military_personnel property:field_of_this_occupation ?c . ?c rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant military personnel. Could you tell me the answer for that?
(Q47064,P425,c(Q43229))
Q47064
['Q47064', 'P425', {'concept': 'Q43229'}]
['military personnel', 'field of this occupation', {'concept': 'organization'}]
[]
Q8473
SYSTEM
military
Q8473
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
[ANSWER] has that one as the associated field of occupation
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q47064 property:P425 ?c . ?c rdf:type ontology:Q43229 }
military
Military has that one as the associated field of occupation
military
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:military_personnel property:field_of_this_occupation ?c . ?c rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8473 Q298678
P101
Q502895
USER
Does Muhammad Ahmad have specialisation in that organization ?
(Q298678,P101,Q8473)
action is_in
entity Q8473
action find
entity Q298678
relation P101
['Q298678', 'P101', 'Q8473']
ASK WHERE { resource:Q298678 property:P101 resource:Q8473 }
military Muhammad Ahmad
action is_in
entity military
action find
entity Muhammad Ahmad
relation field of work
['Muhammad Ahmad', 'field of work', 'military']
ASK WHERE { resource:Muhammad_Ahmad property:field_of_work resource:military }
[]
common name
SYSTEM
YES
(Q298678,P101,Q8473)
action is_in
entity Q8473
action find
entity Q298678
relation P101
[ANSWER]
['Q298678', 'P101', 'Q8473']
ASK WHERE { resource:Q298678 property:P101 resource:Q8473 }
Yes
action is_in
entity military
action find
entity Muhammad Ahmad
relation field of work
['Muhammad Ahmad', 'field of work', 'military']
ASK WHERE { resource:Muhammad_Ahmad property:field_of_work resource:military }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9438 Q60059 Q17011678
P737
Q502895
USER
Was Thomas Aquinas influenced by Albertus Magnus and Luella Mundel ?
(Q9438,P737,Q60059) (Q9438,P737,Q17011678)
action is_in
entity Q9438
action intersection
action find_reverse
entity Q60059
relation P737
action find_reverse
entity Q17011678
relation P737
['Q9438', 'P737', 'Q60059'] ['Q9438', 'P737', 'Q17011678']
ASK WHERE { resource:Q9438 property:P737 resource:Q17011678 . resource:Q9438 property:P737 resource:Q60059 }
Thomas Aquinas Albertus Magnus Luella Mundel
action is_in
entity Thomas Aquinas
action intersection
action find_reverse
entity Albertus Magnus
relation influenced by
action find_reverse
entity Luella Mundel
relation influenced by
['Thomas Aquinas', 'influenced by', 'Albertus Magnus'] ['Thomas Aquinas', 'influenced by', 'Luella Mundel']
ASK WHERE { resource:Thomas_Aquinas property:influenced_by resource:Luella_Mundel . resource:Thomas_Aquinas property:influenced_by resource:Albertus_Magnus }
[]
common name
SYSTEM
YES and NO respectively
(Q9438,P737,Q60059) (Q9438,P737,Q17011678)
action is_in
entity Q9438
action intersection
action find_reverse
entity Q60059
relation P737
action find_reverse
entity Q17011678
relation P737
[ANSWER]
['Q9438', 'P737', 'Q60059'] ['Q9438', 'P737', 'Q17011678']
ASK WHERE { resource:Q9438 property:P737 resource:Q17011678 . resource:Q9438 property:P737 resource:Q60059 }
YES and NO respectively
action is_in
entity Thomas Aquinas
action intersection
action find_reverse
entity Albertus Magnus
relation influenced by
action find_reverse
entity Luella Mundel
relation influenced by
['Thomas Aquinas', 'influenced by', 'Albertus Magnus'] ['Thomas Aquinas', 'influenced by', 'Luella Mundel']
ASK WHERE { resource:Thomas_Aquinas property:influenced_by resource:Luella_Mundel . resource:Thomas_Aquinas property:influenced_by resource:Albertus_Magnus }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1537811
P193
Q43229 Q1076486 Q41176
USER
How many organizations are the main building contractors of approximately the same number of sports venues or buildings as Skanska ?
(c(Q1076486)|c(Q41176),P193,c(Q43229))
action count
action approx
action union
action find_reverse_tuple_counts
relation P193
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P193
type Q43229
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q1537811
relation P193
type Q1076486
type Q41176
[[{'concept': 'Q1076486'}, {'concept': 'Q41176'}], 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?a WHERE { VALUES ( ?l ) { ( ontology:Q1076486 ) ( ontology:Q41176 ) } . ?x rdf:type ?l } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { VALUES ( ?s ) { ( ontology:Q1076486 ) ( ontology:Q41176 ) } . ?c rdf:type ?s } . ?c property:P193 resource:Q1537811 } } . FILTER ( ?m = ?r ) }
Skanska
action count
action approx
action union
action find_reverse_tuple_counts
relation main building contractor
type organization
type sports venue
action find_reverse_tuple_counts
relation main building contractor
type organization
type building
action count
action filter_multi_types
action find_reverse
entity Skanska
relation main building contractor
type sports venue
type building
[[{'concept': 'sports venue'}, {'concept': 'building'}], 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?a WHERE { VALUES ( ?l ) { ( ontology:sports_venue ) ( ontology:building ) } . ?x rdf:type ?l } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { VALUES ( ?s ) { ( ontology:sports_venue ) ( ontology:building ) } . ?c rdf:type ?s } . ?c property:main_building_contractor resource:Skanska } } . FILTER ( ?m = ?r ) }
[]
organization sports venue building
SYSTEM
3
Q1537811 Q16984545 Q3116531
(c(Q1076486)|c(Q41176),P193,c(Q43229))
action count
action approx
action union
action find_reverse_tuple_counts
relation P193
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P193
type Q43229
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q1537811
relation P193
type Q1076486
type Q41176
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q41176'}], 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?a WHERE { VALUES ( ?l ) { ( ontology:Q1076486 ) ( ontology:Q41176 ) } . ?x rdf:type ?l } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { VALUES ( ?s ) { ( ontology:Q1076486 ) ( ontology:Q41176 ) } . ?c rdf:type ?s } . ?c property:P193 resource:Q1537811 } } . FILTER ( ?m = ?r ) }
Skanska Hoffman Construction Company Takenaka Corporation
3
action count
action approx
action union
action find_reverse_tuple_counts
relation main building contractor
type organization
type sports venue
action find_reverse_tuple_counts
relation main building contractor
type organization
type building
action count
action filter_multi_types
action find_reverse
entity Skanska
relation main building contractor
type sports venue
type building
[[{'concept': 'sports venue'}, {'concept': 'building'}], 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?a WHERE { VALUES ( ?l ) { ( ontology:sports_venue ) ( ontology:building ) } . ?x rdf:type ?l } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { VALUES ( ?s ) { ( ontology:sports_venue ) ( ontology:building ) } . ?c rdf:type ?s } . ?c property:main_building_contractor resource:Skanska } } . FILTER ( ?m = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5546426
P193
Q43229 Q1076486 Q41176
USER
And also tell me about George Wimpey?
(c(Q1076486)|c(Q41176),P193,c(Q43229))
action count
action approx
action union
action find_reverse_tuple_counts
relation P193
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P193
type Q43229
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q5546426
relation P193
type Q1076486
type Q41176
[[{'concept': 'Q1076486'}, {'concept': 'Q41176'}], 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?m WHERE { { ?c property:P193 ?m . ?m rdf:type ontology:Q43229 . ?c rdf:type ontology:Q1076486 } UNION { ?c property:P193 ?m . ?c rdf:type ontology:Q41176 . ?m rdf:type ontology:Q43229 } } GROUP BY ?m } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P193 resource:Q5546426 . { { ?d rdf:type ontology:Q1076486 } UNION { ?d rdf:type ontology:Q41176 } } } } }
George Wimpey
action count
action approx
action union
action find_reverse_tuple_counts
relation main building contractor
type organization
type sports venue
action find_reverse_tuple_counts
relation main building contractor
type organization
type building
action count
action filter_multi_types
action find_reverse
entity George Wimpey
relation main building contractor
type sports venue
type building
[[{'concept': 'sports venue'}, {'concept': 'building'}], 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?m WHERE { { ?c property:main_building_contractor ?m . ?m rdf:type ontology:organization . ?c rdf:type ontology:sports_venue } UNION { ?c property:main_building_contractor ?m . ?c rdf:type ontology:building . ?m rdf:type ontology:organization } } GROUP BY ?m } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:main_building_contractor resource:George_Wimpey . { { ?d rdf:type ontology:sports_venue } UNION { ?d rdf:type ontology:building } } } } }
[]
organization sports venue building
SYSTEM
125
Q7118612 Q13109143 Q10548664 Q626452 Q4356297 Q94849 Q5519051 Q1516108 Q5754358 Q7175465 Q11404287 Q1972407 Q5284447 Q7377475 Q1815063 Q1973445 Q5365823 Q5459585 Q463613 Q7494466 Q8058088 Q5458774 Q7496874 Q6736853 Q804920 Q4036303 Q5174993 Q4702408 Q7690185 Q653581 Q499194 Q6103890 Q6990206 Q7856815 Q11445911 Q6911654 Q868587 Q5560727 Q6421003 Q1408037 Q2117643 Q558699 Q6139377 Q4971979 Q805165 Q899038 Q4863105 Q549127 Q145614 Q5880816 Q11650404 Q895325 Q295118 Q1081154 Q4770867 Q1619384 Q11435650 Q17036339 Q1343184 Q10493443 Q17006102 Q924370 Q5039561 Q1741142 Q805116 Q2415397 Q1550888 Q5060140 Q7248241 Q4783497 Q7168602 Q185651 Q136542 Q489809 Q339142 Q1770691 Q7652191 Q525955 Q6556889 Q2287759 Q465370 Q7658475 Q3178370 Q15528181 Q384730 Q6569399 Q1073519 Q7448611 Q4410214 Q5031201 Q14754706 Q4045072 Q875968 Q5520361 Q284672 Q638231 Q1370287 Q7164914 Q11527014 Q11661591 Q368181 Q547450 Q19874529 Q6696097 Q3743456 Q4850748 Q5124636 Q1407515 Q21014605 Q5546426 Q6729092 Q7640465 Q679201 Q3216370 Q6859959 Q356193 Q1094508 Q7383973 Q685685 Q6939094 Q321772 Q3196454 Q207770 Q7978724 Q7856971
(c(Q1076486)|c(Q41176),P193,c(Q43229))
action count
action approx
action union
action find_reverse_tuple_counts
relation P193
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P193
type Q43229
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q5546426
relation P193
type Q1076486
type Q41176
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q41176'}], 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?m WHERE { { ?c property:P193 ?m . ?m rdf:type ontology:Q43229 . ?c rdf:type ontology:Q1076486 } UNION { ?c property:P193 ?m . ?c rdf:type ontology:Q41176 . ?m rdf:type ontology:Q43229 } } GROUP BY ?m } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P193 resource:Q5546426 . { { ?d rdf:type ontology:Q1076486 } UNION { ?d rdf:type ontology:Q41176 } } } } }
PCL Construction Mowlem Kreuger & Toll Daewoo E&C Peab Odebrecht Galliford Try TransCanada Corporation Higgs and Hill Peter Lind & Company Kitano Construction Saudi Binladin Group Mace Rudolph and Sletten Leighton Holdings LaSalle Bank EllisDon Flintco American Bridge Company Shepherd Building Group Young Electric Sign Company Fletcher Construction Shimizu Corporation Mainzeal Balfour Beatty Cleveland Bridge & Engineering Company Costain Group Al-Futtaim Group Taylor Woodrow Fluor Corporation Samsung C&T Corporation J.A. Jones Construction Nello L. Teer Company Tuspark Okumura Corporation Morgan Est McGraw Hill Financial Gilbane Kline Iron and Steel Ferrovial Shapoorji Pallonji Group NCC AB James McHugh Construction Co Broad Sustainable Building Ballast Nedam Brasfield & Gorrie Barr Construction Ltd Fomento de Construcciones y Contratas Magyar Posta Holland, Hannen & Cubitts Zenitaka Corporation Bouygues Amec Foster Wheeler Kajima Corporation Ant Yapi Hines Interests Limited Partnership Dai Nippon Construction Trollope & Colls Enka İnşaat ve Sanayi A.Ş. F O Peterson & sons Hansen Yuncken Obrascón Huarte Lain Carillion Kiewit Corporation Ball Aerospace & Technologies Andrew Handyside and Company Grupo ACS Centex Profield Contractors Arabtec Perini Building Company Lend Lease Group Hochtief Hyundai Engineering and Construction Acciona Mori Building Company Sverdrup & Parcel Sacyr Vallehermoso Sir Robert McAlpine Simon Property Group Demag Swinerton Taisei Corporation Shanghai Construction Group Obayashi Corporation Dairy Farm International Holdings China State Construction Engineering Corporation Sellen Construction Hazama Corporation Canary Wharf Group Hensel Phelps Construction National Bank of Kuwait Waagner-Biro Gammon Construction Bilfinger SE Larsen & Toubro Orascom Construction Industries PentaOcean Tokyu Construction Asunaro Aoki Construction Vornado Realty Trust Celanese Hutchinson Builders Lucas Brothers, Builders AF Group Balfour Beatty Construction Civil and Civic John Laing plc Leonhard Nilsen & Sons George Wimpey Maeda Corporation Sunland Group Friedrich Krupp AG Laing O'Rourke Mills Corporation Nussli Group Civilian Conservation Corps Ryan Companies US, Inc. Implenia Murray & Roberts Daewoo Kier Group Pirelli Webcor Builders Tutor Perini
125
action count
action approx
action union
action find_reverse_tuple_counts
relation main building contractor
type organization
type sports venue
action find_reverse_tuple_counts
relation main building contractor
type organization
type building
action count
action filter_multi_types
action find_reverse
entity George Wimpey
relation main building contractor
type sports venue
type building
[[{'concept': 'sports venue'}, {'concept': 'building'}], 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?m WHERE { { ?c property:main_building_contractor ?m . ?m rdf:type ontology:organization . ?c rdf:type ontology:sports_venue } UNION { ?c property:main_building_contractor ?m . ?c rdf:type ontology:building . ?m rdf:type ontology:organization } } GROUP BY ?m } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:main_building_contractor resource:George_Wimpey . { { ?d rdf:type ontology:sports_venue } UNION { ?d rdf:type ontology:building } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8473
P136
Q2342494
USER
Which collectables as military as their class ?
(c(Q2342494),P136,Q8473)
action filter_type
action find_reverse
entity Q8473
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q8473']
SELECT DISTINCT ?b WHERE { ?b property:P136 resource:Q8473 . ?b rdf:type ontology:Q2342494 }
military
action filter_type
action find_reverse
entity military
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'military']
SELECT DISTINCT ?b WHERE { ?b property:genre resource:military . ?b rdf:type ontology:collectable }
[]
collectable
Q5706876 Q4743606
SYSTEM
Hella Nation, American Desperado
Q5706876 Q4743606
(c(Q2342494),P136,Q8473)
action filter_type
action find_reverse
entity Q8473
relation P136
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P136', 'Q8473']
SELECT DISTINCT ?b WHERE { ?b property:P136 resource:Q8473 . ?b rdf:type ontology:Q2342494 }
Hella Nation American Desperado
PROBLEM PLURALIZE
Hella Nation American Desperado
action filter_type
action find_reverse
entity military
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'military']
SELECT DISTINCT ?b WHERE { ?b property:genre resource:military . ?b rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1250916
P425
Q831663
USER
Who is associated with the field of occupation warrior ?
(Q1250916,P425,c(Q831663))
action filter_type
action find
entity Q1250916
relation P425
type Q831663
['Q1250916', 'P425', {'concept': 'Q831663'}]
SELECT DISTINCT ?j WHERE { resource:Q1250916 property:P425 ?j . ?j rdf:type ontology:Q831663 }
warrior
action filter_type
action find
entity warrior
relation field of this occupation
type military campaign
['warrior', 'field of this occupation', {'concept': 'military campaign'}]
SELECT DISTINCT ?j WHERE { resource:warrior property:field_of_this_occupation ?j . ?j rdf:type ontology:military_campaign }
[]
military campaign
Q198
SYSTEM
war
Q198
(Q1250916,P425,c(Q831663))
action filter_type
action find
entity Q1250916
relation P425
type Q831663
[ANSWER] is associated with the field of occupation [ANSWER]rior
['Q1250916', 'P425', {'concept': 'Q831663'}]
SELECT DISTINCT ?j WHERE { resource:Q1250916 property:P425 ?j . ?j rdf:type ontology:Q831663 }
war
War is associated with the field of occupation warrior
war
action filter_type
action find
entity warrior
relation field of this occupation
type military campaign
['warrior', 'field of this occupation', {'concept': 'military campaign'}]
SELECT DISTINCT ?j WHERE { resource:warrior property:field_of_this_occupation ?j . ?j rdf:type ontology:military_campaign }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?v WHERE { resource:Q1860 property:P361 ?v . ?v rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?v WHERE { resource:English property:part_of ?v . ?v rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?v WHERE { resource:Q1860 property:P361 ?v . ?v rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?v WHERE { resource:English property:part_of ?v . ?v rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q35006
Q5962346
USER
And also tell me about Balanta language?
(Q35006,P361,c(Q5962346))
action filter_type
action find
entity Q35006
relation P361
type Q5962346
['Q35006', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q5962346 . resource:Q35006 property:P361 ?i }
Balanta language
action filter_type
action find
entity Balanta language
relation part of
type classification scheme
['Balanta language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:classification_scheme . resource:Balanta_language property:part_of ?i }
[]
classification scheme
Q1708174
SYSTEM
Bak languages
Q1708174
(Q35006,P361,c(Q5962346))
action filter_type
action find
entity Q35006
relation P361
type Q5962346
[ANSWER]
['Q35006', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q5962346 . resource:Q35006 property:P361 ?i }
Bak languages
Bak languages
action filter_type
action find
entity Balanta language
relation part of
type classification scheme
['Balanta language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:classification_scheme . resource:Balanta_language property:part_of ?i }
[]